var DoRedirect="false";var RedirectTo="home.html";var AmmountPreloads=1;var imgArray=CreateArray(AmmountPreloads+1,2);imgArray[1][0]="./includes/navigation/sprite.png";imgArray[1][1]="image";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;'>");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]+"'>"}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};