function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function display_popup(myimage,w,h,title) 
{
 html = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"" +
		"\"http://www.w3.org/TR/html4/loose.dtd\">" +
 		"<HTML><HEAD><TITLE>" + title + "- STEBERG</TITLE>" +
		"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1250\">" +
		"<link href=\"/popup.css\" rel=\"stylesheet\" type=\"text/css\">" +
		"</HEAD><BODY style=\"margin:0px;border:0px;\"><CENTER>" +
		"<div class=\"image\" style=\"position:relative;width:"+w+"px; height:"+h+"px;\"><img src='" + myimage + "' width='"+w+"' height='"+h+"' border='0' onmouseover=\"this.style.cursor='pointer';\" onclick=\"javascript:window.close();\" >" +
		"</div></CENTER></BODY></HTML>";
		
		 LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
		 TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
		 h += 0;
		 w += 0;
		settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,noresizable';
		 popup=window.open('','_blank',settings);
		 popup.document.open();
		 popup.document.write(html);
		 popup.focus();
		 popup.document.close()
}

function hideAll() {
		document.getElementById('submenu_1').style.display='none';
		document.getElementById('submenu_2').style.display='none';
}
