function hrefMenu(form){
	var url = form.urlList.options[form.urlList.selectedIndex].value;
	if(url !==""){
		window.location.href=url;
	}
}	
function hrefMenu2(form){
	var url = form.urlList2.options[form.urlList2.selectedIndex].value;
	if(url !==""){
		window.location.href=url;
	}
}
function hrefMenu3(objList){
	var url = objList.options[objList.selectedIndex].value;
	if(url !==""){
		window.location.href=url;
	}
}

var sOpenMenuID =  "";
var iTimerID;
	
function doMenu(){
	//alert("in domenu");
  var eSrc = window.event.srcElement;
  window.event.cancelBubble = true;
  if (sOpenMenuID != ""){
  	document.all[sOpenMenuID].style.display = "none";
  }
  if (eSrc.className=="MenuTitle"){
  	var nMenuNum = eSrc.id.substring(eSrc.id.length - 2,eSrc.id.length);
  	sOpenMenuID = "idMenu" + nMenuNum;
  	var eMenu = document.all[sOpenMenuID];
  	eMenu.style.clip = "rect(0 0 0 0)";
  	document.all[sOpenMenuID].style.display = "block";
  	nChunk = 25;
  	iTimerID = window.setTimeout("showMenu(" + eMenu.id + "),10");
  }
}
var nChunk;
function showMenu(eMenu){
  eMenu.style.clip = "rect(0 100% " + nChunk + "% 0)";
  nChunk +=25;
  if (nChunk <= 100){
  	iTimer = window.setTimeout("showMenu(" + eMenu.id +"),10");
  }
  else{
  	window.clearTimeout(iTimerID);
  }
}


