function newImg(imgName, imgObjName) {
   if (ready) document.images[imgName].src=eval(imgObjName + ".src");
   return true;
}

function chgtxt(obj,linkid,linkcolor) {
	if(document.getElementById) {
		document.getElementById(linkid).style.color=linkcolor
	}
}

var pos = 1;
function move_thumb(direction) { 
	document.getElementById('th'+pos).style.display='none';
	pos += direction;
	document.getElementById('th'+pos).style.display='block';
	if (pos == 1)
		document.getElementById('arrow_left').style.visibility='hidden';
	else
		document.getElementById('arrow_left').style.visibility='visible';
	if (document.getElementById('th'+(pos+1)))
		document.getElementById('arrow_right').style.visibility='visible';
	else
		document.getElementById('arrow_right').style.visibility='hidden';
}

