function reportPrice(regular_price)
{
	//cycle through all form elements, drop the selected values into an array (currSelected)
	var frm = document.productForm;
	var currSelected = new Array();
	var delta = 0; 
	for(var i = 0; i < frm.elements.length; ++i)
	{
		var e = frm.elements[i];
		if(e.type != 'select-one') continue;
		currSelected[i] = e.options[e.selectedIndex].value;
	}
	var output = '';
	//now compare and get the price
	
	match_index = false; 
	
	for (j=0; j < id_combo.length; j++) {
		//need to learn which id_combo array index holds them both
		//because the elements can be in any order, split each id_combo string into array and search the elements
		
		comboAr = id_combo[j].split(",");  //one array, currSelected is the other array
		
		//loop through currSelected and compare the comboAr elements
		//3 possible options
		if (comboAr.length == 1)
		{
			if (comboAr[0] == currSelected[0])
			{ 
				match_index = j;
			}
		} else if (comboAr.length == 2) {
			first = false;
			second = false;
	
			if (comboAr[0] == currSelected[0] || comboAr[0] == currSelected[1]) 
			{ 
				first = true; //found the first
			}
			if (comboAr[1] == currSelected[0] || comboAr[1] == currSelected[1])
			{
				second = true; //found the second
			}
			if ((first) && (second)) {
				match_index = j;
				break;
			}
		} else if (comboAr.length == 3) {
			first = false;
			second = false;
			third = false;
	
			if (comboAr[0] == currSelected[0] ||
				comboAr[0] == currSelected[1] ||
				comboAr[0] == currSelected[2] ) 
			{ 
				first = true; //found the first
			}
			if (comboAr[1] == currSelected[0] ||
				comboAr[1] == currSelected[1] ||
				comboAr[1] == currSelected[2])
			{
				second = true; //found the second
			}
			if (comboAr[2] == currSelected[0] ||
				comboAr[2] == currSelected[1] ||
				comboAr[2] == currSelected[2])
			{
				third = true; //found the third
			}
			if ((first) && (second) && (third)) {
				match_index = j; 
				break;
			}
		}
	}
	//alert('selected = ' + combo + "\n" + 'lookup = ' + id_combo[match_index]);
	//output = "Selected option(s) add " + formatCurrency(combo_price[match_index]) + " to the price";	
	delta = combo_price[match_index];	
	document.getElementById('price').innerHTML = formatCurrency(regular_price + delta);
}
		
	

function formatCurrency(num){
	num = (parseFloat(num)).toFixed(2);
	return (num);
}
