function checkfield(value)
{
<!-- start script
	value=parseInt(value);
	if(value=='NaN')
		return false;
	if(value>0)
		return true;
	return false;
//	end script -->
}
function getvalue(value)
{
<!-- start script
	return parseInt(value);
//	end script -->
}
function edittext(name,pricelist,choiseidlist,choisevallist,taxlist,pnolist,index)
{
	for(i=0;i<choiseidlist.length;i++)
		if(choiseidlist[i] == index)
			break;

	elem = document.getElementById(name);
	while(elem.hasChildNodes())
		elem.removeChild(elem.lastChild);

	var price = pricelist[i] + (pricelist[i] * taxlist[i] / 100);
	price = price.toFixed(2);
	elem.appendChild(document.createTextNode(price));

	document.forms["CART"+name].CARTCHOICEID.value = choiseidlist[i];
	document.forms["CART"+name].CARTCHOICEVALUE.value = choisevallist[i];
	document.forms["CART"+name].CARTPRICE.value = pricelist[i];
	document.forms["CART"+name].CARTTAX.value = taxlist[i];
	document.forms["CART"+name].CARTPRODUCTNO.value = pnolist[i];
}
function trans()
{
	this.style.allowTransparency='true';
}
