function listhead(itemvalue)
{
document.write ("<table width=\"884\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">");
document.write ("  <tr> ");
document.write ("    <td width=\"20\">&nbsp;</td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"17\"></td>");
document.write ("    <td>&nbsp;</td>");
document.write ("    <td>&nbsp;</td>");
document.write ("    <td width=\"20\">&nbsp;</td>");
document.write ("  </tr>");
document.write ("  <tr>");
document.write ("    <td>&nbsp;</td>");
document.write ("    <td width=\"249\"><img src=\"images/logo.gif\" width=\"249\" height=\"217\"></td>");
document.write ("    <td width=\"14\">&nbsp;</td>");
document.write ("    <td valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write ("        <tr>");
document.write ("          <td width=\"4\"><img src=\"images/line_1.gif\" width=\"4\" height=\"75\"></td>");
if (itemvalue=="1")
document.write ("          <td valign=\"bottom\"><img src=\"images/item12.gif\" width=\"109\" height=\"75\" name=\"item1\" style=\"cursor:hand\" onClick=\"javascript:window.location.href='index.htm'\" alt=\"HOME PAGE\"></td>")
else
document.write ("          <td valign=\"bottom\"><img src=\"images/item11.gif\" width=\"109\" height=\"75\" name=\"item1\" style=\"cursor:hand\" onmouseover=\"item1.src='images/item12.gif'\" onmouseout=\"item1.src='images/item11.gif'\" onClick=\"javascript:window.location.href='index.htm'\" alt=\"HOME PAGE\"></td>");

document.write ("          <td width=\"7\"><img src=\"images/line_2.gif\" width=\"7\" height=\"75\"></td>");

if (itemvalue=="2")
document.write ("          <td valign=\"bottom\"><img src=\"images/item22.gif\" width=\"109\" height=\"75\" name=\"item2\" style=\"cursor:hand\" onClick=\"javascript:window.location.href='aboutus.htm'\" alt=\"ABOUT US\"></td>")
else
document.write ("          <td valign=\"bottom\"><img src=\"images/item21.gif\" width=\"109\" height=\"75\" name=\"item2\" style=\"cursor:hand\" onmouseover=\"item2.src='images/item22.gif'\" onmouseout=\"item2.src='images/item21.gif'\" onClick=\"javascript:window.location.href='aboutus.htm'\" alt=\"ABOUT US\"></td>");

document.write ("          <td width=\"7\"><img src=\"images/line_2.gif\" width=\"7\" height=\"75\"></td>");

if (itemvalue=="3")
document.write ("          <td valign=\"bottom\"><img src=\"images/item32.gif\" width=\"109\" height=\"75\" name=\"item3\" style=\"cursor:hand\" onClick=\"javascript:window.location.href='products.htm'\" alt=\"PRODUCTS\"></td>")
else
document.write ("          <td valign=\"bottom\"><img src=\"images/item31.gif\" width=\"109\" height=\"75\" name=\"item3\" style=\"cursor:hand\" onmouseover=\"item3.src='images/item32.gif'\" onmouseout=\"item3.src='images/item31.gif'\" onClick=\"javascript:window.location.href='products.htm'\" alt=\"PRODUCTS\"></td>");

document.write ("          <td width=\"7\"><img src=\"images/line_2.gif\" width=\"7\" height=\"75\"></td>");

if (itemvalue=="4")
document.write ("          <td valign=\"bottom\"><img src=\"images/item42.gif\" width=\"109\" height=\"75\" name=\"item4\" style=\"cursor:hand\" onClick=\"javascript:window.location.href='support.htm'\" alt=\"SUPPORT\"></td>")
else
document.write ("          <td valign=\"bottom\"><img src=\"images/item41.gif\" width=\"109\" height=\"75\" name=\"item4\" style=\"cursor:hand\" onmouseover=\"item4.src='images/item42.gif'\" onmouseout=\"item4.src='images/item41.gif'\" onClick=\"javascript:window.location.href='support.htm'\" alt=\"SUPPORT\"></td>");

document.write ("          <td width=\"7\"><img src=\"images/line_2.gif\" width=\"7\" height=\"75\"></td>");

if (itemvalue=="5")
document.write ("          <td valign=\"bottom\"><img src=\"images/item52.gif\" width=\"110\" height=\"75\" name=\"item5\" style=\"cursor:hand\" onClick=\"javascript:window.location.href='contactus.htm'\" alt=\"CONTACT US\"></td>")
else
document.write ("          <td valign=\"bottom\"><img src=\"images/item51.gif\" width=\"110\" height=\"75\" name=\"item5\" style=\"cursor:hand\" onmouseover=\"item5.src='images/item52.gif'\" onmouseout=\"item5.src='images/item51.gif'\" onClick=\"javascript:window.location.href='contactus.htm'\" alt=\"CONTACT US\"></td>");

document.write ("        </tr>");
document.write ("      </table>");
document.write ("      <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write ("        <tr>");
document.write ("          <td><img src=\"images/gif.gif\" width=\"6\" height=\"7\"></td>");
document.write ("        </tr>");
//document.write ("        <tr>");
//document.write ("          <td><img src=\"images/ad.gif\" width=\"580\" height=\"135\"></td>");
//document.write ("        </tr>");
document.write ("      </table>");
document.write ("      <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#000000\">");
document.write ("        <tr>");

if (itemvalue!="5")
{
document.write ("          <td width=\"406\"><img src=\"images/ad1.gif\" height=\"135\"></td>");
document.write ("          <td width=\"108\" align=\"center\" valign=\"middle\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"108\" height=\"130\">");
document.write ("              <param name=\"movie\" value=\"images/adorg.swf\">");
document.write ("              <param name=\"quality\" value=\"high\">");
document.write ("              <embed src=\"images/adorg.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"108\" height=\"130\"></embed></object></td>");
document.write ("          <td><img src=\"images/ad3.gif\" height=\"135\"></td>");
}
else
{
document.write ("          <td ><img src=\"images/ad11.gif\" height=\"135\"></td>");
document.write ("          <td width=\"108\" align=\"center\" valign=\"middle\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"108\" height=\"130\">");
document.write ("              <param name=\"movie\" value=\"images/adorg.swf\">");
document.write ("              <param name=\"quality\" value=\"high\">");
document.write ("              <embed src=\"images/adorg.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"108\" height=\"130\"></embed></object></td>");
document.write ("          <td><img src=\"images/ad31.gif\" height=\"135\"></td>");
}
document.write ("        </tr>");
	  
document.write ("      </table></td>");
document.write ("    <td>&nbsp;</td>");
document.write ("  </tr>");
document.write ("  <tr> ");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"7\"></td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"13\"></td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"7\"></td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"7\"></td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"7\"></td>");
document.write ("  </tr>");
document.write ("</table>");
}

function listbottom()
{
document.write ("<table width=\"884\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">");
document.write ("  <tr> ");
document.write ("    <td width=\"20\">&nbsp;</td>");
document.write ("    <td width=\"263\" height=\"60\" align=\"center\" bgcolor=\"#9E9E9E\"><font color=\"#FFFFFF\">copyright &copy; 2009. Live-Presence.com LLC. <br>All rights reserved.</font></td>");
document.write ("    <td width=\"2\"><img src=\"images/gif.gif\" width=\"2\" height=\"7\"></td>");
document.write ("    <td align=\"center\" bgcolor=\"#E4E4E4\"><strong><a href=\"index.htm\">HOME PAGE</a></strong> &nbsp;|&nbsp; <strong><a href=\"aboutus.htm\">ABOUT US</a></strong> &nbsp;|&nbsp; <strong><a href=\"products.htm\">PRODUCTS</a></strong> &nbsp;|&nbsp; <strong><a href=\"support.htm\">SUPPORT</a></strong> &nbsp;|&nbsp; <strong><a href=\"contactus.htm\">CONTACT US</a></strong></td>");
document.write ("    <td width=\"20\">&nbsp;</td>");
document.write ("  </tr>");
document.write ("  <tr> ");
document.write ("    <td>&nbsp;</td>");
document.write ("    <td><img src=\"images/gif.gif\" width=\"6\" height=\"17\"></td>");
document.write ("    <td width=\"2\">&nbsp;</td>");
document.write ("    <td>&nbsp;</td>");
document.write ("    <td>&nbsp;</td>");
document.write ("  </tr>");
document.write ("</table>");
}