$(document).ready(function(){
 var LoadToppen = $("#page").offset().top+200;
 var LoadLeften = $("#page").offset().left+350;
 $("#LoadingIntro").css({ position: "absolute", top: LoadToppen,left: LoadLeften});
 $('#LoadingIntro').fadeIn();
 $('.pics').hide();
 $.preload('.pics img',{
	onFinish:finishIntro,
	placeholder:'media/2444/intro%20bilde%206.jpg',//this is the really important option
	threshold:5 //'1' is the default, how many at a time, to load.			
});

		function finishIntro(){//hide the summary
			$('#LoadingIntro').hide();
			$('.pics').show();
			$('.pics').cycle({ 
    				fx:    'fade', 
				speed:  2500 
		 	});
		}
});