<!--
 var h;
 var w;
 var l;
 var t;
 var topMar = 31;
 var leftMar = -6;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#777777';
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)+2) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)+2) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}}
function ShowMenu(vMnuCode) {
	vSrc = window.event.srcElement;
	tWidth =0
	vMnuCode = "<table border=0 cellspacing=1 onmouseout='HideMenu();' cellpadding=0 bgcolor=#A4C2C9 style='width:"+tWidth+"'><tr><td><table id='submenu' width='100%' cellspacing=0 cellpadding=0 border=0>" + vMnuCode + "</table></td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	//l = 135
	l = vSrc.offsetLeft + leftMar;
	t = vSrc.offsetTop + topMar + space-2;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}
	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
	var iv;
	for (iv=size; iv>0; iv--)
	{
		var rect = document.createElement('div');
		var rs = rect.style
		rs.position = 'absolute';
		rs.left = (el.style.posLeft + iv) + 'px';
		rs.top = (el.style.posTop + iv) + 'px';
		rs.width = el.offsetWidth + 'px';
		rs.height = el.offsetHeight + 'px';
		rs.zIndex = el.style.zIndex - iv;
		rs.backgroundColor = color;
		var opacity = 1 - iv / (iv + 1);
		rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
		el.insertAdjacentElement('afterEnd', rect);
		global.fo_shadows[global.fo_shadows.length] = rect;
	}
}
//-->



