function global_slideshowbox ( url ){ var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no,resizable=yes,scrollbars=no"; if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=465,height=378,resizable=yes,scrollbars=no";} else { a+=",width=500,height=400,resizable=yes,scrollbars=no";} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50"; } else { a+=",screenX=50,screenY=50"; } if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open( "http://www.pbs.org/wgbh/pages/frontline"+url+".html","VIA",a); floater.creator = self; } function spawn (targ,x,y) { window.open(targ,'secondary','width=' + x + ',height=' + y + ',scrollbars=yes'); } function stopclicking(button) { button.value = "please wait"; return true; } function preload() { if (document.images) { if (typeof(document.F) == 'undefined'){ document.F = new Object(); } document.F.loadedImages = new Array(); var argLength = preload.arguments.length; for(arg=0;arg 0 && bWorking == true) { newsStr = "" + arP[pcount][1] + ""; } if (NS4 && bWorking == true) { with (elP.document) { write(newsStr); close(); } imageswap('exploreimage',arP[pcount][2]); } else { if (IE4) { elP.filters.revealTrans.Apply(); elP.innerHTML = newsStr; elP.filters.revealTrans.Play(); imageswap('exploreimage',arP[pcount][2]); } } pcount++; if (pcount == arP.length) { pcount=0; if (finite) loopCount++; } } var isNS4 = false; var isIE = false; var isNS6 = false; var isMac = false; var ver4 = false; var active = ""; var sidenav = ""; var sidenav2 = ""; var sidenavsub = ""; function browserCheck() { isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false; if (isMac) { ver4 = (navigator.appVersion.indexOf("MSIE 4.5")!=-1) ? false : true; } if (document.layers) { isNS4 = true; ver4 = true; } if (document.getElementById) { if (navigator.appName == "Netscape") { isNS6 = true; } else if (document.all) { isIE = true; ver4 - true; } } } function changeZIndex(div,num,browser) { if ((browser == "ns4") && isNS4) { eval("document." + div + ".zIndex = " + num); } } function scrollOn(nav) { var navNum = (nav.charAt(3)); scrollOff(); active = navNum; eval("imageswap('" + nav + "','" + loc + "art/common/navgl_" + navNum + "d.gif')"); if (isNS4) { eval("document.navglobal" + navNum + ".visibility = 'show'"); } else if (isIE) { eval("navglobal" + navNum + ".style.visibility = 'visible'"); } else if (isNS6) { eval("document.getElementById('navglobal" + active + "').style.visibility = 'visible'"); } setTimeout("scrollOff()",20000); } function scrollOff() { if (active.charAt(0)) { eval("imageswap('nav" + active + "','" + loc + "art/common/navgl_" + active + ".gif')"); if (isNS4) { eval("document.navglobal" + active + ".visibility = 'hide'"); } else if (isIE) { eval("navglobal" + active + ".style.visibility = 'hidden'"); } else if (isNS6) { eval("document.getElementById('navglobal" + active + "').style.visibility = 'hidden'"); } active = ""; } } function checkImageswap(daImage,daSource) { if ((daImage.substr(0,3) == "nav") && (daImage.charAt(3) == active)) { // do nothing } else { eval("imageswap('" + daImage + "','" + daSource + "')"); } } function moveFormData() { var tempform = (isNS4)? (document.navglobal1.document.emailFormTemp):(document.emailFormTemp); document.emailForm.friendusername.value = tempform.friendusernameTemp.value; document.emailForm.frienddomain.value = tempform.frienddomainTemp.value; document.emailForm.myusername.value = tempform.myusernameTemp.value; document.emailForm.mydomain.value = tempform.mydomainTemp.value; document.emailForm.content.value = tempform.contentTemp.value; document.emailForm.url_to_send.value = window.location; document.emailForm.submit(); // submit } function submitForm(num,name) { if (isNS4) { var tempform = eval("document." + num + ".document." + name); } else { var tempform = eval("document." + name); } tempform.submit(); } function changeclass(id,classn) { id.className = classn; } function setUpNav() { browserCheck(); sidenav += '
'; sidenav += 'frontline
'; sidenav += 'e-mail this page
'; sidenav += 'watch online
'; sidenav += 'schedule
'; sidenav += 'bulletin
'; sidenav += 'search
'; sidenav += 'FRONTLINE home
'; sidenav += '
'; sidenav += '
'; sidenav2 += '
'; sidenav2 += ''; if (isNS4) { sidenav2 += ''; } sidenavsub += ''; sidenavsub += ''; sidenavsub += ''; if (isNS4 ) { sidenavsub += '
'; } } function video56(urlprefix,url) { var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no" if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=418,height=276,resizable=yes,scrollbars=no"} else { a+=",width=430,height=300,resizable=yes,scrollbars=no"} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50";} else { a+=",screenX=50,screenY=50";} if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+"_lo.html","VIA" + url,a); floater.creator = self; } function video220(urlprefix,url) { var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no" if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=570,height=366,resizable=yes,scrollbars=no";} else { a+=",width=582,height=390,resizable=yes,scrollbars=no";} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50";} else { a+=",screenX=50,screenY=50";} if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+"_hi.html","VIA" + url,a); floater.creator = self; } function video56detect(urlprefix,url) { var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no" if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=444,height=293,resizable=no,scrollbars=yes"} else if (navigator.userAgent.indexOf("Windows")!=-1) { a+=",width=447,height=299,resizable=no,scrollbars=yes"} else if (navigator.userAgent.indexOf("Netscape")>=0) { a+=",width=431,height=296,resizable=no,scrollbars=yes"} else { a+=",width=430,height=293,resizable=no,scrollbars=yes"} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50";} else { a+=",screenX=50,screenY=50";} if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+"_lo.html","VIA" + url,a); floater.creator = self; } function video220detect(urlprefix,url) { var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no" if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=580,height=420,resizable=no,scrollbars=no";} else { a+=",width=582,height=420,resizable=no,scrollbars=no";} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50";} else { a+=",screenX=50,screenY=50";} if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+"_hi.html","VIA" + url,a); floater.creator = self; } function video220check(prognumber,title) { var floater = null; } function video56check(prognumber,title) { var floater = null; var a="toolbar=no,location=no,directories=no,menubar=no" if (navigator.userAgent.indexOf("Safari")>=0) { a+=",width=444,height=293,resizable=no,scrollbars=yes"} else if (navigator.userAgent.indexOf("Windows")!=-1) { a+=",width=447,height=299,resizable=no,scrollbars=yes"} else if (navigator.userAgent.indexOf("Netscape")>=0) { a+=",width=431,height=296,resizable=no,scrollbars=yes"} else { a+=",width=430,height=293,resizable=no,scrollbars=yes"} if (navigator.appName.indexOf("Microsoft")>=0) { a+=",left=50,top=50";} else { a+=",screenX=50,screenY=50";} if( floater != null ) { if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+"_hi.html","VIA" + url,a); floater.creator = self; } } function newvideo(urlprefix,url){ var floater = null; if( floater != null ) if( floater.closed == false ) floater.close(); floater=window.open("http://www.pbs.org/wgbh/pages/frontline/"+urlprefix+url+".html","VIA" + url,"toolbar=no,location=no,directories=no,menubar=no,width=640,height=610,scrollbars=yes"); }