function beforeSubmit(){
	var form = document.forms["sendForm"];
	form.submit();
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function chgPhoto(no){
		if (no=='0'){
			document.getElementById("target1").innerHTML='<img src="image/shisetu/sappororeien_jimusyo.jpg" width="300" height="225">';
		} else if (no=='1'){
			document.getElementById("target1").innerHTML='<table width="100%"border="0" cellspacing="0" cellpadding="10"><tr><td width="43%" valign="top" bgcolor="#ECE9D8"><p>収容人数　６０名 </p><p>施設利用料・・・無料 </p><p>使用時間１時間 <table width="100%"border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#716453"><td height="1"><p></p></td></tr></table><p>厳粛な雰囲気ある法要施設でございます。<br>悪天候にも左右されず法事にご利用頂けます。</p></td><td width="57%" bgcolor="#ECE9D8"><img src="image/houyou/reihaidou.jpg" width="300" height="225"></td></tr></table>';
		} else if (no=='2'){
			document.getElementById("target1").innerHTML='<img src="image/shisetu/lobby.jpg" width="300" height="225">';
		} else if (no=='3'){
			document.getElementById("target1").innerHTML='<img src="image/shisetu/jimu.jpg" width="300" height="225">';
		} else if (no=='4'){
			document.getElementById("target1").innerHTML='<table width="100%" border="0" cellspacing="0" cellpadding="10"><tr bgcolor="#ECE9D8"><td width="39%"valign="top"><p>収容人数　１００人</p><p>施設利用料・・・無料</p><p>使用時間２時間<table width="100%"border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#716453"><td height="1"><p></p></td></tr></table><br>ご法事等のお集まりにご利用できる広々とした空間で御座います。<br>ゆったりとくつろぎながらご会食下さい。</td><td width="61%"><img src="image/houyou/houyoukaijyou.jpg"width="300" height="225"></td></tr></table>';
		}

}



function disp(url){ 

window.open(url, "window_name", "width=350,height=250,scrollbars=yes"); 

} 