// JavaScript Document
//留言提交

function add_mes()
{	
	$.get("dispose/mes.php",{name:$("#tname").val(),tel:$("#tel").val(),email:$("#email").val(),mycode:$("#mycode").val(),content:$("#shawnee_content").val()},function(date){
		$("#result").html(date);
		}
	);		
}


function addorder(){
	$.get("dispose/order.php",{name:$("#orname").val(),sex:$("input[name='sex']:checked").val(),ortel:$("#ortel").val(),oradd:$("#oradd").val(),oremail:$("#oremail").val(),orproname:$("#orproname").val(),orquantity:$("#orquantity").val(),other:$("#other").val()},function(date){$("#result").html(date);}
			
	);	
}

//我要装修
function addzx(){
	$.post("dispose/fitment.php",{name:$("#name").val(),sex:$("input[name='sex']:checked").val(),phone:$("#phone").val(),email:$("#email").val(),shi:$("#shi").val(),ting:$("#ting").val(),wei:$("#wei").val(),zhuangkuang:$("input[name='zhuangkuang']:checked").val(),area:$("#area").val(),AdornDate:$("#AdornDate").val(),FromDate:$("#FromDate").val(),branktag:$("input[name='tag']:checked").val(),idea:$("#idea").val(),budget:$("#budget").val()},function(date){$("#result").html(date);});	
}


function add_yuyue(){
	$.post("dispose/yuyue.php",{name:$("#name").val(),address:$("#address").val(),tel:$("#tel").val(),email:$("#email").val(),ordertime:$("#ordertime").val(),other:$("#other").val()},function(date){$("#result").html(date);});	
}


function add_jianyi(){
	$.post("dispose/jianyi.php",{name:$("#name").val(),sex:$("input[name='sex']:checked").val(),tel:$("#tel").val(),other:$("#other").val()},function(date){$("#result").html(date);});	
}
