function next_page(page_idx) {
	if(page_idx==1) {
		window.location = 'regist_2.php';
	} else if(page_idx==2) {
		form1.submit();
	}
}
function prev_page(page_idx) {
	if(page_idx==1) {
		window.location = 'index.php';
	}

}

function toUpper(whichEl) {
	// String to Upper Case on Key Up
	whichEl.value = whichEl.value.toUpperCase();
}
function backmain(){
	window.location = '../index.php';
	//window.close();
}
