var ROC_VAR_STOCK; function getVarValues(thisPGCode,thisOutputField,param1,param2,param3,param4,param5,thisType) { ROC_VAR_STOCK=''; ROC_VAR_PRICE=''; var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML =''};if (param1=='Vinyl'&¶m2=='Tan/Tan Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4589!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4589;ROC_VAR_PRICE=ROC_modPrice(4589);}}}; if (param1=='Vinyl'&¶m2=='Black/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4590!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4590;ROC_VAR_PRICE=ROC_modPrice(4590);}}}; if (param1=='Vinyl'&¶m2=='Black/Grey Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4591!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4591;ROC_VAR_PRICE=ROC_modPrice(4591);}}}; if (param1=='Vinyl'&¶m2=='Black/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4592!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4592;ROC_VAR_PRICE=ROC_modPrice(4592);}}}; if (param1=='Vinyl'&¶m2=='Black/Red Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4593!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4593;ROC_VAR_PRICE=ROC_modPrice(4593);}}}; if (param1=='Leather'&¶m2=='Tan/Tan Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4594!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4594;ROC_VAR_PRICE=ROC_modPrice(4594);}}}; if (param1=='Leather'&¶m2=='Tan/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4595!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4595;ROC_VAR_PRICE=ROC_modPrice(4595);}}}; if (param1=='Leather'&¶m2=='Tan/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4596!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4596;ROC_VAR_PRICE=ROC_modPrice(4596);}}}; if (param1=='Leather'&¶m2=='Tan/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4597!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4597;ROC_VAR_PRICE=ROC_modPrice(4597);}}}; if (param1=='Vinyl'&¶m2=='Red/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4598!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4598;ROC_VAR_PRICE=ROC_modPrice(4598);}}}; if (param1=='Vinyl'&¶m2=='Tan/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4599!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4599;ROC_VAR_PRICE=ROC_modPrice(4599);}}}; if (param1=='Vinyl'&¶m2=='Tan/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4600!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4600;ROC_VAR_PRICE=ROC_modPrice(4600);}}}; if (param1=='Vinyl'&¶m2=='Tan/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4601!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4601;ROC_VAR_PRICE=ROC_modPrice(4601);}}}; if (param1=='Vinyl'&¶m2=='Black/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4602!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4602;ROC_VAR_PRICE=ROC_modPrice(4602);}}}; if (param1=='Vinyl'&¶m2=='Dark Blue/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4603!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4603;ROC_VAR_PRICE=ROC_modPrice(4603);}}}; if (param1=='Vinyl'&¶m2=='Red/Red Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4604!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4604;ROC_VAR_PRICE=ROC_modPrice(4604);}}}; if (param1=='Vinyl'&¶m2=='Red/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4605!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4605;ROC_VAR_PRICE=ROC_modPrice(4605);}}}; if (param1=='Vinyl'&¶m2=='Dark Blue/Dark Blue Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4606!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4606;ROC_VAR_PRICE=ROC_modPrice(4606);}}}; if (param1=='Vinyl'&¶m2=='Dark Blue/Grey Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4607!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4607;ROC_VAR_PRICE=ROC_modPrice(4607);}}}; if (param1=='Vinyl'&¶m2=='Biscuit/Biscuit Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4608!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4608;ROC_VAR_PRICE=ROC_modPrice(4608);}}}; if (param1=='Vinyl'&¶m2=='Biscuit/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4609!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4609;ROC_VAR_PRICE=ROC_modPrice(4609);}}}; if (param1=='Vinyl'&¶m2=='Biscuit/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4610!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4610;ROC_VAR_PRICE=ROC_modPrice(4610);}}}; if (param1=='Vinyl'&¶m2=='Biscuit/Blue Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod4611!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4611;ROC_VAR_PRICE=ROC_modPrice(4611);}}}; if (param1=='Leather'&¶m2=='Dark Blue/Dark Blue Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4612!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4612;ROC_VAR_PRICE=ROC_modPrice(4612);}}}; if (param1=='Leather'&¶m2=='Dark Blue/Grey Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4613!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4613;ROC_VAR_PRICE=ROC_modPrice(4613);}}}; if (param1=='Leather'&¶m2=='Dark Blue/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4614!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4614;ROC_VAR_PRICE=ROC_modPrice(4614);}}}; if (param1=='Leather'&¶m2=='Biscuit/Biscuit Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4615!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4615;ROC_VAR_PRICE=ROC_modPrice(4615);}}}; if (param1=='Leather'&¶m2=='Black/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4616!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4616;ROC_VAR_PRICE=ROC_modPrice(4616);}}}; if (param1=='Leather'&¶m2=='Biscuit/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4617!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4617;ROC_VAR_PRICE=ROC_modPrice(4617);}}}; if (param1=='Leather'&¶m2=='Black/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4618!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4618;ROC_VAR_PRICE=ROC_modPrice(4618);}}}; if (param1=='Leather'&¶m2=='Black/Red Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4619!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4619;ROC_VAR_PRICE=ROC_modPrice(4619);}}}; if (param1=='Leather'&¶m2=='Black/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4620!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4620;ROC_VAR_PRICE=ROC_modPrice(4620);}}}; if (param1=='Leather'&¶m2=='Red/Red Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4621!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4621;ROC_VAR_PRICE=ROC_modPrice(4621);}}}; if (param1=='Leather'&¶m2=='Red/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4622!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4622;ROC_VAR_PRICE=ROC_modPrice(4622);}}}; if (param1=='Leather'&¶m2=='Black/Grey Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4623!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4623;ROC_VAR_PRICE=ROC_modPrice(4623);}}}; if (param1=='Leather'&¶m2=='Red/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4624!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4624;ROC_VAR_PRICE=ROC_modPrice(4624);}}}; if (param1=='Leather'&¶m2=='Biscuit/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4625!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4625;ROC_VAR_PRICE=ROC_modPrice(4625);}}}; if (param1=='Leather'&¶m2=='Biscuit/Blue Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod4626!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod4626;ROC_VAR_PRICE=ROC_modPrice(4626);}}}; if (param1=='Vinyl'&¶m2=='Barley/Barley Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod5887!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5887;ROC_VAR_PRICE=ROC_modPrice(5887);}}}; if (param1=='Vinyl'&¶m2=='Barley/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod5888!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5888;ROC_VAR_PRICE=ROC_modPrice(5888);}}}; if (param1=='Vinyl'&¶m2=='Barley/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod5889!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5889;ROC_VAR_PRICE=ROC_modPrice(5889);}}}; if (param1=='Vinyl'&¶m2=='Barley/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,214.00';if (modprod5890!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5890;ROC_VAR_PRICE=ROC_modPrice(5890);}}}; if (param1=='Leather'&¶m2=='Barley/Barley Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod5891!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5891;ROC_VAR_PRICE=ROC_modPrice(5891);}}}; if (param1=='Leather'&¶m2=='Barley/Green Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod5892!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5892;ROC_VAR_PRICE=ROC_modPrice(5892);}}}; if (param1=='Leather'&¶m2=='Barley/White Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod5893!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5893;ROC_VAR_PRICE=ROC_modPrice(5893);}}}; if (param1=='Leather'&¶m2=='Barley/Black Piping') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,740.00';if (modprod5894!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod5894;ROC_VAR_PRICE=ROC_modPrice(5894);}}}; if (thisType==1) {return ROC_VAR_STOCK;} else {return ROC_VAR_PRICE;}} function ROC_modPrice(thisPid) { //firstly do the rad var ROC_mod_Adj = 0; var ROC_modurl =''; var ROC_currsym="£"; //if no origprice then this is not relevant if (document.getElementById('ROC_origprice'+thisPid) != null) { var ROC_origprice=parseFloat(document.getElementById('ROC_origprice'+thisPid).value); var ROC_newItemPrice=ROC_origprice; if (document.getElementById('ROC_MOD_OPT_RAD_COUNT'+thisPid) != null) { var ROC_radiocount = document.getElementById('ROC_MOD_OPT_RAD_COUNT'+thisPid).value; for (var ROC_iloop = 1; ROC_iloop<=ROC_radiocount; ROC_iloop++) { if (document.getElementById('ROC_MOD_ID_'+ROC_iloop).checked) { ROC_newItemPrice=ROC_newItemPrice+parseFloat(document.getElementById('ROC_MOD_ID_'+ ROC_iloop + '_PR').value); ROC_modurl=ROC_modurl+'&' + document.getElementById('ROC_MOD_ID_'+ROC_iloop).title + '=' + document.getElementById('ROC_MOD_ID_'+ROC_iloop).value } } } //Now for the dd var ROC_element; var ROC_idtocheck; if (document.getElementById('ROC_MOD_OPT_SEL_COUNT'+thisPid) != null) { var ROC_selcount = document.getElementById('ROC_MOD_OPT_SEL_COUNT'+thisPid).value; for (var ROC_iloop = 2; ROC_iloop<=9; ROC_iloop++) { ROC_idtocheck=''; ROC_element = document.getElementById('dditemname' + ROC_iloop); if (ROC_element != null) { ROC_idtocheck=ROC_element.options[ROC_element.selectedIndex].id + '_PR'; ROC_newItemPrice=ROC_newItemPrice+parseFloat(document.getElementById(ROC_idtocheck).value); ROC_modurl=ROC_modurl+'&itemname' + ROC_iloop + '=' + ROC_element.options[ROC_element.selectedIndex].value; } } } //Output the new price //document.getElementById('ROC_itemprice').innerHTML=ROC_currsym+ROC_newItemPrice.toFixed(2); document.getElementById('showpriceMGB-Panels-70-80-PB').innerHTML=ROC_newItemPrice.toFixed(2); //document.getElementById('ROC_modurl').value=ROC_modurl; } return ROC_newItemPrice.toFixed(2); } function ROC_ShowGroupData(myForm,thisPGCode) { //get the pgcode var str = ''; var thispgfield1; var thispgfield2; var thispgfield3; var thispgfield4; var thispgfield5; var elem = myForm.elements; var thisElemValue; var ignorethis=false; for(var i = 0; i