setActiveItems=function(){
	for(var i=0;i<activeIndexes.length;i++){
		switch(i){
			case 0:
			var im=document.getElementById("tdMenu1").childNodes[activeIndexes[i]].firstChild
			//alert(im.src)
			im.src=im.src.replace(/_1\.gif/g,"_2.gif")
			//alert(im.src)
			break;
			case 1:
			document.getElementById("divMenu2"+activeIndexes[i]).style.display="block"
			
			break;
			case 2:
			var subRef=document.getElementById("divMenu2"+activeIndexes[i-1]+""+activeIndexes[i])
				if(subRef){
					subRef.style.display="block"
				}
			break;			
		}
	}
	for(var i=0;i<activeMenuIds.length;i++){
		switch(i){
			case 1:
			new Menu2Decorator(document.getElementById(activeMenuIds[i]))
			break;
			case 2:
			new Menu2SubDecorator(document.getElementById(activeMenuIds[i]))
			break;			
			}
		}
}
function Menu2Decorator(a){
	a.className="menu2current"
}
function Menu2SubDecorator(a){
	a.className="menu2subcurrent"
}