//here's the sIfr
//code for the h1 tags
var futura = {  src: 'edwardianScriptITC.swf' };
sIFR.activate(futura);

sIFR.replace(futura, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'edwardianScriptITC.swf', 
  css: [ '.sIFR-root {color:#355fb4;  margin-bottom:10; margin-top:0; text-transformation:uppercase; }'  ]
});

//code for the h1 tags
var futura2 = {  src: 'futura.swf' };
sIFR.activate(futura2);

sIFR.replace(futura2, {
  selector: 'h2', 
  wmode: 'transparent', 
  src: 'futura.swf', 
  css: [ '.sIFR-root {color:#254ea0; margin-left:1px; margin-bottom:3; margin-top:20;  }'  ]
});


//  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 OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}

function runSiteScripts() {

var so = new SWFObject("flashlogo.swf", "flashmov1", "498", "127", "6", "ffffff");
so.addParam("wmode","transparent");
so.write("flashlogo");

var so = new SWFObject("flashblocks.swf", "flashmov2", "270", "221", "6", "ffffff");
so.addParam("wmode","transparent");
so.write("flashblocks");



// 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();};
}
}

}