function setupHdr()
{
	var hdrid=((window.navigator.userAgent.indexOf("MSIE")!=-1)?"hdr1":"hdr2");
	var hdr=document.getElementById(hdrid);
	if (hdr!=null)
	{
		hdr.style.position="absolute";
		hdr.style.width="773px";
		hdr.style.height="400px";
	}
}

function highLight(id)
{
	document.images[id].style.borderColor="black";
}

function restoreImg(id)
{
	document.images[id].style.borderColor="white";
}

function openGallery(href)
{
	var w=640;
	var h=480;
	var scroll=false;
	var left=(window.screen.width-w)>>1;
	var top=(window.screen.height-h)>>1;
	window.open(href,"_blank","left="+left+",top="+top+",width="+w+",height="+h+",toolbar=no,scrollbars="+scroll+",location=no,resizable=no");
	return false;
}

function initDesc()
{
	document.getElementById("trDescIt1").style.display="none";
	document.getElementById("trDescIt2").style.display="none";
	document.getElementById("trDescIt3").style.display="none";
	document.getElementById("trDescIt4").style.display="none";
	document.getElementById("trDescIt5").style.display="none";
	document.getElementById("trDescIt6").style.display="none";
}

function setupDesc(id)
{
	var e=document.getElementById(id);
	if (e.style.display=="none")
	{
		e.style.display="inline";
	}
	else
	{
		e.style.display="none";
	}
}