//code for h1's
var freestylescript = {  src: 'freestylescript.swf' };
sIFR.activate(freestylescript);
sIFR.replace(freestylescript, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'freestylescript.swf', 
  css: ['.sIFR-root {color:#ffffff; margin-left:5px;}']
});

//code for the menu buttons
var futura = {  src: 'futuraBk.swf' };
sIFR.activate(futura);
sIFR.replace(futura, {
  selector: '.menuTitle h5', 
  wmode: 'transparent', 
  src: 'futuraBk.swf', 
  css: [
      '.sIFR-root {cursor:pointer; color:#ffffff; text-align:right;}'
      ,'a { text-decoration:none; color:#ffffff;}'
      ,'a:link { color:#ffffff; }'
      ,'a:hover { color:#674c1d; }'
    ]
});

////code h3's
//var futura2 = {  src: 'futuraBk.swf' };
//sIFR.activate(futura2);
//sIFR.replace(futura2, {
//  selector: 'h3', 
//  wmode: 'transparent', 
//  src: 'futuraBk.swf', 
//  css: ['.sIFR-root {color:#f0c672;}']
//});

//code for the footer text
var futura3 = {  src: 'futuraBk.swf' };
sIFR.activate(futura3);
sIFR.replace(futura3, {
  selector: '#footer h6', 
  wmode: 'transparent', 
  src: 'futuraBk.swf',
  css: ['.sIFR-root {color:#d0b99f; text-align:center;}']
});


function OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}


function runSiteScripts() {

//var so = new SWFObject("flashheader.swf", "animation1", "900", "225", "6", "ffffff");
//so.addParam("wmode", "transparent");
//so.write("flashheader");

// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}


}