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 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) { alert('sorry, this video is no longer available'); } 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"); }