function lbsong()
{
w=window.open("about:blank","lxplay","");
w.focus();
}
function ranArray(n)
{
        var a,r,l=n.length,x,d=new Array(l);
        for(x=l-1;x>=0;x--)
        {
                r=Math.floor(Math.random()*(x+1));
                d[x]=n[r];
                n[r]=n[x];
        }
        return d;
}
function SelectRandAll(form){
	var k=[];
	for(var i=0;i<form.checked.length;i++){
		var e = form.checked[i];
		e.checked = false;
		k[i]=i;
	}
	var newform=ranArray(k);
	var l=[];
	for (var i=0;i<newform.length && i<30;i++){
		l[i]=newform[i];
		var e = form.checked[newform[i]];
		e.checked = true;
	}
//alert(form.checked.length);
}
function   p(){   
      var   ss   =   ""   
      w=window.open("","music",ss)  
 w.focus();
      } 
function Playlist(form)
{
	var val = "";
	for(var i=0;i<form.checked.length;i++)
	{
		var e = form.checked[i];
		
		if(e.checked)
		{
			val += 'checked=' +e.value+ '&';
        }
		else
		{
		}
	}
	if(val=="")
	{
		alert("你没有选择歌曲,或者所选歌曲只有一首！");
		return;
	}
	var playurl="http://www.qq190.com/lxplay.htm?"+val;
	window.open(playurl,'music');
}


//以下为专缉页里面,添加歌词链接
function   showgeci(){   
      var   ss   =   "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=450,height=450,top=10,left=10"   
      w=window.open("","showgeci",ss)  
 w.focus();
      }
function   musicadd(){   
      var   ss   =   "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=250,top=10,left=10"   
      w=window.open("","musicadd",ss)  
 w.focus();
      }
function   Albumadd(){   
      var   ss   =   "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=150,height=20,top=10,left=10"   
      w=window.open("","Albumadd",ss)  
 w.focus();
      }
function   mms(){   
      var   ss   =   "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=600,height=615,top=10,left=10"   
      w=window.open("","mms",ss)  
 w.focus();
      }
function   down(){   
      var   ss   =   "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=600,height=500,top=10,left=10"   
      w=window.open("","down",ss)  
 w.focus();
      }

