function hiraku(zap) {
     var kaihei = document.getElementById(zap).style;
	kaihei.display="block"
}

function oritatami(zap) {
     var kaihei = document.getElementById(zap).style;
	kaihei.display="none"
}

function kirikae(zap1,zap2,zap3,value) {
	var open =document.getElementById(zap1).style;
	open.display="block"
	var close=document.getElementById(zap2).style;
	close.display="none"
	var outp=document.getElementById(zap3)
	outp.value=value
}

function Mover(nam, id){document.images[nam].src = id}function Mout(nam, id){document.images[nam].src = id}function winOpen(url){var features='Height=380,Width=340,Top=0,Left=0,dependent=yes, location=no, menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no';window.open(url,'OpenWindow',features);}function winOpenMail(url){var features='Height=380,Width=500,Top=0,Left=0,dependent=yes, location=no, menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no';window.open(url,'OpenWindow',features);}function saveClose(){window.opener.document.all.item('refresh').click(); 
window.close();}function Close(){window.opener = window;
var win = window.open(location.href,"_self");
win.close();
}//イメージフリッカー//対象のイメージタグネーム:imgsh1//body onload　に実装　onload="setTimeout('ImgShow()',2000);" CLASS="b2"var num1 = 1;
imgnum = new Array(5)
imgnum[0] = "/sendmail/library/puchi_form_ban.png";
imgnum[1] = "/sendmail/library/puchi_q_ban.png";
imgnum[2] = "/sendmail/library/puchi_cast_ban.png";
imgnum[3] = "/sendmail/library/puchi_cs_ban.png";
imgnum[4] = "/sendmail/library/puchi_mail_ban.png";

function ImgShow(){
  if (document.imgsh1.complete){
    document.imgsh1.src = imgnum[num1];
    num1++;
    if (num1 > 4) num1 = 0;
  }
  setTimeout('ImgShow()',3000);
}
