﻿function checkRegForm(){
		var form = null;

		try {
			form = new FormObject("AlanGoAhead");
			form.add( new Member("account", "帳號") );
			form.add( new Email("email", "e-mail 信箱") );
			form.add( new Password("passwd", "密碼") );
			form.add( new TextField("realname", "姓名") );
			form.add( new Radio("sexual", "性別") );
			form.add( new Integer("yearInBirthday", "生日-年") );
			form.add( new TextField("zipCode", "郵遞區號") );
			//form.add( new TextField("address", "地址") );
			//form.add( new Select("career", "職業") );
			//form.add( new Checkbox("lovestone[]", "Checkbox",3) );
			
			form.checkData();
		} catch(e) {alert(e.description);}
	}
