<!-- 
   // Hide script from older browsers 
   // var urlAddress = '<?php echo $rooturl ?>';
   // var pageName = 'Forrest T Jones'; 

   // This function will attempt to bookmark the site.
   // In the event that it cannot bookmark it, it will 
   // tell the user to bookmark the site manually 
   // through the browser.
   function addToFavorites() 
   { 
      // grab a few browser types
      var ua = navigator.userAgent.toLowerCase();
      var isKonq=(ua.indexOf('konqueror')!=-1);
      var isSafari=(ua.indexOf('webkit')!=-1);
      var isMac=(ua.indexOf('mac')!=-1);
      var buttonStr=isMac?'Command/Cmd':'CTRL';
      
      if (window.external && 
               ( !document.createTextNode || 
                  (typeof( window.external.AddFavorite) == 'unknown' ) ) ) // IE
      {
         window.external.AddFavorite(urlAddress,pageName);
      } 
      else if (isKonq)  // Konqueror
      {
         alert( 'You need to press Ctrl + B to bookmark our site.' );
      }
      else if (window.home || isSafari)   // Netscape, Savari, iCab
      {
         alert( 'You need to press '+buttonStr+' + D to bookmark our site.' );
      }
      else 
      { 
         alert("Please bookmark our site manually through your browser."); 
      } 
   }
   
	function mailThisUrl(query_string) {
		u = window.location;
		m = "FTJ Webpage";
		if( query_string!="" ){
		   u += "?"+query_string;
		}
		murl = "mailto:?subject="+escape(m)+"&body="+escape(u);
	    window.location = murl;
	}
	function mailUrl(s, b) {
		if ( b == "") {
			b = window.location;
		}
		murl = "mailto:?subject="+escape(s)+"&body="+escape(b);
	    window.location = murl;
	}
// -->
