/*fix ie6 background flicker problem*/
try {
  document.execCommand("BackgroundImageCache", false, true);
  } catch(err) {}

function bookMark_Page(url, name) {

    // internet explorer windows
    if (window.external) {
        window.external.AddFavorite(url,name);
    }
    // internet explorer mac
    if (document.all && (navigator.userAgent.indexOf('Win') < 0)) {
        alert ("COMMAND + B to bookmark " + name + " !");
    }
    // netscape 6.x and firefox
    if (window.sidebar) {
        window.sidebar.addPanel(name,url,"");
    }
    // netscape 4.x
    if (document.layers) {
        alert ("CTRL + D to bookmark " + name + " !");
    }
    // opera
    if (navigator.userAgent.indexOf('Opera') != -1) {
        alert ("CTRL + T to bookmark " + name + " !");
    }
}
