function chkSubmit(msg) {
	var query = window.location.search.substring(1)
	if (query.indexOf("submit") != -1)
		alert(msg)
}
