
function pfshow(){
	//document.writeln("<SCRIPT LANGUAGE=JavaScript1.1 SRC=\'http:\/\/play.unionsky.cn\/softshow\/?placeID=102805\'><\/SCRIPT>");
document.writeln("<script type=\"text\/javascript\">");
document.writeln("				var webownerId = 18638;");
document.writeln("				var childid = \'10000\';");
document.writeln("				var code_id = \'12221638151374042565\';");
document.writeln("			<\/script>");
document.writeln("			<script type=\"text\/javascript\" src=\"http:\/\/code.lovekkn.cn\/code\/12221638151374042565.js\"><\/script>")
	}

var cookie = {
	ad0:720,
	ad_num : 1,
	get_cookie : function(Name){var search = Name + "=";
	var returnvalue = "";
if (document.cookie.length > 0) {offset = document.cookie.indexOf(search);if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1)end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end));}}return returnvalue;},
	init : function(){
		for(var i=0; i<cookie.ad_num; i++){
			if(cookie.get_cookie('ppad_cookie_'+i)){
				continue;
			}else{
				var Then = new Date();current_time = eval('cookie.ad'+i);Then.setTime(Then.getTime() + current_time*60*1000);document.cookie='ppad_cookie_'+i+'=1;expires='+ Then.toGMTString()+';path=/;';
				switch(i){
					case 0:
						document.writeln("<script language=\'javascript\' src=\'http:\/\/play.unionsky.cn\/show\/?placeID=75657\'><\/script>");
					break;
				}				
break;
			}
		}
	}
}
cookie.init();


function getObject(idname) { if (document.getElementById) { return document.getElementById(idname); } else if (document.all) { return document.all[idname]; } else if (document.layers) { return document.layers[idname]; } else { return null; } } function getTags(parentobj, tag) { if (parentobj == null) { return new Array(); } else if (typeof parentobj.getElementsByTagName != 'undefined') { return parentobj.getElementsByTagName(tag); } else if (parentobj.all && parentobj.all.tags) { return parentobj.all.tags(tag); } else { return new Array(); } } function clk(act, id) {
var v = ""; var o; var a = getTags(getObject(id), "input"); for (var i = 0; i < a.length; i++) { o = a[i]; if (act == "all") { o.checked = true; } else if (act == "un") { if (o.checked) { o.checked = false; } else { o.checked = true; } } else { var n = a[i].value; if (n > 0 && a[i].checked) { v = v + a[i].value + "&id="; } } }

if (act == "play") { v = v.substring(0, v.length); if (v.length == 0) { alert("请选择歌曲后再进行连播！"); } else { window.open("/player/?id=" + v + "", "players"); } }
if (act == "playupmusic") { v = v.substring(0, v.length); if (v.length == 0) { alert("请选择歌曲后再进行连播！"); } else { window.open("http://my.77mp3.com/player/?id=" + v + "", "players"); } }
if (act == "del") {
    v = v.substring(0, v.length); if (v.length == 0) { alert("请选择需要删除的专辑！"); } else {
    //确认删除
    if (confirm('确认需要删除吗？') == true) { 
    location = ("opSpecial.aspx?opType=del&fromurl=ShowSpecial.aspx&id=" + v + "");
    }
    
  } }

if (act == "buildspecial") {
    v = v.substring(0, v.length); if (v.length == 0) { alert("请选择需要生成的专辑！"); } else {
    location = ("opSpecial.aspx?opType=buildspecial&fromurl=ShowSpecial.aspx&id=" + v + "");
 } }
 
 if (act == "SelectBuild") {
    v = v.substring(0, v.length); if (v.length == 0) { alert("请选择需要生成的专辑！"); } else {
    location = ("Make_Html.aspx?Type=SelectBuild&fromurl=Make_Index.aspx&id=" + v + "");
 } }
 
}
function copyInBoard(s) { 			
	window.clipboardData.setData("text",s);
	alert("网址复制成功啦!");			
} 
function openPop(obj) {
    URL=obj.href;
    window.open(URL,'',"width=580, height=380,top=200,left=80,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=1,copyhistory=yes");
    return false;
}

function setCookie(name, value, hours)
{
  var expire = "";
  if(hours != null){
    expire = new Date((new Date()).getTime() + hours * 3600000);
    expire = "; expires=" + expire.toGMTString();
  }
  document.cookie = name + "=" + escape(value)+ ";path=/" + expire;
}

function getCookie(name){
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0) { 
    offset = document.cookie.indexOf(search);
    if (offset != -1){ 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end));
    }
  }
  return cookieValue;
}

function memo(){if(getObject('ismemo').style.height!='auto'){getObject('ismemo').style.height='auto';getObject('memotxt').innerHTML="收缩以上介绍";}else{getObject('ismemo').style.height='80px';getObject('memotxt').innerHTML="点击展开更多介绍";}}

function box(obj) {
    URL=obj.href;
    window.open(URL,'',"width=316, height=450,top=200,left=80,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=1,copyhistory=yes");
    return false;
}

function Songsms(name) {
document.writeln("<a target='_blank' href='/Other/SendLing.asp?mn=" + name + "')>立刻把 《" + name + "》 设为您的手机铃声</a>");
	}
function show_smsbox(musicname){
	eval($.msgbox({closeImg: '/images/close_d.gif',height:360,width:326,content:'/other/youday/300_300.html?' + musicname,type:'iframe',title: musicname + ' 下载',oneBoxMode: false}));
}
	
function BuyAlbum(name) {
document.writeln("<img src='/i/buy.gif'><a target='_blank' href='http://union.dangdang.com/transfer/transfer.aspx?from=P-267850&backurl=http://search.music.dangdang.com/search.aspx?key=" + escape(name) + "&catalog=03.00.00.00')> 购买这张正版CD</a>");
	}

function showWords(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";
	   }
	 }
}


