
var which=1
var photos=new Array();
var num_img=new Array();
var desc=new Array();

photos[0]="495/pr_495.jpg";
num_img[0] = "image 1 / ";
total = " 1";

photos[1]="495/2_495.jpg";
num_img[1] = "image 2 / ";
total = " 2";

photos[2]="495/3_495.jpg";
num_img[2] = "image 3 / ";
total = " 3";

photos[3]="495/4_495.jpg";
num_img[3] = "image 4 / ";
total = " 4";

photos[4]="495/5_495.jpg";
num_img[4] = "image 5 / ";
total = " 5"; 

/* photos[5]="495/6_495.jpg";
num_img[5] = "image 6 / ";
total = " 6";  */

function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which];
document.getElementById('num_ch').innerHTML =num_img[which]+' '+total;
}
}

function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which];
document.getElementById('num_ch').innerHTML =num_img[which]+' '+total;

}
}
