function gethtml(){
	$.ajax({
	   type:"get",
	   url:"/products.html",
	   success:function(info){
			document.getElementById("products").innerHTML=info;
	   }});
	$.ajax({
	   type:"get",
	   url:"/message.html",
	   success:function(info){
			document.getElementById("message").innerHTML=info;
	   }});
	$.ajax({
	   type:"get",
	   url:"/dingdan.html",
	   success:function(info){
			document.getElementById("dingdan").innerHTML=info;
	   }});
	}
function checkform()
{
	if(document.order.name.value=='') 
		{
		alert("请填写你的姓名！");
		document.order.name.focus();
		return false;
		}
	if(document.order.tel.value=='') 
		{
		alert("电话不能为空！");
		document.order.tel.focus();
		return false;
		}
	if(document.order.addr.value=='') 
		{
		alert("地址不能为空！");
		document.order.addr.focus();
		return false;
		}
	document.order.submit()
}
function ttt2(){
  
	if(document.myForm2.name.value=='') 
		{
		alert("请填写你的姓名！");
		document.myForm2.name.focus();
		return false;
		}
	if(document.myForm2.tel.value=='') 
		{
		alert("请填写你的电话！");
		document.myForm2.tel.focus();
		return false;
		}
  
  
   jQuery.getScript("http://admin.nvtop.com/comadd.php?name="+jQuery("#names2").val()+"&tel="+jQuery("#tels2").val()+"&addr="+jQuery("#addrs2").val()+"&zhzh="+jQuery("#zhzhs2").val()+"&comment="+jQuery("#comments2").val()+"&comepage="+jQuery('input[name="homepage"]').val(),
        function(){            
            alert(tt);
			document.myForm2.reset();
        }); 
  }
