(function() {

  var makeQueryString = function(obj, keys) {
    keys = keys || ['siteid', 'pgid', 'tp', 'pp', 'dp', 'posid', 'uid', 't'];
    var param = '';
    for (var i = 0; i < keys.length; ++i) {
      var key = keys[i];
      var value = obj[key] == undefined ? '' : encodeURIComponent(obj[key]);
      param += (i == 0 ? '?' : '&') + key + '=' + value;
    }
    return param;
  };

  var insertScriptTag = function(src, async) {
    var tag   = document.createElement('script');
    tag.type  = 'text/javascript';
    tag.async = async;
    tag.src   = src;

    var scr = document.getElementsByTagName('script')[0];
    scr.parentNode.insertBefore(tag, scr);
  };
  insertScriptTag("https://ssl.socdm.com/bc/v3" + makeQueryString({ siteid: 25907, pgid: "2590725908", tp: "https://www.kyousei-shika.net/kyousei_html/care/pickup/01mouthpiece.html", pp: "", dp: "", t: ".js" }), false);
  document.write("<!-- Segment Pixel - kyousei_RT - DO NOT MODIFY -->\n<script src=\'https://ssl.socdm.com/s/so_sg.js?sgid=26779&t=1\' type=\'text/javascript\'><\/script>\n<!-- End of Segment Pixel -->\n");
})()