var $j = jQuery.noConflict();
$j(document).ready(function(){
	
	/* Tabs */
	$j("ul.tabNav li a").click(function(){
		$j("ul.tabNav li").removeClass("active")
		var nav = $j(this).parent().attr("class");
		var tab = nav.substr(4);
		$j(this).parent().addClass("active");
		$j(".tabBody div").hide();
		$j(".tabBody .tab-"+tab).fadeIn("slow");
		return false;
	});
	
	/* Dropdowns */
	$j("ul#primaryNav li").hover( function(){
		$j(this).children("a").addClass("hover");
		$j(this).children("ul").show();
	}, function() {
		$j(this).children("a").removeClass("hover");
		$j(this).children("ul").hide();
	});
	
});


// 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 
