function loaddelay(){
	loadtweets();
	autohide();
	initcountdown();
}
function initcountdown(){


	   $.post("/data/countdown/large.php", function(data){
		   $('div.met_countdown').html(data);
		   
		   $('#big_countdown').countDown({targetDate: {'day': 11,'month':06,'year': 2010,'hour':21,'min': 0,'sec':0}});
		   
		   
		});

	
}
function loadtweets(){
	$("#mytweets").load('/includes/shared/ajax_recent_twitter.asp');
}
function autohide(){var dte_today=new Date();$('#ajax-col .autohide').each(function(intIndex){var $this = $(this); var myid=$this.attr('id');if(myid){mydate=myid.substring(2);mydate=mydate.replace(/\./g,'/');if(mydate.length==10){if(Date.parse(dte_today)>Date.parse(mydate)){$this.slideUp();}}}})}
$(function(){
var so = new SWFObject("/flash/master.swf", "header_swf", "750px", "650px", "8", "#1d1d1d");so.addParam("base", ".");so.addVariable("str_loaddoors", 0);so.addVariable("str_headerimage", "/flash/ss_header.swf");so.addParam("wmode", "transparent");so.write("flashbox_header");$(".b_gig").click(function(){var mylink = this.getAttribute('href');var mygigid = mylink.substring(mylink.indexOf("?"));if (mygigid){tb_show('The MET Brisbane: Gigs and Events','/engine/events/pop/'+mygigid + '&KeepThis=true&height=550&width=770');}this.blur();return false;});$(".b_map").click(function(){var mylink = this.getAttribute('href');if (mylink){tb_show('The MET Brisbane: Google Map',mylink + '?KeepThis=true&height=600&width=770');}this.blur();return false;});

});

$(window).load(function(){
	var t=setTimeout("loaddelay()",2000);
});