// JavaScript Document
var singleTimer;
function displayMenu(menuID,callID){
	hideAllMenus();
	clearTimeout(singleTimer);
	var menuToShow=document.getElementById(menuID);
	var calling=document.getElementById(callID);
	menuToShow.style.top=(calling.offsetTop+24)+"px";
	menuToShow.style.left=(calling.offsetLeft-10)+"px";
	menuToShow.style.visibility="visible";
}
function hideAllMenus(){
	document.getElementById("popupmenu-about").style.visibility="hidden";
	document.getElementById("popupmenu-services").style.visibility="hidden";
	document.getElementById("popupmenu-products").style.visibility="hidden";
	document.getElementById("popupmenu-work").style.visibility="hidden";
}
function setTimer(){
	clearTimeout(singleTimer);
	singleTimer=setTimeout("hideAllMenus()",300);
}
function stopTimer(){
	clearTimeout(singleTimer);
}
