/** author: daniel bulli wgbh interactive **/ /** nothing yet pop up for watch preview clip here **/ function supermainnav(whichOne,clearall) { } function changepic(whichOne,howMany) { if (document.getElementById) { clearAll(howMany); var elem = "ep_slide" + whichOne; document.getElementById(elem).style.display = 'block'; } return false; } function clearAll(howMany) { if (document.getElementById) { for(var i=1; i <= howMany; i++) { var elemN = "ep_slide" + i; document.getElementById(elemN).style.display = 'none'; } } } function changephoto(picname) { if (!document.getElementById) return; imageholder = document.getElementById("thefinalimage"); var pic = ""; if(picname == "final") { pic = "../../../../www-tc.pbs.org/wgbh/cookingunderfire/js/img/finalists.html"; } else { pic = "img/" + picname + "_bio.jpg"; } imageholder.src = pic; } function openvote(typeurl) { window.open('../finalists/vote/index.html', 'vote', 'width=740,height=530,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1'); return false; } function openresult() { window.open('../finalists/vote/results.html', 'vote', 'width=740,height=530,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1'); }