function GoTranslate()
	{
		var f = document.FormPage;
		
		var url = 'http://translate.google.com/translate?';
		
		var subUrl = 'u=' + encodeURIComponent(location.href) + '&' + 
					'langpair=' + encodeURIComponent(f.langpair.options[f.langpair.selectedIndex].value) + '&' + 
					'hl=' + encodeURIComponent(f.hl.value) + '&' + 
					'ie=' + encodeURIComponent(f.ie.value) + '&' +
					'oe=' + encodeURIComponent(f.oe.value) + '&' +
					'prev=' + encodeURIComponent(f.prev.value);
		
		
		var fullURL = url + subUrl;
		
		
		
		windowName = 'winTranslate';
		
		window.open(fullURL, windowName, 'top=100,left=100,height=400,width=750,location=no,resizable=yes,scrollbars=yes,status=yes');
		
		return false;
	
	}



function bookmark()
{
	netscape="Netscape User's hit CTRL+D to add a bookmark to this site."
	if (navigator.appName=='Microsoft Internet Explorer')
	{
		re = />/g
		newTitle = document.title.replace(re,".");
		window.external.AddFavorite(self.location.href , newTitle );
	}
	else if (navigator.appName=='Netscape')
	{
		alert(netscape);
	}
}

//START code for large image window
var fileWinPicBig
function enlargePicture(url)
{
	if (fileWinPicBig) { fileWinPicBig.close() }

	filename = "viewEnlargePicture.asp?url=" + url
	
	var leftPos = (screen.availWidth-700) / 2
	var topPos = (screen.availHeight-500) / 2 
	fileWinPicBig = window.open(filename,'ViewBigPic','width=400,height=300,scrollbars=yes,status=yes,resizable=yes,titlebar=0,top=' + topPos + ',left=' + leftPos);
	fileWinPicBig.focus()
			
}

imagename='';
	function enlrge(imgnme) {
		lrgewin=window.open("about:blank","","height=200,width=200")
		imagename=imgnme;
		setTimeout('update()',500)
	}


function update() {
		doc=lrgewin.document;
		doc.open('text/html');
		doc.write('<HTML><HEAD><TITLE>Enlarged Image<\/TITLE><\/HEAD><BODY bgcolor="white" onLoad="if  			(self.resizeTo)self.resizeTo((document.images[0].width+10),(document.images[0].height+80))" topmargin="4" leftmargin="0" 			rightmargin="0" bottommargin="0"><table width=""' + document.images[0].width + '" border="0" cellspacing="0" cellpadding="0"><tr><td>');
	doc.write('<IMG SRC="' + imagename + '"><\/td><\/tr><tr><td><form name="viewn"><input type="image" src="../0img/close.gif" align="right" value="Close Window" onClick="self.close()"><\/td><\/tr><\/table>');
	doc.write('<\/form><\/BODY><\/HTML>');
	doc.close();
	}