function bookmark_onClick()
{
  BookmarkTitle = document.title;
  BookmarkURL = window.location.href;

  if (window.sidebar)
  { // Bookmark for Mozilla Firefox
      window.sidebar.addPanel(BookmarkTitle, BookmarkURL,"");
  }
  else if( window.external )
  { // IE’s Favorite
      window.external.AddFavorite(BookmarkURL, BookmarkTitle);
  }
  else if(window.opera && window.print)
  { // Opera Hotlist
      var element = document.createElement("a");
      element.setAttribute("href", BookmarkURL);
      element.setAttribute("title", BookmarkTitle);
      element.setAttribute("rel", "sidebar");
      element.click();
  }
}

function breakout_of_frame()
{
  // see http://www.thesitewizard.com/archive/framebreak.shtml
  // for an explanation of this script and how to use it on your
  // own website
  if (top.location != location) {
    top.location.href = document.location.href ;
  }
}
