function nb_fav(){if (document.all){window.external.addFavorite(document.location.href,document.title);}else if (window.sidebar){window.sidebar.addPanel(document.title,document.location.href,"");}}
function nb_home(obj){obj.style.behavior="url(#default#homepage)";obj.setHomePage("http://music.nb99.net");}

//全站 头部760*90广告

function nb_banner(){
	document.write('<iframe id="baiduSpFrame" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="760" height="90" src="http://spcode.baidu.com/spcode/spstyle/style3951.jsp?tn=5ugu_sp&ctn=0&styleid=3951"></iframe>');
}

//内页 左侧160*600广告

function nb_left(){
	document.write('<iframe id="baiduSpFrame" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="160" height="600" src="http://spcode.baidu.com/spcode/spstyle/style3319.jsp?tn=5ugu_sp&ctn=0&styleid=3319"></iframe>');
}

//下载 & 试听页面 右侧300*300广告

function nb_right(){
	document.write('<iframe id="baiduSpFrame" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="300" height="250" src="http://spcode.baidu.com/spcode/spstyle/style3328.jsp?tn=5ugu_sp&ctn=0&styleid=3328"></iframe>');
}

//下载 & 试听页面 左侧300*300广告

function nb_sms(){
	document.write('<iframe id="baiduSpFrame" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="300" height="250" src="http://spcode.baidu.com/spcode/spstyle/style3292.jsp?tn=5ugu_sp&ctn=0&styleid=3292"></iframe>');
}

//联系方式

function nb_about(){
	document.write('<a href="mailto:5ugu@163.com">联系我们</a>');
}

//统计代码

function nb_count(){
	document.write('<script type="text/javascript" src="http://js.tongji.linezing.com/414264/tongji.js"></script>');
}

//以下代码不必修改

function nb_so(){
	var SoType = document.getElementById("s2");
	var SoForm = document.SoForm;
	var TempType = SoType.innerHTML;
	for (var i=0;i<6;i++){if (SoForm.m[i].checked) break;}
	switch (i){
	case 5:
		SoForm.action = 'lyric.asp';
		SoType.innerHTML = "";
		break;
	default:
		SoForm.action = 'music.asp';
		SoType.innerHTML = "<input type='hidden' name='m' value='" + SoForm.m[i].value + "' />";
		break;
	}
	SoForm.submit();
	SoType.innerHTML = TempType;
	return false;
}
function winopen(url,width,height){
try{var left = (screen.width - width) / 2;
var top = (screen.height - height) / 2;
var param = 'resizable=0, scrollbars=0, width=' + width + ', height=' + height + ', left=' + left + ', top=' + top;
window.open(url, '_blank', param);}
catch( e ){;}return false;}
function sms(aobj){winopen(aobj.href,760,460);return false;}
function sms99(aobj){winopen(aobj.href,300,300);return false;}
if(top.location!=self.location){top.location=self.location;}
with(navigator){if(appName=="Microsoft Internet Explorer"){if(parseInt(appVersion.split(" ")[3])=="6"){document.execCommand("BackgroundImageCache",false,true);}}}
