var timer = null;

function showIt() {
	if (timer){
		clearTimeout(timer);
	}
	document.getElementById("productsDrop").style.display = "inline";
	document.getElementById("productsDrop").style.visibility = "visible";
}

function hideIt() {
	timer = setTimeout(inviz, 400);
	timer;
}

function inviz() {
	document.getElementById("productsDrop").style.display = "none";
	document.getElementById("productsDrop").style.visibility = "hidden";
}