
var DoRedirect = "false"; 	
var RedirectTo = "index.php?CMD=aG9tZS5waHA=";	
var AmmountPreloads = 42;


var imgArray = CreateArray(AmmountPreloads + 1,2);

	
		




	imgArray[1][1] = "image"; 		
	imgArray[1][0] = "images/header_bar.jpg";
	imgArray[2][0] = "images/home_normal.jpg";
	imgArray[3][0] = "images/home_selected.jpg";
	imgArray[4][0] = "images/headerp2_r1_c2.jpg";	
	imgArray[5][0] = "images/over_normal.jpg";	
	imgArray[6][0] = "images/over_selected.jpg";
	imgArray[7][0] = "images/headerp2_r1_c6.jpg";
	imgArray[8][0] = "images/wijzer_normal.jpg";	
	imgArray[9][0] = "images/wijzer_selected.jpg";	
	imgArray[10][0] = "images/headerp2_r1_c8.jpg";
	imgArray[11][0] = "images/besteldirect_normal.jpg";	
	imgArray[12][0] = "images/besteldirect_selected.jpg";
	imgArray[13][0] = "images/headerp2_r1_c10.jpg";
	imgArray[14][0] = "images/tarieven_normal.jpg";	
	imgArray[15][0] = "images/tarieven_selected.jpg";
	imgArray[16][0] = "images/headerp2_r1_c12.jpg";	
	imgArray[17][0] = "images/handleiding_normal.jpg";	
	imgArray[18][0] = "images/handleiding_selected.jpg";
	imgArray[19][0] = "images/headerp2_r1_c14.jpg";
	imgArray[20][0] = "images/servicedesk_normal.jpg";	
	imgArray[21][0] = "images/servicedesk_selected.jpg";
	imgArray[22][0] = "images/headerp2_r1_c16.jpg";
	imgArray[23][0] = "images/mijnoptibel_normal.jpg";	
	imgArray[24][0] = "images/mijnoptibel_selected.jpg";
	
	imgArray[25][0] = "images/homepc_r1_c1.jpg";
	imgArray[26][0] = "images/homepc_r1_c2.jpg";
	imgArray[27][0] = "images/homepc_r1_c3.jpg";
	imgArray[28][0] = "images/homepc_r4_c1.jpg";
	imgArray[29][0] = "images/homepc_r4_c2.jpg";
	imgArray[30][0] = "images/homepc_r4_c3.jpg";
	imgArray[31][0] = "images/homepc_r7_c1.jpg";
	imgArray[32][0] = "images/homepc_r7_c2.jpg";
	imgArray[33][0] = "images/homepc_r7_c3.jpg";
	imgArray[34][0] = "images/homepc_r9_c1.jpg";
	imgArray[35][0] = "images/homepc_r9_c2.jpg";
	imgArray[36][0] = "images/homepc_r9_c3.jpg";
	imgArray[37][0] = "images/homepc_r9_c4.jpg";
	
	imgArray[38][0] = "images/footerp_r1_c6.jpg";
	imgArray[39][0] = "images/footerp_r2_c1.jpg";
	imgArray[40][0] = "images/footerp_r2_c2.jpg";
	imgArray[41][0] = "images/footerp_r2_c3.jpg";
	imgArray[42][0] = "images/footerp_r2_c4.jpg";
	



	function CreateArray(dim1) {
		if (CreateArray.arguments.length == 1) {
			return new Array(dim1);
		} else {
			var multiArray = new Array(dim1)
			for (var i = 0; i < dim1; i++) {
				multiArray[i] = new Array(CreateArray.arguments[1]);
			}
			return multiArray;
		}
	}


window.document.write("<div id='preloadLayer' style='position:absolute; left:0px; top:0px; width:0px; height:1px; z-index:1; visibility: hidden;'>");

//window.document.write("<div id='preloadLayer'>");


var LastType = "";
for (loop = 1; loop < imgArray.length; loop++) {
	var PrintString = "";
	var CheckType = "";

	
	if ( imgArray[loop][0] ) {
	
	if ( imgArray[loop][1] == "image" || (!imgArray[loop][1] && LastType == "image" )) {
		
		PrintString = "<img src='" + imgArray[loop][0] + "'  width='0' height='0'>";
	
	} else if ( imgArray[loop][1] == "flash" || (!imgArray[loop][1] && LastType == "flash" )) {
		
		PrintString = "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'> <PARAM NAME=movie VALUE='" + imgArray[loop][0] + "'> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src='" + imgArray[loop][0] + "' quality=high bgcolor=#000000 ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT>";
	
	} else {
		
		alert("Preload Warning: File type '" + imgArray[loop][1] + "' is not supported!! Keep in mind this is Case-sensitive!!");
	}
	
	if ( imgArray[loop][1] ) { LastType = imgArray[loop][1]; } }

	
	window.document.write("<br>" + PrintString);
}


window.document.write("</div>");



function Redirect() {
    window.location.replace(RedirectTo);
}


if ( DoRedirect == "true" ) {
	window.onload = Redirect;
}