arrPrice = new Array(1);

function update_imageurl(postfix)
{
	strPostfix = new String(postfix)
	strPostfix = strPostfix.replace(/\s/g,"_");
	document.form1.imageurl.value=PATH_PRODUCT_IMAGE+strPostfix+".jpg";
}


function get_TotalPrice()
{
	var price = 0;
	for(i=0;i<arrPrice.length();i++)
	{
		price += arrPrice[i];
	}
	return price;
}

function set_FeaturePrice(iFeature,iPrice)
{
	
	arrPrice(iFeature) = iPrice;
	ResetTotalPrice()
}

function ResetTotalPrice()
{
	alert(arrPrice)	
	document.price.text = get_TotalPrice(); 
}
