function generate_fields ( inform ) {  var thismodel = inform.modelpick.options[inform.modelpick.selectedIndex].value;  var sku       = '';  // a conditional H*A*C*K - array not worth the effort	if (thismodel == '1') { sku = '13331:1,'; }	if (thismodel == '2') { sku = '18821:1,'; }	if (thismodel == '3') { sku = '15701:1,'; }	if (thismodel == '4') { sku = '15700:1,'; }	if (thismodel == '5') { sku = '15702:1,'; }	if (thismodel == '6') { sku = '15705:1,'; }	if (inform.add_armband.checked == true) {		sku += '13334:1,';	}		if (inform.add_procableheadset.checked == true) {		sku += '13118:1,';	}		  inform.ProdList.value = sku;}function handleform ( inform ) { var errmsg = '';// NB: secondary conditional statements below are due to NN 4.x hack if ( inform.modelpick.options[inform.modelpick.selectedIndex].value == '') { errmsg += 'Please Select a Model before trying to purchase.'; } if ( errmsg ) { alert (errmsg); return false; } else { generate_fields( inform ); return true; }}