if (navigator.appVersion.indexOf("Win")!=-1)
	document.write('<link REL="stylesheet" HREF="win.css" TYPE="TEXT/CSS">');

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';
}

function openWin(theURL,winName,features) { 
	newWindow = window.open(theURL, winName, features);
	if (window.focus) {
		setTimeout('newWindow.focus()',1000); }
}


function showLayer(layerName) {
document.getElementById(layerName).style.visibility="visible"; 
}

function hideLayer(layerName) { 
document.getElementById(layerName).style.visibility="hidden";
}

