var playJs = ["/PlayJs/Track/","/PlayJs/Album/","/PlayJs/Special/"];
var geciPath = ["/GeCi/Lrc/","/GeCi/Txt/"];
var filePath = "http://www.160t.com:3298/";

var Tn = "<iframe src=\"http://www.7town.com/TnSend/P2601.htm?uid=24362&a=&b=&c=&d=&e=&f=&mn={0}\" width=\"260\" height=\"30\" border=\"0\" frameborder=\"0\" scrolling=\"no\"><\/iframe>"
var Ivr = "<iframe src=\"http://img2.uiuni.com/functioncode/fcode2/fcode2.html?uid=3075&sid=&songName={0}\" width=\"300\" height=\"300\" border=\"0\" frameborder=\"0\" scrolling=\"no\"><\/iframe>";
Ivr = '<iframe name="" src="http://u.x-push.net/dg/300x300S/index.asp?vip=4751&uid=&bid=&song={0}" frameborder="0" scrolling="0" width="300" height="300" align="center"></iframe>'; 
Ivr = '<iframe width="300" height="300" src="http://www.qling.com/code/300x300_10.html?aid=9621&musicname={0}" frameborder="0" scrolling="no"></iframe>  ';
//Ivr = '<iframe width="300" height="300" src="http://www.qling.com/code/300x300_8.html?songname={0}&aid=9621" frameborder="0" scrolling="no"></iframe>    
var LrcTop = '';
//Ivr = '<iframe name="town" src="http://mmssend.moyu.com/P3001.htm?uid=16893&mn={0}&a=&b=&c=&d=&e=&f=" width="300" height="300" border="0" frameborder="0" scrolling="no"></iframe>';

//var TL = '<iframe  marginheight=0 marginwidth=0 scrolling="no" frameborder="0" width="100%" height="80" src="http://mmscode1.3bu.com/mmscode/bigbanner/07171516172827601679.htm?id=07171516172827601679&webownerId=10915&childid=10000"></iframe>';
var TL = '<iframe width="100%" height="80" src="http://www.qling.com/code/782x80_1.html?aid=9621" frameborder="0" scrolling="no"></iframe>';


function initClipBox(){
	document.write("<input class=\"clipInput\" id=\"clipInput\" value=\"" + location.href + "\" onclick=\"copyToClipBoard(this)\"></input>");
	document.write("<input type=\"button\" class=\"clipButton\" value=\"复制本页地址，发送给您的好友\" onclick=\"copyToClipBoard(document.getElementById('clipInput'))\" />");
}

function copyToClipBoard(el){
	el.select();
	var clipBoardContent = document.title +'\r\n'+ location.href +'';
	alert('复制成功,发给你的好友一起分享吧!');
	window.clipboardData.setData("Text",clipBoardContent);
}

function addFavor(title, url){
		if (document.all)   //IE
			window.external.AddFavorite(url, title);  
		else if (window.sidebar)  //FireFox 
			window.sidebar.addPanel(title, url, "")  
} 

function addToFav(){
	var sTitle = document.title;
	var sUrl = location.href;
	addFavor(sTitle,sUrl);
}

$("#kw").ready(function(){;
	$('#kw').focus(function(){$(this).addClass("focus");}).blur(function(){$(this).removeClass("focus")});
});