<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://www.blackopera.net/css/css_ibiza.css" type="text/css">
</head>
<script language="JavaScript1.1">
<!-- begin hiding
var locationAfterPreload = "ibiza_index.html"
var lengthOfPreloadBar = 230
var heightOfPreloadBar = 20
var yourImages = new Array(//meine bilder)
if (document.images) {
var dots = new Array()
dots[0] = new Image(1,1)
dots[0].src = "bilder/preloader.jpg"
dots[1] = new Image(1,1)
dots[1].src = "bilder/loaded.jpg"
var preImages = new Array(),coverage = Math.floor(lengthOfPreloadBar/yourImages.length),currCount = 0
var loaded = new Array(),i,covered,timerID
var leftOverWidth = lengthOfPreloadBar%coverage
}
function loadImages() {
for (i = 0; i < yourImages.length; i++) {
preImages[i] = new Image()
preImages[i].src = yourImages[i]
}
for (i = 0; i < preImages.length; i++) {
loaded[i] = false
}
checkLoad()
}
function checkLoad() {
if (currCount == preImages.length) {
location.replace(locationAfterPreload)
return
}
for (i = 0; i <= preImages.length; i++) {
if (loaded[i] == false && preImages[i].complete) {
loaded[i] = true
eval("document.img" + currCount + ".src=dots[1].src")
currCount++
}
}
timerID = setTimeout("checkLoad()",10)
}
// end hiding -->
</script>
<body bgcolor="#FFFFFF" text="#000000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 >
<table width="1000" border="0" cellpadding="1">
<tr>
<td height="257" align="center" valign="middle"><img src="bilder/tit.jpg" width="300" height="300"></td>
</tr>
<tr>
<td align="center" valign="middle">
<script language="JavaScript1.1">
<!-- begin hiding
if (document.images) {
var preloadBar = ''
for (i = 0; i < yourImages.length-1; i++) {
preloadBar += '<img src="' + dots[0].src + '" width="' + coverage + '" height="' + heightOfPreloadBar + '" name="img' + i + '" align="absmiddle">'
}
preloadBar += '<img src="' + dots[0].src + '" width="' + (leftOverWidth+coverage) + '" height="' + heightOfPreloadBar + '" name="img' + (yourImages.length-1) + '" align="absmiddle">'
document.write(preloadBar)
loadImages()
}
document.write('<table width="1000" border="0" cellpadding="1"> <tr> <td align="center" valign="middle" class="css_ibiza.css"><a href="ibiza_index.html">Überspringen.</td> </tr> </table>')
</script>
</td>
</tr>
</table>
<p> </p>
</body>
</html>