function check_value() {
var y = document.forms[1].elements[1].value;
var x = document.forms[1].elements[2].value;
if(y=='' || x=='') { alert('検索するバス停名の一部を入力してください。'); return false; }

/*
else {
	//if(y.match(/[^0-9]/i)) { alert('不正な文字です。\n\n検索するバス停名の一部を入力してください。'); return false; }
	if(y.match(/</i) || x.match(/</i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/>/i) || x.match(/>/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/;/i) || x.match(/;/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/”/i) || x.match(/”/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/’/i) || x.match(/’/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/＜/i) || x.match(/＜/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/＞/i) || x.match(/＞/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/；/i) || x.match(/；/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/”/i) || x.match(/”/i)) { alert('不正な文字列です。'); return false; }
	else if(y.match(/’/i) || x.match(/’/i)) { alert('不正な文字列です。'); return false; }
	
	

}
*/
else { return true; }
}