 var path = document.domain;
 
 if(path.indexOf(".local") > -1)
 	path = path.replace("fin.","");
 else
 	path = path.replace("fin.","www.");
 
 var stonesans = 
 {
    src: "http://"+path+'/z_swf/stonesans.swf'
 };

  //sIFR.delayCSS = true;
  //sIFR.useStyleCheck = true;
  sIFR.activate(stonesans);
  //foundation
  
   sIFR.replace(stonesans, {selector: '.foundation #doubletitle h2',tuneHeight: '3', offsetTop: '5',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#EFF0F1'}
			   },
			   wmode: 'transparent'
			   });
  
   sIFR.replace(stonesans, {selector: '.foundation h2',tuneHeight: '3', offsetTop: '5',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#EFF0F1'}
			   },
			   wmode: 'transparent'
			   });
   
   sIFR.replace(stonesans, {selector: '.foundation h3',tuneHeight: '3', offsetTop: '5',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#EFF0F1'}
			   },
			   wmode: 'transparent'
			   });   
   
   sIFR.replace(stonesans, {selector: '.foundation #articletitle h4',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#EFF0F1'}
			   },
			   wmode: 'transparent'
			   });

 //emmanuel
  
  sIFR.replace(stonesans, {selector: '.emmanuel #mainrighttop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#ffffff', 'background-color':'#460B26', 'text-transform':'uppercase'}
			   },
			   wmode: 'transparent'
			   });
  
   sIFR.replace(stonesans, {selector: '.emmanuel #newstop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#420B1F', 'background-color':'#ffffff', 'text-transform':'uppercase'}
			   },
			   wmode: 'transparent'
			   });

  sIFR.replace(stonesans, {selector: '.emmanuel #pagetitle',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#420B1F', 'text-transform':	'uppercase'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.emmanuel #feditcontent h2',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }});
  
    sIFR.replace(stonesans, {selector: '.emmanuel #feditcontent h3',tuneHeight: '2', offsetTop: '-1',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.emmanuel #articletitle h4, .emmanuel #jobTitle',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   },
			   wmode: 'transparent'
			   });
  
  sIFR.replace(stonesans, {selector: '.emmanuel #feditcontent h4',tuneHeight: '2', offsetTop: '-1',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }});
  
  //trinity
  
  sIFR.replace(stonesans, {selector: '.trinity #mainrighttop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#ffffff', 'background-color':'#460B26', 'text-transform':'uppercase'}
			   },
			   wmode: 'transparent'
			   });
  
   sIFR.replace(stonesans, {selector: '.trinity #newstop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#420B1F', 'background-color':'#ffffff', 'text-transform':'uppercase'}
			   },
			   wmode: 'transparent'
			   });

  sIFR.replace(stonesans, {selector: '.trinity #pagetitle',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#420B1F', 'text-transform':	'uppercase'}
			   }});
  
  sIFR.replace(stonesans, {selector: '.trinity #feditcontent h2',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }});
  
  sIFR.replace(stonesans, {selector: '.trinity #feditcontent h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }});
  
  sIFR.replace(stonesans, {selector: '.trinity #articletitle h4',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   },
			   wmode: 'transparent'
			   });
  
  sIFR.replace(stonesans, {selector: '.trinity #feditcontent h4',tuneHeight: '2', offsetTop: '-1',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }});

 //bede
  
  sIFR.replace(stonesans, {selector: '.bede #mainrighttop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#ffffff', 'background-color':'#19431D', 'text-transform':'uppercase'}
			   }
			   ,wmode: 'transparent'
			   });
  
   sIFR.replace(stonesans, {selector: '.bede #newstop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#002F23', 'background-color':'#ffffff', 'text-transform':'uppercase'}
			   }
			   });

  sIFR.replace(stonesans, {selector: '.bede #pagetitle',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#002F23', 'text-transform':	'uppercase'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.bede #feditcontent h2',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });
  
    sIFR.replace(stonesans, {selector: '.bede #feditcontent h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.bede #articletitle h4',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   },
			   wmode: 'transparent'
			   });
  
  sIFR.replace(stonesans, {selector: '.bede #opportunitiesbede h2',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   },
			   wmode: 'transparent'
			   });
  
  sIFR.replace(stonesans, {selector: '.bede #feditcontent h4',tuneHeight: '2', offsetTop: '-1',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });


 //kings
  
  sIFR.replace(stonesans, {selector: '.kings #mainrighttop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#ffffff', 'background-color':'#251834', 'text-transform':'uppercase'}
			   }
			   ,wmode: 'transparent'
			   });
  
   sIFR.replace(stonesans, {selector: '.kings #newstop h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#003366', 'background-color':'#ffffff', 'text-transform':'uppercase'}
			   },
			   wmode: 'transparent'
			   });

  sIFR.replace(stonesans, {selector: '.kings #pagetitle',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#003366', 'text-transform':	'uppercase'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.kings #feditcontent h2',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });
  
  sIFR.replace(stonesans, {selector: '.kings #feditcontent h3',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });  
  
  sIFR.replace(stonesans, {selector: '.kings #articletitle h4',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   },
			   wmode: 'transparent'
			   });
  
  sIFR.replace(stonesans, {selector: '.kings #feditcontent h4',tuneHeight: '2', offsetTop: '-1',
			   css: 
			   {
				  '.sIFR-root': { 'color': '#8B8B8B', 'background-color':'#ffffff'}
			   }
			   });  
