var $j = jQuery.noConflict();

$j(document).ready(function(){

	$j('#primaryNav a[title]').noTooltips();
	$j('#primaryNav li').hover(function(){
		$j(this).find('ul').slideDown(100);
	}, function(){
		$j(this).find('ul').slideUp(0);
	});
	
	$j("ul#primaryNav li ul").hover (function () { 
		$j(this.parentNode).addClass("hover");
	}, function () {
		$j(this.parentNode).removeClass("hover");
	});
	

	$j("ul#primaryNav ul li a").hover (function () { 
		$j(this).stop().animate({opacity: "0.95", paddingLeft: "24", paddingRight: "8"}, 'fast');	  
	 }, function(){
	 	$j(this).stop().animate({opacity: "1", paddingLeft: "16", paddingRight: "16"}, 'fast');	 
	 });

	
	$j("#leftNav a").hover(function(){
		$j(this).stop().animate({opacity: "0.8", marginLeft: "8"}, 200);	  
	 }, function(){
	 	$j(this).stop().animate({opacity: "1", marginLeft: "0"}, 200);	 
	 });
	 
	$j('table tbody tr:odd').addClass('oddRow');
	$j('table tbody tr td:first-child').addClass('cellTitle');

	
});

// Title: NoTooltips
// Description: Kills Anchor Tag titles on hover
//                (Fixes drop-down dissappear bug in FF & IE)
// Usage(somewhere in DOM Ready): jQuery('#primaryNav a[title]').noTooltips();

(function($) {
   $.fn.noTooltips = function() {
       return this.each(function() {
           var title = $(this).attr('title');
           $(this).hover(onHover,onHoverOut(title));
       });
       
       function onHover() {
           $(this).attr('title','');
       }
       
       function onHoverOut(title)
       {
           $(this).attr('title', title);
       }
       
   }
})(jQuery);

// 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



