// JavaScript Document

//<[CDATA[
function reloadSIFR(){
  	var DINMedium = {
	src: dotdotpath + 'flash/DINMedium.swf'
	,ratios:[7,1.32,11,1.31,12,1.24,16,1.27,19,1.23,25,1.22,26,1.21,33,1.2,37,1.19,38,1.2,51,1.19,84,1.18,86,1.17,88,1.18,93,1.17,94,1.18,1.17]
	};
	
	sIFR.delayCSS  = true;
 // sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
 	sIFR.activate(DINMedium);
	
	//sIFR.debug.ratios({ src: 'flash/serifa_bt.swf', selector: 'h1' });

sIFR.replace(DINMedium, {
    selector: 'h1.title , h2.title, h2.rss-title,  h3.title'
	,wmode: 'transparent'
    ,css: ['.sIFR-root {color: #003366; leading: 2; letter-spacing: 0;}','em { font-style: normal; color: #000000; letter-spacing: 0;}']
  });


sIFR.replace(DINMedium, {
	selector: '.whitetitle'
	,wmode: 'transparent'
    ,css: ['.sIFR-root {color: #ffffff; leading: 2; letter-spacing: 0;}','em { font-style: normal; color: #ffffff; letter-spacing: 0;}', ]
});


sIFR.replace(DINMedium, {
	selector: '.small_subhead'
	,wmode: 'transparent'
	,css: ['.sIFR-root {color: #39312D; leading: 0;}','a { text-decoration: none; }','a:link { color: #39312D; text-decoration: none;}','a:hover { color: #77685A; }']
});

}

reloadSIFR();




/*function reloadSIFR() {
	
		//sniff if
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
		 var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
		 if (ieversion!=7)
		  //alert("You're using IE6 or below")
					//reload function
					function class_exists(nameOfClass) {
					var els = document.getElementsByTagName('h2');
					var i = els.length; 
					
					while( i-- )
					{
						//alert("'" + els[i].className + "'" + " " + "'" + nameOfClass + "'")
						if(els[i].className == nameOfClass)
						{
						return true;
						}
					}
					
					return false;
					}
					
					
					if(class_exists('h2.title')) {
						sIFR.replace(DINMedium,{
						selector: 'h2.title',
						wmode: 'transparent'
						,css: ['.sIFR-root {color: #003366; leading: 2; letter-spacing: 0;}','em { font-style: normal; color: #000000; letter-spacing: 0;}']
						});
						
						
					}
					//reload function End
			
		}	
		//sniff if end
}
*/

//]]>