function showbanner(){
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("  <tr>");
document.write("    <td><div align='center'>");
document.write("      <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='814' height='311'>");
document.write("        <param name='movie' value='Banner_new.swf'>");
document.write("        <param name='quality' value='high'>");
document.write("        <embed src='Banner.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='814' height='311'></embed>");
document.write("      </object>");
document.write("    </div></td>");
document.write("  </tr>");
document.write("</table>");
}
function showbannerpic1(){
document.write(" <img src='images/avi_pic1.jpg' width='814' height='215' border='0'>");
}
function footer(){
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("        <tr>");
document.write("          <td height='10' colspan='4'><img src='images/avi_content_bottom.jpg' width='814' height='10'></td>");
document.write("          </tr>");
document.write("       <tr>");
document.write("          <td><img src='images/avi_footer_left_bg.gif' width='20' height='49'></td>");
document.write("          <td width='525' background='images/avi_footer_left_bg1.gif' class='footer1'>All Rights Reserved. 2009. &nbsp;Avi-Tech Electronics</td>");
document.write("          <td width='252' background='images/avi_footer_right_bg1.jpg' class='footer2'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='payment.html' '_self'><img src='images/card_footer.jpg' width='100' height='45' border='0'></a></td>");
document.write("          <td><img src='images/avi_footer_right_bg.gif' width='20' height='49'></td>");
document.write("        </tr>");
document.write("      </table>");
}
function mmLoadMenus() {
  if (window.aboutus) return;
  window.aboutus = new Menu("root",158,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",5,0,1000,-5,7,true,true,true,0,true,true);
  aboutus.addMenuItem("Corporate&nbsp;profile","window.open('corporate_profile.html', '_self');");
  aboutus.addMenuItem("Vision,&nbsp;mission&nbsp;and&nbsp;values","window.open('vision_mission.html', '_self');");
  aboutus.addMenuItem("History/&nbsp;milestones","window.open('history_milestones.html', '_self');");
  aboutus.addMenuItem("Board&nbsp;of&nbsp;Directors","window.open('boardofdirectors.html', '_self');");
aboutus.addMenuItem("Executive&nbsp;Officers","window.open('executiveofficers.html', '_self');");
  aboutus.addMenuItem("Awards&nbsp;and&nbsp;achievements","window.open('awards_and_achievements.html', '_self');");
   aboutus.hideOnMouseOut=true;
   aboutus.menuBorder=0;
   aboutus.menuLiteBgColor='#ffffff';
   aboutus.menuBorderBgColor='#ffffff';
   aboutus.bgColor='#ffffff';
  window.ourbusiness = new Menu("root",158,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",5,0,1000,-5,7,true,true,true,0,true,true);
  ourbusiness.addMenuItem("Our&nbsp;services","window.open('our_services.html', '_self');");
  //ourbusiness.addMenuItem("Our&nbsp;major&nbsp;customers","window.open('our_major_customers.html', '_self');");
  ourbusiness.addMenuItem("Our&nbsp;market&nbsp;presence","window.open('our_market_presence.html', '_self');");
  ourbusiness.addMenuItem("Our&nbsp;production&nbsp;facilitates","window.open('our_production.html', '_self');");
  ourbusiness.addMenuItem("Our&nbsp;competitive&nbsp;strengths&nbsp;","window.open('our_competitive_strengths.html', '_self');");
  ourbusiness.addMenuItem("Our&nbsp;future&nbsp;plans","window.open('our_future_plans.html', '_self');");
   ourbusiness.hideOnMouseOut=true;
   ourbusiness.menuBorder=0;
   ourbusiness.menuLiteBgColor='#ffffff';
   ourbusiness.menuBorderBgColor='#ffffff';
   ourbusiness.bgColor='#ffffff';
/*  window.ourmarkets = new Menu("root",84,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",5,0,1000,-5,7,true,true,true,0,true,true);
  ourmarkets.addMenuItem("Singapore","window.open('singapore.html', '_self');");
  ourmarkets.addMenuItem("Malaysia","window.open('malaysia.html', '_self');");
  ourmarkets.addMenuItem("Taiwan","window.open('taiwan.html', '_self');");
  ourmarkets.addMenuItem("PRC","window.open('prc.html', '_self');");
  ourmarkets.addMenuItem("Thailand","window.open('thailand.html', '_self');");
  ourmarkets.addMenuItem("The&nbsp;Philippines","window.open('the_philippines.html', '_self');");
  ourmarkets.addMenuItem("USA","window.open('usa.html', '_self');");
  ourmarkets.addMenuItem("Europe","window.open('europe.html', '_self');");
   ourmarkets.hideOnMouseOut=true;
   ourmarkets.menuBorder=0;
   ourmarkets.menuLiteBgColor='#ffffff';
   ourmarkets.menuBorderBgColor='#ffffff';
   ourmarkets.bgColor='#ffffff';*/
  window.investor = new Menu("root",158,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  //investor.addMenuItem("Corporate&nbsp;information","window.open('corporate_information.html', '_self');");
  investor.addMenuItem("Financial&nbsp;information","window.open('financial_information.html', '_self');");
  investor.addMenuItem("Stock&nbsp;information","window.open('stock_information.html', '_self');");
  investor.addMenuItem("Research&nbsp;Reports","window.open('research.html', '_self');");
  investor.addMenuItem("Newsroom","window.open('ir_newsroom.html', '_self');");
  investor.addMenuItem("Webcast&nbsp;/&nbsp;Presentation&nbsp;Slides","window.open('webbcast_presentation_slides.html', '_self');");
  investor.addMenuItem("Corporate Factsheet","window.open('factsheet.html', '_self');");
  investor.addMenuItem("Information&nbsp;request","window.open('information_request.html', '_self');");
   investor.hideOnMouseOut=true;
   investor.menuBorder=0;
   investor.menuLiteBgColor='#ffffff';
   investor.menuBorderBgColor='#ffffff';
   investor.bgColor='#ffffff';
/*  window.career = new Menu("root",116,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",5,0,1000,-5,7,true,true,true,0,true,true);
  career.addMenuItem("Positions&nbsp;available","window.open('positions_available.html', '_self');");
  career.addMenuItem("Career&nbsp;developments","window.open('career_developments.html', '_self');");
  career.addMenuItem("Benefits&nbsp;","window.open('benefits.html', '_self');");
   career.hideOnMouseOut=true;
   career.menuBorder=0;
   career.menuLiteBgColor='#ffffff';
   career.menuBorderBgColor='#ffffff';
   career.bgColor='#ffffff';*/
  window.newsroom = new Menu("root",158,21,"Arial, Helvetica, sans-serif",11,"#000000","#003366","#c4c4c4","#cccccc","left","middle",5,0,1000,-5,7,true,true,true,0,true,true);
  newsroom.addMenuItem("Fact&nbsp;Sheet","window.open('factsheet.html', '_self');");
  newsroom.addMenuItem("Press&nbsp;Releases","window.open('press_releases.html', '_self');");
   newsroom.hideOnMouseOut=true;
   newsroom.menuBorder=0;
   newsroom.menuLiteBgColor='#ffffff';
   newsroom.menuBorderBgColor='#ffffff';
   newsroom.bgColor='#ffffff';

  newsroom.writeMenus();
} // mmLoadMenus()
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function showTopMenus() {
document.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("        <tr>");
document.write("          <td><a href=\"index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('mn_home_up','','images/mn_home_over.jpg',1)\"><img src=\"images/mn_home_up.jpg\" alt=\"\" name=\"mn_home_up\" width=\"136\" height=\"30\" border=\"0\" id=\"mn_home_up\"></a><a href=\"corporate_profile.html\" onMouseOut=\"MM_startTimeout();MM_swapImgRestore()\" onMouseOver=\"MM_showMenu(window.aboutus,0,31,null,'mn_company_up');MM_swapImage('mn_company_up','','images/mn_company_over.jpg',1)\"><img src=\"images/mn_company_up.jpg\" alt=\"\" name=\"mn_company_up\" width=\"136\" height=\"30\" border=\"0\" id=\"mn_company_up\"></a>");
document.write("<a href=\"our_services.html\" onMouseOut=\"MM_startTimeout();MM_swapImgRestore()\" onMouseOver=\"MM_showMenu(window.ourbusiness,0,31,null,'mn_business_up');MM_swapImage('mn_business_up','','images/mn_business_over.jpg',1)\"><img src=\"images/mn_business_up.jpg\" alt=\"\" name=\"mn_business_up\" width=\"136\" height=\"30\" border=\"0\" id=\"mn_business_up\"></a><a href=\"investor.html\" onMouseOut=\"MM_startTimeout();MM_swapImgRestore()\" onMouseOver=\"MM_showMenu(window.investor,0,31,null,'mn_ir_up');MM_swapImage('mn_ir_up','','images/mn_ir_over.jpg',1)\"><img src=\"images/mn_ir_up.jpg\" alt=\"\" name=\"mn_ir_up\" border=\"0\" id=\"mn_ir_up\"></a><a href=\"contactus.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('mn_contactus_up','','images/mn_contactus_over.jpg',1)\"><img src=\"images/mn_contactus_up.jpg\" alt=\"\" name=\"mn_contactus_up\" width=\"136\" height=\"30\" border=\"0\" id=\"mn_contactus_up\"></a><a href=\"career.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('mn_career_up','','images/mn_career_over.jpg',1)\"><img src=\"images/mn_career_up.jpg\" alt=\"\" name=\"mn_career_up\" border=\"0\" id=\"mn_career_up\"></a>");
//document.write("<a href=\"newsroom.html\" onMouseOut=\"MM_startTimeout();MM_swapImgRestore()\" onMouseOver=\"MM_showMenu(window.newsroom,0,31,null,'mn_newsroom_up');MM_swapImage('mn_newsroom_up','','images/mn_newsroom_over.jpg',1)\"><img src=\"images/mn_newsroom_up.jpg\" alt=\"\" name=\"mn_newsroom_up\" width=\"135\" height=\"30\" border=\"0\" id=\"mn_newsroom_up\"></a></td>");
document.write("        <td >&nbsp;</td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td colspan='2' height=\"10\"><img src=\"images/avi_content_top.jpg\" width=\"814\" height=\"10\"></td>");
document.write("        </tr>");
document.write("      </table>");
}