var DLayer;var TheTieles;var LayerContent;var Info;var LayerWindow;var Close;if((luj==null)||(luj==undefined)){luj=""}document.writeln('<scr'+'ipt src="'+luj+'swfobject/jquery.js"></scr'+'ipt>');document.writeln('<scr'+'ipt src="'+luj+'swfobject/jscroll.js"></scr'+'ipt>');var prox;var proy;var proxc;var proyc;var Part;var TielesHTML;var Information;var Player;function showLayer(id,OrWidth,Orheight,nr){var OrWidth=OrWidth;var Orheight=Orheight;var NrStr;if(nr.length>0){nr=nr.replace(/(<(\w+)_([^<]*)>)/g,'');nr=nr.replace(/(<\/(\w+)_([^<]*)>)/g,'');NrStr=nr.split("|#$|")}Part=NrStr[0];if(Part=="vid"){TielesHTML=NrStr[2];TheTieles.style.width=OrWidth-102+"px";Player=Vidplayer(NrStr[1],OrWidth,Orheight);Information=NrStr[3];LayerContent.style.width=OrWidth;Info.innerHTML="<a href='javascript:void(0);' class='od' onclick = 'ShowInformation();return false;'> i信息</a>"}if(Part=="menu"){TielesHTML=NrStr[1];TheTieles.style.width=OrWidth-102+"px";Player="";Information=("<IFRAME frameBorder=0 id='pages' scrolling=no style='height:"+(Orheight-23)+"px; width:"+(OrWidth-1)+"px;background: #000000;' src='"+NrStr[2]+"'></IFRAME>");LayerContent.style.width=OrWidth}if(Part=="String"){TielesHTML=NrStr[1];TheTieles.style.width=OrWidth-102+"px";Player="";Information=(NrStr[2]);var InfoContentHeight=(Orheight-22)+"px";var InfoContentWidth=(OrWidth)+"px";LayerContent.style.width=OrWidth;Information=('<div class="InfoContent" style="height:'+InfoContentHeight+';width:'+InfoContentWidth+';">'+Information+'</div>')}LayerContent.style.display=(Info.style.display=(Close.style.display="none"));DLayer.style.display="block";clearInterval(prox);clearInterval(proy);clearInterval(proxc);clearInterval(proyc);var o=document.getElementById(id);o.style.display="block";o.style.width="1px";o.style.height="1px";o.style.top="42%";o.style.marginTop="-25%";o.style.left="50%";o.style.marginLeft="-25%";TheTieles.innerHTML="<p align='center'>数据载入中....</p>";TheTieles.style.display="block";prox=setInterval(function(){openx(o,OrWidth,Orheight)},10)}function openx(o,x,y){var cx=parseInt(o.style.width);if(cx<x){o.style.width=(cx+Math.ceil((x-cx)/5))+"px";o.style.left="50%";o.style.marginLeft=(-cx/2)+"px"}else{clearInterval(prox);proy=setInterval(function(){openy(o,y)},10)}}function openy(o,y){var cy=parseInt(o.style.height);if(cy<y){o.style.height=(cy+Math.ceil((y-cy)/5))+"px";o.style.marginTop=(-cy/2)+"px"}else{LayerContent.style.display=(Close.style.display=(TheTieles.style.display="block"));TheTieles.innerHTML=TielesHTML;if(Part=="vid"){Info.style.display="block";LayerContent.innerHTML=Player}else{LayerContent.innerHTML=Information;
$(document).ready(function(){
$(".InfoContent").jscroll({ W:"15px"
,BgUrl:"url(swfobject/s_bg.gif)"
,Bg:"right 0 repeat-y"
,Bar:{Bd:{Out:"#BBBBBB",Hover:"#FFFFFF"}
,Bg:{Out:"-46px 0 repeat-y",Hover:"-59px 0 repeat-y",Focus:"-71px 0 repeat-y"}}
,Btn:{btn:true
,uBg:{Out:"0 0",Hover:"-15px 0",Focus:"-30px 0"}
,dBg:{Out:"0 -15px",Hover:"-15px -15px",Focus:"-30px -15px"}}
,Fn:function(){}});});}clearInterval(proy)}}function closeed(id){clearInterval(prox);clearInterval(proy);clearInterval(proxc);clearInterval(proyc);var o=document.getElementById(id);LayerContent.innerHTML=(Player=(TielesHTML=(Information=(TheTieles.innerHTML=""))));TheTieles.style.display=(Close.style.display=(Info.style.display=(LayerContent.style.display="none")));DLayer.style.display="none";if(o.style.display=="block"){proyc=setInterval(function(){closey(o)},10)}}function closey(o){var cy=parseInt(o.style.height);if(cy>0){o.style.height=(cy-Math.ceil(cy/5))+"px";o.style.top="40%";o.style.marginTop=(-cy/2)+"px"}else{clearInterval(proyc);o.style.display="none"}}function Vidplayer(VidURL,VidW,VidH){VidW-=2;VidH-=22;var PlayerStr="";PlayerStr+=("<embed");PlayerStr+=(" src='"+VidURL+"' type='application/x-shockwave-flash'");PlayerStr+=(" allowscriptaccess='sameDomain'");PlayerStr+=(" allowfullscreen='true'");PlayerStr+=(" bgcolor = '#000000'");PlayerStr+=(" wmode='opaque'");PlayerStr+=(" width='"+VidW+"' height='"+VidH+"'>");PlayerStr+=("</embed>");return PlayerStr}function ShowInformation(){var InfoContentHeight=(parseInt(LayerWindow.style.height)-22)+"px";var InfoContentWidth=(parseInt(LayerWindow.style.width))+"px";LayerContent.innerHTML="<div style='height:"+InfoContentHeight+";width:"+InfoContentWidth+";' class='InfoContent'>"+Information+"</div>";Info.innerHTML="<a href='javascript:void(0);' class='od' onclick = 'ShowPlayer();return false;'> ＞播放</a>";
$(document).ready(function(){
$(".InfoContent").jscroll({W:"15px"
,BgUrl:"url(swfobject/s_bg.gif)"
,Bg:"right 0 repeat-y"
,Bar:{Bd:{Out:"#BBBBBB",Hover:"#FFFFFF"}
,Bg:{Out:"-45px 0 repeat-y",Hover:"-58px 0 repeat-y",Focus:"-71px 0 repeat-y"}}
,Btn:{btn:true,uBg:{Out:"0 0",Hover:"-15px 0",Focus:"-30px 0"}
,dBg:{Out:"0 -15px",Hover:"-15px -15px",Focus:"-30px -15px"}}
,Fn:function(){}});});}function ShowPlayer(){LayerContent.style.width=(parseInt(LayerWindow.style.width))+"px";LayerContent.innerHTML=Player;Info.innerHTML="<a href='javascript:void(0);' class='od' onclick = 'ShowInformation();return false;'> i信息</a>";}function OpenFullWin(){if(window.name=="fullscreen")return;var newWindow=window.open("","fullscreen","channelMode");newWindow.location=location.href;window.opener=null;window.open('','_parent','');window.close();location.href="http://www.2ey.cn/"}document.oncontextmenu=function(e){return false};function ClearErrors(){return false}window.onerror=ClearErrors;