beforeload = (new Date()).getTime();
	function pageloadingtime()
	{
	
		 //calculate the current time in afterload 
		afterload = (new Date()).getTime();
		 // now use the beforeload and afterload to calculate the seconds
		secondes = (afterload-beforeload)/1000;
		 // If necessary update in window.status
		window.status='You Page Load took  ' + secondes + ' seconde(s).';
		 // Place the seconds in the innerHTML to show the results
		document.getElementById("loadingtime").innerHTML = secondes;
		
	}
	  
	window.onload = pageloadingtime;
