// If it's Internet Explorer, use automatic link
// Be sure to change the "http://www.YourWebSiteHere.com\"
// to the URL you want them to bookmark.
$(document).ready(function() {
var mozilla   = $.browser.mozilla;   // Mozilla
var msie      = $.browser.msie;      // Internet Explorer Win / Mac
	
if(msie){
		$("#homepage").html('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.misgav.org.il\');" title="לחץ כאן בכדי להפוך לעמוד הבית"><font size="5" color=6699FF face=arial><B><IMG SRC="sites/misgav/_media/site/homepage.gif" border=0 alt="לחץ כאן בכדי להפוך לעמוד הבית"></B></font></a>');
}

// If it's Netscape 6, tell user to drag link onto Home button
// Be sure to change the "http://www.YourWebSiteHere.com\"
// to the URL you want them to bookmark.
else if (mozilla){
		$("#homepage").html('<a href="http://www.misgav.org.il" title="משוך תמונה זו לאייקון עמוד הבית בכדי להפוך לעמוד הבית"><IMG SRC="sites/misgav/_media/site/homepage.gif" border=0 alt="משוך תמונה זו לאייקון עמוד הבית בכדי להפוך עמוד זה לעמוד הבית"></a>');
}

// If it's any other browser, for which I don't know the specifications of home paging, display instructions
else {
  $("#homepage").html('<b>Make this site your home page:</b><br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.');
}
});