//Global JS
//SIFR IT UP
var currentpage = window.location.hostname.toString();

if (currentpage.indexOf("cms.omedix.com") >= 0)
{
    // DON'T RUN SIFR
} else {
	// SIFR
	var helvrounded 	= 	{ src: '../_swf/helvrounded.swf' };
	
	sIFR.activate(helvrounded);
	
	sIFR.replace(helvrounded, {
		selector: 'div#columns .wrapper h2',
		wmode : 'transparent'
		,css: {
			'.sIFR-root': { 'font-size' : '27px' , 'color' : '#201914' , 'font-weight' : 'bold' }
		}
	});
	
	sIFR.replace(helvrounded, {
		selector: '#content h1, h1.formfix',
		wmode : 'transparent'
		,css: {
			'.sIFR-root': { 'font-size' : '36px' , 'color' : '#201914' }
		}
	});
}

function footerYear () {
	var d = new Date();
	var thisYear = d.getFullYear()
	$("#thisYear").text(thisYear);
}

//OTHER STUFF
$(function(){
	footerYear ();		   
		   
	/* ZEBRAAAA */
	$(".zebra tr:nth-child(odd)").addClass("odd");
	
	/* Searchbar fixin' */
	$(".librarysearch").click(function(){
		$(this).attr("value","");
	});
});

<!--
function validate_form ( )
{
valid = true
if ( document.paymentform.t_ordernum.value == "" )
{
alert ( "Please enter an Account Number." );
valid = false
}
if ( document.paymentform.c_fname.value == "" )
{
alert ( "Please enter the Client First Name." );
valid = false
}
if ( document.paymentform.c_lname.value == "" )
{
alert ( "Please enter the Client Last Name." );
valid = false
}
if ( document.paymentform.t_amt.value == "" )
{
alert ( "Please enter the amount you would like to pay." );
valid = false
}
return valid;
}
//-->
