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

$j(document).ready(function () {
	// Stripy Tables
    var tbodys = $j("tbody.stripy");
	tbLength = tbodys.length;
	while (tbLength--) 
	{
		var rows = tbodys[tbLength].getElementsByTagName("tr");
		rLength = rows.length;
		rCounter = 1;
		while (rCounter < rLength)
		{
			$(rows[rCounter]).addClass("altRow");
			rCounter += 2;
		}
	}
	/* !Email a Friend Social Button ============================== */
	$j(".modal").colorbox();
	$j(".socialForm").colorbox({width:"25%", height:"63%",iframe:true});
	$j(document).ready(function(){
 	$j("#referer").val(document.referrer);
	});
	/*
	// Colorbox
	$j('.modal').colorbox();	
	$j('.socialForm').colorbox({
		width:'400px', 
		height:'550px',
		iframe:true
	});
	$j('#referer').val(document.referrer);
	/* !Email a Friend Social Button ============================== */
	

});



