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=='Black/Grey Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6230!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6230;ROC_VAR_PRICE=ROC_modPrice(6230);}}}; if (param1=='Black/White Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6231!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6231;ROC_VAR_PRICE=ROC_modPrice(6231);}}}; if (param1=='Dk. Blue/White Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6232!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6232;ROC_VAR_PRICE=ROC_modPrice(6232);}}}; if (param1=='Biscuit/Black Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6233!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6233;ROC_VAR_PRICE=ROC_modPrice(6233);}}}; if (param1=='Red/White Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6234!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6234;ROC_VAR_PRICE=ROC_modPrice(6234);}}}; if (param1=='Tan/Green Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6235!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6235;ROC_VAR_PRICE=ROC_modPrice(6235);}}}; if (param1=='Red/Red Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6236!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6236;ROC_VAR_PRICE=ROC_modPrice(6236);}}}; if (param1=='Red/Black Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6237!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6237;ROC_VAR_PRICE=ROC_modPrice(6237);}}}; if (param1=='Black/Green Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6238!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6238;ROC_VAR_PRICE=ROC_modPrice(6238);}}}; if (param1=='Dk. Blue/Dk. Blue Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6239!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6239;ROC_VAR_PRICE=ROC_modPrice(6239);}}}; if (param1=='Black/Green Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6240!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6240;ROC_VAR_PRICE=ROC_modPrice(6240);}}}; if (param1=='Red/Red Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6241!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6241;ROC_VAR_PRICE=ROC_modPrice(6241);}}}; if (param1=='Red/Black Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6242!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6242;ROC_VAR_PRICE=ROC_modPrice(6242);}}}; if (param1=='Red/White Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6243!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6243;ROC_VAR_PRICE=ROC_modPrice(6243);}}}; if (param1=='Biscuit/Green Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6244!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6244;ROC_VAR_PRICE=ROC_modPrice(6244);}}}; if (param1=='Biscuit/Blue Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6245!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6245;ROC_VAR_PRICE=ROC_modPrice(6245);}}}; if (param1=='Dk. Blue/Dk. Blue Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6246!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6246;ROC_VAR_PRICE=ROC_modPrice(6246);}}}; if (param1=='Biscuit/Biscuit Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6247!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6247;ROC_VAR_PRICE=ROC_modPrice(6247);}}}; if (param1=='Tan/Green Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6248!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6248;ROC_VAR_PRICE=ROC_modPrice(6248);}}}; if (param1=='Tan/White Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6249!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6249;ROC_VAR_PRICE=ROC_modPrice(6249);}}}; if (param1=='Tan/Tan Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6250!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6250;ROC_VAR_PRICE=ROC_modPrice(6250);}}}; if (param1=='Tan/Black Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6251!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6251;ROC_VAR_PRICE=ROC_modPrice(6251);}}}; if (param1=='Biscuit/Blue Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6252!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6252;ROC_VAR_PRICE=ROC_modPrice(6252);}}}; if (param1=='Dk. Blue/White Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6253!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6253;ROC_VAR_PRICE=ROC_modPrice(6253);}}}; if (param1=='Biscuit/Biscuit Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6254!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6254;ROC_VAR_PRICE=ROC_modPrice(6254);}}}; if (param1=='Black/Black Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6255!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6255;ROC_VAR_PRICE=ROC_modPrice(6255);}}}; if (param1=='Black/Black Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6256!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6256;ROC_VAR_PRICE=ROC_modPrice(6256);}}}; if (param1=='Black/Red Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6257!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6257;ROC_VAR_PRICE=ROC_modPrice(6257);}}}; if (param1=='Black/Red Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6258!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6258;ROC_VAR_PRICE=ROC_modPrice(6258);}}}; if (param1=='Tan/Tan Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6259!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6259;ROC_VAR_PRICE=ROC_modPrice(6259);}}}; if (param1=='Tan/Black Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6260!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6260;ROC_VAR_PRICE=ROC_modPrice(6260);}}}; if (param1=='Black/Grey Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6261!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6261;ROC_VAR_PRICE=ROC_modPrice(6261);}}}; if (param1=='Black/White Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6262!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6262;ROC_VAR_PRICE=ROC_modPrice(6262);}}}; if (param1=='Biscuit/Green Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6263!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6263;ROC_VAR_PRICE=ROC_modPrice(6263);}}}; if (param1=='Dk. Blue/Grey Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6264!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6264;ROC_VAR_PRICE=ROC_modPrice(6264);}}}; if (param1=='Dk. Blue/Grey Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6265!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6265;ROC_VAR_PRICE=ROC_modPrice(6265);}}}; if (param1=='Biscuit/Black Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod6266!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6266;ROC_VAR_PRICE=ROC_modPrice(6266);}}}; if (param1=='Tan/White Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod6267!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod6267;ROC_VAR_PRICE=ROC_modPrice(6267);}}}; if (param1=='Barley/Barley Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod7279!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7279;ROC_VAR_PRICE=ROC_modPrice(7279);}}}; if (param1=='Barley/Black Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod7280!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7280;ROC_VAR_PRICE=ROC_modPrice(7280);}}}; if (param1=='Barley/Green Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod7281!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7281;ROC_VAR_PRICE=ROC_modPrice(7281);}}}; if (param1=='Barley/White Piping'&¶m2=='Vinyl') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='738.00';if (modprod7282!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7282;ROC_VAR_PRICE=ROC_modPrice(7282);}}}; if (param1=='Barley/Barley Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod7283!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7283;ROC_VAR_PRICE=ROC_modPrice(7283);}}}; if (param1=='Barley/Black Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod7284!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7284;ROC_VAR_PRICE=ROC_modPrice(7284);}}}; if (param1=='Barley/Green Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod7285!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7285;ROC_VAR_PRICE=ROC_modPrice(7285);}}}; if (param1=='Barley/White Piping'&¶m2=='Leather') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='1,140.00';if (modprod7286!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod7286;ROC_VAR_PRICE=ROC_modPrice(7286);}}}; 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-GT-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