/*
  Function:
    bookmarkSize
  Arguments:
    title: Specifies the title of the bookmark
    url:   Specifies the URL of the bookmark
  Output:
    none
  Example:
    <a href="#" onClick="bookmarkSite('Place Your Website Title Here', 'http://www.yourwebsite.com/'); return false;">Add to Favorites</a>
*/
function bookmarkSite(title, url) {
  if (document.all)
    window.external.AddFavorite(url, title);
  else if (window.sidebar)
    window.sidebar.addPanel(title, url, "");
}

/*
  Function:
    addStartPage
  Arguments:
    obj: The anchor object that is calling the function (keyword: this)
    url: Specifies the URL to set the homepage to
  Output:
    none
  Example:
    <a href="#" onClick="addStartPage(this, 'http://www.yourwebsite.com/'); return false;">Make Us Your Homepage</a>
*/
function addStartPage(obj, url) {
  if (document.all) {
    obj.style.behavior = 'url(#default#homepage)';
    obj.setHomePage(url);
  }
}
