
function ShowSubKey(x){
	//alert("document.all[\"key"+x+"\"]");
	var p = eval("document.getElementById(\"Key"+x+"\");");
	//alert(x);
	if(p.style.display=='none')
		p.style.display='';
	else
	p.style.display='none';
	//eval("document.all.Key1").style.display='';
	//eval("Key"+x+".style.display=\"\";");
	//eval("Key"+x+".style.visibility=\"visible\";");
	}
	
<!--menuscript-->
	function showSubTitle(obj)
	{
		position = getPosition(obj);

		eval("Sub"+obj.name+".style.display=\"inline\";");
		eval("Sub"+obj.name+".style.visibility=\"visible\";");
		eval("Sub"+obj.name+".style.position=\"absolute\";");
		eval("Sub"+obj.name+".style.left="+(position.x-1)+";");
		eval("Sub"+obj.name+".style.top="+(position.y+40)+";");
	}
  
	function hideSubTitle(obj1)
	{
		eval("Sub"+obj1.name+".style.display=\"none\";");
		eval("Sub"+obj1.name+".style.visibility=\"hidden\";");
	}	

	function active(obj)
	{
		if(obj.className != "buttonsActive")
			obj.className="buttonsActive";
	}

	function inactive(obj)
	{
		if(obj.className != "buttons")
			obj.className="buttons";
	}

	function activeSubMenu(obj,objParent)
	{
		if(obj.className != "buttonsSubActive")
			obj.className="buttonsSubActive";
		objParent.className="buttonsActive";
	}

	function inactiveSubMenu(obj,objParent)
	{
		if(obj.className != "buttonsSub")
			obj.className="buttonsSub";
		objParent.className="buttons";
	}


function activeSubMenutop(obj,objParent)
	{
		if(obj.className != "buttonsSubtopActive")
			obj.className="buttonsSubtopActive";
		objParent.className="buttonsActive";
	}

	function inactiveSubMenutop(obj,objParent)
	{
		if(obj.className != "buttonsSubtop")
			obj.className="buttonsSubtop";
		objParent.className="buttons";
	}

	function getPosition(obj)
	{
		for (var lx=0,ly=0;obj!=null;lx+=obj.offsetLeft,ly+=obj.offsetTop,obj=obj.offsetParent);
		return {x:lx,y:ly}
	}
		
