jQuery.fn.delay = function(time,func){
	return this.each(function(){
		setTimeout(func,time);
	});
};

$(document).ready(function(){
	
	$buildingup = false;
	
	$("#promotion>*").show();
			
	
	//Blurs all links when clicked
	$("a").click(function(){
		$(this).blur();
	});
	
	$(this).delay(500,function(){
		
		//Show the elements	
		$(".promo").stop().animate({left:'580px'}, {queue:false, duration:1000});
		$buildingup = true;	
		
    });
	
}); 	