// Browser
ie = ((document.all) && (window.offscreenBuffering)) ? true : false;
nn = ((document.captureEvents) && (!document.getElementById)) ? true : false;
mz = ((document.getElementById) && (!document.all) && (document.documentElement)) ? true : false; 
op = ((document.getElementById) && (navigator.userAgent.indexOf('Opera') != -1)) ? true : false
if (mz){
	//document.write('<style>#details{height: 407px;width: 216px;} #detailsleft{width: 129px;}</style>');
}

function submitOnce(theform)
{
	//if IE 4+ or NS 6+
	if (document.all||document.getElementById)
	{
		//screen thru every element in the form, and hunt down "submit" and "reset"
		for (i=0;i<theform.length;i++)
		{
			var tempobj=theform.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			//disable em
			tempobj.disabled=true
		}
	}
}
var newwin;
function flash_popup(urlx) 
   {
   newwin = window.open(urlx,'newwin','width=550,height=410,resizeable=yes,scrollbars=no'); 
   if(version > 1.0) 
      {  
     setTimeout('newwin.focus();',200); 
      } 
   } 
