//here's the sIfr
//code for the h1 tags
var garamond = {  src: 'garamond.swf' };
sIFR.activate(garamond);

sIFR.replace(garamond, {
  selector: '#content h1', 
  wmode: 'transparent', 
  src: 'garamond.swf', 
  css: [ '.sIFR-root {color:#5A7D5C; margin-bottom:33;  }'  ]
});


//  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("menu.swf", "animation", "770", "404", "6", "ffffff");
//so.addVariable("sectionID","<%=submenuSection%>");
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();};
}
}

var chickens = new Accordion($$('#faq .toggler'), $$('#faq .element'), {start:'all-close', transition: Fx.Transitions.Quad.easeOut});


}