
var amUrl1 = "http://www.ameridum.com/home/";
var amUrl2 = "http://www.ameridum.com/";

function printFooter()
{
    document.write("<table width='100%'><tr><td class='footerLinks'>");
    document.write("<a href='" + amUrl2 +"deals'>deals</a>&nbsp&nbsp");
    document.write("<a href='" + amUrl2 +"chat'>chat now</a>&nbsp&nbsp");
    document.write("<a href='" + amUrl1 +"contact'>contact</a>&nbsp&nbsp");
    document.write("<a href='" + amUrl1 +"code'>ajax</a>&nbsp&nbsp");
    document.write("</td></tr>");
    document.write("<tr><td class='footerCopyR'>");
    document.write("Ameridum Software 2006-2011");
    document.write("</td></tr><table>");
     
}

function printBanner()
{
   // print banner
   document.write('<div id="banner">');
   document.write('<form method="get" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px;   PADDING-BOTTOM:1pt; MARGIN: 0px; PADDING-TOP: 0px"');
 document.write(' action="http://www.google.com/search" target=_new>');
  document.write('<table border="0" cellpadding="0" cellspacing="0">');
 document.write('<tr>');
 document.write("<td align='left' width='70%'><img src='" + amUrl1 +
  "resources/pics/ambanner.gif' width='400' height='80' border='0'></td>");
 document.write(' <td width="30%">'); 

 document.write(' <table><tr>');
 document.write('    <td align="right"><input type="text" name="q" size="20" maxlength="255" value="" />');
  document.write('    <input type="submit"  style="font-size:75%" value="Google Search" /></td></tr>');
  document.write('    <tr><td align="right" style="font-size:75%">');
  document.write('    only search Ameridum.com<input type="checkbox"  name="sitesearch"');
  document.write('    value="ameridum.com" />');
  document.write('    </tr>');
  document.write(' </table>'); 
  document.write('</td>');
  document.write('</tr></table>');
  document.write('</form>');
  document.write('</div>');
}
function printMenu()
{
  // print menu  
document.write('<div id="navcontainer">');
document.write('<ul id="navlist">');

document.write("<li><a href='" +
  amUrl2 + "'>Home</a></li>");
document.write("<li><a href='" +
  amUrl2 + "chat/amWeb/login.aspx?ctype=bxx' target='new'>chat now!</a></li>");
document.write("<li><a href='" +
  amUrl1 + "code/'>ajax</a></li>");
document.write("<li><a href='" +
  amUrl1 + "contact/'>contact</a></li>");
document.write("<li><a href='" +
  amUrl2 + "deals/'>deals</a></li>");
 
document.write('</div>');
}
function showPage(pageURL)
{
   objFrame = document.getElementById("mainFrame");
   objFrame.src = pageURL;      
   objFrame.style.visibility="visible";
   objFrame.style.display="block";

   objHome = document.getElementById("home");
   objHome.style.visibility="hidden";
   objHome.style.display="none";

}
function goHome()
{
  objFrame = document.getElementById("mainFrame");
  objFrame.style.visibility="hidden";
  objFrame.style.display="none";

  objHome = document.getElementById("home");
  objHome.style.visibility="visible";
  objHome.style.display="block";
}






