":r+="
";$("#"+p).html(r)}else $("#"+p).hide();fLangSystem(document.getElementById("LangSelect").value)},error:function(e){console.log(e.responseText)}})}function fMediaItemShowNextCH(e,l,p,t,d,s){s=t+"/API/GetMediaItemShowNextCH.ashx?iS="+e+"&iMG="+l+"&sCH="+s;$.ajax({url:s,cache:!0,dataType:"json",success:function(e){var t=$.parseJSON(JSON.stringify(e));if("0"==t.iErrorCode){var s,a,o,n,r="";for(i=1;i<=t.oItemList.length;i++)s=t.oItemList[i-1].iSeq,o=t.oItemList[i-1].sTitle,a=t.oItemList[i-1].iChapter,n=d+"&iS="+s+"&iMG="+l+"&iC="+a,-1==t.oItemList[i-1].iRow?r+="
":r+="
";$("#"+p).html(r)}else $("#"+p).hide();fLangSystem(document.getElementById("LangSelect").value)},error:function(e){console.log(e.responseText)}})}function fMediaItemShowStopTime(e,n,t){e=t+"/API/GetMediaItemShowStopTime.ashx?iS="+e;$.ajax({url:e,cache:!1,dataType:"json",success:function(e){var t=$.parseJSON(JSON.stringify(e));if("0"==t.iErrorCode){var s,a,o="";for(i=1;i<=t.oItemList.length;i++)t.oItemList[i-1].iSeq,s=t.oItemList[i-1].sTitle,o+="
";$("#"+n).html(o),$("#"+n+"Title").show()}else $("#"+n).hide(),$("#"+n+"Title").hide();fLangSystem(document.getElementById("LangSelect").value)},error:function(e){console.log(e.responseText)}})}