function resizeMe() {
     if (navigator.appName == 'Netscape') {
         adjWidth = document.images[0].width;
         adjHeight = document.images[0].height;
     }
     else {
         // IE uses outer dimension. adjust inner dimension to ourter dimension
         adjWidth = document.images[0].width+10;
         adjHeight = document.images[0].height+29;
     }

     var mijnbreedte = (window.screen.width/2) - (adjWidth/2);
     var mijnhoogte = (window.screen.height/2) - (adjHeight/2);
     if ((window.screen.width<adjWidth) || (window.screen.height<adjHeight))
     {
		self.resizeTo(window.screen.width, window.screen.height-20);
		self.moveTo(0,0);
     }
     else
     {
		self.resizeTo(adjWidth, adjHeight);
		self.moveTo(mijnbreedte, mijnhoogte);
     }

}


function viewimage(welke)
{
	var mijnbreedte = (window.screen.width/2);
	var mijnhoogte = (window.screen.height/2);
 	window.open("image.php?id="+welke,"image","status=no,screenx="+mijnbreedte+",screeny="+mijnhoogte+",left="+mijnbreedte+",top="+mijnhoogte);
}


function showinfo(user,ValueShow)
{

var mousex = window.event.x;        // mouse location capture event
var mousey = window.event.y;        // mouse location capture event
user.style.visibility = ValueShow;  // show or hide respective Example
user.style.left = mousex + 5;       // place popup at the mouse X (left) location
user.style.top = mousey;            // place popup at the mouse Y (top) location

            
}




function Goto(url) {
	document.location.href=url;
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

