

 hkbrowser=navigator.userAgent.toLowerCase();

 //which browser

 var hkisns= ((hkbrowser.indexOf("mozilla") != -1)		  
    && ((hkbrowser.indexOf("spoofer")==-1) && (hkbrowser.indexOf("compatible") == -1))
	);
if(hkisns) hkbrowsers="Netscape";
if (hkbrowser.indexOf("msie")!=-1)  hkbrowsers="InternetExplorer"; 
if (hkbrowser.indexOf("opera")!=-1) hkbrowsers="Opera";
 
 //which os
 if(hkbrowser.indexOf("win")!=-1)  hkos="Windows";
if (hkbrowser.indexOf("mac")!=-1)  hkos="Macintosh";
 if(hkbrowser.indexOf("x11")!=-1) hkos="Unix";

//which version
	if (hkbrowsers == "InternetExplorer")		{
	hkver=(parseFloat(navigator.appVersion.substring(21)));
	}else
	hkver=(parseFloat(navigator.appVersion));
					
//which resolution
hkscrwidth=screen.width;
hkscrheight=screen.height;

function hkAddInfo()
{			  

document.opscr.txtOS.value=hkos;
document.opscr.txtBrowser.value=hkbrowsers;
document.opscr.txtVersion.value=hkver;		  

document.opscr1.txtOS.value=hkos;
document.opscr1.txtBrowser.value=hkbrowsers;
document.opscr1.txtVersion.value=hkver;		  
}

function hkAddInfo(Object)
{	
	
	document.opscr.txtOS.value=hkos;
	document.opscr.txtBrowser.value=hkbrowsers;
	document.opscr.txtVersion.value=hkver;		  
	
}

function hkAddInf(XForm)
{			  

XForm.txtOS.value=hkos;
XForm.txtBrowser.value=hkbrowsers;
XForm.txtVersion.value=hkver;		  
	  
}





