<!--One step to installing this script to your webpage--> <!--STEP 1: Add the below to the <BODY> section of your page-->
<script language="JavaScript1.1">
var photos=new Array() var photoslink=new Array() var which=0
//define images. You can have as many as you want. Images MUST be of the same dimensions (for NS's sake) photos[0]="http://s46.radikal.ru/i114/0902/72/eb79ab8e53c4.jpg" photos[1]="http://7ucoz.com/_nw/2/39879.png" photos[2]="http://s19.radikal.ru/i192/0907/fe/462b475ea77c.jpg" photos[3]="http://s19.radikal.ru/i192/0907/fe/462b475ea77c.jpg" //Specify whether images should be linked or not (1=linked) var linkornot=0
//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1" photoslink[0]="" photoslink[1]="" photoslink[2]="" photoslink[3]=""
//do NOT edit pass this line
var preloadedimages=new Array() for (i=0;i<photos.length;i++){ preloadedimages[i]=new Image() preloadedimages[i].src=photos[i] }
function keeptrack(){ window.status="Image "+(which+1)+" of "+photos.length }
function backward(){ if (which>0){ which-- document.images.photoslider.src=photos[which] keeptrack() } }
function forward(){ if (which<photos.length-1){ which++ document.images.photoslider.src=photos[which] keeptrack() } }
function transport(){ window.location=photoslink[which] }