function Show(which,what) {
//Made by mrah13@hotmail.com
	if (which!=0) {
		if (what==1) {
			Hide('1');
			document.getElementById("menu"+which).style.visibility = ('visible');
		}
		else {
			setTimeout("Hide('0');",2000);
		}
		document.getElementById("menu").value=what;
	}
}

function Hide(now) {
check = document.getElementById("menu");
	
	if (now==1 || now==0 && check.value==0) {
		ami = 7;
		for (i=1; i<ami; i++) {
			document.getElementById("menu"+i).style.visibility = ('hidden');
		}
	}
}