//StylishMonkey.com MENU 3.0a//
//This script needs no copy and this text may be deleted, a link to StylishMonkey.com would be nice but not needed//
//Please e-mail: mail@stylishmonkey.com with any changes at all to this script. Help enabling this menu to work in Netscape would be great!//
var eOpenMenu = null;
function OpenMenu(eSrc,eMenu)
{
eMenu.style.left = eSrc.offsetLeft + menu.offsetLeft;
eMenu.style.top = menu.offsetHeight + menu.offsetTop;
eMenu.style.visibility = "visible";
eOpenMenu = eMenu;
}
function CloseMenu(eMenu)
{
eMenu.style.visibility = "hidden";
eOpenMenu = null;
}
function document.onmouseover()
{
var eSrc = window.event.srcElement;
if ("mainlnk" == eSrc.className)
{
eSrc.style.color = "white";
var eMenu = document.all[eSrc.id.replace("item","DropMenu")];
if (eOpenMenu && eOpenMenu != eMenu)
{
CloseMenu(eOpenMenu);
}
if (eMenu)
{
OpenMenu(eSrc,eMenu);
}
}
else if (eOpenMenu && !eOpenMenu.contains(eSrc) && !menu.contains(eSrc))
{
CloseMenu(eOpenMenu);
}
}
function document.onmouseout()
{
var eSrc = window.event.srcElement;
if ("mainlnk" == eSrc.className)
{
eSrc.style.color = "white";
}
}
function mOvr(src)
{
if (!src.contains(event.fromElement))
src.style.backgroundColor = "#FFBF00"; //color opcion resaltada barra
}
function mOut(src)
{
if (!src.contains(event.toElement))	
src.style.backgroundColor = "#074a05"; //color opciones barra no resaltadas
}
function menulnkovr(item)
{
item.style.color = "white"
}
function menulnkout(item)
{
item.style.color = "white"
}
function menuOver(src)
{
if (!src.contains(event.fromElement))
src.style.backgroundColor = "#FFBF00";      // Fondo Opcion Resaltada subm
}
function menuOut(src)
{
if (!src.contains(event.toElement))
src.style.backgroundColor = "#074a05"        // Fondo opcion no resaltada
}
function menuClick(src)
{
if (!src.contains(event.toElement))
src.style.backgroundColor = "darkred"
}
function brdr(which)
{
if (document.all||document.getElementById)
{
which.style.borderLeftColor = "#074a05"    //
which.style.borderRightColor = "#074a05"   //
which.style.borderTopColor = "#074a05"     // 
which.style.borderBottomColor = "#074a05"  // 
}
}
function brdrClk(which)
{
if (document.all||document.getElementById)
{
which.style.borderLeftColor = "#074a05"    // 
which.style.borderRightColor = "#074a05"   //
which.style.borderTopColor = "#074a05"     //
which.style.borderBottomColor = "#074a05"  //
}
}
function brdrOff(which)
{
if (document.all||document.getElementById)
{
which.style.borderColor = "#074a05"        // Borde opciones no resal subm
}
}