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);




function NewPic(obj,bgpic)
{
if(obj.style)
{
	obj.style.backgroundImage="url(images/buttons/button_"+bgpic+")"; 
}
}

	function aendern(pic)
	{
		document.images.picStage.src=pic;
	}
	

	
function showPicPopUp(url, w, h)
{
	imgwindow = window.open("popUps/"+url,"PopUp","width="+w+",height="+h+",toolbar=no,location=no,menubar=no");
	imgwindow.focus();
}


function showPicPopUpAttr(url, w, h)
{
	imgwindow = window.open("popUps/"+url,"PopUp","width="+w+",height="+h+",toolbar=no,location=no,menubar=no,scrollbars=yes");
	imgwindow.focus();
}

