function slideShow(no, sno) {
	for(var q = 0; q < sno.parentNode.parentNode.childNodes.length; q++) {if(sno.parentNode.parentNode.childNodes[q].className) {sno.parentNode.parentNode.childNodes[q].className = sno.parentNode.parentNode.childNodes[q].className.replace(/ active/g, "");}}
	sno.parentNode.className += " active";
	var obj = document.getElementById("photo").getElementsByTagName("ul")[0];
	if(obj.style.marginLeft != 0) {var x = parseInt(obj.style.marginLeft.replace(/px/g, "")); x = -x;}
	else {var x = obj.style.marginLeft;}
	--no;
	var newx = no*179;
	slideIt(x, newx);
}
function slideIt(x, newx) { //inspired by Jeremy Keith - www.adactio.com
	if (newx > x) {x += Math.ceil((newx-x)/2);}
	else if (newx < x) {x += Math.floor((newx-x)/2);}
	else if (newx == x) {return true;}
	var obj = document.getElementById("photo").getElementsByTagName("ul")[0].style.marginLeft = -x + 'px';
	var time = setTimeout('slideIt('+x+', '+newx+')', 85);
}