<!--
		 // convert all characters to lowercase to simplify testing
    
    var appVer = navigator.appVersion.toLowerCase();
	var iePos  = appVer.indexOf('msie');
	var is_minor = parseFloat(appVer);
	var is_major = parseInt(is_minor);
	var is_ie   = (iePos!=-1);
	var is_ie5up = (is_ie && is_minor >= 5);

    // *** BROWSER VERSION ***

    var is_minor = parseFloat(appVer);
    var is_major = parseInt(is_minor);
		
		//open the test popup window for popup blocking detection
	if (is_ie5up){
		document.write('<div id="popupstatus">&nbsp;</div>');
		
		var xWin=null;
		StartT();
		
		function StartT(){
		 StartPopup();
		 window.focus();
		} 
		
		function StartPopup(){
		 xWin=window.open('popup.html','popup','width=1,height=1,left=2000,top=2000,scrollbars=no');
		 setTimeout('test_xWin()',50);
		}
		
		function test_xWin(){
		  if ((xWin==null) || (typeof(xWin)=='undefined') || (typeof(xWin.location.hash)!='string')) {
	    	  sMsg='<p><img src="../detection/nay.gif" align="middle" alt="X Image" /><strong>You have a Pop-up Blocker.</strong></p>';
		  }
		  else{
		  sMsg='<p><img src="../detection/yay.gif" align="middle" alt="Checkmark Image" />&nbsp;You <strong>don&acute;t</strong> have a Pop-up Blocker or it is turned off.</p>';
		  };
		  window.focus();
		  popupstatus.innerHTML=sMsg;
		  xWin.close();
		}
	}
	else{
		var mine = window.open('../detection/popup.html','popup','width=1,height=1,left=2000,top=2000,scrollbars=no');
		if(!mine){
		  var popUpsBlocked = true;
		}
		else {
		  var popUpsBlocked = false;
		}
		if (popUpsBlocked){
			document.write('<tr><td width="100" valign="top"><div align="center"><img src="/detection/nay.gif" ');
			document.write('/></div></td><td width="150" valign="top">Pop-up Blocker</td><td width="64" ');
			document.write('valign="top">&nbsp;</td><td width="266" ');
			document.write('valign="top">You have a Pop-Up Blocker turned on</td></tr>');
		}
		else{
			document.write('<tr><td width="100" valign="top"><div align="center"><img src="/detection/yay.gif" ');
			document.write('/></div></td><td width="150" valign="top">Pop-up Blocker</td><td width="64" ');
			document.write('valign="top">&nbsp;</td><td width="266" ');
			document.write('valign="top">You <strong>don&acute;t</strong> have a Pop-up Blocker or it is turned off.</td></tr>');
		
		mine.close();
		}
}
		//-->
