function calcHighlightPrice(intProductID)
{
	
	var oVarSelect = document.forms['frmProduct'+intProductID].elements['inpVariationID'];
	var oQuantSelect = document.forms['frmProduct'+intProductID].elements['inpQuantityID'];
	var oQuantValue = document.forms['frmProduct'+intProductID].elements['inpQuantity'];
	var oPrice = document.getElementById('price_'+intProductID);
	
	if (oQuantSelect.selectedIndex!=null)
	{
		if (oQuantSelect.options[oQuantSelect.selectedIndex].value == '#') 
		{
			oPrice.innerHTML = '&pound;'+'PRICE';
			return;
		}
		var intVarKey = oVarSelect.options[oVarSelect.selectedIndex].value+'|'+ oQuantSelect.options[oQuantSelect.selectedIndex].value;
	}
	else
	{
		var intVarKey = oVarSelect.options[oVarSelect.selectedIndex].value+'|'+ oQuantSelect.value;
		// if the value is not a number bail out
		if (oQuantValue.value=='' || isNaN(oQuantValue.value) || oQuantValue.value==0 ) 
		{
			oPrice.innerHTML = '&pound;'+'PRICE';
			return;
		}
	}

	
	
	
	
	var price = parseFloat(GetPrice(intProductID, intVarKey, oQuantValue, 'PRICE'));
	var strPrice = new NumberFormat(price).toFormatted();
	oPrice.innerHTML = '&pound;'+strPrice;
	
/*
	var oQuant = document.forms['frmProduct'+intProductID].elements['inpQuantity'];
	var oPrice = document.getElementById('price_'+intProductID);
	
	// get the price
	var price = parseFloat(GetPrice(intProductID, intVarKey, oQuant, 'PRICE'));

	// get the delivery price
	var delprice = parseFloat(GetPrice(intProductID, intVarKey, oQuant, 'DELPRICE'));

	// set it on the line
	var strPrice = new NumberFormat(price).toFormatted();

	oPrice.innerHTML = '&pound;'+strPrice;
	
	// if we have a price greater than 0 add this line to the totals for VAT and delivery
	if (price)
	{

		// get the VAT rate
		var vatrate = parseFloat(arrProduct[intProductID][intVarKey][3]);
		
		if (oRemoveVAT.checked && arrProduct[intProductID][intVarKey][5]==1)
		{
			vatrate = 0;
		}
		
		// site id
		var siteid = arrProduct[intProductID][intVarKey][4];
		
		if (!bCollect)
		{
			if (arrDelivery[siteid]) arrDelivery[siteid] += delprice;
			else arrDelivery[siteid] = delprice;
		}
		if (arrVAT[vatrate]) arrVAT[vatrate] += price*(100 - intDiscountRate) / 100 + 0.0000000001;
		else arrVAT[vatrate] = price*(100 - intDiscountRate) / 100  + 0.0000000001;
		intTotal += parseFloat(price);
		
	}		
	*/			
	
}