var avantgarde = { src: '/swf/font/avantgarde.swf'
,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};
var avantgarde_mediumdemi = { src: '/swf/font/avantgarde_mediumdemi.swf'
,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};
var avantgarde_bookbold = { src: '/swf/font/avantgarde_bookbold.swf'
,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var helveticaneu_light = { src: '/swf/font/helveticaneu_light.swf' };
var helveticaneu_bold = { src: '/swf/font/helveticaneu_bold.swf' };

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(avantgarde, avantgarde_mediumdemi, avantgarde_bookbold, helveticaneu_light, helveticaneu_bold);

sIFR.replace(avantgarde_bookbold, {
	selector: '.landing-nav-container .tips p.title',
	css: ['.sIFR-root { font-style: bold; font-size:13px; color: #2b70ad; text-align:left; }',
		   'em { font-size:12px; color:#2b70ad; }',
		   'a { display: block; text-decoration: underline; }',
		   'a:link { color: #1c1c1c; }',
		   'a:hover { color: #1c1c1c; }'
		  ],
	wmode: 'transparent',
	offsetTop : '0'
});

sIFR.replace(avantgarde_mediumdemi, {
	selector: '.landing-nav-container .tips p.detail',
	css: ['.sIFR-root { font-size:12px; color: #1c1c1c; text-align:left; }',
		   'em { font-style: bold; font-size:12px; color:#2b70ad; }',
		   'a { display: block; text-decoration: underline; }',
		   'a:link { color: #1c1c1c; }',
		   'a:hover { color: #1c1c1c; }'
		  ],
	wmode: 'transparent',
	offsetTop : '0'
});

sIFR.replace(avantgarde, {
	selector: '.banner .ticker p',
	css: ['.sIFR-root { font-size:12px; font-style:italic; color: #ffffff; text-align:left; }',
		   'em { font-style: normal; font-size:12px; }',
		   'a { display: block; text-decoration: underline; }',
		   'a:link { color: #ffffff; }',
		   'a:hover { color: #ffffff; }'
		  ],
	wmode: 'transparent',
	offsetTop : '0'
});

sIFR.replace(avantgarde_mediumdemi, {
	selector: '.leading-div h1',
	css: ['.sIFR-root { font-size:25px; color: #ffffff; text-align:left; text-transform: lowercase; }',
		   'em { font-style: normal; font-weight:normal; font-size:40px; }'
		  ],
	wmode: 'transparent',
	offsetTop : '0'
});
sIFR.replace(avantgarde, {
	selector: '.videos-container .howto h2',
	css: ['.sIFR-root { font-size:21px; color: #ffffff; text-align:left; text-transform: lowercase; }',
		   'em { font-style: normal; font-weight:normal; color:#f8d700; }'
		   ],
	wmode: 'transparent'
});
sIFR.replace(avantgarde, {
	selector: '.photos-container .howto h2',
	css: ['.sIFR-root { font-size:21px; color: #ffffff; text-align:left; text-transform: lowercase; }',
		   'em { font-style: normal; font-weight:normal; color:#03c6e4; }'
		   ],
	wmode: 'transparent',
	offsetTop : '-1'
});
sIFR.replace(helveticaneu_light, {
	selector: '.topic p.refreshText',
	css:  ['.sIFR-root { font-size:27px; color: #2b6fac; text-align:left; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #2b6fac; }',
		   'a:hover { color: #2b6fac; }',
		   'em { font-style: normal; font-weight:normal; }'
		   ],
	wmode: 'transparent',
	offsetTop : '0'
});
sIFR.replace(helveticaneu_light, {
	selector: '.topicmax p.refreshText',
	css:  ['.sIFR-root { font-size:27px; color: #000000; text-align:left; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #000000; }',
		   'a:hover { color: #000000; }',
		   'em { font-style: normal; font-weight:normal; }'
		   ],
	wmode: 'transparent',
	offsetTop : '0'
});
sIFR.replace(helveticaneu_bold, {
	selector: '.topic p.topicText',
	css:  ['.sIFR-root { font-size:27px; color: #2b6fac; text-align:left; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #2b6fac; }',
		   'a:hover { color: #2b6fac; }',
		   'em { font-style: normal; font-weight:normal; }'
		   ],
	wmode: 'transparent',
	offsetTop : '0',
	preventWrap : true,
	forceSingleLine : true
});
sIFR.replace(helveticaneu_bold, {
	selector: '.topicmax p.topicText',
	css:  ['.sIFR-root { font-size:27px; color: #000000; text-align:left; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #000000; }',
		   'a:hover { color: #000000; }',
		   'em { font-style: normal; font-weight:normal; }'
		   ],
	wmode: 'transparent',
	offsetTop : '0',
	preventWrap : true,
	forceSingleLine : true
});
sIFR.replace(helveticaneu_bold, {
	selector: '.nav-topics li',
	css:  ['.sIFR-root { font-size:26px; color: #ffffff; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #ffffff; }',
		   'a:hover { color: #ffffff; }'
		   ],
	wmode: 'transparent',
	forceSingleLine: 'true',
	forceClear: 'true'
	,onRollOver: function(cb) { $(cb.getFlashElement()).parent().stop().css({backgroundColor:'#b10809'}); }
	,onRollOut: function(cb) { $(cb.getFlashElement()).parent().stop().css({backgroundColor:'#de191e'}); }
	//,onReplacement: function(cb) { $(cb.getFlashElement()).hide()}
}); 

sIFR.replace(helveticaneu_bold, {
	selector: '#submenu div',
	css:  ['.sIFR-root { font-size:26px; height:30px; color: #ffffff; text-transform: lowercase; cursor: pointer; }',
		   'a { display: block; text-decoration: none; }',
		   'a:link { color: #ffffff; }',
		   'a:hover { color: #ffffff; }'
		   ],
	wmode: 'transparent',
	forceSingleLine: 'true',
	forceClear: 'true'
	,onRollOver: function(cb) { $(cb.getFlashElement()).parent().stop().css({backgroundColor:'#b10809'}); }
	,onRollOut: function(cb) { $(cb.getFlashElement()).parent().stop().css({backgroundColor:'#de191e'}); }
	//,onReplacement: function(cb) { $(cb.getFlashElement()).hide()}
});

sIFR.useStyleCheck = true;