function writeRight(RightTopName, RightTopArray, RightImage)
{
 document.writeln('<table cellpadding="0" cellspacing="0" class="RIGHT">');
 document.writeln('  <tr>');
 document.writeln('    <td  class="RIGHT1">');
 
 writeRightTop(RightTopName, RightTopArray, RightImage);

 document.writeln('    </td>');
 document.writeln('  </tr>');
 document.writeln('  <tr>');
 document.writeln('    <td  class="RIGHT1">&#160;</td>');
 document.writeln('  </tr>');
 document.writeln('  <tr>');
 document.writeln('    <td  class="RIGHT1">');
 
 writeRightBottom();

 document.writeln('    </td>');
 document.writeln('  </tr>');
 document.writeln('</table>');
}


function writeRightTop(RightTopName, RightTopArray, RightImage)
{
 if (RightTopArray)
 {
   document.writeln('<table cellpadding="0" cellspacing="0" class="RIGHTTOP">');

   if (RightTopName != null)
   {
     document.writeln('  <tr>');
     document.writeln('    <th class="RIGHTTOP">' + RightTopName + '</th>');
     document.writeln('  </tr>');
   }

   for (i=0; i<RightTopArray.length; i++)
   { 
     document.writeln('  <tr>');
     document.writeln('    <td class="RIGHTTOP">'); 
     document.writeln('      <a target="' + RightTopArray[i].Target + '" href="' + RightTopArray[i].href + '">' + RightTopArray[i].Name + '</a>');
     document.writeln('    </td>');
     document.writeln('  </tr>');
     document.writeln('  <tr>');
     document.writeln('    <td class="RIGHTTOP">'); 
     document.writeln('      <ul>');

     for (j=0; j<RightTopArray[i].Items.length; j++)
     { 
       document.writeln('        <li>' + RightTopArray[i].Items[j].Item + '</li>');
	 }

     document.writeln('      </ul>');
     document.writeln('    </td>');
     document.writeln('  </tr>');
   }

   if (RightImage != null)
   {
     document.writeln('  <tr>');
     document.writeln('    <td target="_blank" class="RIGHTTOP1"><a href="projectservices/embedded.htm"><img border="0" src="' + RightImage + '" width="91" height="59"></a><br>&#160;</td>');
     document.writeln('  </tr>');
   }
   
   document.writeln('</table>');
 }

}


function writeRightBottom()
{
 document.writeln('<table cellpadding="0" cellspacing="0" class="RIGHTBOTTOM">');
 document.writeln('  <tr>');
 document.writeln('    <th class="RIGHTBOTTOM">iAppliance Portal</th>');
 document.writeln('  </tr>');
 document.writeln('  <tr>');
 document.writeln('    <td class="RIGHTBOTTOM1">');
 document.writeln('      <a target="_blank" href="http://www.iapplianceweb.com">iApplianceWeb</a><br/>');
 document.writeln('    </td>');
 document.writeln('  </tr>');
 document.writeln('  <tr>');
 document.writeln('    <td class="RIGHTBOTTOM1">');
 document.writeln('      <a target="_blank" href="http://www.iappliancereview.com">iApplianceReview</a><br/>');
 document.writeln('      <a target="_blank" href="http://www.iappliancereview.com">');
 document.writeln('         <img border="0" src="images/iappliancereview.jpg" width="136" height="110"></a><br>&#160;');
 document.writeln('    </td>');
 document.writeln('  </tr>');
 document.writeln('</table>');
}


