
// define the font faces we're going to use
var vistaSansLite = {
  src: 'flash/vista-sans-lite.swf'
};

var vistaSansRegular = {
  src: 'flash/vista-sans-regular.swf'
};

var vistaSansBold = {
  src: 'flash/vista-sans-bold.swf'
};

// active sIFR and pre-load the fonts
sIFR.activate(vistaSansLite);
sIFR.activate(vistaSansRegular);
sIFR.activate(vistaSansBold);

// replace elements
sIFR.replace(vistaSansLite, {
	selector: '#divBody h1'
	,css: [
  	'.sIFR-root { color: #FFFFFF; background-color: #abb573;  }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '.contentRowsBottom h2'
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '#divGallery h3'
	, wmode: 'transparent' 
	,css: [
  	'.sIFR-root { color: #616736; background-color: #ffffff; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '#divFooter h2'
	,css: [
  	'.sIFR-root { color: #FFFFFF; background-color: #abb573; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #FFFFFF; text-decoration: none; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '.contact h2'
	, wmode: 'transparent' 
	,css: [
  	'.sIFR-root { color: #616736; background-color: #ffffff; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #FFFFFF; text-decoration: none; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '.contentRows h2'
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});



sIFR.replace(vistaSansBold, {
	selector: '.whatDoWeThink h2'
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '.whatDoCustomers p.sayCompany'
	, wmode: 'transparent' 	
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansBold, {
	selector: '.whoAre h2'
	, wmode: 'transparent' 
	,css: [
  	'.sIFR-root { color: #283b2c; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#283b2c }'
	  ,'a:link { color: #283b2c }'
	  ,'a:hover { color: #283b2c; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '.whoAre h3'
	, wmode: 'transparent' 
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#616736 }'
	  ,'a:link { color: #616736 }'
	  ,'a:hover { color: #616736; }'
    ]
});

sIFR.replace(vistaSansRegular, {
	selector: '#divBody h2'
	,css: [
  	'.sIFR-root { color: #616736; background-color: #E4E7D3; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansBold, {
	selector: '.newsItem h3'
	,css: [
  	'.sIFR-root { color: #616736; background-color: none; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});

sIFR.replace(vistaSansLite, {
	selector: '.whoAre h3'
	,css: [
  	'.sIFR-root { color: #616736; background-color: #FFFFFF; }'
  	,'a { text-decoration: none; color:#FFFFFF }'
	  ,'a:link { color: #FFFFFF }'
	  ,'a:hover { color: #CCCCCC; }'
    ]
});