 function addToFavorites()
   {
   if (window.external)
     {
     window.external.addFavorite(getLocation(), getTitle());
     }
   else
     {
     window.alert("To bookmark this site press CTRL + D");
     }
   window.open('/epcs/AddToFavorites.html','ThankYouWindow','width=298,height=200,scrollbars=no,menubar=no,resizable=yes');
   }
 function sendToFriend()
   {
   window.open('/epcs/SendToFriend.html','SendToFriend','width=300,height=350,scrollbars=no,menubar=no,resizable=yes');
   }
 function getTitle()
   {
   currentWindow = this.window;
   currentWindow = currentWindow.top;
   while (currentWindow.parent && currentWindow.parent != currentWindow)
     { currentWindow = currentWindow.parent; }
   return (currentWindow.document.title);
   }
 function getLocation()
   {
   currentWindow = this.window;
   currentWindow = currentWindow.top;
   while (currentWindow.parent && currentWindow.parent != currentWindow)
     { currentWindow = currentWindow.parent; }
   return (currentWindow.location.href);
   }
