/*
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
var GLOBAL_POPUP;

window.onunload=function (){
	if (GLOBAL_POPUP){
		GLOBAL_POPUP.close();
	}
}
*/
function showPopup(popup){
	w = 540;
	h = 320;
  	l = (screen.availWidth-10 - w) / 2;
 	t = (screen.availHeight-20 - h) / 2;
	GLOBAL_POPUP = window.open(popup, 'meerinfo', 'width=' + w + ',height=' + h + ',left=' + l + ',top=' + t + ',scrollbars=no');	
	return false;
}
	
/*
window.onload=do_menu;
function do_menu() {
var d = document.getElementById('menu');
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    }
if (d) {d.style.display='block';}
}
*/
