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 menuItemClick(obj) {
var thisLot
thisLot = "?url=" + obj;
thisLot = thisLot + "&ssub=";
var url="/inc/setSession.asp";
document.location.href=url+thisLot;
}

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 {
SlideClosed('cph'+hopen);
setTimeout("SlideOpen('cph"+thisId+"')",1500);
hopen=thisId;
}
}

function menuTitleClickMini(thisId) {
	if(document.getElementById('l1p'+thisId).style.display==""){
SlideClosed('l1p'+thisId);
	document.getElementById("1mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l1p'+thisId).style.display="none";
SlideOpen('l1p'+thisId);
document.getElementById("1mp"+thisId).innerHTML="-";
}
}

function menuTitleClickMini2(thisId) {
	if(document.getElementById('l2p'+thisId).style.display==""){
SlideClosed('l2p'+thisId);
	document.getElementById("2mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l2p'+thisId).style.display="none";
SlideOpen('l2p'+thisId);
document.getElementById("2mp"+thisId).innerHTML="-";
}
}

function menuTitleClickMini3(thisId) {
	if(document.getElementById('l3p'+thisId).style.display==""){
SlideClosed('l3p'+thisId);	
	document.getElementById("3mp"+thisId).innerHTML="+";
	}
	else{
document.getElementById('l3p'+thisId).style.display="none";
SlideOpen('l3p'+thisId);
document.getElementById("3mp"+thisId).innerHTML="-";
}
}

function menuItemClick(obj,obj2){
var thisLot
thisLot = "?smen=" + obj;
thisLot = thisLot + "&ssub=" + obj2;
var url="/menu/setSession.asp";
document.location.href=url+thisLot;
}


