function getSxMenubar() {
  document.write("<DIV class=\"menubar\" id=\"menubar\">");

  document.write("<DIV class=\"menu_item\" id=\"to_english\" >");
  document.write("  <A href=\"index.html\">");
  document.write("    [日本語トップ]</A><br><br>");
  document.write("  <A href=\"../sx150e/index.html\">");
  document.write("    [English Top]</A>");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"about\" >");
  document.write("  <A href=\"about.html\">");
  document.write("    <IMG alt=\"アイコン\" width=\"64\" height=\"41\" border=\"0\" src=\"../images/sx150_button_64.png\"><BR>");
  document.write("    SX-150について</A>");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"demo\">");
  //document.write("  <A href=\"demo.html\">");
  document.write("    <IMG alt=\"アイコン\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/megaphone.gif\"><BR>");
  //document.write("  デモ</A>");
  document.write("  デモ");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"customize\">");
  document.write("  <A href=\"customize.html\">");
  document.write("    <IMG alt=\"アイコン\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/scissors.gif\"><BR>");
  document.write("    改造</A>");
  document.write("</DIV>");

  // document.write("<DIV class=\"menu_item\" id=\"design_notes\">");
  // document.write("  <A href=\"notes.html\">");
  // document.write("    <IMG alt=\"アイコン\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/note.gif\"><BR>");
  // document.write("    設計メモ</A>");
  // document.write("</DIV>");

  document.write("</DIV>"); // id=menubar
};

function getSxMenubarEnglish() {
  document.write("<DIV class=\"menubar\" id=\"menubar\">");

  document.write("<DIV class=\"menu_item\" id=\"to_japanese\" >");
  document.write("  <A href=\"index-e.html\">");
  document.write("    [English Top]</A><br><br>");
  document.write("  <A href=\"index.html\">");
  document.write("    [Japanese Top]</A>");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"specs\" >");
  document.write("  <A href=\"about-e.html\">");
  document.write("    <IMG alt=\"icon\" width=\"64\" height=\"41\" border=\"0\" src=\"../images/sx150_button_64.png\"><BR>");
  document.write("    Panel &amp; Specs</A>");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"demo\">");
  //document.write("  <A href=\"demo.html\">");
  document.write("    <IMG alt=\"Demonstration\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/megaphone.gif\"><BR>");
  //document.write("  Demonstration</A>");
  document.write("  Demonstration");
  document.write("</DIV>");

  document.write("<DIV class=\"menu_item\" id=\"customize\">");
  document.write("  <A href=\"customize-e.html\">");
  document.write("    <IMG alt=\"icon\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/scissors.gif\"><BR>");
  document.write("    Customization</A>");
  document.write("</DIV>");

  // document.write("<DIV class=\"menu_item\" id=\"design_notes\">");
  // document.write("  <A href=\"notes.html\">");
  // document.write("    <IMG alt=\"icon\" width=\"64\" height=\"64\" border=\"0\" src=\"../images/note.gif\"><BR>");
  // document.write("    Design Notes</A>");
  // document.write("</DIV>");

  document.write("</DIV>"); // id=menubar
};

function getAmazon()
{
  document.write("<DIV style=\"position:absolute; left:680px; top:100px;\">");
  document.write("<iframe src=\"http://rcm-jp.amazon.co.jp/e/cm?t=synthdiy-22&o=9&p=8&l=as1&asins=4056051836&fc1=000000&IS2=1&lt1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"></iframe>");
  document.write("</DIV>");
}

function getSxCommonTop()
{
  getHeader();

  document.write("<DIV id=\"container\">");
  
  getAmazon();
  
  document.write("  <DIV class=\"content\" id=\"content\">");

  // getA20Menu();

  document.write("    <DIV class=\"content_main\" id=\"content_main\">");
}

function getSxCommonBottom()
{
  document.write("    </DIV>");     // content_main
  document.write("  </DIV>");     // content

  getSxMenubar();

  document.write("</DIV>");     // container
}

function getSxCommonBottomEnglish()
{
  document.write("    </DIV>");     // content_main
  document.write("  </DIV>");     // content

  getSxMenubarEnglish();

  document.write("</DIV>");     // container
}

