//JQUERY
$(document).ready(function() {			 
	$("#msg").hide();
	$("#msg").fadeIn("slow");
	function addDropdown(){
        $("div",this).addClass("hovering");
		//(this).find("ul") -- could also use this way
		$("a",this).addClass("dropped");
        }

      function removeDropdown(){
        $("div",this).removeClass("hovering");
		$("a",this).removeClass("dropped");
        }

    /*var dropdownConfig = {
         interval: 50,
         sensitivity: 4,
         over: addDropdown,
         timeout: 500,
         out: removeDropdown
    };
    $("li.dropdown").hoverIntent(dropdownConfig)*/
	
	$("li.dropdown").mouseover(function() {
		$("div",this).addClass("hovering");
		//(this).find("ul") -- could also use this way
		$("a",this).addClass("dropped");
	});
	
	$("li.dropdown").mouseout(function() {
		$("div",this).removeClass("hovering");
		$("a",this).removeClass("dropped");
	});
	
	$(function() {
	var zIndexNumber = 1000;
	$('div').each(function() {
		$(this).css('zIndex', zIndexNumber);
		zIndexNumber -= 10;
	});
});
});// document ready

document.execCommand("BackgroundImageCache",false,true);
