You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
var $id = function(id) {
|
|
|
|
|
return "string" == typeof id ? document.getElementById(id) : id;
|
|
|
|
|
};
|
|
|
|
|
function AddFavorite(sURL, sTitle) {
|
|
|
|
|
try { window.external.addFavorite(sURL, sTitle); }
|
|
|
|
|
catch (e) {
|
|
|
|
|
try { window.sidebar.addPanel(sTitle, sURL, ""); }
|
|
|
|
|
catch (e) { alert("加入收藏失败,请使用Ctrl+D进行添加"); }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function SetHome(obj, vrl) {
|
|
|
|
|
try { obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl); }
|
|
|
|
|
catch (e) {
|
|
|
|
|
if (window.netscape) {
|