document.writeln("<iframe id=\"proxy\" style=\"visibility:hidden\" frameborder=\"0\" scrolling=\"no\" width=\"0\" height=\"0\" src=\"http:\/\/passport.a8.com\/checklogin.html\"><\/iframe>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/space\/js\/prototype.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/scroller_up.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/main.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/dialog.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/tipmessage.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/pbhelper.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/common\/js\/count.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/main.a8-img.com\/www\/js\/md5.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/space.a8.com\/prop\/js\/prop.js\"><\/script>");
document.writeln("<script language=\"javascript\">");
document.writeln("try{document.domain = \'a8.com\';}catch(e){}");
document.writeln("function exitlogin()");
document.writeln("{");
document.writeln("");
//document.writeln("	document.getElementById(\"jframe\").src=\'http:\/\/bbs.any8.com.cn\/include\/setA8cookies.php?flag=logout\';");
document.writeln("	document.getElementById(\"bbslogout\").src=\"http:\/\/club.a8.com\/bbslogout.php\";	");
document.writeln("	checkLogin2(false);");
document.writeln("}");
document.writeln("function checkLogin2(isLogin)");
document.writeln("{ ");
document.writeln("	var szUrl = \"\";");
document.writeln("	var dt = new Date();");
document.writeln("	var mt = dt.getMilliseconds();");
document.writeln("	if(isLogin){");
document.writeln("		szUrl=\"http:\/\/passport.a8.com\/checklogin.php?txtUserName=\"+escape(LoginFrm.txtUserName.value)+\"&txtPwd=\"+document.all.txtPwd.value+\"&date=\"+mt;");
document.writeln("	}");
document.writeln("	else{");
document.writeln("		szUrl=\"http:\/\/passport.a8.com\/checklogin.php?exitflag=1\";");
document.writeln("	}");
document.writeln("	checkResult(szUrl);");
document.writeln("}");
document.writeln("function a8UserIsLogin()");
document.writeln("{");
document.writeln("	var szUrl = \"\";");
document.writeln("	var dt = new Date();");
document.writeln("	var mt = dt.getMilliseconds();");
document.writeln("	szUrl=\"http:\/\/passport.a8.com\/checklogin.php?\";");
document.writeln("	checkResult(szUrl);");
document.writeln("}");
document.writeln("function checkResult(szUrl)");
document.writeln("{");
document.writeln("	callLogin(szUrl);");
document.writeln("	rtxt = callLogin(szUrl+\"&t=\"+Math.random());");
document.writeln("	if(rtxt == \"-1\"){");
document.writeln("		alert(\'验证码错误！\');");
document.writeln("		return;");
document.writeln("	}");
document.writeln("	if(rtxt == \"-2\"){");
document.writeln("		alert(\'您输入的用户名或密码错误！请重新输入！\');");
document.writeln("		return;");
document.writeln("	}");
document.writeln("	document.getElementById(\"divlogin\").innerHTML = rtxt;");
document.writeln("}");
document.writeln("function callLogin(szUrl){");
document.writeln("	oHttp.open(\"GET\",szUrl,false);");
document.writeln("	oHttp.setRequestHeader(\"Content-Type\",\"application\/x-www-form-urlencoded\");");
document.writeln("	oHttp.send();");
document.writeln("	return oHttp.ResponseText;");
document.writeln("}");
document.writeln("function callXmlHttp(szUrl){");

document.writeln("	var oHttp=new ActiveXObject(\"Microsoft.XMLHTTP\");");
document.writeln("	oHttp.open(\"GET\",szUrl,false);");
document.writeln("	oHttp.setRequestHeader(\"Content-Type\",\"application\/x-www-form-urlencoded\");");
document.writeln("	oHttp.send();");
document.writeln("	document.getElementById(\"divlogin\").innerHTML = oHttp.ResponseText;");
document.writeln("}");
document.writeln("function callXml(szUrl){");

document.writeln("	var oHttp=new ActiveXObject(\"Microsoft.XMLHTTP\");");
document.writeln("	oHttp.open(\"GET\",szUrl,false);");
document.writeln("	oHttp.setRequestHeader(\"Content-Type\",\"application\/x-www-form-urlencoded\");");
document.writeln("	oHttp.send();");
document.writeln("	return oHttp.ResponseText;");
document.writeln("}");
document.writeln("function checkForm()");
document.writeln("{");
	//document.writeln("alert(szUrl);");
