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("nav").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);
// Treeview
$j(document).ready(function()
{
	$j(".viewMore").treeview({
		animated: "fast",
		collapsed: true
	});
});
// Stripy Tables  ##JDW - jwynn@topspotims.com##
$j(document).ready(function()
{
	var tbodys = $j("tbody.stripy");
	for (var i = 0, tbLength = tbodys.length; i < tbLength; i += 1) 
	{
		var rows = tbodys[i].getElementsByTagName("tr");
		for (var j = 1, rLength = rows.length; j < rLength; j += 2)
		{
			$j(rows[j]).addClass("altRow");
		}
	}
});
