//code for the menu buttons
var futuraBold = {  src: 'futuraBold.swf' };
sIFR.activate(futuraBold);

sIFR.replace(futuraBold, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'futuraBold.swf', 
  css: ['.sIFR-root {color:#ffffff; margin:0;}']
});

//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; }'
    ]
});


function OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}

//  onload="fixPNG(this)"
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

function fixPNG(myImage) 
{
    if ((version >= 5.5) && (version < 7) && (document.body.filters)) 
    {
       var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
	   var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
	   var imgTitle = (myImage.title) ? 
		             "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' "
	   var imgStyle = "display:inline-block;" + myImage.style.cssText
	   var strNewHTML = "<span " + imgID + imgClass + imgTitle
                  + " style=\"" + "width:" + myImage.width 
                  + "px; height:" + myImage.height 
                  + "px;" + imgStyle + ";"
                  + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                  + "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"
	   myImage.outerHTML = strNewHTML	  
    }
}


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();};
}
}


}
