if (self != top) top.location.href = window.location.href;

function xunlei()
{
	window.open("http://book.gougou.com/search?id=46311&search="+encodeURIComponent((document.title).split("最新")[0]));
}
function showmn1(){
	document.writeln("");
}
function showmn2(){
}
function showmn3()
{
	document.writeln("<a href=\"javascript:void(0);\" onclick=\"javascript:window.open(\'http:\/\/shuqian.qq.com\/post?from=3&title=\'+encodeURIComponent(document.title)+\'&uri=\'+encodeURIComponent(document.location.href)+\'&jumpback=2&noui=1\',\'favit\',\'width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes\');\">收藏到QQ书签<\/a>&nbsp;&nbsp;");
	document.writeln("<a href=\"javascript:void(0);\" onclick=\"javascript:window.open(\'http:\/\/cang.baidu.com\/do\/add?it=\'+encodeURIComponent(document.title.substring(0,76))+\'&iu=\'+encodeURIComponent(location.href)+\'&fr=ien#nw=1\',\'_blank\',\'scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\');\">添加到百度搜藏<\/a>&nbsp;&nbsp;");
	document.writeln("<a href=\"javascript:void(0);\" onClick=\"javascript:window.open(\'http:\/\/myweb.cn.yahoo.com\/popadd.html?url=\'+encodeURIComponent(document.location.href)+\'&title=\'+encodeURIComponent(document.title), \'Yahoo\',\'scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes\');\">添加到雅虎收藏<\/a>&nbsp;&nbsp;");
}
function showmn4(){
	document.writeln("");
}
function showmn5(){
	document.writeln("");
}
function showmn6(){
    document.writeln("");
}

function myAddPanel(title,url,desc) 
{ 
	if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function'))
	//Gecko 
	{ 
		//window.sidebar.addPanel(title,url,desc); 
		try
		{
			window.sidebar.addPanel(title, url, desc);
		}
		catch (e)
		{
			alert("加入收藏失败，请使用Ctrl+D进行添加");
		}
	} 
	else
	//IE 
	{  
		try
		{
			window.external.AddFavorite(url,title); 
		}
		catch (e)
		{
			alert("加入收藏失败，请使用Ctrl+D进行添加");
		}
	} 
} 
function SetHome(obj,vrl)
{
	try
	{
			obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl);
	}
	catch(e){
			if(window.netscape) {
					try {
							netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
					}
					catch (e) {
							alert("此操作被浏览器拒绝！\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]设置为'true'");
					}
					var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
					prefs.setCharPref('browser.startup.homepage',vrl);
			 }
	}
}