function _otmach(_nation_cotton_price,_exchange_rate,_publish_time)
{
	if ((_nation_cotton_price==0)||(_exchange_rate==0))
	{
		document.forprice1.tex_nation_cotton_price1.value=0;
		document.forprice1.tex_cn_price1.value=0;
	}
	else
	{
		document.forprice1.tex_cn_price1.value=_nation_cotton_price*2204.58*0.01*_exchange_rate+200;
		alert("〖"+_publish_time+"〗 1美元对1人民币汇率为〖"+_exchange_rate+"〗");		
	}
}
function _otnormal(_nation_cotton_price,_exchange_rate,_publish_time)
{
	if ((_nation_cotton_price==0)||(_exchange_rate==0))
	{
		document.forprice.tex_nation_cotton_price.value=0;
		document.forprice.tex_cn_price.value=0;
	}
	else
	{
		document.forprice.tex_cn_price.value=_nation_cotton_price*2204.58*1.01*1.13*_exchange_rate*0.01+200;
		alert("〖"+_publish_time+"〗 1美元对1人民币汇率为〖"+_exchange_rate+"〗");		
	}
}
function _otmw(_other,_p1,_this,_p2)
 {
  if ((_p1==0)||(_p2==0))
  {document.formw.textf.value=0;
   document.formw.textfm.value=0;}
  else
  {document.formw.textfm.value=_other*_p1*_p2;}
 }
function _mtow(_other,_p1,_this,_p2)
 { 
  if ((_p1==0)||(_p2==0))
  {document.formw.textf.value=0;
   document.formw.textfm.value=0;}
  else
  {document.formw.textf.value=(_this/(_p1*_p2));}
 }

function _otml(_other,_p1,_this,_p2)
 {
  if ((_p1==0)||(_p2==0))
  {document.forml.textf.value=0;
   document.forml.textfm.value=0;}
  else
  {document.forml.textfm.value=_other*_p1*_p2;}
 }
function _mtol(_other,_p1,_this,_p2)
 { 
  if ((_p1==0)||(_p2==0))
  {document.forml.textf.value=0;
   document.forml.textfm.value=0;}
  else
  {document.forml.textf.value=(_this/(_p1*_p2));}
 }

function _otms(_other,_p1,_this,_p2)
 {
  if ((_p1==0)||(_p2==0))
  {document.forms.textf.value=0;
   document.forms.textfm.value=0;}
  else
  {document.forms.textfm.value=_other*_p1*_p2;}
 }
function _mtos(_other,_p1,_this,_p2)
 { 
  if ((_p1==0)||(_p2==0))
  {document.forms.textf.value=0;
   document.forms.textfm.value=0;}
  else
  {document.forms.textf.value=(_this/(_p1*_p2));}
 }

function _otmv(_other,_p1,_this,_p2)
 {
  if ((_p1==0)||(_p2==0))
  {document.formv.textf.value=0;
   document.formv.textfm.value=0;}
  else
  {document.formv.textfm.value=_other*_p1*_p2;}
 }
function _mtov(_other,_p1,_this,_p2)
 { 
  if ((_p1==0)||(_p2==0))
  {document.formv.textf.value=0;
   document.formv.textfm.value=0;}
  else
  {document.formv.textf.value=(_this/(_p1*_p2));}
 }