var $j = jQuery.noConflict();

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


// Suckerfish drop-downs
/*
sfHover = function() {
	var sfEls = document.getElementById("primaryNav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
*/

//Glossary Stylings
$j(document).ready(function () {
	$j('.glossary-box tr:odd').addClass('odd');
	$j('.glossary-box tr td:first-child').addClass('term');
	
$j("#translations p a").click(function(){
		$j("#translations ul").slideToggle('fast');
		return false;
	});

$j("#translations ul").hover(function(){}, function(){
		$j(this).slideUp('fast');

});

});