 
 
 
var image1 = $('<img />').attr('src', 'http://localhost:8888/asylum/wp-content/themes/asylum/images/logo-over.png');


$(document).ready(function() {
	
	
$("#content").css("display", "none");

//$("#blurimg").css("display", "none");
//$("#blurimg").fadeIn(500);

	//setTimeout("$(\"#blurimg\").fadeIn(500);",500);
	
	//$("#content").fadeIn(800);
	setTimeout("$(\"#content\").fadeIn(500);",800);
	
	setTimeout("$('.scroll-pane').jScrollPane();",900);
	
	setTimeout("$('.scroll-pane').jScrollPane();",1200);
	
	setTimeout("$('.scroll-pane').jScrollPane();",1500);
	
	

 
	
	//setTimeout("$(\"#normalimg\").fadeOut(500);",500);
	//setTimeout("$(\"#blurimg\").fadeIn(500);",500);
	
	
    
	$("a.transition").click(function(event){
		event.preventDefault();
		linkLocation = this.href;
		$("#content").fadeOut(500, redirectPage);		
	});
		
	function redirectPage() {
		window.location = linkLocation;
	}
	
});

