<!DOCTYPE
html PUBLIC "-//
W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<head>
<title>Merlin Quattro-Evita Schwörer - Bild 1</title>
<?
$Max=90; # Anzahl verwendeter Bilder !!! umbedingt bei Änderungen ändern !!!
print("<script language=\"JavaScript\">
<!--
var Bild = 1;
function OnLoad_Func()
{
ImagePreload();
}
function ImagePreload()
{
document.Vorladen = new Array();
for(var i = 1; i < 10; i++)
{
document.Vorladen[i] = new Image();
document.Vorladen[i].src = \"0\" + String(i) + \"_M.jpg\";
}
for(var i = 10; i < $Max + 1; i++)
{
document.Vorladen[i] = new Image();
document.Vorladen[i].src = String(i) + \"_M.jpg\";
}
}
function img_forward()
{
var name = '_M';
var ActualImage = document.images[\"image\"].src;
Bild = Bild + 1;
if (Bild == $Max+1)
{ Bild = 1; }
var NewBild = String(Bild)
while (NewBild.length < String(".$Max.").length )
{
NewBild= \"0\"+NewBild;
}
var NewImage = NewBild + name + '.jpg';
document.images[\"image\"].src = NewImage;
document.title =\"Merlin Quattro-Evita Schwörer - Bild \"+String(Bild);
}
function img_back()
{
var name = '_M';
var ActualImage = document.images[\"image\"].src;
Bild = Bild - 1;
if (Bild == 0)
{ Bild = $Max; }
var NewBild = String(Bild)
while (NewBild.length < String(".$Max.").length )
{
NewBild= \"0\"+NewBild;
}
var NewImage = NewBild + name + '.jpg';
document.images[\"image\"].src = NewImage;
document.title =\"Merlin Quattro-Evita Schwörer - Bild \"+String(Bild);
}
function ImageOver(imagename)
{
if (imagename == \"back\")
{
document.images[\"back\"].src = \"zuruckover.jpg\";
}
else if (imagename == \"forward\")
{
document.images[\"forward\"].src = \"vorover.jpg\";
}
}
function ImageOut(imagename)
{
if (imagename == \"back\")
{
document.images[\"back\"].src = \"zuruck.jpg\";
}
else if (imagename == \"forward\")
{
document.images[\"forward\"].src = \"vor.jpg\";
}
}
-->
</script>\n");
?>
</head>
<body onLoad="OnLoad_Func()" bgcolor="white" link="white">
<center>
<table border="0" width="906">
<tr>
<td valign="middle" width="150" height="480"> <a href="javascript
:img_back();">
[img]zuruck.jpg[/img]
</a> </td>
<td align="center" valign="middle" width="596">
<? print("<img src=\"01_"."M".".jpg\" id=\"image\" name=\"image\" alt=\"image\" onClick=\"img_forward();\" />"); ?>
</td>
<td valign="middle" width="150"> <a href="javascript
:img_forward();"> [img]vor.jpg[/img]
</a> </td>
</tr>
<tr>
<td valign="top" align="right"> <font>© by Mikescher.de</font> </td>
</tr>
</table>
</center>
</body>
</
html>