function SBwin(action) { switch(action) { case 'viewsmilies': window.open('','','width=200,height=373,scrollbars=yes,resizable=yes,left='+((screen.width - 200) / 2)+',top='+((screen.height - 381) / 2)).document.write('Viewing Smiliesfunction emote(code) { var message = window.opener.document.sayboxform.saybox_mesg; message.value += (message.value.charAt(message.value.length-1) == \' \') ? code : \' \'+code; }
Code(s)Image
:)
;)
:D
;D
>:(
:(
:o
8-)
???
::\\\
:P
:-[
:-x
:-\\\
:-*
:\'(
'); break; case 'archive': window.open('http://saybox.co.uk/shout.php?action='+action+'&user=newstap','','width=200,height=375,scrollbars=yes,resizable=yes,left='+((screen.width - 200) / 2)+',top='+((screen.height - 375) / 2)); break; case 'admin': window.open('http://saybox.co.uk/shout.php?action=admin&user=newstap'); break; } } function charsLeft(limit) { var message = document.sayboxform.saybox_mesg.value; var charsLeft = (limit - message.length); charsDiv = document.getElementById('charsLeft'); if(message.length >= limit) { document.sayboxform.saybox_mesg.value = message.substring(0,limit); charsDiv.innerHTML = charsDiv.innerHTML.replace(/\d+/,0); } else { charsDiv.innerHTML = charsDiv.innerHTML.replace(/\d+/,charsLeft); } } function so(txt) { self.status = txt; } function sf() { self.status = ""; } function reloadShouts() { document.sayboxframe.location.href = 'http://saybox.co.uk/shout.php?action=display&user=newstap'; }