// JavaScript Document/** popup **/function glossary_nopic(thislink) {    var glosswin = window.open(thislink.href, 'glossary_nopic', 'width=332,height=201,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1'); 	glosswin.focus();	return false;}function glossary_pic(thislink) {    var glosswin = window.open(thislink.href, 'glossary_pic', 'width=332,height=232,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1'); 	glosswin.focus();	return false;}function show_transcript(thislink) {    var showtran = window.open(thislink.href, 'show_transcript', 'width=455,height=482,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1'); 	showtran.focus();	return false;}function enlarge_picture(thislink) {    var bigpicwin = window.open(thislink.href, 'enlarge_picture', 'width=477,height=360,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1');	bigpicwin.focus();	return false;}function sidebar(thislink) {    window.open(thislink.href, 'horiz', 'width=477,height=360,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1'); return false;}function show(whichDiv, thishref){	if (document.getElementById)	{	    document.getElementById(thishref).style.textDecoration = "none";/*	    thishref.innerHTML = "Show Video";	    thishref.onclick = function()             {                return hide(whichDiv, this);            }	*/		show_div(whichDiv);	}		return false;}function hide(whichDiv, thishref){	if (document.getElementById)	{	    thishref.innerHTML = "Show Video";	    thishref.onclick = function()             {                return show(whichDiv, this);            }	    hide_div(whichDiv);	}		return false;}function show_div(whichDiv){	if (document.getElementById)	{	    document.getElementById(whichDiv).style.display = 'block';	}		return false;}function hide_div(whichDiv){	if (document.getElementById)	{	    document.getElementById(whichDiv).style.display = 'none';	}		return false;}/** note this puts roll over on image, not href function initRollovers() {    //if we don't support getElementById then exit	if (!document.getElementById) return		//yes it even does preload	var aPreLoad = new Array();	var aImages  = new Array();	var sTempSrc;		//grab all nav images	//if(document.getElementById("dl-c-container")) {	//var aImages = document.getElementById("dl-c-container").getElementsByTagName("img");	//}    //nb if you want all images on page  you do this instead (i only wanted nav)    var aImages = document.getElementsByTagName("img");        //loop over images	for (var i = 0; i < aImages.length; i++) 	{			    //we use class name to find image			if (aImages[i].className.match('family-roll')) 		{		    //grab src			var src = aImages[i].getAttribute('src');						//grab extension (neato works for gif and jpg nd png if you so feel)			var ftype = src.substring(src.lastIndexOf('.'), src.length);						//create a new attribute for rollover (for fyi = '-over')						var hsrc = src.replace("_off"+ftype, '_over'+ftype);			aImages[i].setAttribute('hsrc', hsrc);						//PRELOAD !!			aPreLoad[i] = new Image();			aPreLoad[i].src = hsrc;						//on mouseover grab hsrc			aImages[i].onmouseover = function() 			{				sTempSrc = this.getAttribute('src');				this.setAttribute('src', this.getAttribute('hsrc'));			}							//on mouse out strip out "on"			aImages[i].onmouseout = function() 			{			    //alert(sTempSrc);				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_over'+ftype, ftype);				this.setAttribute('src', sTempSrc);			}		}	}}**/function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}