/*@cc_on
@if (@_jscript_version <= 5.6)
	// js code for IE6 or down	
@else @*/
	// js code for IE7 and non-IE browsers
	replaceText();							
/*@end @*/

function replaceText(){
	
	if(sIFR){
		var CenturySchoolbook = {src:'/assets/swf/century_schoolbook.swf'};
		sIFR.activate(CenturySchoolbook);

		//services
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.patrol',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #ed7b22; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #ed7b22; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.shield',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #0088bb; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #0088bb; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.manage',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #e22337; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #e22337; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.guard',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #F2D630; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #F2D630; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.protect',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #7C37A5; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #7C37A5; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
		
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2.services',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #CC0099; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #CC0099; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	
		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h2',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #6DB33F; leading: -5; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #6DB33F; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});

		sIFR.replace(CenturySchoolbook, 
		{
			selector: 'h3.service',
			css: [
		      '.sIFR-root {  background-color: #000000, font-weight: normal; color: #FFFFFF; leading: 0; }'
		      ,'a { text-decoration: none; }'
		      ,'a:link { color: #FFFFFF; }'
		      ,'a:hover { color: #FFFFFF; }'
		    ],
			tuneHeight: -6,
			offsetTop: -3
		});
	}

}