function layeronePosition(){
var X, Y, w, h, Lw, Lh; 
Lh = 590; 
Lw = 788; 
h = document.body.clientHeight; 
//alert(h)
w = document.body.clientWidth; 
//alert(w)
if (h > 0) {Y = (h/2) - (Lh/2) -15; X = (w/2) - (Lw/2)} else {Y = 0;	X = (w/2) - (Lw/2)};if (Y < 0){Y = 1}
document.all.Layer1.style.top = Y;
document.all.Layer1.style.left = X;
document.all.Layer1.style.visibility = 'visible';
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resizeddd
  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);

document.onload = layeronePosition();




var wiz = '';





function magn(bild,width,height) {
	
	if(wiz)
		{
			wiz.close();		
			for(var e = 1;e<10;e++){
				var r = e * e;
				//kddddalert(4)
				wiz = 'bilden/' + bild;
			strAktion = 'wiz = window.open(\'' + wiz + '\',\'magn\',\'width=' + width +',height=' + height + '\');';
			eval (strAktion);
			wiz.focus();
			
				
				}
		}
		else{
			wiz = 'bilden/' + bild;
			strAktion = 'wiz = window.open(\'' + wiz + '\',\'magn\',\'width=' + width +',height=' + height + '\');';
			eval (strAktion);
			wiz.focus();
			}
				//if (window.focus) {wiz.focus()}
	
	
	
	
	
	//bildM.close()
	
}