<script language="Javascript1.1">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var nexturl = "preloading2.html"
var img1location = "plred.gif"
var img2location = "plyellow.gif"
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var pics = new initArray(
"email.gif",
"jsnow.gif",
"cabw1.gif",
"preloading.gif"
);
var loaded = new initArray(pics.length);
var num_loaded = 0;
for (h = 0; h < pics.length; h++) {
loaded[h] = 0;
}
function loadg() {
for (g = 0; g < pics.length; g++) {
eval('document.preload'+g+'.src = "'+pics[g]+'";');
loaded[g]++
}
}
function update(z) {
loaded[z]++;
if (loaded[z] == 2) {
eval('document.status'+num_loaded+'.src = img1location;');
num_loaded++;
if (num_loaded == pics.length) {
location.href = nexturl;
}
}
}
//-->
</script>
<center>
<b><i>Preloading Images...</i></b><BR>
Please be patient while some images are<BR>
being preloaded. <a href="preloading2.html">Go here</a> if nothing happens.<br><br>
<script language="Javascript1.1">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
document.write("<IMG src="+img1location+" width=10 height=10>")
var offset = 280 / pics.length
for (q = 0; q < pics.length; q++) {
document.write("<IMG src="+img2location+" width="+offset+" height=10 name=\"status"+q+"\">")
}
//-->
</script>
</CENTER><BR><BR><BR><BR><BR><BR><BR><BR>
<script language="Javascript1.1">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
for (w = 0; w < pics.length; w++) {
document.write("<IMG src="+img2location+" width=1 height=1 onLoad=\"update("+w+")\" name=\"preload"+w+"\">")
}
loadg();
//-->
</script>