var EnableWebMap = false;

function writeLeft(LeftTopName, LeftTopArray, LeftBottomName, LeftBottomArray)
{
 document.writeln('<table cellpadding="0" cellspacing="0" class="LEFT">');

 if (LeftTopArray)
 {
   document.writeln('  <tr>');
   document.writeln('    <td  class="LEFT1">');
 
   writeLeftTop(LeftTopName, LeftTopArray);

   document.writeln('    </td>');
   document.writeln('  </tr>');
   document.writeln('  <tr>');
   document.writeln('    <td  class="LEFT1">&#160;</td>');
   document.writeln('  </tr>');
 }
 
 if (LeftBottomArray)
 {
   document.writeln('  <tr>');
   document.writeln('    <td  class="LEFT1">');
 
   writeLeftBottom(LeftBottomName, LeftBottomArray);

   document.writeln('    </td>');
   document.writeln('  </tr>');
   document.writeln('  <tr>');
   document.writeln('    <td  class="LEFT1">&#160;</td>');
   document.writeln('  </tr>');
 }
 
 document.writeln('  <tr>');
 document.writeln('    <td  class="LEFT1">');
 
 writeAppLab();

 document.writeln('    </td>');
 document.writeln('  </tr>');
 document.writeln('</table>');
}


function writeLeftTop(LeftTopName, LeftTopArray)
{
 if (LeftTopArray)
 {
   document.writeln('<table class="LEFTTOP" cellpadding="0" cellspacing="0">');
   document.writeln('  <tr>');
   document.writeln('    <th class="LEFTTOP1">' + LeftTopName + '</th>');
   document.writeln('  </tr>');

   for (i=0; i<LeftTopArray.length; i++)
   { 
     document.writeln('  <tr>');
     document.writeln('    <td class="LEFTTOP">');
     document.writeln('      <a target="' + LeftTopArray[i].Target + '" href="' + LeftTopArray[i].href + '">' + LeftTopArray[i].Item + '</a>&#160;');
     document.writeln('    </td>');
     document.writeln('  </tr>');
   }

   document.writeln('</table>');
 }

}


function writeLeftBottom(LeftBottomName, LeftBottomArray)
{
 if (LeftBottomArray)
 {
   document.writeln('<table cellpadding="0" cellspacing="0" class="LEFTBOTTOM">');

   if (LeftBottomName != null)
   {
     document.writeln('  <tr>');
     document.writeln('    <th class="LEFTBOTTOM">' + LeftBottomName + '</th>');
     document.writeln('  </tr>');
   }

   for (i=0; i<LeftBottomArray.length; i++)
   { 
     document.writeln('  <tr>');
     document.writeln('    <td class="LEFTBOTTOM">');
     document.writeln('      <a target="' + LeftBottomArray[i].Target + '" href="' + LeftBottomArray[i].href + '">' + LeftBottomArray[i].Name + '</a>');
     document.writeln('    </td>');
     document.writeln('  </tr>');
     document.writeln('  <tr>');
     document.writeln('    <td class="LEFTBOTTOM">');
     document.writeln('      <ul>');

     for (j=0; j<LeftBottomArray[i].Items.length; j++)
     { 
       document.writeln('        <li>' + LeftBottomArray[i].Items[j].Item + '</li>');
	 }

     document.writeln('      </ul>');
     document.writeln('    </td>');
     document.writeln('  </tr>');
   }

   document.writeln('  <tr>');
   document.writeln('    <td class="LEFTBOTTOM1"><img border="0" src="images/networking.gif" width="86" height="80"><br>&#160;</td>');
   document.writeln('  </tr>');
   document.writeln('</table>');
 }

}

function writeAppLab()
{
  document.writeln('<table cellpadding="0" cellspacing="0" class="LEFTBOTTOM">');
  document.writeln('  <tr>');
  document.writeln('    <th class="LEFTBOTTOM">App-Lab</th>');
  document.writeln('  </tr>');
  document.writeln('  <tr>');
  document.writeln('    <td class="LEFTBOTTOM">');
  document.writeln('      <a href="company.htm">Company Info</a>');
  document.writeln('    </td>');
  document.writeln('  </tr>');
  document.writeln('  <tr>');
  document.writeln('    <td class="LEFTBOTTOM">');
  document.writeln('      <a href="contactus.htm">Contact Us</a>');
  document.writeln('    </td>');
  document.writeln('  </tr>');
  document.writeln('  <tr>');
  document.writeln('    <td class="LEFTBOTTOM">&#160;</td>');
  document.writeln('  </tr>');
  document.writeln('  <tr>');
  document.writeln('    <td class="LEFTBOTTOM1"><a href="startpage.htm"><img border="0" src="images/applab2.gif" /></a></td>');
  document.writeln('  </tr>');
  document.writeln('  <tr>');
  document.writeln('    <td class="LEFTBOTTOM">&#160;</td>');
  document.writeln('  </tr>');
  document.writeln('</table>');
}



