function JSAddFavorite() ... {var PageUrl = "http://msnlife.qihoo.com/index.html";var PageName = "MSN生活首页";if ( window.sidebar && "object" == typeof( window.sidebar ) && "function" == typeof( window.sidebar.addPanel ) )...{// firefoxwindow.sidebar.addPanel( PageName, PageUrl, '' );}else if ( document.all && "object" == typeof( window.external ) )...{// iewindow.external.addFavorite(PageUrl, PageName );}}