<!--
/*
 *
 */
function isAcrobatInstalled(){
	
	var agent = navigator.userAgent.toLowerCase();
	var installed = false;
	var i;	
	
	//Check for Netscape browser
	if(navigator.plugins != null && navigator.plugins.length > 0){
		
		//Loop through the Netscape plugins
		for(i = 0; i < navigator.plugins.length; i ++){
		
			if(navigator.plugins[i].description.indexOf("Adobe Acrobat") != -1){
				installed = true;
				break;
			}//end if
			
		}//end for
		
	}//end if netscape
	
	//Check IE
	else if(window.ActiveXObject){
		
		for (i = 0; i < 10; i++){
			
			try {
				oAcro=eval("new ActiveXObject('PDF.PdfCtrl."+ i +"');");
				if (oAcro){
					installed=true;
				}//end if
			}//end try
			catch(e) {
			}//end catch
		}//for

	}//end else if
	
	
	if(!installed){
		var msg = "Adobe Acrobat is required to view this file properly.\nPlease click on the link to download Acrobat reader.";
		alert(msg);
	}//end if
	
	return installed;
}//end isReaderInstalled
//-->
