var xmlHttp;

function menuOverMCL(obj,iclass) {
var x = "td" + obj;
var selected = document.getElementById(x);
var y = iclass+"On";
selected.className = y;
}

function menuOutMCL(obj,iclass) {
var x = "td" + obj;
var selected = document.getElementById(x);
var y = iclass+"Off";
selected.className = y;
}



function menuItemClickSub(obj,subObj) {
var thisLot
thisLot = "?url=" + obj;
thisLot = thisLot + "&ssub=" + subObj;
var url="/inc/setSession.asp";
document.location.href=url+thisLot;
}

var hopen=1;
var l1open=1;
var l2open=1;
var l3open=1;

function menuTitleClick(thisId) {
if(hopen==thisId){
//nothing
}
else {
SlideClosedM('cph'+hopen);
SlideOpenM('cph'+thisId);
hopen=thisId;
}
}

function menuTitleClickMini(thisId) {
	if(document.getElementById('l1p'+thisId).style.display==""){
SlideClosedM('l1p'+thisId);
	document.getElementById("1mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l1p'+thisId).style.display="none";
SlideOpenM('l1p'+thisId);
document.getElementById("1mp"+thisId).innerHTML="-";
}
}

function menuTitleClickMini2(thisId) {
	if(document.getElementById('l2p'+thisId).style.display==""){
SlideClosedM('l2p'+thisId);
	document.getElementById("2mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l2p'+thisId).style.display="none";
SlideOpenM('l2p'+thisId);
document.getElementById("2mp"+thisId).innerHTML="-";
}
}

function menuTitleClickMini3(thisId) {
	if(document.getElementById('l3p'+thisId).style.display==""){
SlideClosedM('l3p'+thisId);	
	document.getElementById("3mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l3p'+thisId).style.display="none";
SlideOpenM('l3p'+thisId);
document.getElementById("3mp"+thisId).innerHTML="-";
}
}

function menuItemClick(obj,obj2,obj3,obj4){
var thisLot
thisLot = "?smen=" + obj;
thisLot = thisLot + "&ssub=" + obj2 + "&sssub=" + obj3 +"&ssssub=" + obj4;


var url="/menu/setSession.asp";
document.location.href=url+thisLot;
}

function SlideOpenM(obj){
	document.getElementById(obj).style.display='';
}

function SlideClosedM(obj){
	document.getElementById(obj).style.display='none';
}


