var dom       = new Object();
dom.event     = new Object();

dom.event.addEventListener = function(elm,type,func,useCapture){
	if(!elm){
		return false;
	}
	if(!useCapture){
		useCapture = false;
	}
	if(elm.addEventListener){
		elm.addEventListener(type,func,false);
	}
	if(elm.attachEvent){
		elm.attachEvent('on'+type,func);
	}
	else{
		return false;
	}
	return true;
};

//onload時に実行
dom.event.addEventListener(window,'load',mail);


function mail(){

var os, ua = navigator.userAgent;

if (navigator.userAgent.indexOf("Safari") != -1) {

if(document.getElementById("anchor_id1")){
  document.getElementById("anchor_id1").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}
if(document.getElementById("anchor_id2")){
  document.getElementById("anchor_id2").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}

if(document.getElementById("inquiry1")){
  document.getElementById("inquiry1").setAttribute("href", "mailto:info@vories.or.jp?subject=病院（サービス）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry2").setAttribute("href", "mailto:info@vories.or.jp?subject=診療（科目）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry3").setAttribute("href", "mailto:info@vories.or.jp?subject=介護について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry4").setAttribute("href", "mailto:info@vories.or.jp?subject=施設について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry5").setAttribute("href", "mailto:info@vories.or.jp?subject=その他相談・問い合わせ&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
}

}

if (navigator.userAgent.indexOf("Macintosh") != -1) {
  if (navigator.userAgent.indexOf("Firefox") != -1) {
if(document.getElementById("anchor_id1")){
    document.getElementById("anchor_id1").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}
if(document.getElementById("anchor_id2")){
    document.getElementById("anchor_id2").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}

if(document.getElementById("inquiry1")){
  document.getElementById("inquiry1").setAttribute("href", "mailto:info@vories.or.jp?subject=病院（サービス）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry2").setAttribute("href", "mailto:info@vories.or.jp?subject=診療（科目）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry3").setAttribute("href", "mailto:info@vories.or.jp?subject=介護について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry4").setAttribute("href", "mailto:info@vories.or.jp?subject=施設について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry5").setAttribute("href", "mailto:info@vories.or.jp?subject=その他相談・問い合わせ&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
}

  }
}

if (ua.match(/Win(dows )?NT 6\.0/)) {
if(document.getElementById("anchor_id1")){
    document.getElementById("anchor_id1").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}
if(document.getElementById("anchor_id2")){
    document.getElementById("anchor_id2").setAttribute("href", "mailto:info@vories.or.jp?subject=看護師・職員の募集について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●ご要望がありましたらご記入ください。%0D%0A");
}

if(document.getElementById("inquiry1")){
  document.getElementById("inquiry1").setAttribute("href", "mailto:info@vories.or.jp?subject=病院（サービス）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry2").setAttribute("href", "mailto:info@vories.or.jp?subject=診療（科目）について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry3").setAttribute("href", "mailto:info@vories.or.jp?subject=介護について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry4").setAttribute("href", "mailto:info@vories.or.jp?subject=施設について&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
  document.getElementById("inquiry5").setAttribute("href", "mailto:info@vories.or.jp?subject=その他相談・問い合わせ&body=おなまえ[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aふりがな[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0Aご連絡先[　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A住　　所[　　　　　　　　　　　　　　　　　　　　　]%0D%0A%0D%0A●お問い合わせ内容をご記入ください。%0D%0A");
}

}

}