// JavaScript Document
// PAGE STARTUP CHECKER
/* this script checks the load status and triggers the start() function for the page */


	//check the load status if all elements are loaded, then start the page
	function checkLoadStatus(num) {
		//alert("checkLoadStatus was called. Datatotal = " + num + "& Data Loaded = " + DataLoaded);
		if (DataLoaded == num) {
			start();
		}
	}
	
	function pageLoaded(num){
		DataLoaded ++;
		checkLoadStatus(num);
	}