$(document).ready(function() {
 $('.item').hover(function() {
		menuToShow.element = this;
		menuToShow.subElementName = 'p';
		menuToShow.timeout = setTimeout("showMenu()",100);
	}, function() {
	  clearTimeout(menuToShow.timeout);
	  menuToShow.element = null;
	  visibleMenu.subElementName = 'p';
		visibleMenu.timeout = setTimeout("hideMenu()",400);
	});
});
