// JavaScript Document
var slots = 6;		//number of slots for images
var number = 7;		//current start number of image in line
var maximg = 10;		//max count of images
var lastimg = 0;	//if lastimg=0 then you can turn images

//captions goes below
var caption = new Array;
caption[1] = "1";
caption[2] = "2"; 
caption[3] = "3";
caption[4] = "4";
caption[5] = "5";




function ChangeImg(number) { 
	var simg = document.getElementById('si'+number);
	var bimg = document.getElementById('bigIMG');
	var capt = document.getElementById('capt');
	if (simg.alt!='0') 
	{
		bimg.src = 'images/ph_' + simg.alt + '.jpg' 
	//	alert(caption_+number);
		
		capt.innerHTML = caption[number];
	}
		//if (document.img.src='si8') {bimg.width='133'}
}
		