if (top.length != self.length) top.location.href = self.location.href;
if (!document.getElementById && document.all) document.getElementById = document.all;

function open_new(w,h)
{
Okno=window.open("","JSL",'toolbar=0,location=0,scrollbars=auto,width='+w+',height='+h+',resizable=1,top=50,left=50');
Okno.focus();
}

function showIMG2(ido) 
{
	
	if(document.getElementById(ido)) 
	{
	document.getElementById(ido).style.display = 'block';
	}
	
	
}
	
function hideIMG2(ido) 
{
	 /*for (i = 1; i <= 200000; i++)
	  {
      var y = 200000-i;
      }*/
	  browName = navigator.appName;
	  
	/*  if(browName=="Opera")
	  {
	  pausecomp(400);
	  }
	  else
	  {*/
	  pausecomp(200);
      //}
	  
	  
	if(document.getElementById(ido)) {
	document.getElementById(ido).style.display = 'none';
	}
}

function pausecomp(millis)
{
var date = new Date();
var curDate = null;

do { curDate = new Date(); }
while(curDate-date < millis);
} 







