window.addEvent("domready",function(){
		$('submitIt').addEvent('click',function(){
			if($('name').get('value')==''){
				alert('姓名不能为空');
				return false;
			}
			if($('remark').get('value')==''){
				alert('您的建议或意见不能为空');
				return false;
			}							
			
			alert('邮件已经发送！');
			
			return true;
			
			//var myHTMLRequest = new Request.HTML({url:'php/email_zxb.php?corpName=' + $('corpName').value}).post();
			
			/*
	    $('form1').set('send', {
				url: 'php/email_zxb.php', 
	    	method: 'get',
	    	onSuccess: function(responseText, responseXML){
	    		  alert(responseText);
	    	}
			}).send();
			*/
			
		});
});
