<!--

function changeImage(ret){
	if (ret == 1){
		document.head01.src="img/00_head03c1.gif";
	}else if (ret == 2){
		document.head01.src="img/00_head03c2.gif";
	}else if (ret == 3){
		document.head01.src="img/00_head03c3.gif";
	}else if (ret == 4){
		document.menu.src="img/00_menu01c.gif";
	}else if (ret == 5){
		document.menu.src="img/00_menu02c.gif";
	}else if (ret == 6){
		document.menu.src="img/00_menu03c.gif";
	}else if (ret == 7){
		document.menu.src="img/00_menu04c.gif";
	}else if (ret == 8){
		document.menu.src="img/00_menu05c.gif";
	}
}

function relpaceImage(ret){
	if (ret == 1){
		document.head01.src="img/00_head01.gif";
	}else if (ret == 3){
		document.menu.src="img/00_menu01.gif";
	}
}

function mailmagCheck(){
	if (document.mailmagform.mailmag.value == ""){
		alert("メールアドレスを入力して登録ボタンををクリックしてください。");
	}else if (document.mailmagform.mailmag.value == " メールアドレスを入力"){
		alert("メールアドレスを入力して登録ボタンををクリックしてください。");
	}else{
		window.document.mailmagform.submit();
		mailmag.value = ''
	}
}


function mailformCheck(){
	if (document.mailform.select.value == ""){
		alert("お問い合わせ項目を選択して送信ボタンをクリックしてください。");
	}else if (document.mailform.name.value == ""){
		alert("氏名を入力して送信ボタンををクリックしてください。");
	}else if (document.mailform.address.value == ""){
		alert("住所を入力して送信ボタンををクリックしてください。");
	}else if (document.mailform.tel.value == ""){
		alert("電話番号を入力して送信ボタンををクリックしてください。");
	}else if (document.mailform.mail.value == ""){
		alert("メールアドレスを入力して送信ボタンををクリックしてください。");
	}else if (document.mailform.textarea.value == ""){
		alert("お問い合わせ内容を入力して送信ボタンををクリックしてください。");
	}else{
		window.document.mailform.submit();
		location.href = "index.html";
	}
}

function clearForm(which,name){
	if (which.value == " メールアドレスを入力")
	which.value = ''
}

//-->
