im currently using this http://www.nyokiglitter.com/tutorials/tabs.html tab script but one thing I need is a page jump so if someone wants to go directly to Second Tab from the address using #secondtab in the url it will go directly to the second tab.

a example of what I want is how just directly to Whats New http://moofx.mad4milk.net/#whatsnew

this code should do what I want. but I cant get it to work, or am I using the wrong code?
Code:
		//anchors
		function checkHash(){
			var found = false;
			$$('h3.toggler a').each(function(link, i){
				if (window.location.hash.test(link.hash)){
					myAccordion.showThisHideOpen(i);
					found = true;
				}
			});
			return found;
		}

		if (!checkHash()) myAccordion.showThisHideOpen(0);