//preload
var PL1 = new Image();
PL1.src = "images/pageElements/envelope-on.jpg";

var PL2 = new Image();
PL2.src = "images/pageElements/redArrow.gif";



function subOn(menuName){
	document.getElementById(menuName).style.background = "transparent  url(images/pageElements/redArrow.gif) bottom center no-repeat";
}
function subOff(menuName){
	document.getElementById(menuName).style.background = "transparent  bottom center no-repeat";
}


//here's the sIfr
//code for the h1 tags
var trebuchet = {  src: 'trebuchet.swf' };
sIFR.activate(trebuchet);
sIFR.replace(trebuchet, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'trebuchet.swf', 
  css: [ '.sIFR-root {color:#eb1107;}'  ]
});

//code for the h2 tags
var trebuchet3 = {  src: 'trebuchet.swf' };
sIFR.activate(trebuchet3);
sIFR.replace(trebuchet3, {
  selector: 'h2', 
  wmode: 'transparent', 
  src: 'trebuchet.swf', 
  css: [ '.sIFR-root {color:#eb1107;}'  ]
});


//code for the footer
var trebuchet2 = {  src: 'trebuchet.swf' };
sIFR.activate(trebuchet2);
sIFR.replace(trebuchet2, {
  selector: '#footersplash', 
  wmode: 'transparent', 
  src: 'trebuchet.swf', 
  css: [ '.sIFR-root {color:#ffffff; text-transform:uppercase; text-align:right;}'  ]
});





function runSiteScripts() {



// 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();};
}
}


}