// standard functions for all pages. if (document.images) { bon = new Image(); bon.src = "/kqed/springboard/images/sbnav-on-episodes.gif" ; con = new Image(); con.src = "/kqed/springboard/images/sbnav-on-links.gif" ; don = new Image(); don.src ="/kqed/springboard/images/sbnav-on-aboutus.gif" ; eon = new Image(); eon.src = "/kqed/springboard/images/sbnav-on-feedback.gif"; fon = new Image(); fon.src = "/kqed/springboard/images/sbnav-on-schedule.gif" ; abon = new Image(); abon.src = "/kqed/springboard/images/anim/int-anim.gif" ; acon = new Image(); acon.src = "/kqed/springboard/images/anim/video-anim.gif" ; adon = new Image(); adon.src ="/kqed/springboard/images/anim/poll-anim.gif" ; aeon = new Image(); aeon.src = "/kqed/springboard/images/anim/dis-anim.gif"; afon = new Image(); afon.src = "/kqed/springboard/images/anim/res-anim.gif" ; } function satellite(x,y){ var size; tag=x+"win"; if (x=="interview"){ var size="width=410,height=500,"; } if (x=="videoQt"){ var size="width=400,height=300,"; } if (x=="player"){ var size="width=400,height=300,"; x="/kqed/springboard/player"; } if (x=="research"){ var size="width=410,height=400,"; } z=x+".html"; tag=window.open(z,tag,"menubar=0,"+size+"resizable=1,scrollbars=1,history=0"); } // this is a little different than jose's version. it takes the vote AND the segment id, // to identify the poll template. this makes the function more generalized. function polling(vote,id){ var resultsurl="/kqed/springboard/segments/" + id + "/pollresults_tmp.html"; var site_id="site_id=springboard"; var poll_id="poll_id=" + id; full_url = "/cgi-registry/poll/poll.pl?results=" + resultsurl + "&" + site_id + "&" + poll_id + "&q1=" + vote; // window.alert(full_url); // debugging pollwin = window.open(full_url, "pollwin", "menubar=0,width=400,height=320,resizable=1,scrollbars=1,history=0"); }