 function addToFavorites()
   {
   if ((window.external) && (navigator.appName=="Microsoft Internet Explorer"))
     {
     window.external.addFavorite(getLocation(), getTitle());
     }
   else if (window.sidebar)
     {
     window.sidebar.addPanel(getTitle(),getLocation(),"");
     }
   else
     {
     window.alert("Your browser does not support automatic bookmark addition. Please manually add a bookmark to this site.");
     }
   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);
   }

