/*
  (送信前にご確認ください)
  このメールの宛先は株式会社eヘルスケアです。
  各医療機関への個別のお問い合わせは受け付けておりません。
*/
var support_mail_body = {
  utf8: "%28%E9%80%81%E4%BF%A1%E5%89%8D%E3%81%AB%E3%81%94%E7%A2%BA%E8%AA%8D%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%29%0D%0A%E3%81%93%E3%81%AE%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%AE%E5%AE%9B%E5%85%88%E3%81%AF%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BEe%E3%83%98%E3%83%AB%E3%82%B9%E3%82%B1%E3%82%A2%E3%81%A7%E3%81%99%E3%80%82%0D%0A%E5%90%84%E5%8C%BB%E7%99%82%E6%A9%9F%E9%96%A2%E3%81%B8%E3%81%AE%E5%80%8B%E5%88%A5%E3%81%AE%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B%E3%81%AF%E5%8F%97%E3%81%91%E4%BB%98%E3%81%91%E3%81%A6%E3%81%8A%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82",
  shift_jis: "%28%91%97%90M%91O%82%C9%82%B2%8Am%94F%82%AD%82%BE%82%B3%82%A2%29%0D%0A%82%B1%82%CC%83%81%81%5B%83%8B%82%CC%88%B6%90%E6%82%CD%8A%94%8E%AE%89%EF%8E%D0e%83w%83%8B%83X%83P%83A%82%C5%82%B7%81B%0D%0A%8Ae%88%E3%97%C3%8B%40%8A%D6%82%D6%82%CC%8C%C2%95%CA%82%CC%82%A8%96%E2%82%A2%8D%87%82%ED%82%B9%82%CD%8E%F3%82%AF%95t%82%AF%82%C4%82%A8%82%E8%82%DC%82%B9%82%F1%81B"
};

/*
  subjectは英文のみ
  anchor_textも含め、escapeHTMLは不要
*/
function support_mail(to, subject, anchor_text) {
  var os, ua = navigator.userAgent;
  if (ua.match(/Win(dows )?NT 6\.1/)) {         // Windows7
    var body = support_mail_body.utf8;
  } else if (ua.match(/Win(dows )?NT 6\.0/)) {  // Vista
    var body = support_mail_body.utf8;
  } else {
    var body = support_mail_body.shift_jis;
  }
  document.write('<a href="mailto:' + to + '?');
  if (subject) {
    document.write('subject=' + subject.escapeHTML() + '&amp;');
  }
  document.write('body=' + body + '">' + anchor_text.escapeHTML() + '</a>');
}

/* png for ie*/
(function(){
  if (typeof document.documentElement.style.maxHeight != "undefined") return null;
  var pngfix=function(){
    var path="/images";
    var regex=/^(.*images)/;
    var imgs=document.getElementsByTagName("img");
    var i=imgs.length;
    while(i-- > 0){
      if(imgs[i].src.match(regex)){
        path=RegExp.$1;
        break;
      }
    }
    
    var clear=path+"/clear.gif" //path to clear.gif    
  
    var els=document.getElementsByTagName('*');var ip=/\.png/i;var i=els.length;while(i-- >0){var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage='none';var elkids=el.getElementsByTagName('*');if (elkids){var j=elkids.length;if(el.currentStyle.position!="absolute")es.position='static';while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}}
  }
  window.attachEvent('onload',pngfix);
})()


var Containers=['menu'];
var Singles=['searchbutton']; 
var roll_prefix="_c";
