
//here's the sIfr
//code for the h1 tags
var avantGardeDemi = {  src: 'avantGardeDemi.swf' };
sIFR.activate(avantGardeDemi);
sIFR.replace(avantGardeDemi, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'avantGardeDemi.swf', 
  css: [ '.sIFR-root {color:#441853;}'  ]
});

//code for the footer text
var futura3 = {  src: 'futuraBk.swf' };
sIFR.activate(futura3);
sIFR.replace(futura3, {
  selector: 'h2', 
  wmode: 'transparent', 
  src: 'futuraBk.swf',
  css: ['.sIFR-root {color:#744c9e; text-align:center;}']
});


//- the sitemap slider

window.addEvent('domready', function(){
			
	var mySlide2 = new Fx.Slide('sitemap-in').hide();
			
	$('toggle2').addEvent('click', function(e){
	e = new Event(e);
	mySlide2.toggle();
	e.stop();
	});
}); 

//- the "jump to bottom" thingy

function timeout(){
window.setTimeout("redirect()",600)}

function redirect(){
window.scroll(0,20000); 
return}



function runSiteScripts() {

var so = new SWFObject("flashheader.swf", "animation", "637", "375", "6", "ffffff");
so.addParam("wmode", "transparent");
so.write("flashheader");

var so = new SWFObject("flashNavAndPics.swf", "animation", "263", "622", "6", "ffffff");
//so.addVariable("sectionID","<%=submenuSection%>");
so.addParam("wmode", "transparent");
so.write("flashNavAndPics");


// 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();};
}
}


}