
	
function setimage(){	
    images = new Array
	if (document.the1)
	images[1] = document.the1.src;
	if (document.the2)
	images[2] = document.the2.src;
	if (document.the3)
	images[3] = document.the3.src;
	if (document.the4)
	images[4] = document.the4.src;
	if (document.the5)
	images[5] = document.the5.src;
	if (document.the6)
	images[6] = document.the6.src;
		if (document.the7)
	images[7] = document.the7.src;
		if (document.the8)
	images[8] = document.the8.src;
		if (document.the9)
	images[9] = document.the9.src;
		if (document.the10)
	images[10] = document.the10.src;
		if (document.the11)
	images[11] = document.the11.src;
		if (document.the12)
	images[12] = document.the12.src;
}

function previmg(num){
	document.image1.src = images[num]	
}


function ToggleImage(objImage)
{
var strPics=objImage.attributes["pics"];
if (!strPics)
return false;
var curPic=objImage.attributes["curPic"];
if (!curPic)
return false;
strPics=objImage.attributes["pics"].value;
curPic=objImage.attributes["curPic"].value;
curPic=(curPic)*(-1)*(-1);
var arrPics=strPics.split(",");
curPic = ((curPic+1) % arrPics.length);
objImage.src = arrPics[curPic];
objImage.attributes["curPic"].value = (curPic+"");
}