function check_num(str){
	var str;
	var n=str.value;
	if (isNaN(n)==false){
		return false;
	}else{
		alert("请输入数字");
		str.focus();
		str.select();
		return false;
	}
}
function upimgurl(url){
	document.getElementById('imgfile').src = url;
}
