stuHover = function() {
	var cssRule;
	var newSelector;

	var getElm = document.getElementById("menu_gor_left").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", stuHover);
stuHover1 = function() {
	var cssRule;
	var newSelector;

	var getElm = document.getElementById("menu_gor_right").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", stuHover1);

var submenu = document.getElementById('layer2');
var submenu1 = document.getElementById('layer11');

function showSub(lay) {
	submenu = document.getElementById(lay);	
	if (submenu){
	submenu.style.display='block';
	}
}

function hideSub() {
	if (submenu){
	submenu.style.display='none';
	}
}

function showSub1(lay) {
	submenu1 = document.getElementById(lay);	
	if (submenu1){
	submenu1.style.display='block';
	}
}

function hideSub1() {
	if (submenu1){
	submenu1.style.display='none';
	}
}

$(document).ready(function(){
	$("p.laeyr0").click(function(){
		$(this).next("div.podmenu").toggle();
	});
	if ($("p.laeyr0.activ").length){$("p.laeyr0.activ").next("div.podmenu").show();}
	if ($("div.podmenu.activ").length){$("div.podmenu.activ").show();}
	if ($("div.podmenu_podmenu.activ").length){$("div.podmenu_podmenu.activ").show();}
	if ($("p.laeyr1.activ").length){$("p.laeyr1.activ").next("div.podmenu_podmenu").show();}
});
