tab_prix=[ ['1','0.00','0.00'],['2','555.00','180.00'],['3','715.00','215.00'],['4','655.00','180.00'],['5','555.00','180.00'],['6','550.00','135.00'],['7','595.00','180.00'],['8','265.00','90.00'],['9','600.00','150.00'],['10','90.00','30.00'],['11','115.00','60.00'],['12','135.00','30.00'],['13','190.00','60.00'],['14','30.00','30.00'],['15','45.00','45.00'],['16','90.00','30.00'], [''] ]; function affichprix(id,iddiv) { var texte=''; if(id.selectedIndex>0){ for(i=0;i
'; texte = texte + 'Price of the Surf package (by trainee) : ' + tab_prix[i][1] + ' €'; texte = texte + '    Deposit (by trainee) : ' + tab_prix[i][2] + ' €'; texte = texte + '
'; } } } document.form6.hidstage.value=id; document.getElementById(iddiv).innerHTML=texte; }