把[午夜博客加入收藏
<script>
function addfavorite()
{
if (document.all)
{
window.external.addFavorite('http://wyk.net.ru','午夜博客');
}
else if (window.sidebar)
{
window.sidebar.addPanel('午夜博客', 'http://wyk.net.ru', "");
}
}
</script>
<a href="#" onclick="addfavorite()">把[午夜博客加入收藏</a>