/*
* Title: Dynamic Multilingual Menu Navigation
* Description: Dynamic Navigation using layers for IE & NS4+. Works together with leftnav.jsp
* Copyright: Copyright (c) 2003
* Company: Multimedia Solutions Corp
* @Author: Juan F. Sarria
* @Created: 02/01/2003
* @Modified: 04/09/2003
* @version 1.5
*/

var NS5 = null;
var NS6 = null;
var IE = null;
var NS = null;

var NS4x = null;
var IE4	= null;
var IE6NS6 = null;

var CurLayer = null;
var MenuBgClass = "Opc1";
var MenuLastBgClass = "Opc2";
var BackGroundColor = "#CCCCCC";
var MenuBgColor = "#FFFFFF";
var MenuLastBgColor = "#CCCCCC";
var LayerQTY = 0;
var LayerInc = 31;

var MenuTitles = new Array("");
var MenuBlock = new Array("");

function Init() {
	NS4x	=	(document.layers) ? true : false;
	IE4		=	(document.all && !document.getElementById) ? true : false;
	IE6NS6	=	(document.createElement && document.body.style) ? true : false;

	NS5 = document.layers;
	IE = document.all;
	NS6 = document.getElementById && !document.all;

	IE = (typeof(IE) != "undefined" && IE != false ) ? true : false;
	NS = ((typeof(NS5) != "undefined" && NS5 != false) || (typeof(NS6) != "undefined" && NS6 != false)) ? true : false;

	if (NS4x) CreateSubMenus();
}

function initEventHandling () {
	if (document.layers) document.LEFTMENU.onmouseout = function () { NSClose(); };
}

function NSClose() {
	// Just for NS4+
	if (typeof(myBox) != "undefined")
		myBox.visibility="hide";
}


