widgToolbarItems=new Array();widgToolbarItems.push("bold");widgToolbarItems.push("italic");widgToolbarItems.push("hyperlink");widgToolbarItems.push("smiley");widgToolbarItems.push("htmlsource");widgEditor.prototype.cleanSource=function(){var ab="";if(this.wysiwyg){ab=this.theIframe.contentWindow.document.getElementsByTagName("body")[0].innerHTML}else{ab=this.theTextarea.value}ab=ab.validTags();ab=ab.replace(/^\s+/,"");ab=ab.replace(/\s+$/,"");ab=ab.replace(/<br>/g,"<br />");if(this.wysiwyg){this.theIframe.contentWindow.document.getElementsByTagName("body")[0].innerHTML=ab}else{this.theTextarea.value=ab}this.theInput.value=ab;return true};function confirmSubmit(button){var xangasubmit=document.getElementById('xangasubmit');if(xangasubmit){xangasubmit.style.display='none';var blocksubmit=document.getElementById('blocksubmit');blocksubmit.style.display='block'}return true}function loadSmileyFrame(){clickedToOpen=true;document.getElementById('x-smileyframe').src="http://www.xanga.com/smileychooser.aspx?rand="+(Math.random()*9999999);}