var mp1 = 0;
var wPopup = null;
//function gmobj(mtxt){if(_d.getElementById){m=_d.getElementById(mtxt)}else if(_d.all){m=_d.all[mtxt]}else if(_d.layers){m=_d[mtxt]}return m;}
function bon(e,c) {
	o=gmobj(e);
	if(o.className == 'PD') return;
	o.className = c;
}
function boff(e,c) {
	o=gmobj(e);
	if(o.className == 'PD') return;
	o.className = c;
}
function jvMyMenu(v,p,d,i,w,l) {
	var x = 0;
	var y = 0;
	if((mp1 != 0) && (mp1 != p)) {closeallmenus();mp1 = 0;}
	if(mp1 == 0) {
		x = gmobj(d).offsetLeft - 3 - l;
		y = gmobj(d).offsetTop + 19;
		m = gmobj("menu" + p);
		
		if(m == null) return;
		
		spos(gmobj("menu" + p),y,x,i*20,w);
		popup(v);
		mp1 = p;
	} else {
		closeallmenus();
		mp1 = 0;
	}
}
function jvLink(u) {
	document.location = u;
}
function jvLinkClick(o) {
	o.style.cursor='wait';
	document.body.style.cursor='wait';
}
function jvPopupLink(u) {
	urltxt = u;
	
	if(wPopup != null) {
		wPopup.close();
	}
	
	if ( wPopup == null || wPopup.closed )
	{
		wPopup = window.open( urltxt, 'wPopup',
										'alwaysRaised=yes,' +
										'dependent=yes,' +
										'toolbar=yes,' +
										'location=yes,' +
										'directories=no,' +
										'status=yes,' +
										'menubar=yes,' +
										'scrollbars=yes,' +
										'resizable=yes,' +
										'copyhistory=no,'
										);
	}

	if(wPopup != null) {
		wPopup.focus();
	} else {
		alert("A new popup window could not be opened.  This may be caused by ad popup blocking software.");
	}
}