﻿<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

<!--
var max=<?
$last=0;
$dir=opendir(".");
while(($t=readdir($dir))!==false)
{	if(is_file($t)&&preg_match("/^[0-9]+/",$t,$num)&&$num[0]*1>$last)
	{	$last=$num[0]*1;
	}
}
print($last);
?>;
var num=max+1;
function dec()
{	--num;
	if(num<1)
	{	num+=max;
	}
	document.images["image"].src=d4(num)+".jpg";
}
function d4(o)
{	if(!o)
	{	o="0000";
	}
	if(o>=10000)
	{	o=o%10000;
	}
	if(o<1000)
	{	o="0"+(o*1);
	}
	if(o<100)
	{	o="00"+(o*1);
	}
	if(o<10)
	{	o="000"+(o*1);
	}
	return o.toString();
}

//-->
