//This function is used to display thumbnails within a web page, as well as a main image. By
//clicking on a thumbnail, that image will become the main menu in the page.
function ResetBorder(object){

	//Reset the borders of images
	for (i=1; i<=document.images.length; i++){
		document.images.item(i-1).style.borderWidth=0;
	}

	//Update main image attribytes, and add border to selected thumbnail
	document.images['main'].src=object.src;
	object.style.borderWidth=1;
	object.style.borderColor="#660636";
	
	//If additional images exist for an image, activate hyperlink
	if (object.name == 'thumb1'){
		if (navigator.appName == "Netscape"){
			//document.layers.item['moreimg'].href = "javascript:OpenWin('p86.htm','Images');";
			//document.layers.item['wank'].style.visibility="visible";
			alert(document.links(0));
			//document.getElementById['moreimg'].style.visibility = "visible";
			
		}
	}else{
		if (navigator.appName == "Netscape"){
			//document.links.item[moreimg'].style.visibility = "hidden";
		}
	}
}

//Open a new window on top of existing window
function OpenWin(url,name)
	{
	var str = ""
	window.open(url,name,str)
	}
