const char HTTP_SCRIPT_MODULE_TEMPLATE[] PROGMEM = "var os,hs;" "function ce(i,q){" // Create index select "var o=document.createElement('option');" "o.textContent=i;" "q.appendChild(o);" "}" "function ot(g,s){" // g = id and name, s = value "var a=s&0xffe0,b=0,c,p,l,t=qs('#h'+g),u=s&0x001f;" "l=t.options.length;" // Remove current options "for(i=l;i;i--){p=t.options[i-1].parentNode;p.removeChild(t.options[i-1]);}" "l=hs.length;" // Find max indexes for s "for(i=0;i>=5;" // Add options "for(i=1;i<=b;i++){ce((i<10)?(' '+i):i,t);}" "eb('h'+g).value=u+1;" // Set selected value "t.style.visibility=(b>0)?'':'hidden';" "}" "function sk(s,g){" // s = value, g = id and name "var o=os.replace(/}2/g,\"