/*	
	This function allows the client to bookmark the page by clicking on the linked text 
	based on the more popular browsers available.  If the browser doesn't support that JavaScript function,
	they are then prompted to follow their respective browser's help files.
*/
   var show_image;      // set to true to show IMG tag within A HREF, false for "Bookmark this page" text
   var href_contents;
   var img_tag = '<img src="../images/ofs_landing_page/icon_bookmark.jpg" width="28" height="20" alt="Bookmark this page" />';
   
   // adjust href contents
   href_contents = (show_image) ? img_tag : 'Bookmark this page';
   
	// check for Mozilla - add bookmark
	if (window.sidebar)
	{
      url = "javascript:window.alert(\"Please press CTRL-D to bookmark this page after you&rsquo;ve closed this message. Thank you.\")' onMouseOver='self.status=\"Add this page to your bookmarks\"; return true' onMouseOut='self.status=\"\"; return true;"
      
      msg = "<a href='" + url + "' rel=\"nofollow\">" + href_contents + "</a>";
      document.write(msg);
	}
	
	// check for IE - add Bookmark
	else if (document.all && !window.opera)
	{
      url = "javascript:window.external.AddFavorite(\""
		+location.href+"\",\""
		+document.title
		+"\")' onMouseOver='self.status=\"Add this page to your favorites\"; return true' onMouseOut='self.status=\"\"; return true"
      
      msg = "<a href='" + url + "' rel=\"nofollow\">" + href_contents + "</a>";
      document.write(msg);
	}
	
	// check for Opera - add bookmark	 
	else if(window.opera && window.print) 
	{
      url = location.href + "\" title=\"" + document.title + "\" rel=\"sidebar\" onMouseOver='self.status=\"Add this page to your bookmarks\"; return true' onMouseOut='self.status=\"\"; return true'";
      
      msg = "<a href=\"" + url + '" rel=\"nofollow\">' + href_contents + "</a>";
      document.write(msg);
	}
	
	else
   {
      url = "javascript:window.alert(\"Please press CTRL-D to bookmark this page after you&rsquo;ve closed this message. Thank you.\")' onMouseOver='self.status=\"Add this page to your bookmarks\"; return true' onMouseOut='self.status=\"\"; return true"
      
      msg = "<a href='" + url + "'>" + href_contents + "</a>";
      document.write(msg);
   }
