j$(function() {
	if(!jQuery.browser.msie){
		j$("#menu01").css("opacity","0.0");
		j$("#jmenu01").hover(function () {
			j$("#menu01").stop().animate({opacity: 1.0}, "normal");
			},function () {
				j$("#menu01").stop().animate({opacity: 0.0}, "normal");
		});
		j$("#menu02").css("opacity","0.0");
		j$("#jmenu02").hover(function () {
			j$("#menu02").stop().animate({opacity: 1.0}, "normal");
			},function () {
				j$("#menu02").stop().animate({opacity: 0.0}, "normal");
		});
		j$("#menu03").css("opacity","0.0");
		j$("#jmenu03").hover(function () {
			j$("#menu03").stop().animate({opacity: 1.0}, "normal");
			},function () {
				j$("#menu03").stop().animate({opacity: 0.0}, "normal");
		});
		j$("#menu04").css("opacity","0.0");
		j$("#jmenu04").hover(function () {
			j$("#menu04").stop().animate({opacity: 1.0}, "normal");
			},function () {
				j$("#menu04").stop().animate({opacity: 0.0}, "normal");
		});
	}
});

function mOver(submenuId ,x ,y, btnbgPos){

	if (typeof document.body.style.maxHeight == "undefined") {
		y += 19;
	}

	var divObj = document.getElementById(submenuId);
	divObj.style.display = "block";
	divObj.style.left = x + "px"; 
	divObj.style.top = y + "px";
	
	var hoverObj = document.getElementById(btnbgPos);

	if (typeof document.body.style.maxHeight != "undefined") {
		  hoverObj.style.backgroundPosition = '0px 50px';
	} else {
		  // IE6, older browsers
	}
}
function mOut(submenuId, btnbgPos){
	var divObj = document.getElementById(submenuId);
	divObj.style.display = "none";

	var hoverObj = document.getElementById(btnbgPos);

	if (typeof document.body.style.maxHeight != "undefined") {
		hoverObj.style.backgroundPosition = '0px 0px';
	} else {
		// IE6, older browsers
	}


}

