function handleLoad(){
 window.setTimeout(function() {
		offy = $('#main-body').offset().top;
		offx = $('#main-body').offset().left;
	}, 1);

	$('#main-body').fadeIn('fast');
	$('#news-wrapper').animate({
			height: '0px'
	});

 $("div#bt-news").show();
	$('#bt-news').animate({
			height: '14px'
	});
}

$(document).ready(function() {
 initEvents();
 $("div#bt-news").show();
});


function initEvents(event) {
	var showed = false;
	$('.show').click(function() {

	 if(!showed){
			$('#news-wrapper').animate({
				height: '260px'
			});
			showed = true;

			$('#pulldownMenu').animate({
				top: '-294px'
			});
			
 		$("div#bt-news-on").show();
 		$("div#bt-news").hide();
		}else{
			$('#news-wrapper').animate({
 			height: '0px'
			});
			
			$('#pulldownMenu').animate({
				top: '-34px'
			});
 	 showed = false;
  
			$("div#bt-news-on").hide();
 	 $("div#bt-news").show();
	 }
 });
}
