<!DOCTYPE
html PUBLIC "-//
W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<head>
<title>Merlin Quacks-Evita Schwörer</title>
<?
$Max=93; # Anzahl verwendeter Bilder !!! umbedingt bei Änderungen ändern !!!
print("<script language=\"JavaScript\">
<!--
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;
var lastSlash = ActualImage.lastIndexOf('/');
var Count_String = ActualImage[lastSlash+1]+ActualImage[lastSlash+2];
var Count = parseInt(Count_String, 10);
Count = Count + 1;
if (Count == $Max+1)
{ Count = 1; }
var NewCount = String(Count)
while (NewCount.length < String(".$Max.").length )
{
NewCount= \"0\"+NewCount;
}
var NewImage = NewCount + name + '.jpg';
document.images[\"image\"].src = NewImage;
document.title =String(Count)+\" - \"+NewImage;;
}
function img_back()
{
var name = '_M';
var ActualImage = document.images[\"image\"].src;
var lastSlash = ActualImage.lastIndexOf('/');
var Count_String = ActualImage[lastSlash+1]+ActualImage[lastSlash+2];
var Count = parseInt(Count_String, 10);
Count = Count - 1;
if (Count == 0)
{ Count = $Max; }
var NewCount = String(Count)
while (NewCount.length < String(".$Max.").length )
{
NewCount= \"0\"+NewCount;
}
var NewImage = NewCount + name + '.jpg';
document.images[\"image\"].src = NewImage;
document.title =String(Count)+\" - \"+NewImage;;
}
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 colspan="2" height="40" valign="top" align="left"> Bild 001 </td>
<td valign="top" align="right"> <font>© by Mikescher.de</font> </td>
</tr>
</table>
</center>
</body>
</
html>