//Dropdown menu1
var i=+0;
var intHide1;
var intshow1;
var speed=2;


function showmenu1()
{
clearInterval(intHide1);
intShow1=setInterval("show1()",10);
}
function hidemenu1()
{
clearInterval(intShow1);
intHide1=setInterval("hide1()",10);
}
function show1()
{
if (i<=1)
	{
	i=i+speed;
	document.getElementById('menu1').style.top=i +'px';
	}
}
function hide1()
{
if (i>=-123)
	{
	i=i-speed;
	document.getElementById('menu1').style.top=i +'px';
	}
}


//Dropdown menu2
var j=+0;
var intHide2;
var intshow2;
var speed2=2;

function showmenu2()
{
clearInterval(intHide2);
intShow2=setInterval("show2()",10);
}
function hidemenu2()
{
clearInterval(intShow2);
intHide2=setInterval("hide2()",10);
}
function show2()
{
if (j<=1)
	{
	j=j+speed2;
	document.getElementById('menu2').style.top=j +'px';
	}
}
function hide2()
{
if (j>=-77)
	{
	j=j-speed2;
	document.getElementById('menu2').style.top=j +'px';
	}
} 
   

//Dropdown menu3
var k=+0;
var intHide3;
var intshow3;
var speed3=2;

function showmenu3()
{
clearInterval(intHide3);
intShow3=setInterval("show3()",10);
}
function hidemenu3()
{
clearInterval(intShow3);
intHide3=setInterval("hide3()",10);
}
function show3()
{
if (k<=1)
	{
	k=k+speed3;
	document.getElementById('menu3').style.top=k +'px';
	}
}
function hide3()
{
if (k>=-77)
	{
	k=k-speed3;
	document.getElementById('menu3').style.top=k +'px';
	}
} 


//Dropdown menu4
var l=+0;
var intHide4;
var intshow4;
var speed4=2;

function showmenu4()
{
clearInterval(intHide4);
intShow4=setInterval("show4()",10);
}
function hidemenu4()
{
clearInterval(intShow4);
intHide4=setInterval("hide4()",10);
}
function show4()
{
if (l<=1)
	{
	l=l+speed4;
	document.getElementById('menu4').style.top=l +'px';
	}
}
function hide4()
{
if (l>=-77)
	{
	l=l-speed4;
	document.getElementById('menu4').style.top=l +'px';
	}
} 


//Dropdown menu5
var m=+0;
var intHide5;
var intshow5;
var speed5=2;

function showmenu5()
{
clearInterval(intHide5);
intShow5=setInterval("show5()",10);
}
function hidemenu5()
{
clearInterval(intShow5);
intHide5=setInterval("hide5()",10);
}
function show5()
{
if (m<=1)
	{
	m=m+speed5;
	document.getElementById('menu5').style.top=m +'px';
	}
}
function hide5()
{
if (m>=-77)
	{
	m=m-speed5;
	document.getElementById('menu5').style.top=m +'px';
	}
} 


//Dropdown menu6
var n=+0;
var intHide6;
var intshow6;
var speed6=2;

function showmenu6()
{
clearInterval(intHide6);
intShow6=setInterval("show6()",10);
}
function hidemenu6()
{
clearInterval(intShow6);
intHide6=setInterval("hide6()",10);
}
function show6()
{
if (n<=1)
	{
	n=n+speed6;
	document.getElementById('menu6').style.top=n +'px';
	}
}
function hide6()
{
if (n>=-77)
	{
	n=n-speed6;
	document.getElementById('menu6').style.top=n +'px';
	}
} 


//Dropdown menu7
var o=+0;
var intHide7;
var intshow7;
var speed7=2;

function showmenu7()
{
clearInterval(intHide7);
intShow7=setInterval("show7()",10);
}
function hidemenu7()
{
clearInterval(intShow7);
intHide7=setInterval("hide7()",10);
}
function show7()
{
if (o<=1)
	{
	o=o+speed7;
	document.getElementById('menu7').style.top=o +'px';
	}
}
function hide7()
{
if (o>=-75)
	{
	o=o-speed7;
	document.getElementById('menu7').style.top=o +'px';
	}
} 

function wave()
{
clearInterval(intHide5);
intShow5=setInterval("show5()",10);
clearInterval(intShow5);
intHide5=setInterval("hide5()",-10);
setTimeout('next1()',200);
}
function next1()
{
clearInterval(intHide4);
intShow4=setInterval("show4()",10);
clearInterval(intShow4);
intHide4=setInterval("hide4()",10);
setTimeout('next2()',200);
}
function next2()
{
clearInterval(intHide3);
intShow3=setInterval("show3()",10);
clearInterval(intShow3);
intHide3=setInterval("hide3()",10);
setTimeout('next3()',200);
}
function next3()
{
clearInterval(intHide2);
intShow2=setInterval("show2()",10);
clearInterval(intShow2);
intHide2=setInterval("hide2()",10);
setTimeout('next4()',200);
}
function next4()
{
clearInterval(intHide1);
intShow1=setInterval("show1()",10);
clearInterval(intShow1);
intHide1=setInterval("hide1()",10);
}

