<!-- Begin
function openWindow(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=yes,resizable=no,toolbar=no,width=785,height=560,left = 10,top = 10');");
}
// End -->

<!-- Begin
function openPop(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=no,toolbar=no,width=360,height=200,left = 10,top = 10');");
}
// End -->

<!-- Begin
function openHelp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=yes,resizable=no,toolbar=no,width=524,height=300,left = 10,top = 100');");
}
// End -->

<!-- Begin
function openForm(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=no,toolbar=no,width=524,height=450,left = 10,top = 100');");
}
// End -->

<!-- Begin
function openObject(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'status=yes,scrollbars=no,resizable=no,toolbar=no,width=620,height=500,left = 100,top = 100');");
}
// End -->

<!-- Begin
// var win = null;
function PopupPic(sPicURL) { 
LeftPosition = (screen.width) ? (screen.width)/2 : 0;
TopPosition = (screen.height) ? (screen.height)/2 : 0;
window.open("toonfoto.php?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200,left='+LeftPosition+',top='+TopPosition+'");
}
// End -->

<!-- Begin
var arrTemp=self.location.href.split("?"); 
   var picUrl = (arrTemp.length>0)?arrTemp[1]:""; 
   var NS = (navigator.appName=="Netscape")?true:false; 

     function FitPic() { 
       iWidth = (NS)?window.innerWidth:document.body.clientWidth; 
       iHeight = (NS)?window.innerHeight:document.body.clientHeight; 
       iWidth = document.images[0].width - iWidth; 
       iHeight = document.images[0].height - iHeight; 
       window.resizeBy(iWidth, iHeight); 
       self.focus(); 
     };
// End -->

<!-- Begin
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// End -->

<!-- Begin
function scrollToAnchor(anchorId)
{
	var theAnchor = document.getElementById(anchorId);
	
	if (!theAnchor) {
		return;
	}
	
	var destx = theAnchor.offsetLeft;  
	var desty = theAnchor.offsetTop;
	var thisNode = theAnchor;
	
	while (thisNode.offsetParent &&  
		(thisNode.offsetParent != document.body)) {
		thisNode = thisNode.offsetParent;
		destx += thisNode.offsetLeft;
		desty += thisNode.offsetTop;
	}
	window.scrollTo(0, desty);
}

//-->

<!-- Begin
// var win = null;
function PopupPicture(sPicURL) { 
LeftPosition = (screen.width) ? (screen.width)/2 : 0;
TopPosition = (screen.height) ? (screen.height)/2 : 0;
window.open("toonfoto2.php?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200,left='+LeftPosition+',top='+TopPosition+'");
}
// End -->

