$(document).ready(function(){

	/* Featured project info box fade in fade out */
	$(".btn-slide").click(function(){
	 $("#panel").hide();
 	$("#panel").animate({ opacity: "show" }, 1000);	
	$(".btn-slide-close").click(function(){
 	$("#panel").animate({ opacity: "hide" }, 1000);		});
	});
	
	/* animate gallery in to fix IE flash of unstyled content */
	$("#box1").hide();
    $("#viewWork").hide();
	//$("#viewPhoto").hide();

	$("#viewWork").animate({ opacity: "show" }, 6000);
 	$("#box1").animate({ opacity: "show" }, 3000);	
	$("#viewPhoto").addClass("hidden").fadeTo(10000, 0, function() {
	$(this).removeClass("hidden")
}).fadeTo("slow", 1).fadeTo(10000, 1);


}); 



$(document).ready(function(){
$("#biographyImages img").fadeTo("slow", 0.6); // This sets the opacity of the thumbs to fade down to 60% when the page loads

$("#biographyImages img").hover(function(){
$(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("slow", 0.6); // This should set the opacity back to 60% on mouseout
});
});


$("a").each(function(){this.onmouseup = this.blur();})





