// Static elements' array
	var yourImagesS = new Array(
	 "yalogo", "yalogo1", "sclogo", "tmp_0",
 	"news_0", "camps_0", "club_0", "checklist_0", "howto_0", "nature_0", "recipes_0", "weather_0", "maps_0", "tellus_0",
 	"news", "newst", "camps", "campst", "club", "clubt", "checklist", "checklistt",
 	"howto", "howtot", "nature", "naturet", "recipes", "recipest", "weather", "weathert", "maps", "mapst", "tellus", "tellust"
 );
// Dynamic elements' array
	var yourImagesD = new Array(
 	"news_1", "camps_1", "club_1", "checklist_1", "howto_1", "nature_1", "recipes_1", "weather_1", "maps_1", "tellus_1"
	);

if (document.images) {
	var preImagesS = new Array(),preImagesD = new Array(),currCount = 0;
	var loaded = new Array(),i,timerID;
}

function loadImagesS() {
	for (i = 0; i < yourImagesS.length; i++) { 
		preImagesS[i] = new Image();
		preImagesS[i].src = "img/" + yourImagesS[i] + ".gif";
	}
	for (i = 0; i < preImagesS.length; i++) { 
		loaded[i] = false;
	}
	checkLoad();
}

function loadImagesD() {
	for (i = 0; i < yourImagesD.length; i++) { 
		preImagesD[i] = new Image();
		preImagesD[i].src = "img/" + yourImagesD[i] + ".gif";
	}
}

function checkLoad() {
	if (currCount == preImagesS.length) { 
		loadImagesD();
		return
	}
	for (i = 0; i <= preImagesS.length; i++) {
		if (loaded[i] == false && preImagesS[i].complete) {
			loaded[i] = true;
			currCount++;
		}
	}
	timerID = setTimeout("checkLoad()",10) 
}

loadImagesS();
