26,31d25 < var toarr=[], ccazrr=[], bccarr=[]; < var toarrnn=[], ccazrrnn=[], bccarrnn=[]; < var aisuff=''; < < // Inline HTML Form Email collaboration variables < var cv_textarea_rows=" rows=1 "; 57d50 < var rv=0; 66,73d58 < var maxrows=eval(dmcont.split('3_')[eval(-1 + dmcont.split('3_').length)].split("'")[0].split('"')[0].split('=')[0]); < if (maxrows > 1) { < for (jm=2; jm<=maxrows; jm++) { < document.getElementById('mytbody').innerHTML+=templatetr.replace(/\_1/g, '_' + jm).replace(/1\)/g, '' + jm + ')'); < document.getElementById('aidatetime').value = saveawayv; < curai++; < } < } 77c62 < aeq=dms[ii].substring(eval(1 + eval('' + beq.length))).split('&')[0]; --- > aeq=dms[ii].split('=')[1].split('&')[0]; 79,80d63 < if (document.getElementById('divagenda' + beq)) { < //alert(aeq); 82,85c65 < rv=assess(document.getElementById('divagenda' + beq)); < } //else { < //alert('oops! ' + beq); < //} --- > assess(document.getElementById('divagenda' + beq)); 92,113d71 < var toz='', ccz='', bccz=''; < if (document.URL.indexOf('&justification=') != -1) { < aisuff=' - ' + decodeURIComponent(document.URL.split('&justification=')[1].split('&')[0]).replace(/\+/g,' '); < if (aisuff == ' - ') { < aisuff=''; < } < } < if (val.indexOf('&to=') != -1) { < toz=val.split('&to=')[1].split('&')[0]; < val=val.replace('&to=' + toz, ''); < toz=decodeURIComponent(toz); < } < if (val.indexOf('&cc=') != -1) { < ccz=val.split('&cc=')[1].split('&')[0]; < val=val.replace('&cc=' + ccz, ''); < ccz=decodeURIComponent(ccz); < } < if (val.indexOf('&bcc=') != -1) { < bccz=val.split('&bcc=')[1].split('&')[0]; < val=val.replace('&bcc=' + bccz, ''); < bccz=decodeURIComponent(bccz); < } 116,140d73 < if ((toz + ccz + bccz) != '') { < if (toz != '') { < if (toz == (toz + ccz + bccz)) { < defprompt[0]=toz.replace(/\,/g,';') + ''; < } else { < defprompt[0]=toz.replace(/\,/g,';') + ','; < } < } else { < defprompt[0]=',' < } < if (ccz != '') { < if ((toz + ccz) == (toz + ccz + bccz)) { < defprompt[0]+=ccz.replace(/\,/g,';') + ''; < } else { < defprompt[0]+=ccz.replace(/\,/g,';') + ','; < } < } else { < defprompt[0]+=',' < } < if (bccz != '') { < defprompt[0]+=bccz.replace(/\,/g,';') + ''; < } else { < defprompt[0]+='' < } < } 146c79 < selbit=''; --- > selbit=''; 155c88 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + sv + aisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + sv; 157c90 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv + aisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv; 160c93 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0] + aisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0]; 163c96 < if (postbits.length > 1 && (toz + ccz + bccz) == '') { --- > if (postbits.length > 1) { 173c106 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + svx + aisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + svx); 175c108 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv + aisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv); 178c111 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0] + aisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0]); 181c114 < if (postbits.length > 1 && (toz + ccz + bccz) == '') { --- > if (postbits.length > 1) { 203d135 < antiewoit(); 213c145 < var bits, postbits, ibits=0, dpi=0, ioff=0, zero=0, bisuff=''; --- > var bits, postbits, ibits=0, dpi=0, ioff=0, zero=0; 225,229d156 < bisuff=''; < if (postbits[0].indexOf('&aisuff=') != -1) { < bisuff=' - ' + decodeURIComponent(postbits[0].split('&aisuff=')[1].split('&')[0]).replace(/\+/g,' '); < if (bisuff == ' - ') { bisuff=''; } < } 232c159 < selbit=''; --- > selbit=''; 241c168 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + sv + bisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + sv; 243c170 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv + bisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv; 246c173 < deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0] + bisuff; --- > deftitle[0]='Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0]; 252d178 < dpi++; 260c186 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + svx + bisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + svx); 262c188 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv + bisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + saveawayv); 265c191 < deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0] + bisuff); --- > deftitle.push('Agenda Items for ' + bits[ibits].split('organization=')[1].split('&')[0] + ' Meeting on ' + bits[ibits].split('aidatetime=')[1].split('&')[0]); 289d214 < var sv=''; 292,317d216 < var vsstr=',' + document.getElementById('tdto').title.replace(/\;/g,',') + ',' + document.getElementById('tdcc').title.replace(/\;/g,',') + ',' + document.getElementById('tdbcc').title.replace(/\;/g,',') + ','; < if (vsstr.replace(/\,/g,'') == '') { < vsstr=',' + defprompt[thischoice].replace(/\;/g,',') + ','; < } < if (divo.innerHTML.indexOf(' ') != -1 && divo.innerHTML.indexOf('@') == -1) { < if (vsstr.toLowerCase().indexOf(',' + divo.innerHTML.toLowerCase().trim() + ' [') != -1) { < sv=divo.innerHTML; < divo.title=sv; < divo.innerHTML='' + sv + ''; < divo.setAttribute('contenteditable', false); < } < } else if (divo.innerHTML.indexOf('[') != -1 && divo.innerHTML.indexOf(']') != -1 && divo.innerHTML.indexOf('@') != -1) { < if (vsstr.toLowerCase().indexOf(',' + divo.innerHTML.toLowerCase() + ',') != -1) { < sv=divo.innerHTML; < divo.title=sv; < divo.innerHTML='' + sv + ''; < divo.setAttribute('contenteditable', false); < } < } else if (divo.innerHTML.indexOf('@') != -1) { < if (vsstr.toLowerCase().indexOf(',' + divo.innerHTML.toLowerCase() + ',') != -1) { < sv=divo.innerHTML; < divo.title=sv; < divo.innerHTML='' + sv + ''; < divo.setAttribute('contenteditable', false); < } < } 326,328d224 < if (divo.innerHTML.indexOf('<') == 0) { < document.getElementById('hidden').innerHTML+=''; < } else { 330d225 < } 335,337d229 < if (divo.innerHTML.indexOf('<') == 0) { < document.getElementById('hidden').innerHTML+=''; < } else { 339d230 < } 344d234 < return 0; 353d242 < templatetr=document.getElementById('agendaitem_1').outerHTML; 374a264 > templatetr=document.getElementById('agendaitem_1').outerHTML; 384,410d273 < function antiewoit() { < var itas=0; < var tas=document.getElementsByTagName('textarea'); < for (itas=0; itas')[0].split('>')[eval(-1 + tas[itas].value.split('')[0].split('>').length)]; < } else if (tas[itas].innerHTML.indexOf('<a ') == 0) { < tas[itas].innerHTML=tas[itas].title; //.innerHTML.split('</a>')[0].split('>')[eval(-1 + tas[itas].innerHTML.split('</a>')[0].split('>').length)]; < } else if (tas[itas].innerHTML.indexOf('mailto') != -1) { < tas[itas].value=tas[itas].title; //.innerHTML.split('</a>')[0].split('>')[eval(-1 + tas[itas].innerHTML.split('</a>')[0].split('>').length)]; < } else if (tas[itas].value.indexOf('mailto') != -1) { < tas[itas].value=tas[itas].title; //.innerHTML.split('</a>')[0].split('>')[eval(-1 + tas[itas].innerHTML.split('</a>')[0].split('>').length)]; < } < } < tas=document.getElementsByTagName('div'); < for (itas=0; itas')[0].split('>')[eval(-1 + tas[itas].innerHTML.split('')[0].split('>').length)]; < tas[itas].setAttribute('contenteditable', true); < } else if (tas[itas].innerHTML.indexOf('<a ') == 0) { < tas[itas].innerHTML=tas[itas].title; //.innerHTML.split('</a>')[0].split('>')[eval(-1 + tas[itas].innerHTML.split('</a>')[0].split('>').length)]; < tas[itas].setAttribute('contenteditable', true); < } < } < lastformih=document.getElementById('mytable').outerHTML; //document.getElementById('myform').innerHTML; < } < 412c275 < var esuff='to',etos, preetos, ij, iij, etox='', etoy='', exw='', tdep='', tdes=''; --- > var esuff='to',etos, preetos, ij, iij, etox='', etoy='', exw=''; 415c278 < newth=document.getElementById('agendatitle').innerHTML.replace(' value=""', ' value="' + saveawayv + '"').replace(/\/g, '').replace(/\ data\-/g,' '); --- > newth=document.getElementById('agendatitle').innerHTML.replace(' value=""', ' value="' + saveawayv + '"').replace(/\/g, '').replace(/\ data\-/g,' '); 433,437d295 < if (('' + document.getElementById('td' + esuff).title) == '') { < document.getElementById('td' + esuff).title=etos[ij]; < } else { < document.getElementById('td' + esuff).title+=',' + etos[ij]; < } 440,445d297 < } else { < if (('' + document.getElementById('td' + esuff).title) == '') { < document.getElementById('td' + esuff).title=etos[ij]; < } else { < document.getElementById('td' + esuff).title+=',' + etos[ij]; < } 460,465d311 < var extras=''; < if (document.getElementById('myopt')) { < if (document.getElementById('myopt').innerHTML.trim() != 'Optionally load previous agenda ...') { < extras=' - ' + document.getElementById('myopt').innerHTML + ' '; < } < } 467c313 < document.getElementById('tdsubj').value=(document.getElementById('agendatitle').innerText || document.getElementById('agendatitle').contentWindow || document.getElementById('agendatitle').contentDocument) + saveawayv + extras + ' - RJM Programming'; --- > document.getElementById('tdsubj').value=(document.getElementById('agendatitle').innerText || document.getElementById('agendatitle').contentWindow || document.getElementById('agendatitle').contentDocument) + saveawayv + ' - RJM Programming'; 469c315 < document.getElementById('tdsubj').value=newth + extras + ' - RJM Programming'; --- > document.getElementById('tdsubj').value=newth + ' - RJM Programming'; 481,482d326 < tdep='

