function hello(){alert("Hello Again");}

function Main_hide(){
	$j('.clickhide').each(function( intIndex ){$j( this ).hide ();});
	$j('.nohide').each(function( intIndex ){$j( this ).show ();});		
	}

function Main_reveal(){
	$j(".clicker").bind("click", function(){
		if ($j(this).parent().find(".clickhide").is(':hidden') ) {
			$j(this).parent().find(".clickhide").animate({height: 'show', opacity: 'show'},'fast');}
		else {
			$j(this).parent().find(".clickhide").animate({height: 'hide', opacity: 'hide'},'slow');}}) 
	}

function Side_bar(){
	$j("#NextEvent").hover(function(event){$j("#NextEvent").find(".clickhide").animate({height: 'show', opacity: 'show'},'fast');})
	}

function Menu_bar(){
	$j('.menu_bar').each(function( intIndex ){$j( this ).hide ();});
	$j('#mainbar').each(function( intIndex ){$j( this ).show ();});
	var subs = $j('#subselect').attr("subs");
	$j('#' + subs ).each(function( intIndex ){$j( this ).show ();});
	$j(".menu_item").bind("click", function(){
		var url = $j(this).attr("xref");
		var subm = $j(this).attr("sub");
		$j(".menu_item").removeClass('here');
		$j(this).addClass('here');
		if ( subm == "none"){$j(location).attr('href',url);}
		else{
		$j('.menu_bar').each(function( intIndex ){$j( this ).hide ();});
		$j('#mainbar').each(function( intIndex ){$j( this ).show ();});		
		$j('#' + subm).each(function( intIndex ){$j( this ).show ();});
		}
	})
	}

function $j_GET(param){
  param = param.replace(/([\[\](){}*?+^$.\\|])/g, "\\$1");
  var regex = new RegExp("[?&]" + param + "=([^&#]*)");
  var url   = decodeURIComponent(window.location.href);
  var match = regex.exec(url);
  return match ? match[1] : "";
}
