//here's the sIfr
//code for the h1 tags
var optima = {  src: 'optima.swf' };
sIFR.activate(optima);

sIFR.replace(optima, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'optima.swf', 
  css: [ '.sIFR-root {color:#000000; font-weight:bold;}'  ]
});

//- 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}

window.onload = runSiteScripts;

function runSiteScripts() {

	var so = new SWFObject("flashheader.swf", "animation", "900", "262", "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();};
	}
	}


}