<script language="JavaScript"> <!-- // function winop(){ windop.document.write('|<b>Ж</b><input type="checkbox" onclick="opener.parent.chat.document.bt.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt.value = 0; opener.parent.chat.document.text0.focus(); }" /><u>П</u><input type="checkbox" onclick="opener.parent.chat.document.bt2.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt2.value = 0; opener.parent.chat.document.text0.focus(); }" /><i>K</i><input type="checkbox" onclick="opener.parent.chat.document.bt3.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt3.value = 0; opener.parent.chat.document.text0.focus(); }" />|"); windop.document.write("<center><form><input type='button' value='Закрыть' onClick='window.close()'></form></center>") windop.document.write("</body></html>"); windop.document.close(); } // --> </script>
windop.document.write('|<b>Ж</b><input type="checkbox" onclick="opener.parent.chat.document.bt.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt.value = 0; opener.parent.chat.document.text0.focus(); }" /><u>П</u><input type="checkbox" onclick="opener.parent.chat.document.bt2.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt2.value = 0; opener.parent.chat.document.text0.focus(); }" /><i>K</i><input type="checkbox" onclick="opener.parent.chat.document.bt3.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt3.value = 0; opener.parent.chat.document.text0.focus(); }" />|');
<script language="JavaScript"> <!-- // function winop(){ windop.document.write('|<b>Ж</b><input type="checkbox" onclick="opener.parent.chat.document.bt.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt.value = 0; opener.parent.chat.document.text0.focus(); }" /><u>П</u><input type="checkbox" onclick="opener.parent.chat.document.bt2.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt2.value = 0; opener.parent.chat.document.text0.focus(); }" /><i>K</i><input type="checkbox" onclick="opener.parent.chat.document.bt3.value = 1; opener.parent.chat.document.text0.focus(); if(!this.checked) { opener.parent.chat.document.bt3.value = 0; opener.parent.chat.document.text0.focus(); }" />|'); // --> </script>
<input type="button" value="Открыть" onclick="winop();">
#(b)^<b>^
<input type="hidden" name="bt" value="0" /> <input type="checkbox" onclick="fmsg.bt.value = 1; fmsg.text0.focus(); if(!this.checked) { fmsg.bt.value = 0; fmsg.text0.focus(); }" />
/* Транслирует текст на русский по звучанию */
function bt(msg) { if(parent.chat.document.fmsg.bt.value == 1) { msg = '(b)'+msg+'(/b)'; } return msg; }
msg_text=translit(msg_text);
msg_text=bt(msg_text);