// footer1.js
// Page footer component
// Utilizes Menu1_selected and Menu2_selected values defined in main page to generate menu links.

document.write("<TABLE BORDER='0' CELLSPACING='0' CELLPADDING='0' WIDTH='100%'>");
document.write("<TR><TD><IMG SRC='graf/transpel.gif' WIDTH='1' HEIGHT='10'></TD></TR>");
document.write("<TR><TD HEIGHT='1' BGCOLOR='#777799'><IMG SRC='graf/transpel.gif' WIDTH='1' HEIGHT='1'></TD></TR>");
document.write("<TR>");
document.write("<TD BGCOLOR='#CCDDFF' CLASS='smallgraytext' ALIGN='CENTER'>");

if (Menu1_selected == 'welcome') {
  document.write("<B>Welcome</B>[");
  if (Menu2_selected == 'pageone') {
    document.write("<FONT CLASS='yellowhilite'>Page One</FONT>");
  } else {
    document.write("<A HREF='http://www.xilo.com/'>Page One</A>");
  }
  document.write("|");
  if (Menu2_selected == 'login') {
    document.write("<FONT CLASS='yellowhilite'>Log in</FONT>");
  } else {
    document.write("<A HREF='access.htm'>Log in</A>");
  }
  document.write("|");
  if (Menu2_selected == 'news') {
    document.write("<FONT CLASS='yellowhilite'>News</FONT>");
  } else {
    document.write("<A HREF='news.htm'>News</A>");
  }
  document.write("|");
  if (Menu2_selected == 'contact') {
    document.write("<FONT CLASS='yellowhilite'>Contact</FONT>");
  } else {
    document.write("<A HREF='contact.htm'>Contact</A>");
  }
  document.write("]");
} else {
  document.write("<A HREF='http://www.xilo.com/'><B>Welcome</B></A>[]");
}

document.write("&nbsp;&nbsp;");

if (Menu1_selected == "solutions") {
  document.write("<B>Solutions</B>[");
  if (Menu2_selected == 'summary') {
    document.write("<FONT CLASS='yellowhilite'>Summary</FONT>");
  } else {
    document.write("<A HREF='solutionsummary.htm'>Summary</A>");
  }
  document.write("|");
  if (Menu2_selected == 'icharge') {
    document.write("<FONT CLASS='yellowhilite'>Internet</FONT>");
  } else {
    document.write("<A HREF='icharge.htm'>Internet</A>");
  }
  document.write("|");
  if (Menu2_selected == 'mobile') {
    document.write("<FONT CLASS='yellowhilite'>Mobile</FONT>");
  } else {
    document.write("<A HREF='ic4ip.htm'>Mobile</A>");
  }
  document.write("|");
  if (Menu2_selected == 'software') {
    document.write("<FONT CLASS='yellowhilite'>Software</FONT>");
  } else {
    document.write("<A HREF='software.xilo'>Software</A>");
  }
  document.write("]");
} else {
  document.write("<A HREF='../solutionsummary.htm'><B>Solutions</B></A>[]");
}

document.write("&nbsp;&nbsp;");

if (Menu1_selected == "support") {
  document.write("<B>Support</B>[");
  if (Menu2_selected == 'help') {
    document.write("<FONT CLASS='yellowhilite'>Help</FONT>");
  } else {
    document.write("<A HREF='help.htm'>Help</A>");
  }
  document.write("|");
  if (Menu2_selected == 'accounts') {
    document.write("<FONT CLASS='yellowhilite'>Accounts</FONT>");
  } else {
    document.write("<A HREF='accounts.htm'>Accounts</A>");
  }
  document.write("|");
  if (Menu2_selected == 'forum') {
    document.write("<FONT CLASS='yellowhilite'>Forum</FONT>");
  } else {
    document.write("<A HREF='forum.htm'>Forum</A>");
  }
  document.write("|");
  if (Menu2_selected == 'faq') {
    document.write("<FONT CLASS='yellowhilite'>FAQ</FONT>");
  } else {
    document.write("<A HREF='faq.htm'>FAQ</A>");
  }
  document.write("]");
} else {
  document.write("<A HREF='../help.htm'><B>Support</B></A>[]");
}

document.write("&nbsp;&nbsp;");

if (Menu1_selected == "merchants") {
  document.write("<B>Merchants</B>[");
  if (Menu2_selected == 'merchantaccount') {
    document.write("<FONT CLASS='yellowhilite'>Merchant Account</FONT>");
  } else {
    document.write("<A HREF='merchantaccount.htm'>Merchant Account</A>");
  }
  document.write("|");
  if (Menu2_selected == 'merchantguide') {
    document.write("<FONT CLASS='yellowhilite'>Merchant Guide</FONT>");
  } else {
    document.write("<A HREF='merchantguide.htm'>Merchant Guide</A>");
  }
  document.write("|");
  if (Menu2_selected == 'merchantsites') {
    document.write("<FONT CLASS='yellowhilite'>Merchant Sites</FONT>");
  } else {
    document.write("<A HREF='merchantsites.htm'>Merchant Sites</A>");
  }
  document.write("|");
  if (Menu2_selected == 'developers') {
    document.write("<FONT CLASS='yellowhilite'>Developers</FONT>");
  } else {
    document.write("<A HREF='developers.htm'>Developers</A>");
  }
  document.write("]");
} else {
  document.write("<A HREF='../merchantaccount.htm'><B>Merchants</B></A>[]");
}

document.write("&nbsp;&nbsp;");

if (Menu1_selected == "affiliates") {
  document.write("<B>Affiliates</B>[");
  if (Menu2_selected == 'affiliateprogram') {
    document.write("<FONT CLASS='yellowhilite'>Affiliate Program</FONT>");
  } else {
    document.write("<A HREF='affiliateprogram.htm'>Affiliate Program</A>");
  }
  document.write("|");
  if (Menu2_selected == 'cams') {
    document.write("<FONT CLASS='yellowhilite'>CAMS</FONT>");
  } else {
    document.write("<A HREF='cams.htm'>CAMS</A>");
  }
  document.write("|");
  if (Menu2_selected == 'affiliatesignup') {
    document.write("<FONT CLASS='yellowhilite'>Affiliate Signup</FONT>");
  } else {
    document.write("<A HREF='affiliatesignup.htm'>Affiliate Signup</A>");
  }
  document.write("]");
} else {
  document.write("<A HREF='../affiliateprogram.htm'><B>Affiliates</B></A>[]");
}

document.write("<BR>");

document.write("Xilo Online Pty. Ltd.");
document.write(" | ");
document.write("<A HREF='http://www.xilo.com/'>www.xilo.com</A>");
document.write(" | ");
document.write("<a href='javascript:draw(\"15221 17472 16628 7559 10292 11129 16628 7559 18884 24310 19881 18884 15221\",25159,17743)' onMouseOver='self.status=\"\"; return true;' onMouseOut='self.status=\" \"; return true;'>");
shine("15221 17472 16628 7559 10292 11129 16628 7559 18884 24310 19881 18884 15221",25159,17743);
document.write("</a>");
document.write(" | ");
document.write("Phone 1300 668 462");
document.write(" | ");
document.write("Fax +61 3 8610 0362");

document.write("</TD>");
document.write("</TR>");
document.write("<TR><TD HEIGHT='1' BGCOLOR='#CCDDFF'><IMG SRC='graf/transpel.gif' WIDTH='1' HEIGHT='2'></TD></TR>");
document.write("</TABLE>");

