/* Javascripts die popup-windows tonen */
function MM_openBrWindow(theURL,winName,features) {
   window.open(theURL,winName,features);
}
function popUp(url) {
   sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=900,height=650');
   self.name = "mainWin"; }


function guiEnlarge(GUI, piWidth, piHeight){

   var i = 0;
	
	for (i=0;i<=10;i++){
      GUI.style.width = String(piWidth-10+i) + "px";
      GUI.style.height = String(piHeight-10+i) + "px";
	}
	GUI.style.top = "0px";
	GUI.style.left = "0px";
   GUI.style.width = String(piWidth) + "px";
   GUI.style.height = String(piHeight) + "px";
}
function guiNormal(GUI, piWidth, piHeight){

   GUI.style.width = String(piWidth) + "px";
   GUI.style.height = String(piHeight) + "px";
	GUI.style.top = "10px";
	GUI.style.left = "10px";
}


function imgEnlarge(psDTN, piWidth, piHeight){
   containerdiv = document.getElementById("container" + String(psDTN));
   fotodiv = document.getElementById("foto" + String(psDTN));

   containerdiv.top =  containerdiv.top - 10;
   containerdiv.style.width = String(piWidth+20) + "px";
   containerdiv.style.height = String(piHeight+20) + "px";
   fotodiv.top = fotodiv.top - 10;
   fotodiv.left = fotodiv.left - 50;
   fotodiv.style.width = String(piWidth+10) + "px";
   fotodiv.style.height = String(piHeight+10) + "px"; 
}
function imgNormal(psDTN, piWidth, piHeight){
   containerdiv = document.getElementById("container" + String(psDTN));
   fotodiv = document.getElementById("foto" + String(psDTN));

   containerdiv.style.width = String(piWidth+10) + "px";
   containerdiv.style.height = String(piHeight+10) + "px";
   fotodiv.style.width = String(piWidth) + "px";
   fotodiv.style.height = String(piHeight) + "px"; 
}


