// JavaScript Document

function NewWindow(mypage, myname, w, h, scroll) {
	// ADD TO <A> TAG:  onClick="NewWindow(this.href,'pop','750','550','no');return false;"
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+''
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus();
	}
}

function JumpMenu(selObj) {
	// ADD onchange="JumpMenu(this)" TO SELECT TAG
	// make sure OPTION values are all complete files, not just variables
	eval("parent.location='"+selObj.options[selObj.selectedIndex].value+"'");
}

function showPic (whichpic) {
	if (document.getElementById) {
		document.getElementById('placeholder').src = whichpic.href;
		if (whichpic.title) {
			document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
		} else {
			document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
		}
		return false;
	} else {
		return true;
	}
}