function del() { if (document.cookie !="") { delcoo = document.cookie.split("; "); expire = new Date; expire.setDate(expire.getDate()-1); for (i=0; i < delcoo.length; i++) { cook = delcoo[i].split("=")[0]; document.cookie = cook + "=;expires=" + expire.toGMTString(); }; }; };
function addBold(NVForm) { theText = prompt('Please enter the BOLD text:',''); document.NVForm.mText.value = document.NVForm.mText.value + "<b>" + theText + "</b> "; document.NVForm.mText.focus(); };
function addItal(NVForm) { theText = prompt('Please enter the ITALIC text:',''); document.NVForm.mText.value = document.NVForm.mText.value + "<i>" + theText + "</i> "; document.NVForm.mText.focus(); };
function addUnder(NVForm) { theText = prompt('Please enter the UNDERLINED text:',''); document.NVForm.mText.value = document.NVForm.mText.value + "<u>" + theText + "</u> "; document.NVForm.mText.focus(); };
function addColor(NVForm) { theColor = prompt('Please enter the new font COLOR:',''); theText = prompt('Please enter the colored TEXT:',''); document.NVForm.mText.value = document.NVForm.mText.value + "<font color=" + theColor + ">" + theText + "</font> "; document.NVForm.mText.focus(); };
function addImage(NVForm) { theURL = prompt('Please enter the URL for the image:','http://'); document.NVForm.mText.value = document.NVForm.mText.value + "<img src='" + theURL + "'> "; document.NVForm.mText.focus(); };
function addLink(NVForm) { theURL = prompt('Please enter the URL for the link:','http://'); theTitle = prompt('Please enter a TITLE for the link:',''); document.NVForm.mText.value = document.NVForm.mText.value + "<a href='" + theURL + "' target=_blank>" + theTitle + "</a> "; document.NVForm.mText.focus(); };
function validForm(NVForm) { if (document.all || document.getElementById) { for (i = 0; i < NVForm.length; i++) { var tempobj = NVForm.elements[i]; if (tempobj.type.toLowerCase() == "submit") { tempobj.disabled = true; }; }; }; return true; };
function smilies(whichSmilie) { opener.document.NVForm.mText.value = opener.document.NVForm.mText.value + whichSmilie + " "; }
function openSmilies() { newWindow = window.open('http://www.spamfreeporn.com/public/smilies.html', 'newWin', 'toolbar=no,location=no,resizable=no,menubar=no,width=350,height=200'); };