//here's code for the sitemap
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}



//sIFR activation
if(typeof sIFR == "function"){
	sIFR.replaceElement(named({sSelector:"h1 span.n1", sFlashSrc:"avantgardeBold.swf", sColor:"#000000", sWmode: "transparent"}));
	sIFR.replaceElement(named({sSelector:"h1 span.n2", sFlashSrc:"avantgarde.swf", sColor:"#000000", sWmode: "transparent"}));
}



function OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}

function runSiteScripts() {


var so = new SWFObject("flashheader.swf", "flashmov", "900", "336", "6", "ffffff");
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();};
}
}

}
