var urld = null; var lpdd; var lbak = null; var oop = null; var loopx=2; var sval, medTT, alTXT; var zslen=0; var rndX = false; var rnd = []; var rndBJ = 0; var reN; var xdbj=0, xxL,xxR; var sewin = false; var mute = false; function newlist(zzs) { listbak(zzs); if(zzs) { urld = []; rnd = []; } rndBJ = urld.length; } function playlist(zzs) { if(urld.length<1) urld[0] = new urlDataClass("列表为空","",0); sxdfbd(); rtxt3.style.visibility = (urld.length<=1)?"hidden":"visible"; rtxt3b.innerText = urld.length; newrnd(rndBJ); if(zzs) { if(rndX) playrnd(); else openfile(0); } } function listbak(zzs) { if(urld==null || !zzs) return; if(urld.length<2) return; lbak = urld; } function returnlist() { if(lbak==null) { dsts("没有列表可召回"); return; } var bbb = lbak; lbak = null; newlist(true); urld = bbb; playlist(true); } function UDC_dk() { var s = /\.[^\.]+$/.exec(this.uu); return (s!=null)?s[0].toUpperCase():"***"; } function UDC_oot() { if(this.uu.slice(2,3)=="*") { var vvv="egy+nb@QwXvCWjKPRxVzDl/h7EOMtSa9f6*FpNr81i_0kqdG2LBcuZIAJYo34m-sT%5.UH3SYZ0hzt/y@qDTNECf1BpujiO.X6ks+oIR8GPVg9wbm%xJvKLWrn*F4HAe-QladM27Uc5_"; var du = parseInt(this.uu.slice(0,2)); var uu = ""; var ht = (vvv.slice(70)+vvv.slice(70)).slice(du); for(var ii=3; ii=1 && this.oo<=2) return; var st = /^[^:\/]+:\/\//.exec(this.uu); if(st!=null) { st = st[0].toUpperCase(); if(LX_M_x.indexOf(";"+st)!=-1) { this.oo = 1; return; } if(LX_R_x.indexOf(";"+st)!=-1) { this.oo = 2; return; } } if(this.uu.indexOf("?")!=-1) { this.oo = 1; return; } var sd = this.dk()+";"; if(LX_M_v.indexOf(sd)!=-1) { this.oo = 1; return; } if(LX_R_v.indexOf(sd)!=-1) { this.oo = 2; return; } } function urlDataClass(nn,uu,oo) { this.nn = nn; this.uu = uu; this.oo = oo; this.dk = UDC_dk; this.oot = UDC_oot; this.oot(); } function sxdfbd() { loplist.options.length = urld.length; for(var ii=0; iixxR) oop.go(xxL); } dtut.innerText = oop.sjxs(pos); oop.ifending(); } catch(hh){} } function aabf() { if(oop==null) { dsts(); return; } oop.play(); } function aazt() { if(oop==null) { dsts(); return; } oop.pause(); } function aatz() { if(oop==null) { dsts(); return; } oop.stop(); } function aaht() { if(oop==null) { dsts(); return; } var v = oop.pos() - oop.gotov; if(v<0) v=0; oop.go(v); } function aaqj() { if(oop==null) { dsts(); return; } var v = oop.pos() + oop.gotov; if(v<=oop.length()) oop.go(v); } function lbssdy() { if(urld==null) { dsts(); return; } if(urld.length<=1) { dsts("目前没有列表!"); return; } openfile(0); } function lbsy() { if(urld==null) { dsts(); return; } if(urld.length<=1) { dsts("目前没有列表!"); return; } if(lpdd<=0) { dsts("没有上一段了!"); return; } openfile(lpdd-1); } function lbxy() { if(urld==null) { dsts(); return; } if(urld.length<=1) { dsts("目前没有列表!"); return; } if(lpdd>=urld.length-1) { dsts("没有下一段了!"); return; } openfile(lpdd+1); } function lbmmdy() { if(urld==null) { dsts(); return; } if(urld.length<=1) { dsts("目前没有列表!"); return; } openfile(urld.length-1); } function lhhgo() { home.focus(); if(urld==null) { dsts(); return; } if(urld.length<=1) { dsts("目前没有列表!"); return; } openfile(loplist.selectedIndex); } function listedit() { if(urld==null) { dsts("请先播放一个文件"); return; } window.showModalDialog("listedit.htm", self, "dialogHeight:230px;dialogWidth:320px;status:0;help:0;scroll:0"); } function ylyydxx() { if(zslen==0) return; var nx = jdhk.getposition(); var zzs = Math.round(zslen/jdhk.mlength()*nx); oop.go(zzs); } function ylyyd() { if(oop==null) return; var nx = Math.floor(ylhk.getposition()/ylhk.mlength()*100); oop.volume(nx); } function jingbb() { mute=!mute; eval("jingyin.src=bb_jy"+(mute?"1":"0")+".src"); if(oop!=null) oop.mute(mute); } function lomd() { loopx=(loopx+1)%3; eval("IM_xh.src=bb_lok"+loopx+".src"); IM_xh.alt="循环:"+["无循环","单曲循环","全部循环"][loopx]; } function rndkk() { rndX=!rndX; eval("IM_sj.src=bb_rnd"+(rndX?"1":"0")+".src"); IM_sj.alt="随机播放 "+(rndX?"开":"关"); } function gonext() { if(loopx==1 || loopx==2 && urld.length<=1) { oop.go(0); setTimeout("oop.play();",1000); return; } if(urld.length<=1) return; if(rndX) { if(rnd.length==0 && loopx==2) newrnd(0); playrnd(); } else { if(lpdd=fs.length) return; rtxt1.innerText = fs[f]; if(f == 8) medTT = setTimeout("gonext();",500); } function reap_tt(f) { if(oop==null) return; if(oop.constructor != realClass) return; if(f!="") rtxt1.innerText = f.slice(0,4); } function miderror() { if(oop==null) return; if(oop.constructor != mediaClass) return; errorreplay(); } function reaerror() { if(oop==null) return; if(oop.constructor != realClass) return; errorreplay(); } function dsts(t) { clearTimeout(alTXT); Jts1.innerText = t || "当前无法执行!"; Jts1.style.display = "block"; Jts2.style.display = "none"; alTXT = setTimeout('Jts2.style.display="block";Jts1.style.display="none";',1000); } function xdbfsz() { if(oop==null) { dsts(); return; } xdbj=(xdbj+1)%3; eval("IM_xd.src=bb_xd"+xdbj+".src"); IM_xd.alt="选段:"+["标记选段开头","标记选段结束","取消选段"][xdbj]; switch(xdbj) { case 0: jdhkl.style.backgroundPositionX = "9999"; jdhk.style.backgroundPositionX = "9999"; break; case 1: xxL = oop.pos(); xxR = oop.length()-2; xdbjsz(); break; case 2: xxR = oop.pos(); if(xxL>=xxR) { var zz = xxL; xxL = xxR; xxR = zz; } xdbjsz(); break; } } function xdbjsz() { var m = oop.length() || 1; jdhkl.style.backgroundPositionX = Math.round(xxL/m*100)+"%"; jdhk.style.backgroundPositionX = Math.round(xxR/m*100)+"%"; } function selectmenu() { var d = menu.selectedIndex; home.focus(); menu.selectedIndex = 0; switch(d) { case 1: openbd(true); break; case 2: seturladd(true); break; case 3: openbd(false); break; case 4: seturladd(false); break; case 5: listedit(); break; case 6: returnlist(); break; } } if(parent.frames[0] && typeof(parent.fst) != "undefined") { parent.rows = parent.fst.getAttribute("rows"); parent.rows1 = parent.fst.getAttribute("rows1"); parent.rows2 = parent.fst.getAttribute("rows2"); } if(!opener) document.writeln("