var o='close';
var ff='no';

isDOM=document.getElementById; //DOM1 browser (MSIE 5+, Netscape 6, Opera 5+)
isOpera=isOpera5=window.opera && isDOM; //Opera 5+
isOpera6=isOpera && window.print; //Opera 6+
isOpera7=isOpera && document.readyState; //Opera 7+
isMSIE=document.all && document.all.item && !isOpera; //Microsoft Internet Explorer 4+
isMSIE5=isDOM && isMSIE; //MSIE 5+
isNetscape4=document.layers; //Netscape 4.*
isMozilla=isDOM && navigator.appName=="Netscape"; //Mozilla или Netscape 6.*

function openWin(URL,Name,Size) 
{
  window.open(URL,Name,Size);
}


function show(div)
{
if ((document.getElementById(div))&&(ff=='yes'))
	{
			document.getElementById(div).style.visibility='visible';
	}
	window.setTimeout("hide('pr')",2000);
	
}

function hide(div)
{
if (document.getElementById(div))
	{
	document.getElementById(div).style.visibility='hidden';
	}
}
function Load()
{
if (isMSIE)
			{
			document.getElementById('pr').style.top=150; 
			document.getElementById('pr').style.left=310;	
			}
		if (isOpera)
			{
			document.getElementById('pr').style.top=150;
			document.getElementById('pr').style.left=315;							
			}			
		if (isOpera7)
			{
			document.getElementById('pr').style.top=150;
			document.getElementById('pr').style.left=315;							
			}			

		if (isMozilla)
			{
			document.getElementById('pr').style.top=150;
			document.getElementById('pr').style.left=315;				
			}	
ff='yes';
}			
