//Force Tables in  Netscape to go all the way to the right margin//Pass 'IE' as the second argument to the function if you want to make//sure IE doesn't put anything in(especially  &nbsp; where a table cell//is supposed to be only 1px highfunction makeIt (num,exception) {	var browser = navigator.appName;	var version = parseInt(navigator.appVersion);	var width;		if (browser == "Netscape" && version >= '4') {		width = window.innerWidth;		if (num == 'total') {			//make sure path to spacer.gif is correct			space = "<img class=\"widespacer\" src=\"/wgbh/nova/images02/spacer.gif\" width=\"" + width +"\" height=\"1\" border=\"0\" alt=\"\" />"; 			return space;		} else if (width <= num) {  			space = '&nbsp;';		} else {			width = width - num; 			//make sure path to spacer.gif is correct			space = "<img class=\"widespacer\" src=\"/wgbh/nova/images02/spacer.gif\" width=\"" + width +"\" height=\"1\" border=\"0\" alt=\"\" />"; 		}	} else if (browser != "Netscape" && num == 'total') {		space = '';	} else if (browser != "Netscape" && exception == "IE") {		space = '';		 		} else {		space = '&nbsp;';	}	return space;}		function makeItwide (num,exception) {	var browser = navigator.appName;	var version = parseInt(navigator.appVersion);	var width;	var max;	max = 800;		/* if (document.all)	{	width = document.body.clientWidth; }	else if (document.layers)	{	width = window.innerWidth; } */		width = document.body.clientWidth;	if (width <= max) {		width = max;	}		space = "<img class=\"widespacer\" src=\"/wgbh/nova/images02/spacer.gif\" width=\"" + width +"\" height=\"1\" border=\"0\" alt=\"\" />"; 		return space;}		//Force NN to reload on re-sizefunction fixNN () { 	var ua = navigator.appName;	var uanum = parseFloat(navigator.appVersion);	if (ua == "Netscape" && uanum >= '4.08') {		location.reload();	} else {		return;	}}		// rollover functionsfunction roll_off(imgName) {	if(document.images)	document[imgName].src = eval(imgName + '1.src');}function roll_on(imgName) {	if(document.images)	document[imgName].src = eval(imgName + '2.src');}function cfl_window(which_window, image_width, image_height) {  var window_width = image_width + 46;  var window_height = image_height + 175;  newwin = window.open(which_window, "cfl_window", 'toolbar=0,location=0,directories=0,scrollbars=1,status=0,menubar=0,resizable=1,width=' + window_width + ',height=' + window_height);window.self.name = "cfl_parent";//  movingwindow.focus();}// page manipulation jsfunction findimg(){ var imgs,i;// Loop through all images, check if they contain the class roll imgs=document.getElementsByTagName('img'); for(i=0;i<imgs.length;i++) {  if(/roll/.test(imgs[i].className))  {// add the function roll to the parent Element of the image  imgs[i].parentNode.onmouseover=function(){roll(this);};  imgs[i].parentNode.onmouseout=function(){roll(this);};  imgs[i].parentNode.onfocus=function(){roll(this);};  imgs[i].parentNode.onblur=function(){roll(this);};  } }}function roll(o){ var i,isnode,src,ftype,newsrc,nownode;// loop through all childNodes for (i=0;i<o.childNodes.length;i++) {  nownode=o.childNodes[i];// if the node is an element and an IMG set the variable and exit the loop  if(nownode.nodeType==1 && /img/i.test(nownode.nodeName))  {   isnode=i;   break;  } }// check src and do the rollover src = o.childNodes[isnode].src; ftype = src.substring(src.lastIndexOf('.'), src.length); if(/-on/.test(src)) {  newsrc = src.replace('-on',''); }else{  newsrc = src.replace(ftype, '-on'+ftype); } o.childNodes[isnode].src=newsrc;}window.onload=function(){ findimg();}