$(document).ready(function(){
   $(".project_link").fadeTo("fast", 0.6); // This sets the opacity of the thumbs to fade down to 5% when the page loads
   $(".project_link").hover(function(){
   $(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
   },function(){
   $(this).fadeTo("fast", 0.6); // This should set the opacity back to 30% on mouseout
	   	});
   });

$(function () {
	$('img.loader').hide();//hide all the images on the page
});

var i = 0;//initialize
var int=0;//Internet Explorer Fix
$(window).bind("load", function() {//The load event will only fire if the entire page or document is fully loaded
	var int = setInterval("doThis(i)",250);//250 is the fade in speed in milliseconds
});

function doThis() {
	var images = $('img.loader').length;//count the number of images on the page
	if (i >= images) {// Loop the images
		clearInterval(int);//When it reaches the last image the loop ends
	}
	$('img.loader:hidden').eq(0).fadeIn(250);//fades in the hidden images one by one
	i++;//add 1 to the count
}
