
var OpWin = null;
function openWin(ref,width,height) {
	if(!OpWin||OpWin.closed)	OpWin=window.open(ref,"popup","resizable,scrollbars,width="+(width?width:500)+",height="+(height?height:400));
	else	OpWin.location = ref;
	setTimeout("OpWin.focus()",500);
}
if(window.whenLoaded) {	window.addEvent('domready',whenLoaded); }

sfHover = function() {
	if(!document.getElementById("navtop")) return
	var sfEls = document.getElementById("navtop").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
var preload1 = new Image(); preload1.src='/common/images/tab_left_off_hover.gif';
var preload2 = new Image(); preload2.src='/common/images/tab_right_off_hover.gif';
