//舞曲试听点击
function djvv_htm(id)       
{
window.open('/Play/?id='+id+'','Player');
//window.open('/ra.asp?id='+id+'','Player','status=no,width=635,height=470,top=100,left=300');
}
function djvv_htmllll(id)
{
window.open('/ra.asp?id='+id+'','Player','status=no,width=486,height=477,top=100,left=300');
}
//收费VIP会员下载点击
function djvv_vip(id)
{
window.open('/vip.asp?id='+id+'','vip','width=300,height=230,top=150,left=220');
}
//免费mp3舞曲下载点击
function djvv_mp3(id)
{
window.open('/mp3.asp?id='+id+'','mp3','width=520,height=400,top=100,left=100');
}
//电影播放格式点击
function djvv_rm(id)
{
window.open('/rm.asp?id='+id+'','rm','width=520,height=400,top=100,left=100');
}
//会员收藏舞曲点击
function djvv_show(id)
{
window.open('/UserCollect.asp?action=add&sid='+id+'','Collect'); 
}
//专辑点击
function djvv_Special(id)
{
window.open('/b.asp?id='+id+'','Special'+id+''); 
}
//报错连接
function bq(id)
{
window.open('/bq.asp?id='+id+'','bq','width=270,height=150,top=150,left=220');
}
//舞曲连播放
function djvv_bfplay()
{
window.open("about:blank","Player","status=yes,top=10,left=10,width=353,height=300");
}
function open_window(url,windowname,size) 
{ 
window.open(url,windowname,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,top=10,left=10,"+ size); 
}
function CheckOthers(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
//if (e.name != 'chkall')
if (e.checked==false)
{
e.checked = true;// form.chkall.checked;
}
else
{
e.checked = false;
}
}
}
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
//if (e.name != 'chkall')
e.checked = true// form.chkall.checked;
}
}

//短信箱点击
function djvv_Messager(id)
{
window.open('/Messager.asp?action=inbox','Messager','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,top=10,left=10,width=420,height=300');
}



//短信箱点击
function djvv_Me(id)
{
window.open('/messager.asp?action=new&touser=系统短信&sfhf=0','Messager','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,top=10,left=10,width=420,height=300');
}



//我的收藏夹点击
function djvv_Collect(id)
{
window.open('/usercollect.asp?action=show','Collect');
}
//会员修改点击
function djvv_Modify(id)
{
window.open('Modify_djvv.asp','Modify','status=no,width=420,height=350,top=112,left=100');
}
//会员注册点击
function djvv_UserReg(id)
{
window.open('/UserReg.asp','UserReg','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,top=150,left=200,width=500,height=330');
}
//VIP购买
function djvv_hycz(id)
{
window.open('/djvip.asp','ffbz');
}
//忘记密码
function djvv_wjmm(id)
{
window.open('/wjmm.asp','wjmm','top=100,left=100,width=440,height=280');
}
//会员电影
function djvv_bfbz(id)
{
window.open('http://www.dj21cn.com/love/love.htm?用户注册','bfbz');
}
//下载帮助
function djvv_xzbz(id)
{
window.open('/rhxzwu.asp','xzbz');
}
//付费帮助
function djvv_ffbz(id)
{
window.open('/ffbz.asp','ffbz');
}


//付费帮助
function djvv_vvqq(id)
{
window.open('/vvqq.asp','vvqq','status=no,scrollbars=yes,width=380,height=480,top=100,left=300');
}

//自助赚点
function djvv_zzzd(id)
{
window.open('/zzzd.asp','zzzd');
}
//剩余资源
function djvv_syjy(id)
{
window.open('/syjy.asp','syjy','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,top=200,left=200,width=350,height=300');
}
//消费平台
function djvv_xfpt(id)
{
window.open('/xfpt.asp','xfpt');
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var tPopWait=50;
var tPopShow=6000;
var showPopStep=20;
var popOpacity=95;
var tbordercolor="#F8F8F5";
//var tbordercolor="#666666";
var tfontcolor="#000000";
//var tbordercolor="#ffffe1";
var tbgcolor="#ffffe1";
//***************内部变量定义*****************
var sPop=null,curShow=null,tFadeOut=null,tFadeIn=null,tFadeWaiting=null;
document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText {  background-color: " + tbgcolor + ";color:" + tfontcolor + "; border: 1px " + tbordercolor + " solid; font-color: 12px; font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");
function showPopupText()
{
var o=event.srcElement;
MouseX=event.x;
MouseY=event.y;
if(o.alt!=null && o.alt!='')
{
o.dypop=o.alt;o.alt=''
}
if(o.title!=null && o.title!="")
{
o.dypop=o.title;o.title=''
}
if(o.dypop!=sPop)
{
sPop=o.dypop;
clearTimeout(curShow);
clearTimeout(tFadeOut);
clearTimeout(tFadeIn);
clearTimeout(tFadeWaiting);
if(sPop==null || sPop=='') 
{
dypopLayer.innerHTML='';
dypopLayer.style.filter='Alpha()';
dypopLayer.filters.Alpha.opacity=0;
}
else 
{
if(o.dyclass!=null) popStyle=o.dyclass 
else popStyle='cPopText';
curShow=setTimeout('showIt()',tPopWait);
}
}
}
function showIt()
{
dypopLayer.className=popStyle;
dypopLayer.innerHTML=sPop;
popWidth=dypopLayer.clientWidth;
popHeight=dypopLayer.clientHeight;
if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24
else popLeftAdjust=0;
if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24
else popTopAdjust=0;
dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
dypopLayer.style.filter='Alpha(Opacity=0)';
fadeOut();
}
function fadeOut(){
if(dypopLayer.filters.Alpha.opacity<popOpacity) 
{
dypopLayer.filters.Alpha.opacity+=showPopStep;
tFadeOut=setTimeout('fadeOut()',1);
}
else 
{
dypopLayer.filters.Alpha.opacity=popOpacity;
tFadeWaiting=setTimeout('fadeIn()',tPopShow);
}
}
function fadeIn(){
if(dypopLayer.filters.Alpha.opacity>0)
 {
dypopLayer.filters.Alpha.opacity-=1;
tFadeIn=setTimeout('fadeIn()',1);
}
}
document.onmouseover=showPopupText;
//标题处理结束
function MM_openBrWindow(theURL,winName,features) { 
window.open(theURL,winName,features);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var version = "other"
browserName = navigator.appName;   
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";
function marquee1()
{
if (version == "e4")
{
document.write("<marquee behavior=scroll direction=up width=160 height=84 scrollamount=1 scrolldelay=100 onmouseover='this.stop()' onmouseout='this.start()'>")
}
}
function marquee2()
{
if (version == "e4")
{
document.write("</marquee>")
}
}
