// Drop Down Minus
SubIDVar = new Array();
SubIDVar[1]="tableofcontentdrop";
function SetSubNav(){
	posLeft =0;
	for(i=1; i<SubIDVar.length ;i++){
			MySub=SubIDVar[i];
			posLeft = posLeft + 10;
			
			document.getElementById(MySub).style.position="absolute";
			document.getElementById(MySub).style.left=posLeft;
			document.getElementById(MySub).style.top=10;
			document.getElementById(MySub).style.visibility="hidden";
	}
}
function ShowSubNav(DivID,xCoord,yCoord){
	for(i=1; i<SubIDVar.length ;i++){
		menuActive=1
		MySub=SubIDVar[i]
		if (MySub!=DivID){
			document.getElementById(MySub).style.visibility="hidden";

		}else{
			OpositionX=document.getElementById('MyNav').offsetLeft
			positionWidth=document.getElementById('MyNav').offsetWidth
			finalPostion=OpositionX+xCoord
			// alert(finalPostion)
			document.getElementById(MySub).style.position="absolute";
			document.getElementById(MySub).style.left=finalPostion;
			document.getElementById(MySub).style.top=yCoord;
			document.getElementById(MySub).style.visibility="visible";
		}
	}
}
function HideSubNav(DivID){
document.getElementById(DivID).style.visibility="hidden"
}
function linkTimer(DivID) {
 timeOn = setTimeout("btnOut('"+DivID+"')",250)
}// MOUSE OUT
function btnOut(DivID) {
 if (menuActive == 0) {
 HideSubNav(DivID)
 }
}
// End Drop Down Minus