document.writeln("<meta http-equiv=\"Cache-Control\" CONTENT=\"no-cache\" \/>   ");
document.writeln("<meta http-equiv=\"Cache-Control\" CONTENT=\"no-store\" \/>");
document.writeln("<meta http-equiv=\"Pragma\" content=\"no-cache\" \/>");
document.writeln("<meta http-equiv=\"cache-control\" content=\"no-cache, must-revalidate\">");
document.writeln("<meta http-equiv=\"Expires\" content=\"Sun, 6 Mar 2005 01:00:00 GMT\" \/>");


function doClick(o){
	 o.className="y";
	 var j;
	 var id;
	 var b;
	 for(var i=1;i<=5;i++){
	   id ="c"+i;
	   j = document.getElementById(id);
	   b = document.getElementById("commendalbum_"+i);
	   if(id != o.id){
	   	 j.className="n";
	   	 b.style.display = "none";
	   }else{
			b.style.display = "block";
	   }
	 }
}

function doClick1(o){
	 o.className="y";
	 var j;
	 var id;
	 var b;
	 for(var i=1;i<=3;i++){
	   id ="m"+i;
	   j = document.getElementById(id);
	   b = document.getElementById("rtop_"+i);
	   if(id != o.id){
	   	 j.className="n";
	   	 b.style.display = "none";
	   }else{
			b.style.display = "block";
	   }
	 }
}

function doClick3(o){
	 o.className="y";
	 var j;
	 var id;
	 var b;
	 for(var i=2;i<=4;i++){
	   id ="m"+i;
	   j = document.getElementById(id);
	   b = document.getElementById("rtop_"+i);
	   if(id != o.id){
	   	 j.className="n";
	   	 b.style.display = "none";
	   }else{
			b.style.display = "block";
	   }
	 }
}

function doClick2(o){
	 o.className="y";
	 var j;
	 var id;
	 var b;
	 for(var i=1;i<=2;i++){
	   id ="t"+i;
	   j = document.getElementById(id);
	   b = document.getElementById("g"+i);
	   if(id != o.id){
	   	 j.className="n";
	   	 b.className = "no";
	   }else{
			b.className = "yes";
	   }
	 }
}
 

function CheckAll(form)
{
	for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
			e.checked = true
	}
}

function CheckOthers(form)
{
	for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
			if (e.checked==false)
			{
				e.checked = true;
			}
			else
			{
				e.checked = false;
			}
	}
}

function checkform(theForm){
var g = true
for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
			if (e.checked==false)
			{
				g = false;
			}
			else
			{
				if(g == false){				
				g = false;
				}
				else{
				g = true;
				}
			}
	}
//alert(g);
//if(g){
//	theForm.action="http://www.st020.com/zj/7176.htm";
//	theForm.method="get";
////	location.href="/zj/7176.htm";
//	window.open("/zj/7176.htm");
//	return false;
//}
//else{
	theForm.action="/asp/lbplayer.asp";
	theForm.method="post";
//}
}


 function AddzcomLink(sen)
{
		var ActiveXCreated	= false;
		var ZCOMActiveX	= null;
		var ZCOMActiveX_classid	= "clsid:3A7698F3-1BCC-4838-B3BF-EF4E3C5E209A";
		var ZCOMExists		= false;
		var ZCOMVer			= null;

		checkZcomExists = function (){
			if(ActiveXCreated == false){
				try{
					ZCOMActiveX				= document.createElement("object");
					ZCOMActiveX.classid	= ZCOMActiveX_classid;
					ZCOMVer = ZCOMActiveX.GetInfo("zcomVersion");
					if( ZCOMVer != null ){
						ZCOMExists = true;
					}
				}catch(e){}
				ActiveXCreated = true;
			}
		}

		 
		if(document.createElement)
		{
			checkZcomExists();

			if(!ZCOMExists){


					if(confirm("您尚未安装ZCOM杂志音乐下载软件！\n\n安装后,可高速下载本站音乐！")){
								window.open ('http://zcomcdl.zcominc.com/union/ZcomMagSubscribe-100-69.exe')
							}
								else window.open ("http://www.8easy.com" + sen,'newwindow','');
 
			}
			else
			{
				window.open ("http://www.8easy.com" + sen,'newwindow','');
			}
		}

}
    
function getHost()
{
    var hosts=location.host.split(".")
    var i = hosts.length;
    if(i>1)
    host = hosts[i-2] + "." + hosts[i-1];
      else
     host = hosts[0];
     return host
 }    
