//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 constantia 		= 	{ src: '../_swf/constantia.swf' };
	
	sIFR.activate(constantia);
	
	sIFR.replace(constantia, {
		selector: '#content h1, #contentfull h1',
		wmode : 'transparent'
		,css: {
			'.sIFR-root': { 'font-size' : '42px' , 'color' : '#053553', 'font-style' : 'italic'}
		}
	});
	sIFR.replace(constantia, {
		selector: '#columnInfo h2',
		wmode : 'transparent'
		,css: {
			'.sIFR-root': { 'font-size' : '30px' , 'color' : '#000000', 'font-style' : 'italic'}
		}
	});
	
	
		
	/*sIFR.replace(palatino, {
		selector: '#content h4',
		wmode : 'transparent',
		css: [
			'.sIFR-root { font-size:16px; color: #000000;}'
			,'a { text-decoration: underline; font-size: 18px; color: #000000;  }'
			,'a:link { color: #000000; }'
			,'a:hover { color: #333333; }'
		] 	
	});*/
}

//OTHER STUFF
$(function(){
	/* ZEBRAAAA */
	$(".zebra tr:nth-child(odd)").addClass("odd");
	
	/* Searchbar fixin' */
	$(".librarysearch").click(function(){
		$(this).attr("value","");
	});
});