function ChangeDiv(page)
  {
   position = new Array('25px','57px','89px','121px','153px'); //('276px', '397px', '510px', '605px', '695px');
   if (page < 1000)
   {
   document.getElementById('square').style.top = position[page];
   document.getElementById('square').style.visibility = 'visible';
   }
   else
   {
   document.getElementById('square').style.visibility = 'hidden';
   }
  }

function openWindow(url)
{
    var w = window.open (url, "win", "height=500,width=700,location,menubar,resizable,scrollbars,status,toolbar");
}


function BImg(URL,w,h){
	window.open(URL,'','scrollbars=0,width='+w+',height='+h+',status=0')};

function CImg(url,otoc)
{
 var title='(c) Adam Wichterle 20003';
 if (otoc==1)
	{var s=window.open(url,'','width=500, height=660, toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0');}
 else
	{var s=window.open(url,'','width=660, height=500, toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0');};
}

