<!-- Original:  Ronnie T. Moore -->
<!-- Web Site:  The JavaScript Source -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

function getCookieVal (offset)
{  
  var endstr = document.cookie.indexOf (";", offset);  
  if (endstr == -1)    
    endstr = document.cookie.length;  
  return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name)
{  
  var arg = name + "=";  
  var alen = arg.length;  
  var clen = document.cookie.length;  
  var i = 0; 
 
  while (i < clen)   
  {
    var j = i + alen;    
    if (document.cookie.substring(i, j) == arg)      
      return getCookieVal (j);    
    i = document.cookie.indexOf(" ", i) + 1;    
    if (i == 0) break;   
  }  

  return null;
}

function sayAcrobat()
{
  window.status="Download Adobe's free Acrobat Reader";
  return true;
}

function sayAD()
{
  window.status = 'Access Denied - a computer hacking card game';
  return true;
}

function sayADErrata()
{
  window.status = 'Clarifications for Access Denied';
  return true;
}

function sayAny(szText)
{
  window.status = szText;
  return true;
}

function sayCafe()
{
  window.status = 'Go to the CafePress web site to order stuff with the Interformic logo';
  return true;
}

function sayCards()
{
  window.status = 'Display a complete list of cards plus a few examples';
  return true;
}

function sayCCNow(szGame)
{
  window.status = 'Buy '+szGame+' using a major credit card';
  return true;
}

function sayClear()
{
  window.status = '';
  return true;
}

function sayComp()
{
  window.status = "A list of the game's components";
  return true;
}

function sayContact()
{
  window.status = 'Send us an email  -  Get our address  -  Join our mailing list';
  return true;
}

function sayDesc(szGame)
{
  window.status = 'A description of '+szGame;
  return true;
}

function sayForm()
{
  window.status = 'Use this form for mail in orders';
  return true;
}

function sayGames()
{
  window.status = 'Check out our games';
  return true;
}

function sayGRO()
{
  window.status = 'GRO: Battle for the Petri Dish - an abstract game of germ warfare';
  return true;
}

function sayGROErrata()
{
  window.status = 'Clarifications for GRO: Battle for the Petri Dish';
  return true;
}

function sayHome()
{
  window.status = 'Return to our home page';
  return true;
}

function sayKK()
{
  window.status = 'Kampf der Kulturen - German version of GRO: Battle for the Petri Dish';
  return true;
}

function sayLinks()
{
  window.status = 'Visit related sites';
  return true;
}

function sayMail()
{
  window.status = 'Send an e-mail to info@interformic.com';
  return true;
}

function sayMap()
{
  window.status='View the site map';
  return true;
}

function sayOrder(szGame)
{
  window.status = 'How to order '+szGame;
  return true;
}

function sayOWD()
{
  window.status = 'One World Dominion - an expansion for RISK';
  return true;
}

function sayOWDErrata()
{
  window.status = 'Clarifications for One World Dominion';
  return true;
}

function sayPAA()
{
  window.status = 'Plotted A & A - a free variant for Axis & Allies';
  return true;
}

function sayPDF()
{
  window.status='Download the rules in Portable Document Format (PDF)';
  return true;
}

function sayPPNA(szGame)
{
  window.status = 'Buy '+szGame+' using PayPal with shipping to North America';
  return true;
}

function sayPPIN(szGame)
{
  window.status = 'Buy '+szGame+' using PayPal with shipping outside of North America';
  return true;
}

function sayReviews(szGame)
{
  window.status = 'What folks are saying about '+szGame;
  return true;
}

function saySupport()
{
  window.status = 'Read errata and submit questions';
  return true;
}

function sayText()
{
  window.status = 'View card text';
  return true;
}

function sayTop()
{
  window.status = 'Return to the top';
  return true;
}

