//this draws the left side main menu
function drawLeftBar(){
document.writeln('<table class="clas1" width=740 border=0 cellspacing=0 height=600 cellpadding=0 bgcolor="#000066">');
document.writeln('<tr valign=top height=600>');
document.writeln('<td  width=110 >');

document.writeln('	<table border=0 bgcolor="" cellpadding=1 cellspacing=0 width=110 height=60 align=none>');
// this is empty spacer
document.writeln('	<tr><td height=10>&nbsp;</td></tr>');
document.writeln('	<tr height=20 valign=top>');
// go home jump link
//document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/index.htm" class="homeheader">HOME</A></td></tr>');
document.writeln('	<td height=10 align=left onmouseover="displaynone();"><A HREF="http://www.interenergysoftware.com/index.htm" class="homeheader">IES HOME</A></td></tr>');

document.writeln('	</tr>');
document.writeln('	<tr><td height=2>&nbsp;</td></tr>');

// this is line-spacer
//document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
//document.writeln('	<tr valign=top>');


document.writeln('	<td align=left onmouseover="displaynone();"><A class="whiteheader">Products:</A></td>');
document.writeln('	</tr>');
//document.writeln('	<tr><td height=2>&nbsp;</td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
// -----------------------------------sidebar------------------
// binmaker
document.writeln('	<td height=20 align=left class="sidelink" id="menu3" onmouseover="drawMenuBin();this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/binM/index.htm" class="sidelink">BinMaker</A></td>');
document.writeln('	</tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
//BEA
document.writeln('	<td height=20 align=left class="sidelink" id="menu4" onmouseover="drawMenuBEA();this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/BEA/BEAAbout.htm" class="sidelink">Building Energy Analyzer</A></td>');
//document.writeln('	<td height=10 align=left class="sidelink" id="menu4" onmouseover=" this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/BEA/index.htm" class="sidelink">Building Energy Analyzer</A></td>');
document.writeln('	</tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
//cascade
document.writeln('	<td height=20 align=left class="sidelink" id="menu5" onmouseover="drawMenuCAS();this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/CAS/CasAbout.htm" class="sidelink">CASCADE</A></td></tr>');
//document.writeln('	<td height=10 align=left class="sidelink" id="menu5" onmouseover=" this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/CASCADE/index.htm" class="sidelink">CASCADE</A></td></tr>');
document.writeln('	</tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
//desicalc
document.writeln('	<td height=20 class="sidelink" align=left id="menu2" onmouseover="drawMenuDes();this.bgColor=\'000099\';"><A HREF="http://www.interenergysoftware.com/desicalc/DesAbout.htm" class="sidelink">DesiCalc</A></td>');
document.writeln('	</tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
//d-gen PRO
document.writeln('	<td height=20 align=left class="sidelink" id="menu6" onmouseover="drawMenuDGP();this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/DGP/DGPAbout.htm" class="sidelink">DGen PRO</A></td></tr>');
//document.writeln('	<td height=10 align=left class="sidelink" id="menu5" onmouseover=" this.bgColor=\'000099\';" ><A HREF="http://www.interenergysoftware.com/CASCADE/index.htm" class="sidelink">CASCADE</A></td></tr>');
document.writeln('	</tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
// gcg
//document.writeln('	<tr><td height=20 class="sidelink" align=left id="menu1" onmouseover="drawMenuG();this.bgColor=\'000099\';"><A HREF="http://www.interenergysoftware.com/gascoolingguide/GasCoolingGuide.htm" class="sidelink">Gas Cooling Guide</A></td>');
//document.writeln('	</tr>');
//document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
//document.writeln('	<tr valign=top>');

//---------------------------- than spacer-----------
document.writeln('	<tr><td height=10>&nbsp;</td></tr>');
//---------------------------------------------------support menus------------------------
document.writeln('	<tr height=20 valign=center>');
document.writeln('	<td align=left onmouseover="displaynone();"><A class="whiteheader" onmouseover="displaynone();">Training:</A></td>');
document.writeln('	</tr>');

document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/binM/Support/BMPtraining.htm" class="training">BinMaker</A></td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/BEA/Support/BEAtraining.htm" class="training">Building Energy Analyzer</A></td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/CAS/Support/Castraining.htm" class="training">CASCADE</A></td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('   <tr valign=top>');
document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/desicalc/Support/Destraining.htm" class="training">DesiCalc</A></td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/DGP/Support/DGPtraining.htm" class="training">D-Gen PRO</A></td></tr>');
document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
document.writeln('	<tr valign=top>');
//document.writeln('	<td height=10 align=left onmouseover="this.bgColor=\'000099\';" onmouseout="this.bgColor=\'000066\';"><A HREF="http://www.interenergysoftware.com/gascoolingguide/Support/GCGtraining.htm" class="training">Gas Cooling Guide</A></td></tr>');
//document.writeln('	<tr valign=top><td height="1" bgcolor="0066FF"><spacer type="block" height="1"></td></tr>');
//document.writeln('	<tr valign=top>');

document.writeln('	</table>');
document.writeln('	</td>');
document.writeln('	<td>');

}
//this draws the banners
function drawBannerArea(){
document.writeln('<TABLE cellSpacing=1 cellPadding=0 width=740 bgColor=#000066 border=0>');
document.writeln('  <TBODY>');
 document.writeln(' <TR height=65>');
document.writeln('    <TD width=740 bgColor=#082984 colSpan=6 onmouseover="displaynone();"><a href="http://www.interenergysoftware.com/"><IMG height=65 alt=""  src="http://www.interenergysoftware.com/images/Banner.jpg" width=740 border=0></a></TD></TR>');
document.writeln('  <TR>');
document.writeln('    <TD colSpan=6 onmouseover="displaynone();"><IMG height=33 src="http://www.interenergysoftware.com/images/tubes_01.gif" width=740></TD></TR>');
document.writeln('  <TR vAlign=center height=5>');
  document.writeln('  <TD align=middle width=105 bgColor=#bfbfbf height=5><A class=toplink onmouseover="displaynone();" onmouseout=""  href="http://www.interenergysoftware.com/aboutus.htm">About Us</A></TD>');
  document.writeln('  <TD align=middle width=130 bgColor=#bfbfbf height=5><A class=toplink onmouseover="displaynone();" onmouseout=""      href="http://www.interenergysoftware.com/downloads.htm">Downloads</A></TD>');
document.writeln('<TD align=middle width=135 bgColor=#bfbfbf height=5><A class=toplink       onmouseover="displaynone();" onmouseout=""       href="http://www.interenergysoftware.com/guestbook/guestbook.htm">Guestbook</A></TD>');
document.writeln('<TD align=middle width=125 bgColor=#bfbfbf height=5><A class=toplink       onmouseover="drawMenuOrder();" href="http://www.interenergysoftware.com/orderproducts.htm">Order Products</A></TD>');
document.writeln('<TD align=middle width=95 bgColor=#bfbfbf height=5><A href="http://www.interenergysoftware.com/faqs.htm" class=toplink onmouseover="drawMenuFAQ();">FAQs</A></TD>');
 document.writeln('  <TD align=middle width=183 bgColor=#bfbfbf height=5><A class=toplink onmouseover="displaynone();" onmouseout=""  href="http://www.interenergysoftware.com"></A></TD>');
//document.writeln('<FORM action="" method=post>');
//document.writeln('<TD vAlign=center align=middle width=180 bgColor=#bfbfbf height=5><INPUT       onmouseover="" onfocus="" onmouseout="" size=10 name=search><INPUT type=submit size=5 value=search></TD></FORM></TR>');
document.writeln('<TR>');
document.writeln('<TD colSpan=6 onmouseover="displaynone();"><IMG height=26 src="http://www.interenergysoftware.com/images/tubes_03.gif"     width=740></TD></TR></TBODY></TABLE>');

}