function bookmark() { if ((navigator.platform!="MacPPC") && (navigator.appName=="Microsoft Internet Explorer") && (navigator.appVersion>="4")) { window.external.AddFavorite(location.href, document.title); } else { alert ("Press CTRL + D to Bookmark this page"); } } function replace(string,text,by) { var i = string.indexOf(text); var newstr = ""; if ((!i) || (i == -1)) return string; newstr += string.substring(0,i) + by; if (i+text.length < string.length) newstr += replace(string.substring(i+text.length,string.length),text,by); return newstr; } function OpenSendWindow(){ var currentpath = self.location.href; currentpath = replace(currentpath, "&", "|"); window.open("http://galileosm.galileosolutions.net/galileosm/tools/send.asp?lang=en&path="+currentpath, "SendPageWindow", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=700,height=600"); } var currentpath = self.location.href; var Title = document.title; function GetLinkPath(ElementID){ var LinkAnchor = ""+Title+""; document.getElementById(ElementID).value=LinkAnchor; }