/*-------------------- --------------------*/ function selectmenu(linkLoc) { if(linkLoc !="") { window.location.href=linkLoc; } } /*-------------------- --------------------*/ // /*-------------------- --------------------*/ var accordion=function(){ var tm=sp=10; function slider(n){this.nm=n; this.arr=[]} slider.prototype.init=function(t,c,k){ var a,h,s,l,i; a=document.getElementById(t); this.sl=k?k:''; h=a.getElementsByTagName('dt'); s=a.getElementsByTagName('dd'); this.l=h.length; for(i=0;i=m){clearInterval(c.tm)}else if(f!=1&&h==1){c.style.display='none'; clearInterval(c.tm)} } return{slider:slider} }(); /*-------------------- --------------------*/ var accordion2=function(){ var tm=sp=10; function slider3(n){this.nm=n; this.arr=[]} slider3.prototype.init=function(t,c,k){ var a,h,s,l,i; a=document.getElementById(t); this.sl=k?k:''; h=a.getElementsByTagName('dt'); s=a.getElementsByTagName('dd'); this.l=h.length; for(i=0;i=m){clearInterval(c.tm)}else if(f!=1&&h==1){c.style.display='none'; clearInterval(c.tm)} } return{slider3:slider3} }(); /*-------------------- --------------------*/ function login_chk(){ msg=""; document.frm_login.tel.value=document.frm_login.tel.value.replace( /^[\s ]+|[\s ]+$/g , '' ); document.frm_login.pass.value=document.frm_login.pass.value.replace( /^[\s ]+|[\s ]+$/g , '' ); if(document.frm_login.tel.value=="" || document.frm_login.tel.value.match(/[^0-9]/g)){ msg =msg + "ログインIDの入力が正しくありません。\n"; } if(document.frm_login.pass.value=="" || document.frm_login.pass.value.match(/[^0-9a-zA-Z_]+/)){ msg =msg + "パスワードの入力が正しくありません。\n"; } if(msg==""){ if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { if(xmlhttp.responseText==""){ document.frm_login.submit(); //return true; }else{ document.getElementById("errormsg").innerHTML=xmlhttp.responseText; return false; } } } xmlhttp.open("GET","login_ajax.php?1714252286&tel="+document.frm_login.tel.value+"&sex_sel="+document.frm_login.sex_sel.value+"&pass="+document.frm_login.pass.value+"&eid="+document.frm_login.eid.value,true); xmlhttp.send(); }else{ alert(msg); return false; } } /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s").click(function(){ $("#com_del_box_s").show(); return false; }); $("body #del_clos").click(function(){ $("#com_del_box_s").hide(); return false; }); }); $(function(){ $(".open").click(function(){ $("#slideBox").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s2").click(function(){ $("#com_del_box_s2").show(); return false; }); $("body #del_clos2").click(function(){ $("#com_del_box_s2").hide(); return false; }); }); $(function(){ $(".open2").click(function(){ $("#slideBox2").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s3").click(function(){ $("#com_del_box_s3").show(); return false; }); $("body #del_clos3").click(function(){ $("#com_del_box_s3").hide(); return false; }); }); $(function(){ $(".open3").click(function(){ $("#slideBox3").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s4").click(function(){ $("#com_del_box_s4").show(); return false; }); $("body #del_clos4").click(function(){ $("#com_del_box_s4").hide(); return false; }); }); $(function(){ $(".open4").click(function(){ $("#slideBox4").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s5").click(function(){ $("#com_del_box_s5").show(); return false; }); $("body #del_clos5").click(function(){ $("#com_del_box_s5").hide(); return false; }); }); $(function(){ $(".open5").click(function(){ $("#slideBox5").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s6").click(function(){ $("#com_del_box_s6").show(); return false; }); $("body #del_clos6").click(function(){ $("#com_del_box_s6").hide(); return false; }); }); $(function(){ $(".open6").click(function(){ $("#slideBox6").slideToggle("fast"); }); }); /*-------------------- --------------------*/ $(document).ready(function(){ $(".com_del_s7").click(function(){ $("#com_del_box_s7").show(); return false; }); $("body #del_clos7").click(function(){ $("#com_del_box_s7").hide(); return false; }); }); $(function(){ $(".open7").click(function(){ $("#slideBox7").slideToggle("fast"); }); }); /*-------------------- --------------------*/ function blink() { if (document.all("blink_1").style.visibility == "visible") { document.all.blink_1.style.visibility = "hidden"; } else { document.all.blink_1.style.visibility = "visible"; } setTimeout("blink()", 800); }