
window.onload = function(){

	var img = '/images/random/' + Math.floor(Math.random()*49) + '.jpg';
	$('#img_src').attr('src', img);
	$('#img_link').attr('href', img);

	// fade in content after 2 seconds, hope this doesn't get annoying
	setTimeout(function(){
		$('#wrapper').fadeIn(2000);
	}, 500);
}
