ok, do it this way instead. pass the price as another var in the onchange event:
onchange="document.getElementById('cmPrice').innerHTML = getPrice(document.FrogStyling_1_ATC_<%=rsDetail.Fields("ProductID").value%>.FrogStyling_1_Size_Add[document.FrogStyling_1_ATC_<%=rsDetail.Fields("ProductID").value%>.FrogStyling_1_Size_Add.selectedIndex].value, <%= FormatNumber((rsDetail.Fields.Item("ProductPrice").Value), 2, -2, -2, -2) %>)"
and change the function to take the extra param:
<script type="text/javascript">
function getPrice(option, prodPrice) {
var thePrice;
switch (option) {
case '10':
thePrice = prodPrice-1;
break;
case '15':
thePrice = prodPrice;
break;
case '20':
thePrice = prodPrice+2;
break;
case '25':
thePrice = prodPrice+3;
break;
case '30':
thePrice = prodPrice+4;
break;
case '35':
thePrice = prodPrice+5;
break;
case '40':
thePrice = prodPrice+6;
break;
case '45':
thePrice = prodPrice+7;
break;
case '50':
thePrice = prodPrice+8;
break;
case '55':
thePrice = prodPrice+9;
break;
default:
thePrice = prodPrice+10;
}
return thePrice;
}
</script>