//- 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;

var acc = false;

function runSiteScripts() {



var menupics = new SWFObject("flashheader.swf", "slideshow", "900", "291", "6", "#000000");
    menupics.addParam("wmode", "transparent");
	menupics.write("flashheader");
	
var flashpics = new SWFObject("flash_photos.swf", "slideshow", "900", "291", "6", "#000000");
    flashpics.addParam("wmode", "transparent");
	flashpics.write("flashpics");

// 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();};
}
}


}

