function popWin(){
   var p=popWin.arguments;	//　引数の配列オブジェクトをｐに代入
   var n=p.length;	//　引数の数を取得
   if(n==1){window.open(p[0]);}
   if(n==3){window.open(p[0],"","width="+p[1]+",height="+p[2]);}
   if(n==5){window.open(p[0],"","width="+p[1]+",height="+p[2]+",left="+p[3]+",top="+p[4]);}
   if(n==6){window.open(p[0],"","width="+p[1]+",height="+p[2]+",left="+p[3]+",top="+p[4]+","+p[5]);}
}

function winprint(){
	window.print();
}

function entryChange1(){
	radio = document.getElementsByName('entryPlan') 
	// 予約チェック時
	if(radio[0].checked) {
		document.getElementById('shopname').style.display = "";
		document.getElementById('datetime').style.display = "";
		document.getElementById('num').style.display = "";
	}else if(radio[1].checked) {
		document.getElementById('shopname').style.display = "none";
		document.getElementById('datetime').style.display = "none";
		document.getElementById('num').style.display = "none";
	}
	//オンロードさせ、リロード時に選択を保持
	window.onload = entryChange1;
}
