var thisurl = location.href.substring(location.href.lastIndexOf("http://")+7, location.href.length); 
var colorstxt = thisurl.substring(0, thisurl.lastIndexOf('/'))+"/colors.txt";

function aOpen() {
	if($('aboutsub').getStyle('height') == "1px"){
	var aboutmenu = new Fx.Height('aboutsub');
	aboutmenu.custom(1,120);
	}
}

function aClose() {
	if($('aboutsub').getStyle('height') == "120px"){
	var aboutmenu = new Fx.Height('aboutsub');
	aboutmenu.custom(120,1);
	}
}

function finishUp() {
//sIFR.replaceElement(named({sSelector:"#copy h1", sFlashSrc:"h1.swf", sColor:"#26675d", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sWmode:"transparent", sFlashVars:"textalign=left&offsetTop=0"}));
//sIFR.replaceElement(named({sSelector:"#copy h2", sFlashSrc:"h1.swf", sColor:"#714664", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sWmode:"transparent", sFlashVars:"textalign=left&offsetTop=0"}));
	
Window.onDomReady(function(){
	blurAnchors();
    count();
	

	
	// swf Object code here
    //var JoJooJo = new SWFObject("logo.swf", "logo", "408", "232", "6", "#000000");
    //    JoJooJo.addParam("wmode", "transparent");
    //    JoJooJo.write("flashlogo");
	
	// Accordion Menu
	var theMenu = document.getElementsByClassName('menuTitle');
	var theMenuSubs = document.getElementsByClassName('menuSubs');
	var myEffect = new fx.Accordion(theMenu, theMenuSubs, {});
});
}
