19d18 < var emailtitle = 'Email Attachment Title suffixes are &ema' + 'ilto=[emailTo] &emailsubject=[EmailSubject] '; 186c185 < var pform='
'; --- > var pform='
'; 265,268d263 < var prebae=''; < if (document.getElementById('thedivemail')) { < prebae='
' + emailtitle + '
'; < } 355c350 < bae.innerHTML+=prebae + "  Menu  Email snapshot of Google Chart to:    
"; --- > bae.innerHTML+="  Menu  Email snapshot of Google Chart to:    
"; 357c352 < document.body.innerHTML = document.body.innerHTML + prebae + "  Menu  Email snapshot of Google Chart to:    
"; --- > document.body.innerHTML = document.body.innerHTML + "  Menu  Email snapshot of Google Chart to:    
"; 363c358 < bae.innerHTML+="  Menu  Email snapshot of Google Chart ...  
"; --- > bae.innerHTML+="  Menu  Email snapshot of Google Chart ...  
"; 365c360 < document.body.innerHTML = document.body.innerHTML + "  Menu  Email snapshot of Google Chart ...  
"; --- > document.body.innerHTML = document.body.innerHTML + "  Menu  Email snapshot of Google Chart ...  
"; 382c377 < bae+=prebae + "  Menu"; --- > bae+="  Menu"; 384c379 < document.body.innerHTML = document.body.innerHTML + prebae + "  Menu"; --- > document.body.innerHTML = document.body.innerHTML + "  Menu"; 392,393d386 < setTimeout(ftde, 1000); < 395,442d387 < < function fixanother() { < if (document.getElementById('another')) { < if (document.getElementById('another').href.indexOf('./') == 0 || document.getElementById('another').href.toLowerCase().indexOf('http') != 0) { < document.getElementById('another').href=document.URL.split('#')[0].split('?')[0]; < } < } < } < < function ftde() { < if (document.getElementById('thedivemail')) { < if (document.getElementById('thedivemail').innerHTML.length < 5) { < fixanother(); < var thetoprefix=(location.search + '&').split('emailto=')[1] ? decodeURIComponent(location.search.split('emailto=')[1].split('&')[0]) : ''; < var theccprefix=(location.search + '&').split('emailcc=')[1] ? decodeURIComponent(location.search.split('emailcc=')[1].split('&')[0]) : ''; < var thebccprefix=(location.search + '&').split('emailbcc=')[1] ? decodeURIComponent(location.search.split('emailbcc=')[1].split('&')[0]) : ''; < var thesubjectprefix=(location.search + '&').split('emailsubject=')[1] ? decodeURIComponent(location.search.split('emailsubject=')[1].split('&')[0]) : ''; < var yesgo='noway' + 'okay' + '675'; < var nogo=yesgo; < if (document.getElementById('another')) { < yesgo=document.getElementById('another').href=document.URL.split('#')[0].split('?')[0]; < nogo='./' + document.URL.split('#')[0].split('?')[0].split('/')[eval(-1 + document.URL.split('#')[0].split('?')[0].split('/').length)]; < } < var tde=''; < tde+="
' + document.head.innerHTML + document.body.outerHTML.split('
')[0] + ''; document.getElementById('thehtml').value=hcis.replace(/" + "\\" + "+/g,'%2b').replace('" + nogo + "','" + yesgo + "').replace('" + emailtitle + "',''); return true; }\" style='display:none;' id=theformemail method=POST action=../webviewemail.php>"; < tde+=" "; < tde+=" "; < tde+=" "; < tde+=" "; < tde+=" "; < tde+=" "; < tde+="
"; < tde+=" "; < document.getElementById('thedivemail').innerHTML=tde; < < if (thetoprefix.indexOf('@') != -1) { < setTimeout(clickforemail,3000); < } < } < } < } < < function clickforemail() { < if (document.getElementById('thesemail')) { < document.getElementById('thesemail').click(); < } < } <