﻿<!--
/*  You can get this script and many others 
    by visiting JavaScript City at: http://www.javascriptcity.com . */

/* define image width and height */

/* var pic_width=100; /*
/* var pic_height=100; /*

/* define text to show on button */

button_text="N&auml;chster Screenshot";

/* define image urls */

if (document.images)
 {
     pic1= new Image();
     pic1.src="http://www.z-dbackup.de/images/zdburn1.png";  
     pic2= new Image(); 
     pic2.src="http://www.z-dbackup.de/images/zdburn2.png"; 
     pic3= new Image();
     pic3.src="http://www.z-dbackup.de/images/zdburn3.png";  
 }    
 
var pics= new Array(3) 
   pics[0]=pic1.src;
   pics[1]=pic2.src;
   pics[2]=pic3.src;

var numpics=3;
var thenum=0;
imgName="img1";

function change_it()
 {
   if (document.images)
    {
      document.write("<DIV ALIGN='CENTER'><IMG SRC='"+pics[thenum]+"' border='0' name='img1'>\n<br><BR> <FORM method='POST'><INPUT TYPE='button' value='N&auml;chster Screenshot' onClick='change_it2()'>");
   }
}

function change_it2()
 {
         var x=0;
         thenum+=1;

         if (thenum>numpics-1)
         { 
           document[imgName].src=pics[0];
           thenum=0;
           }
         else
         {
           document[imgName].src=pics[thenum];
           x+=1;
          }
 }
//-->

