
/* slide */
var currslid = 0;
var slidint;
function setfoc(id){
document.getElementById("productphoto").src = picarry[id];
document.getElementById("foclnk").href = lnkarry[id];
//document.getElementById("fttltxt").innerHTML = "<a href=\""+lnkarry[id]+"\" target=_blank>"+ttlarry[id]+"</a>";
currslid = id;
for(i=0;i<piclen+1;i++)
{document.getElementById("tmb"+i).className = "thubpic";
};
document.getElementById("tmb"+id).className ="thubpiccur";
productphoto.style.visibility = "hidden";
//productphoto.filters[0].Apply();
if (productphoto.style.visibility == "visible") {
productphoto.style.visibility = "hidden";
productphoto.filters.revealTrans.transition=12;
}
else {
productphoto.style.visibility = "visible";productphoto.filters[0].transition=Math.round(Math.random()*50);
}
productphoto.filters[0].Play();
}
function playnext(){
	if(currslid==3){
		currslid = 0;
	}else{
		currslid++;
	};
	setfoc(currslid);
};
function playit(){
	//slidint = setInterval(playnext,3500);
};
function stopit(){
	clearInterval(slidint);
};

