function addFav(){ if(document.all){ window.external.addFavorite('index.html','金沙银河网上娱乐导航'); }else if(window.sidebar){ window.sidebar.addPanel('金沙银河网上娱乐导航', 'index.html',''); } }