pathbase="../";tarpath="";function styleSetL(tarL,styletype){for(i=0;i<=tarL;i++){if(i>=1){tarpath+=pathbase;}}if(osPlat!=""){document.write('<link rel="stylesheet" type="text/css" href="'+tarpath+'css/textsets_'+osPlat+'_'+styletype+'.css"/>');thislevel=tarL;bugkicker();getcache();}}var thisie=false;function bugkicker(){if(osPlat=="win" && bsrName.substr(0,2)=="ie"){thisie=true;if(bsrName=="ie6"||bsrName=="ie7"){}}else if(osPlat=="iphone"){}}function setup1st(){getH=$("titlecell1").offsetHeight;$("company").style.height=getH+"px";getH=$("titlecell2").offsetHeight;$("name").style.height=getH+"px";getH=$("titlecell3").offsetHeight;$("email").style.height=getH+"px";}function sending(){$("sendingbox").style.display="block";$("submitbox").style.display="none";formTimer=setTimeout("reform()",5000);}function reform(){$("submitbox").style.display="block";$("sendingbox").style.display="none";}function checkForm(){checknums=0;checktxt=document.bshikiform.name.value;if(checktxt==""||checktxt=="入力してください"){document.bshikiform.name.value="入力してください";$("name").style.backgroundColor="#fff";}else{$("name").style.backgroundColor="#f8fbfa";checknums++;}checktxt=document.bshikiform.email.value;if($checkBytes(checktxt,3)){checkMail=true;}else{checkMail=false;}if(checktxt==""){document.bshikiform.email.value="入力してください";$("email").style.backgroundColor="#fff";}else if(!checkMail){document.bshikiform.email.value="半角でメールアドレスを入力してください";$("email").style.backgroundColor="#fff";}else{$("email").style.backgroundColor="#f8fbfa";checknums++;}checktxt=document.bshikiform.comments.value;if(checktxt==""||checktxt=="入力してください"){document.bshikiform.comments.value="入力してください";$("comments").style.backgroundColor="#fff";}else{$("comments").style.backgroundColor="#f8fbfa";checknums++;}if(checknums==3){sending();return true;}else{return false;}}