// JavaScript Document
//<[CDATA[
 	var frutigerbold = {
	src: dotdotpath + 'flash/frutigerbold.swf'
	,ratios:[7, 1.32, 11, 1.31, 12, 1.24, 14, 1.27, 19, 1.23, 24, 1.22, 33, 1.2, 45, 1.19, 50, 1.18, 51, 1.19, 65, 1.18, 66, 1.17, 69, 1.18, 70, 1.17, 71, 1.18, 1.17]
	};

  	var autobahn_stencil = {
	src: dotdotpath + 'flash/autobahn_stencil.swf'
	,ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01]
	};	
	
sIFR.delayCSS  = true;
// sIFR.domains = [''] // Don't check for domains in this demo

sIFR.activate(frutigerbold);
sIFR.activate(autobahn_stencil);
//sIFR.debug.ratios({ src: 'flash/autobahn_stencil.swf', selector: 'h2.maincontent_title' });
	

/*sIFR.replace(frutigerbold, {
	selector: 'h1'
	,wmode: 'transparent'
	,fixHover: true
    ,css: '.sIFR-root {color: #ffffff; leading: 0; text-align:left; letter-spacing: 0; font-weight: bold;}'
});*/

sIFR.replace(autobahn_stencil, {
	selector: 'h2.maincontent_title'
	,wmode: 'transparent'
	,fixHover: true
    ,css: ['.sIFR-root {color: #96171a; leading: 0; text-align:left; letter-spacing: 0;}','a {color: #96171a;text-decoration: none;}','a:hover {color: #96171a;text-decoration: underline;}', 'em {color: #e42c2d;text-decoration:none; font-style:normal;}']	
});

sIFR.replace(autobahn_stencil, {
	selector: 'h3.c2_content_title, h3.c2_content_title2, h3.promotext'
	,wmode: 'transparent'
	,fixHover: true
    ,css: ['.sIFR-root {color: #96171a; leading: 0; text-align:left; letter-spacing: 0;}','a {color: #d20308;text-decoration: none;}','a:hover {color: #d20308;text-decoration: underline;}','em {color: #e42c2d;text-decoration:none; font-style:normal;}']	
});


/*function replace_helv() {
	//alert('test');
	function class_exists(nameOfClass) {
	//alert('test2');
	var els = document.getElementsByTagName('h2');
	var i = els.length; 
	
	while( i-- )
	{
	//alert(nameOfClass);
	var sifrclass = document.getElementById("test").className;
	//alert(sifrclass);
	if (sifrclass == "maincontent_title sIFR-replaced")
	{
		//alert(sifrclass);
		sifrclass = "maincontent_title";
		document.getElementsByTagName('h2').className = sifrclass;
		//alert(sifrclass);
	}		
		
		
		//alert("'" + els[i].className + "'" + " " + "'" + nameOfClass + "'")
		if(sifrclass == nameOfClass)
		{
		//alert(sifrclass);
		return true;
		}
	}
	
	return false;
	}
	
	if(class_exists('maincontent_title')) {
	sIFR.replace(autobahn_stencil, {
		selector: 'h2.maincontent_title'
		,wmode: 'transparent'
		,fixHover: true
		,css: ['.sIFR-root {color: #ffffff; leading: 0; text-align:left; letter-spacing: 0;}','a {color: #ffffff;text-decoration: none;}','a:hover {color: #ffffff;text-decoration: underline;}']	
	});	
		
	}
}*/

	
//]]>
