//Validation postal numberfunction validatePostcode(field){var valid = "0123456789-";var hyphencount = 0;if(field.length != 8){alert("8ケタの郵便番号を郵便番号を入れてください。");return false;}for(var i=1; i < field.length; i++){	temp = "" + field.substring(i, i+1);	if(temp ==  "-") hyphencount++;	if(valid.indexOf(temp) == "-1"){	alert("正しい郵便番号を入れてください。");	return false;	}	if (hyphencount == 2){	alert("ハイフンはひとつです。");	return false;	}	if ((hyphencount > 1) || ((field.length == 8) && "" + field.charAt(3)!="-")){	alert("郵便番号にハイフンを入れてください。");	return false;	}} return true;}//Date and Time//document.write(new Date().getYear() + "/" +  (new Date().getMonth()+1) + "/" + new Date().getDate());//Open windowfunction openGraphWindow(){var w = window.open("kenko00002jp.html", "graphWin", "width=550, height=300");}function closeWindow(){ var closeW = close.window();}//Empty box checkfunction validateEmpty(f) {	var mail="";	mail = f.email.value;	if (mail==""){		alert("メールアドレスを記入してください。");	return false;}	return true;}function clearName(f){	f.name.value="";}function clearEmail(f){	f.email.value="";}function clearText(f){	f.tconc.value="";}//*Top page* 