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=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Black') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3376!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3376;ROC_VAR_PRICE=ROC_modPrice(3376);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Red') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3377!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3377;ROC_VAR_PRICE=ROC_modPrice(3377);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Biscuit') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3378!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3378;ROC_VAR_PRICE=ROC_modPrice(3378);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Blue') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3379!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3379;ROC_VAR_PRICE=ROC_modPrice(3379);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Brown') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3380!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3380;ROC_VAR_PRICE=ROC_modPrice(3380);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Grey') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3381!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3381;ROC_VAR_PRICE=ROC_modPrice(3381);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Black') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3382!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3382;ROC_VAR_PRICE=ROC_modPrice(3382);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Red') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3383!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3383;ROC_VAR_PRICE=ROC_modPrice(3383);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Biscuit') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3384!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3384;ROC_VAR_PRICE=ROC_modPrice(3384);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Blue') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3385!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3385;ROC_VAR_PRICE=ROC_modPrice(3385);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Brown') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3386!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3386;ROC_VAR_PRICE=ROC_modPrice(3386);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='DP55 Polypropylene'&¶m3=='Grey') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='781.00';if (modprod3387!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3387;ROC_VAR_PRICE=ROC_modPrice(3387);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Black') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3388!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3388;ROC_VAR_PRICE=ROC_modPrice(3388);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Red') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3389!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3389;ROC_VAR_PRICE=ROC_modPrice(3389);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Biscuit') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3390!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3390;ROC_VAR_PRICE=ROC_modPrice(3390);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Blue') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3391!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3391;ROC_VAR_PRICE=ROC_modPrice(3391);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Brown') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3392!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3392;ROC_VAR_PRICE=ROC_modPrice(3392);}}}; if (param1=='1970-1974 Without Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Grey') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3393!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3393;ROC_VAR_PRICE=ROC_modPrice(3393);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Black') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3394!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3394;ROC_VAR_PRICE=ROC_modPrice(3394);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Red') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3395!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3395;ROC_VAR_PRICE=ROC_modPrice(3395);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Biscuit') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3396!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3396;ROC_VAR_PRICE=ROC_modPrice(3396);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Blue') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3397!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3397;ROC_VAR_PRICE=ROC_modPrice(3397);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Brown') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3398!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3398;ROC_VAR_PRICE=ROC_modPrice(3398);}}}; if (param1=='1974-1980 With Trunk Light'&¶m2=='Feintuft Velour'&¶m3=='Grey') { ROC_VAR_STOCK='Made to order - See despatch times below';ROC_VAR_PRICE='994.00';if (modprod3399!=''){var ROC_el = document.getElementById('ROMAN_RDD_MODS');if (ROC_el !== null){ROC_ajaxDisplay = document.getElementById('ROMAN_RDD_MODS');ROC_ajaxDisplay.innerHTML = modprod3399;ROC_VAR_PRICE=ROC_modPrice(3399);}}}; 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('showpriceCK-Boot-Spit-70-80-OE').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