// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("navoptions");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="DD") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;



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

pic1= new Image(134,24); 
pic1.src="/images/rollfade.gif";

pic2= new Image(134,24); 
pic2.src="/images/rollfadered.gif"; 



function centerPop(url, winWidth, winHeight) {
  var screenPosX,screenPosY;
  screenPosX = (screen.availWidth - winWidth) / 2;
  screenPosY = (screen.availHeight - winHeight) / 2;
  newwin = window.open(url, 'subwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1, copyhistory=0,width='+winWidth+',height='+winHeight+',screenX='+screenPosX+',screenY='+screenPosY+',left='+screenPosX+',top='+screenPosY+'');
  newwin.resizeTo(winWidth, winHeight);
  newwin.focus();
}
