var Settings_MainSection="Menu_Magazine",Settings_SubSection=Settings_LastLinkViewed="SubMenu_Magazine",Settings_SubSectionHightlight=-1;function SwitchReport(c,a){for(var b=1;document.getElementById("reportOpt"+b+a);b++){document.getElementById("reportOpt"+b+a).style.display="none"}document.getElementById("reportOpt"+c+a).style.display="block"}var VideoLinks=function(){var h=null,S=null,c=null;var b=null;var F={};function o(aa,Z){if(F[aa]){$.each(F[aa],function(){this.apply(null,Z)})}}function i(Z,aa){(F[Z]||(F[Z]=[])).push(aa)}function O(){M();y();N();m()}function U(Z){if(!Z.$_called){Z();Z.$_called=true}}function M(){$(".SubCategory .inside").hover(function(){$(this).addClass("docked")},function(){$(this).removeClass("docked")});$(".vl-category,.vl-season,#vl-full-episodes").attr("hideFocus","hideFocus")}function y(){$(".vl-category").click(function(Z){Z.preventDefault();H(Y(this))})}function N(){$("#vl-full-episodes").click(function(Z){Z.preventDefault();I()});$(".vl-season").click(function(Z){Z.preventDefault();t(Y(this))})}function I(){$("#vl-seasons").toggle()}function B(){$("#VideoLinks").delegate("click",".vl-episode",function(Z){Z.preventDefault();E(Y(this))})}function e(){$("#VideoLinks").delegate("mouseover",".vl-episode",function(){$(this).parent().find(".vl-episode-name").css("color","#000000")}).delegate("mouseout",".vl-episode",function(){$(this).parent().find(".vl-episode-name").css("color","#323232")});$(".SubCategory .inside").hover(function(){$(this).addClass("docked")},function(){$(this).removeClass("docked")})}function k(){$("#VideoLinks").delegate("click",".vl-edit-episode",function(){var Z=$(this).parents(".vl-episode-container");n(null,Z)}).delegate("click",".vl-save-episode",function(){var Z=$(this).parents(".vl-episode-container");n(true,Z)})}function q(){$("#VideoLinks").delegate("mouseover",".vl-link-action",function(){var Z=$(this);var aa=Z.attr("data-title");if(!aa){aa=Z.attr("title");if(aa){Z.attr("title","").attr("data-title",aa)}Z.attr("alt","")}if(aa){Z.parents(".vl-link-actions").find(".vl-link-action-title").text(aa).removeClass("color1").addClass("color3")}}).delegate("mouseout",".vl-link-action",function(){var Z=$(this);var aa=Z.attr("data-title");if(aa){$(this).parents(".vl-link-actions").find(".vl-link-action-title").text("actions").removeClass("color3").addClass("color1")}}).delegate("click",".vl-link-action",function(){var aa=$(this).attr("id").split("-");var ab=aa.pop();var Z=aa.pop();a[Z](ab,$(this).parents(".vl-link"))}).delegate("mouseover",".vl-link-rate",function(){var Z=$(this);var aa=Z.attr("data-alt");if(!aa){aa=Z.attr("alt");if(aa){Z.attr("alt","").attr("data-alt",aa)}}if(!Z.hasClass("docked")){Z.attr("src",Z.attr("src").replace("-light",""))}Z.parents(".vl-link-rates").find(".vl-link-rate-results").hide().end().find(".vl-link-rate-title").show().text(aa).removeClass("color1").addClass("color3")}).delegate("mouseout",".vl-link-rate",function(){var aa=$(this);var Z=aa.parents(".vl-link-rates");if(!aa.hasClass("docked")){aa.attr("src",aa.attr("src").replace(".gif","-light.gif"))}if(Z.hasClass("no-rate")){Z.find(".vl-link-rate-title").show().text("quality").removeClass("color3").addClass("color1")}else{Z.find(".vl-link-rate-results").show().end().find(".vl-link-rate-title").hide().removeClass("color3").addClass("color1")}}).delegate("click",".vl-link-rate",function(){var Z=$(this).attr("id").split("-");var ab=Z.pop();var aa=+Z.pop();a.rate(ab,aa)})}var g=null;var u=null;var d=false;var a={toggleEdit:function(ab,aa){if(g){var Z=g==ab;a.uneditCurrent();if(Z){return}}a.edit(ab,aa)},edit:function(aa,Z){if(!protectMembers()){return false}w();d=true;g=aa;u=Z;Z.find(".LinkTextPane").hide();Z.find(".LinkEditPane").show()},unedit:function(aa,Z){Z.find(".LinkTextPane").show();Z.find(".LinkEditPane").hide();u=null;g=null;d=false},uneditCurrent:function(){a.unedit(g,u)},report:function(aa,Z){if(!protectMembers()){return false}MessageBox(396,116,"Report problem!",'<div id="Report_Fields[iDepth]"><span><form><div class="fleft"><div id="Report_Validation_[iDepth]" class="Report_Validation"></div></div><input type="hidden" value="" name="reportType" id="reportType[iDepth]"/><div class="fleft">report type:</div><div class="fleft radios"><img src="'+ROOT_URL+'images/controllers/radio/radio-unselected.gif" onedit="SetRadValue(\'reportType[iDepth]\',\'0\')" alt="" class="ProfileRadio" id="rep[iDepth]_1" onclick="RadioButtons(this,\'rep[iDepth]\');SwitchReport(1,[iDepth])" />&nbsp;broken link<img src="'+ROOT_URL+'images/controllers/radio/radio-unselected.gif" onedit="SetRadValue(\'reportType[iDepth]\',\'1\')" alt="" class="ProfileRadio" id="rep[iDepth]_2" onclick="RadioButtons(this,\'rep[iDepth]\');SwitchReport(2,[iDepth])" />&nbsp;wrong page<img src="'+ROOT_URL+'images/controllers/radio/radio-unselected.gif" onedit="SetRadValue(\'reportType[iDepth]\',\'2\')" alt="" class="ProfileRadio" id="rep[iDepth]_3" onclick="RadioButtons(this,\'rep[iDepth]\');SwitchReport(3,[iDepth])" />&nbsp;copyright infringement</div><div style="clear:both;float:left;display:inline;width:100%;margin-top:6px;"><div id="reportOpt1[iDepth]"><div>if you have an alternative link to suggest, please type it here:</div><div style="float:left;display:inline;width:100%;margin-top:2px;"><div class="inputgreyl"></div><input type="text" id="alternativeLink[iDepth]" class="inputgreysize165" style="width:357px;"/><div class="inputgreyr"></div></div></div><div style="display:none;" id="reportOpt2[iDepth]"><div>is the link listed under the wrong page? where should it be listed?</div><div style="float:left;display:inline;width:100%;margin-top:2px;"><div class="inputgreyl"></div><input type="text" class="inputgreysize165" id="shouldBeListed[iDepth]" style="width:357px;"/><div class="inputgreyr"></div></div></div><div style="display:none;" id="reportOpt3[iDepth]"><div>if you\'ve found a link that is violating any copyrights, please refer to</div><div style="float:left;display:inline;width:100%;margin-top:2px;height:17px">our copyrights section under the <a href="" class="underline" style="color:#323232;font-size:11px;">terms of use</a> page for more details.</div></div></div></form></span></div><div id="Report_SuccessMessage[iDepth]" class="Report_SuccessMessage"><div class="color8">Thank you! report sent.</div><div><span class="color1">(</span><span class="color2">this message will close in 2 seconds</span><span class="color1">)</span></div></div>',true,function(ab){if($("#reportType"+ab).val()==""){document.getElementById("Report_Validation_"+ab).innerHTML='[<span class="color3">cannot send! - you must select the report type</span>]';return false}else{var ac=$("#reportType"+ab).val()=="0"?$("#alternativeLink"+ab).val():$("#shouldBeListed"+ab).val();if($("#reportType"+ab).val()=="1"&&ac.replace(/^\s+|\s+$/gi,"")==""){document.getElementById("Report_Validation_"+ab).innerHTML='[<span class="color3">cannot send! - the message field is empty</span>]';return false}else{$.ajax({type:"POST",url:ROOT_URL+"pro-video-links.asp?rnd="+new Date().getTime(),data:{act:"report",id:aa,reportType:$("#reportType"+ab).val(),value:ac},success:function(ad){}});$("#Report_Fields"+ab).css("display","none");$("#Report_SuccessMessage"+ab).css("display","block");$("#MessageBox_Button_"+ab).css("display","none");setTimeout(function(){try{document.getElementById("MessageBox_"+ab).style.display="none";document.getElementById("MessageBoxCont_"+ab).parentNode.removeChild(document.getElementById("MessageBoxCont_"+ab))}catch(ad){}},2000)}}return false},true,"Report a Problem",true,null,"MessageBox_AddReport")},"delete":function(Z){if(!protectMembers()){return false}DeleteLink(Z,function(){p()})},view:function(Z){if(!d){OpenViewLink(Z)}},save:function(ab,Z){if(!protectMembers()){return false}var aa={act:"edit",movieId:MOVIE_ID,id:ab};Z.find("input").each(function(){aa[this.name]=this.value});a.uneditCurrent();$.ajax({type:"POST",url:ROOT_URL+"pro-video-links.asp?rnd="+new Date().getTime(),data:aa,success:function(ac){p()}})},rate:function(aa,Z){if(!protectMembers()){return false}$.ajax({type:"POST",url:ROOT_URL+"pro-video-links.asp?rnd="+new Date().getTime(),data:{act:"rate",id:aa,rate:Z},success:function(ab){p()}})}};function m(){var aa=$("#TvSeriesMainLinks .vl-season:first");if(!CATEGORY_ID&&aa.size()){t(SEASON_ID||Y(aa),function(){if(EPISODE_ID){E(EPISODE_ID)}})}else{var Z=$("#TvSeriesMainLinks .vl-category:first");if(Z.size()){H(CATEGORY_ID||Y(Z))}}}function E(Z,ab){var aa=$("#video-link-episode-"+Z);if(!aa){return}if(r){n(false,r);if(aa.get(0)==r.get(0)){aa.find(".VideoLinksPerEpisode").hide();K();return}else{r.find(".VideoLinksPerEpisode").empty()}}x(Z,ab)}var j=null;function V(Z){if(j){j.removeClass("selected")}Z.addClass("selected");j=Z}function H(Z){S=Z;h=null;b=null;c=null;V($("#video-link-category-"+Z));$("#vl-full-episodes").removeClass("selected");Q(Z,function(){J.apply(null,arguments);o("category_change",[$("#video-link-category-"+Z).html()])},$("#VideoLinks"))}function t(ab,aa){h=ab;b=ab;S=null;c=null;U(B);U(e);U(k);r=null;$("#vl-full-episodes").addClass("selected");$("#vl-seasons").show();V($("#video-link-season-"+ab).parents(".inside"));var Z=aa?function(){aa.apply(null,arguments);D.apply(null,arguments)}:D;Q("S"+ab,function(){Z.apply(null,arguments);o("season_change",[+$("#video-link-season-"+ab).attr("rel")])},$("#VideoLinks"))}function x(Z,ab){c=Z;S=null;h=null;var aa=$("#video-link-episode-"+Z);Q("E"+Z,function(ac){A(aa,Z);if(ab){setTimeout(ab,1)}o("episode_change",[+aa.attr("episode")])},aa.find(".VideoLinksPerEpisode"));r=aa}var r=null;function D(Z){X(FULL_EPISODES_COUNT,"full episode");U(q)}function J(Z){X($("#VideoLinks .vl-link").size(),j.text());U(q)}function A(Z){}function K(){r=null;l()}var P;var L;function X(aa,Z){if(Z){P=Z}L=aa;$("#EpisodeLinksQuantity").html(MOVIE_NAME+' has <span class="color3">'+aa+"</span> "+P+" links")}function w(){if(W){n(false,W)}}var W=null;function n(ab,aa){if(ab===null){ab=W==null}var ac,Z;if(ab){ac="show";Z="hide"}else{ac="hide";Z="show"}aa.find(".vl-date")[Z]().end().find(".vl-date-input")[ac]().end().find(".vl-save-episode")[ac]().end().find(".vl-episode-name")[Z]().end().find(".vl-episode-name-input")[ac]().end().find(".vl-desc")[Z]().end().find(".vl-desc-scroll")[Z]().end().find(".vl-desc-input")[ac]().end();if(ab){aa.find(".vl-episode-name-input input").val(aa.find(".vl-episode-name").text()).end().find(".vl-desc-input").val(aa.find(".vl-desc").text());aa.find(".vl-save-episode-icon").hover(function(){$(this).addClass("LHov2")},function(){$(this).removeClass("LHov2")}).click(function(){G(aa)});W=aa}else{W=null}}function G(ac){var aa=Y(ac);var Z=+ac.find(".dd").attr("value"),af=+ac.find(".mm").attr("value"),ag=+ac.find(".yyyy").attr("value");if(!(Z>=1&&Z<=31&&af>=1&&af<=12&&ag>=1800&&ag<2100)){MessageBox(396,119,"Got it! close this message","<span>The date area can only contain numbers and must be entered in a dd/mm/yyyy format.</span>",true,null,true);return}var ae=$.trim(ac.find(".vl-episode-name-input input").attr("value")),ad=$.trim(ac.find(".vl-desc-input").attr("value"));var ab=ag+"-"+af+"-"+Z;if(!ae||!ad){MessageBox(396,119,"Got it! close this message","<span>The title and description fields are required.</span>",true,null,true);return}$.ajax({type:"POST",url:ROOT_URL+"pro-video-links.asp?rnd="+new Date().getTime(),data:{act:"editEpisode",id:aa,title:ae,description:ad,airDate:ab},success:function(ah){ac.find(".vl-episode-name").text(ae);R(aa);n(false,ac)}})}function R(Z){x(Z)}function l(){$("#VideoLinks").scrollTop(0);VideoLinksScroll.Update()}function s(Z){Z.show().html('<div style="text-align:center;margin-top:5px;margin-bottom:5px;width:100%;height:15px;"><img src="'+ROOT_URL+'images/icons/status/ajax-loader.gif" alt="Loading..." /></div>');l()}function Q(Z,ab,aa){s(aa);$.ajax({type:"POST",url:ROOT_URL+"video-links-data.asp?rnd="+new Date().getTime(),data:{id:MOVIE_ID,cat:Z},success:function(ac){aa.show().html(ac);ab(ac);l()}});setTimeout(function(){},500)}function Y(Z){return +$(Z).attr("id").split("-").pop()}function z(Z){if(!protectMembers()){return false}$.ajax({type:"POST",url:ROOT_URL+"pro-video-links.asp?rnd="+new Date().getTime(),data:{act:"updateLastViewedEpisode",movieId:MOVIE_ID,lastViewedEpisodeId:Z},success:function(aa){}})}function p(){if(h!==null){return t(h)}if(S!==null){return H(S)}if(c!==null){return x(c)}}function C(){if(!protectMembers()){return false}MessageBox(396,121,"Add a new link!",'<form action="'+ROOT_URL+'pro-video-links.asp" id="AddLink_Form_[iDepth]"><div id="AddLinks_Validation_[iDepth]" class="AddLink_Validation"></div><div class="AddLink"><div class="columnL"><div class="fleft txt"><input type="hidden" id="AddLink_Field_CategoryInput_[iDepth]" name="AddLink_Field_CategoryInput" />category:&nbsp;</div><div class="fleft" style="width:180px;" id="AddLink_Field_Category_[iDepth]"></div></div><div class="columnR"><div class="fleft txt" id="Text_Season_Cont[iDepth]" style="margin-right:2px;">season:&nbsp;</div><div class="fleft" id="Input_Season_Cont[iDepth]"><div class="inputgreyl"></div><input type="text" class="inputgreysize165" id="AddLink_Field_Season_[iDepth]" style="width:41px;"/><div class="inputgreyr"></div></div></div></div><div class="AddLink"><div class="columnL"><div class="fleft txt" style="margin-right:27px;">title:&nbsp;</div><div class="fleft"><div class="inputgreyl"></div><input type="text" class="inputgreysize165" id="AddLink_Field_Title_[iDepth]" style="width:166px;"/><div class="inputgreyr"></div></div></div><div class="columnR"><div id="Text_Episode_Cont[iDepth]" class="fleft txt">episode:&nbsp;</div><div id="Input_Episode_Cont[iDepth]" class="fleft"><div class="inputgreyl"></div><input type="text" id="AddLink_Field_Episode_[iDepth]" class="inputgreysize165" style="width:41px;"/><div class="inputgreyr"></div></div></div></div><div class="AddLink"><div class="column3"><div class="fleft txt" style="margin-right:8px;">link URL:</div><div class="fleft"><div class="inputgreyl"></div><input type="text" class="inputgreysize165" id="AddLink_Field_LinkURL_[iDepth]" style="width:306px;"/><div class="inputgreyr"></div></div></div></div></form>',true,function(Z){if(AddLink_Field_CategorySelect.selectedIndex==0&&document.getElementById("AddLink_Field_Title_"+Z).value.replace(/^\s+|\s+$/gi,"")==""){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">cannot add! - you must add a link title</span>]';return false}else{if(document.getElementById("AddLink_Field_LinkURL_"+Z).value.replace(/^\s+|\s+$/gi,"")==""){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">cannot add! - the link URL is missing</span>]';return false}else{if(document.getElementById("AddLink_Field_LinkURL_"+Z).value.replace(/^\s+|\s+$/gi,"").substring(0,7)!="http://"){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">cannot add! - the URL must start with http://</span>]';return false}else{if(IS_SERIES&&AddLink_Field_CategorySelect.selectedIndex==0&&document.getElementById("AddLink_Field_Episode_"+Z).value==""){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">cannot add! - the episode number is missing</span>]';return false}else{if(IS_SERIES&&AddLink_Field_CategorySelect.selectedIndex==0&&document.getElementById("AddLink_Field_Season_"+Z).value==""){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">cannot add! - the season number is missing</span>]';return false}}}}}var aa={act:"add",movieId:MOVIE_ID,catId:+AddLink_Field_CategorySelect.values[AddLink_Field_CategorySelect.selectedIndex][1],title:document.getElementById("AddLink_Field_Title_"+Z).value,url:document.getElementById("AddLink_Field_LinkURL_"+Z).value,season:document.getElementById("AddLink_Field_Season_"+Z).value,episode:document.getElementById("AddLink_Field_Episode_"+Z).value};$.ajax({type:"POST",dataType:"json",url:ROOT_URL+"pro-video-links.asp",data:aa,success:function(ab){if(!ab){return}if(ab.error){document.getElementById("AddLinks_Validation_"+Z).innerHTML='[<span class="color3">'+ab.error+"</span>]";return}if(ab.newCatId){location.href=CATEGORY_LINK.replace("__CATID__",ab.newCatId);return}if(ab.newSeasonNumber){location.href=EPISODE_LINK.replace("__SEASON_NUMBER__",ab.newSeasonNumber).replace("__EPISODE_NUMBER__",ab.newEpisodeNumber);return}if(ab.newEpisodeNumber){t(b)}else{if(ab.catId){H(ab.catId)}else{H(0)}}document.getElementById("MessageBox_"+Z).style.display="none";document.getElementById("MessageBoxCont_"+Z).parentNode.removeChild(document.getElementById("MessageBoxCont_"+Z))}});return false},true,"Add a link",true,function(Z){AddLink_Field_CategorySelect=new SelectBox();AddLink_Field_CategorySelect.iDepth=Z;AddLink_Field_CategorySelect.AlertDepth=Z;AddLink_Field_CategorySelect.Skin="0";AddLink_Field_CategorySelect.Linkage="AddLink_Field_CategoryInput_"+Z;AddLink_Field_CategorySelect.Width=180;for(var aa=0;aa<DEFAULT_CATEGORIES.length;aa++){AddLink_Field_CategorySelect.Options.Add(DEFAULT_CATEGORIES[aa].Title,DEFAULT_CATEGORIES[aa].VideoLinkDefaultCategoryId)}AddLink_Field_CategorySelect.onchange=function(ad,ac){if(ad=="Full Episodes"){document.getElementById("Input_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="visible";document.getElementById("Text_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="visible";document.getElementById("Input_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="visible";document.getElementById("Text_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="visible"}else{document.getElementById("Input_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Text_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Input_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Text_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden"}};AddLink_Field_CategorySelect.MaxViewedItems=20;AddLink_Field_CategorySelect.selectedIndex=0;var ab=AddLink_Field_CategorySelect.values[AddLink_Field_CategorySelect.selectedIndex][0];if(ab!="Full Episodes"){document.getElementById("Input_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Text_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Input_Episode_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden";document.getElementById("Text_Season_Cont"+AddLink_Field_CategorySelect.iDepth).style.visibility="hidden"}AddLink_Field_CategorySelect.Dispose("AddLink_Field_Category_"+Z)},"MessageBox_AddLink")}var v={};function f(ac,af){if(typeof(google)=="undefined"||typeof(google.search)=="undefined"){return}var ab=ac=="category";var ae='<div class="LinkItem">'+(ab?'<div class="Link iLinkItem"><div class="L"></div><div class="C"><div style="color:#CC0101;">{i}</div></div><div class="R"></div></div><div class="PlusIco"><img src="/images/icons/other/ico-plus.gif" alt="" /></div>':'<div class="LinksIco"><img src="/images/icons/other/ico-video.gif" alt="" /></div>')+'<div class="LinksItems"><div class="Link"><div class="L"></div><div class="C"><div class="LinkCont" onmouseover="this.style.backgroundColor = \'#e9e9e9\'" onmouseout="this.style.backgroundColor = \'#f0f0f0\'" onclick="window.open(\'{url}\')"><div class="LinkTextPane">{title}<br/><span class="color1">source: {domain}</span></div></div></div><div class="R"></div></div></div><div class="PlusIco"><img src="/images/icons/other/ico-plus.gif" alt="" /></div><div class="LinksItems"><div class="Link"><div class="L"></div><div class="C" style="text-align:center;width:'+(ab?103:116)+'px;"><span style="color:#99CC01;font-size:10px;">web based result</span><br/><a style="color:#ACACAC;font-size:10px;" href="#" onclick="window.open(\'{url}\')">stream / download</a></div><div class="R"></div></div></div></div>';var Z=$("#episode-google-result");if(!Z.get(0)){Z=$("#VideoLinksGoogle")}if(!Z.get(0)){return}Z.empty();af.type=ac;var ad=VideoLinks.createWebSearchWithCallback(function(al){for(var am=0;am<al.length;am++){var an=al[am];var ah=VIEW_LINK_URL_EXTERNAL.replace("{0}",MOVIE_ID).replace("_URL_",encodeURIComponent(an.url)).replace("_TITLE_",encodeURIComponent(an.titleNoFormatting));var aj={i:am+1,title:an.titleNoFormatting.substr(0,55),domain:an.visibleUrl.replace(/^www./,""),url:ah};var ag=ae.replace(/\{(.+?)\}/g,function(aq,ap){return aj[ap]});$(ag).appendTo(Z)}l();var ak=true;if(ac=="episode"){var ao=af.seasonNumber+":"+af.episodeNumber;if(v[ao]){ak=false}v[ao]=true}if(ak){X(L+al.length,null);if(ac=="episode"){var ai=Z.parent().parent().find(".vl-episode-link-count");ai.html((+ai.html())+al.length)}}},af);if(!ad){return}var aa=VideoLinks.createSearchQuery(MOVIE_NAME,IS_SERIES,af);ad.execute(aa)}var T;i("category_change",function(aa,Z){f("category",{categoryName:aa})});i("season_change",function(aa,Z){$("#VideoLinksGoogle").empty();T=aa});i("episode_change",function(Z,aa){f("episode",{seasonNumber:T,episodeNumber:Z})});$(O);return{setLastEpisode:z,addLink:C}}();function SwitchReport(c,a){for(var b=1;document.getElementById("reportOpt"+b+a);b++){document.getElementById("reportOpt"+b+a).style.display="none"}document.getElementById("reportOpt"+c+a).style.display="block"};
