<!--
function makePath(nid,pid,from,back){
	return 'histories.asp?nid='+ nid +'&pid='+ pid +'&from='+ from +'&back='+ back;
}
function GoTo(where){
	var pid = document.info.pid.value;
	var	nid = document.info.nid.value;
	var from = document.info.from.value;
	var back = escape(document.info.back.value);
	var selection = document.info.selection.value;
	var view = document.info.view.value;
	var path;
	switch (where){
		case 'WWW':
			path = 'whwhwh.asp?pid='+ pid +'&nid='+ nid +'&main=False&selection='+ selection +'&view='+ view;
			newLocation(path);
			break;
		case 'T':
			path = 'tours.asp?pid='+ pid +'&nid='+ nid + '&main=False&selection='+ selection +'&view='+ view;
			newLocation(path);
			break;
		case 'textonly':
			openWindow('textonly',replace('/textonly/textonly.asp?type=histories&pid='+ pid +'&nid='+ nid));
			break;
		case 'textonlylllm':
			openWindow('textonly',replace('/textonly/textonly.asp?type=historieslllm&pid='+ pid +'&nid='+ nid));
			break;	
		case 'sections':
			var title = document.info.title.value;
			openWindow('sections',replace('wrldhis_sections.asp?title='+ title +'&nid='+ nid+'&from='+ from +'&back='+ back +'#'+pid));	
			break;
		case 'dropDown':
			pid = document.info.headlines[document.info.headlines.selectedIndex].value;
			if (pid == -1)
				pid = document.info.headlines[document.info.headlines.selectedIndex+1].value;
			else if (pid == -2)
				pid = document.info.headlines[document.info.headlines.selectedIndex-1].value;
			if(pid!='')
				newLocation(makePath(nid,pid,from,back));
			break;
		case 'before':
			nid = document.info.nid.value;
			pid = document.info.bpid.value;
			if (pid != '')
				newLocation(makePath(nid,pid,from,back));
			break;
		case 'after':
			nid = document.info.nid.value;
			pid = document.info.apid.value;
			if (pid != '')
				newLocation(makePath(nid,pid,from,back));
			break;
		case 'treasure':
			var No5;
			var Id5;
			No5 = document.info.No5.value;
			Id5 = document.info.Id5.value;
			openWindow('treasure','/images/imagepopup.asp?No5='+ No5 +'&Id5='+Id5);
			break;
		case 'back':
			var back = document.info.back.value;
			newLocation(replace(back));
}}
function sidelineGoTo(sdlid, sdltitle){
	openWindow('sideline',replace('notes.asp?sdlid='+ sdlid +'&sdltitle='+ sdltitle));
}
function referenceGoTo(ntitle, nid, pid){
	var from = document.info.from.value;
	var back = escape(document.info.back.value);
	if (pid != '')
		newLocation(makePath(nid,pid,from,back));
}
if(document.images){
playa1 = new Image
playa1.src = "../CImg/playagain.gif"
playa2 = new Image
playa2.src = "../CImg/playagain_o.gif"

}
//-->
