
document.observe("dom:loaded", function() {
  // check for URL fragment, and if exists, show that sub-menu layer

	if(window.location.hash) {
		// Fragment exists
		var hash = window.location.hash.substring(1);
		if( document.getElementById(hash+"_tab") ){
			//alert(hash+"_tab was found on page");
			toggle_layer(hash);
		}
	} else {
		// Fragment doesn't exist
	}
});
