// JavaScript Document
// JavaScript Document
function chkcommo(form){
	  if(form.name.value==""){
	     alert("请输入商品名称!");
		 form.name.focus();
		 return false;
	   }
	  if(form.area.value==""){
	     alert("请输入商品产地!");
		 form.area.focus();
		 return false;
	   }
	  if(form.model.value==""){
	     alert("请输入商品型号!");
		 form.model.focus();
		 return false;
	   }
	  if(form.stocks.value=="")
	   {
	     alert("请输入商品数量!");
		 form.stocks.focus();
		 return false;
	   }
	   if(form.m_price.value=="")
	   {
	     alert("请输入商品市场价格!");
		 form.m_price.focus();
		 return false;
	   }
	   if(form.info.value=="")
	   {
	     alert("请输入商品简介!");
		 form.info.focus();
		 return false;
	   }
	}
function cvp(form){
	var price = form.m_price.value;
	var fd = form.fold.value;
	var total = price * fd / 10;
	v_price.innerHTML = total+' 元';
}