var $j = jQuery.noConflict();
$j(document).ready(function() {
	

	$j("#primaryNav li").hover(function() {
		$j(this).addClass("sfhover");
		$j('#header').css({'z-index' : '5000'});
		$j('#main').css({'z-index' : '4000'});

	}, function(){
		$j(this).removeClass("sfhover");
	});

	
	//Primary nav hover:  Keep parent <li> in hovered state while its child <ul> is hovered.
	$j("#primaryNav li ul").hover(function() {
		$j(this.parentNode).addClass("childHovered");

	}, function () {
		$j(this.parentNode).removeClass("childHovered");
	});
	
	//To prevent the peculiar behavior of primaryNav <li> not having its childHovered class removed when its submenu is moused out while a quickForm <input> is moused over.
	$j("#quickForm input").mouseover(function() {
		$j("#primaryNav li").removeClass("childHovered");
	});	
	
		$j('a.thickbox2').colorbox();
		
});


// Get Date For Form Processor
var getDate=new Date()
var getYear=getDate.getYear()
if (getYear < 1000)
getYear+=1900
var getDay=getDate.getDay()
var getMonth=getDate.getMonth()+1
if (getMonth<10)
getMonth="0"+getMonth
var getCurrentDay=getDate.getDate()
if (getCurrentDay<10)
getCurrentDay="0"+getCurrentDay
theDate = +getMonth+"/"+getCurrentDay+"/"+getYear