'; < tdes=' 
 To: ' + document.getElementById('tdto').outerHTML.replace('hidden', 'text').replace(/none\;/g,'block;width:400px;') + '
 CC: ' + document.getElementById('tdcc').outerHTML.replace('hidden', 'text').replace(/none\;/g,'block;width:400px;') + '
 BCC: ' + document.getElementById('tdbcc').outerHTML.replace('hidden', 'text').replace(/none\;/g,'block;width:400px;') + '

'; 484c328 < document.getElementById('tdhuhta').value=('
' + (prefix.split('Agenda ')[0] + newth.replace('Agenda Items ','Agenda Items ') + suffix + '

Justification:  ' + tdep + '' + tdes + '
').replace(/\>\/g,'>')).replace(/\/g, '').replace(/\ data\-/g,' ').replace(/\/g,String.fromCharCode(10)).replace(/1\ \ name\=\"divagendaitem/g, '5 style=width:96%;margin-left:2%; name="divagendaitem'); --- > document.getElementById('tdhuhta').value=('
' + (prefix.split('Agenda ')[0] + newth.replace('Agenda Items ','Agenda Items ') + suffix + '

Justification:  
').replace(/\>\/g,'>')).replace(/\/g, '').replace(/\ data\-/g,' '); 486c330 < document.getElementById('tdhuhta').value=('
' + (prefix.split('Agenda ')[0] + newth.replace('Agenda Items ','Agenda Items ') + suffix + '

Justification:  ' + tdep + '' + tdes + '
').replace(/\>\/g,'>')).replace(/\/g, '').replace(/\ data\-/g,' ').replace(/\/g,String.fromCharCode(10)).replace(/1\ \ name\=\"divagendaitem/g, '5 style=width:96%;margin-left:2%; name="divagendaitem'); --- > document.getElementById('tdhuhta').value=('
' + (prefix.split('Agenda ')[0] + newth.replace('Agenda Items ','Agenda Items ') + suffix + '

Justification:  
').replace(/\>\/g,'>')).replace(/\/g, '').replace(/\ data\-/g,' '); 492c336 < var thisls='?', idh, ais=aisuff; --- > var thisls='?', idh; 500,504d343 < if (ais != '') { < thisls+='&aisuff='; < thisls+=encodeURIComponent(' - ' + ais); < ais=''; < } 572c411 <
    --- >