//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 futura 	= 	{ src: '../_swf/futura.swf' };
//	
//	sIFR.activate(futura);
//	
//	sIFR.replace(futura, {
//		selector: '#content h1, #contentfull h1',
//		wmode : 'transparent'
//		,css: {
//			'.sIFR-root': { 'font-size' : '36px' , 'color' : '#000000'}
//		}
//	});
//	
//	sIFR.replace(futura, {
//		selector: '#contentBanner span, #introWrap h1',
//		wmode : 'transparent'
//		,css: {
//			'.sIFR-root': { 'font-size' : '30px' , 'color' : '#ffffff'}
//		}
//	});
//}

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","");
	});
});
