    function geturl() {
        document.myForm.url.value = document.URL;
    }
    function getproduct() {
      document.write(
      '<P>商品番号 ', model,
      ' 販売価格 <B><FONT size="+2">', price,
      ' 円 </FONT></B>（税込み ', price_withtax,
      ' 円） ');
      if (shipfee == 0 ){
          document.write('送料無料</P>');
      } else {
          document.write('送料別</P>');
      }      
      if (display != 0) {
          document.write('<P><B><FONT size="+1">');
          if (stock == 0) {
              document.write('完売・調達中');
          } else {
              document.write('残りあと', stock, '個です');
          }
          document.write('</FONT></B></P>');
      }
      document.write(
      ' <B><FONT size="+1">個数</FONT></B>');
      document.write(
    　' <SELECT name="units" size="1">',
      ' <OPTION value="1" selected>1 </OPTION>');
      for(i = 2; i < 10; i++) {
          document.write('<OPTION value="', i, '">', i, ' </OPTION>');
      }
      document.write(
      '</SELECT>',
      '<INPUT style="font-size:14px;font-weight:bold;width:80px;height:20px" type="submit" name="submit" value="購入する" onclick="geturl()">',
      '<INPUT type="hidden" name="add" value="', id, '"><INPUT type="hidden" name="url">');
    }
