var T1, T2;
var Menu;
var C; 

function menuOver(MenuID){

Menu = document.getElementById(MenuID);

Menu.style.display="block";

}

function startkill(MenuID){

Menu = document.getElementById(MenuID);

T1=setTimeout('closeMenu(Menu)', 1500);
}

function closeMenu(Menu){

if(Menu){
Menu.style.display="none";
}

clearTimeout(T1);

if(C){

C.style.backgroundColor="#dfe6ba";
C.style.color="black";
}

}

function killTimer(timer){

if(T1){
clearTimeout(timer);
}

}

function ItemOver(A){

A.style.backgroundColor="438a43";
A.style.color="white";


}

function ItemOut(B){

B.style.backgroundColor="#dfe6ba";
B.style.color="black";
}


function ItemOver2(D){
C=D;


C.style.backgroundColor="438a43";
C.style.color="white";

}



/*


if(parseInt(C.style.top) > -10){
	T2 = setInterval('moveUp()', 40);
}


var count = 0


function moveUp(){

var topVal = parseInt(C.style.top);
//alert(C.style.top);
topVal-=2;
C.style.top=topVal+"px";
count++;
testMax(5);
}

function testMax(x){
//alert(count);
if (count >= x){
   //alert(T2)
   clearInterval(T2);
   count = 0;
}
}
*/