document.writeln("  if(LoginFrm.txtUserName.value==\"\")");
document.writeln("  {");
document.writeln("	  alert(\"请输入用户名\");");
document.writeln("	  return false;");
document.writeln("  }");
document.writeln("   if(LoginFrm.txtPwd.value==\"\")");
document.writeln("  {");
document.writeln("	  alert(\"请输入密码\");");
document.writeln("	  return false;");
document.writeln("  }");
document.writeln("");
//document.writeln("document.getElementById(\"jframe\").src=\"http:\/\/bbs.any8.com.cn\/include\/setA8cookies.php?flag=login&username=\"+document.all.txtUserName.value+\"&pwd=\"+hex_md5(document.all.txtPwd.value).substr(8,16);");
document.writeln("  checkLogin2(true);");
document.writeln("}");
document.writeln("function sendSearch()");
document.writeln("{");
document.writeln("	var w= document.getElementById(\"txtkey\").value;");
document.writeln("	if(w==\"\")");
document.writeln("	{");
document.writeln("		alert(\"请输入搜索关键字.\");");
document.writeln("		$(\"txtkey\").focus();");
document.writeln("		return;");
document.writeln("	}");
document.writeln("	var t=\'\';");
document.writeln("	var k = 1;		");
document.writeln("	$url=\"http:\/\/sou.a8.com\/?t=\"+t+\"&k=\"+k+\"&w=\"+encodeURI(w);");
document.writeln("	window.open($url);  			");
document.writeln("}");
document.writeln("function rndlisten(){");
document.writeln("	var songidlist = callXml(\"http:\/\/www.a8.com\/data\/randlisten.htm\");");
document.writeln("	window.open(\'http:\/\/space.a8.com\/playbox\/?id=\'+songidlist,\'A8playerboxObj\');");
document.writeln("}");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<div class=\"con-head\">");
document.writeln("<div class=\"logo\"><img id=\"logoimg\" src=\"http:\/\/main.a8-img.com\/www\/style\/logo\/1.jpg\" \/><\/div>");
document.writeln("<div class=\"top-nav\">");
document.writeln("<div class=\"li-t\"><\/div>");
document.writeln("<div class=\"li-m\">");
document.writeln("<a href=\"http:\/\/www.a8.com\">首页<\/a> | <a href=\"http:\/\/www.a8.com\/yc\/\">原创中国<\/a> | <a href=\"http:\/\/www.a8.com\/fc\/\">翻唱秀场<\/a> | <a href=\"http:\/\/www.a8.com\/star\/\">乐星领地<\/a> | <a href=\"http:\/\/www.a8.com\/mhome\/\">乐迷小窝<\/a> | <a href=\"http:\/\/www.a8.com\/rank\/\">排行榜<\/a> | <a href=\"http:\/\/www.a8.com\/act\/\">活动<\/a> | <a href=\"http:\/\/www.a8.com\/road\/\">星光大道<\/a> | <a href=\"http:\/\/www.a8.com\/corp\/\">唱行无阻<\/a> | <a href=\"http:\/\/club.a8.com\">社区<\/a> | <a href=\"http:\/\/www.a8.com\/rbt\/\">彩铃<\/a> | <a href=\"http:\/\/mall.a8.com\/\">商城<\/a>");
document.writeln("<\/div>");
document.writeln("<div class=\"li-b\"><\/div>");
document.writeln("<\/div>");
document.writeln("<div class=\"top-search\">");
document.writeln("<b>歌曲搜索：<\/b><input name=\"txtkey\" value=\"输入关键字\" onfocus=\"javascript:if(this.value==\'输入关键字\') this.value=\'\';\" type=\"text\" class=\"input_top_search\" id=\"txtkey\" \/> <input name=\"\" onclick=\"sendSearch()\" type=\"button\" class=\"btn_search\" \/> 热门搜索： <a href=\"http:\/\/sou.a8.com\/?t=&k=1&w=%E7%8E%A9%E5%81%B6\" target=\"_blank\">玩偶<\/a> <a href=\"http:\/\/sou.a8.com\/?t=&k=1&w=%E6%9C%80%E5%82%BB%E7%9A%84%E7%94%B7%E4%BA%BA\" target=\"_blank\">最傻的男人<\/a> <a href=\"http:\/\/sou.a8.com\/?t=&k=1&w=%u5982%u679C%u7231\" target=\"_blank\">如果爱<\/a> <a href=\"http:\/\/sou.a8.com\/?t=&k=3&w=%u831C%u831C\" target=\"_blank\">茜茜<\/a> <input name=\"\" onclick=\"rndlisten()\" type=\"button\" class=\"btn_sbtt\" \/>");
document.writeln("<\/div>");
document.writeln("<form id=\"LoginFrm\" name=\"LoginFrm\">");
document.writeln("<div class=\"top-login\">");
document.writeln("<div id=\"divlogin\">");
document.writeln("正在加载用户信息...");
document.writeln("<\/div>");
document.writeln("<\/div>");
document.writeln("<div class=\"nav\" >");
document.writeln("<\/div><\/form>");
document.writeln("<\/div>");
document.writeln("");
document.writeln("<script>");
document.writeln("var proxy= oHttp = null;");
document.writeln("setTimeout(\"setLoginStatus()\",1500);");
document.writeln("function setLoginStatus(){");
document.writeln("	try{");
document.writeln("	proxy= document.getElementById(\"proxy\").contentWindow;");
document.writeln("	oHttp = proxy.a8Passport.getXmlHttp();");
document.writeln("	a8UserIsLogin();");
document.writeln("	}catch(e){");
document.writeln("		setTimeout(\"setLoginStatus()\",1500);");
document.writeln("	}");
document.writeln("}");
document.writeln("<\/script>")
var gaJsHost = (("https:" == document.location.protocol) ? "   https://ssl." : "   http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
