HTML: <html> <head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251"> <title> Общая чат-комната портала</title> <link rel=stylesheet href="chat.css" type="text/css"></head> <script> [js] <!-- msg = new Array(); im = 0; pvt = new Array(); ip = 0; inf = new Array(); ii = 0; var timerID; var loading = true; var header = '<html><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">\n<head>\n\t' + '<link rel=stylesheet href="chat.css" type="text/css">\n</head>\n' + '<body bgcolor=#FDDAA7 style="margin: 5px 0px 0px 5px;">\n'; var footer = '<br></body>\n</html>\n'; var udata = '<script>parent.update();</script>'; var mform = '<html><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251"><head>\n\n\t' + '<link rel=stylesheet href="chat.css" type="text/css">\n</head>\n' + '<body bgcolor="#ff9900" onResize="parent.rform();">\n' + '<form name="chat" target="_self" action="send.php3?6f911d1dadc0722ca9ab31edee470d1f" method="post"\n><table cellpadding=2 cellspacing=0 border=0>\n' + '<tr valign="top"><td colspan=2> <textarea name="message" onKeyPress="parent.checkKey( event );" wrap="soft" cols=40 rows=2></textarea></td><td align=left> <input type="button" value=" X " onClick="parent.clearForm()"></td>\n' + '</tr><tr><td> <select name="intonation">\n' + '<option selected value="">Интонация...</option>\n' + '<option value="0"></option>\n' + '<option value="1">с замиранием сердца</option>\n' + '<option value="2">романтично</option>\n' + '<option value="3">с диким воплем</option>\n' + '<option value="4">хлопая ресницоми</option>\n' + '<option value="5">передёргивая затвор емки</option>\n' + '<option value="6">ацко</option>\n' + '<option value="7">весело</option>\n' + '<option value="8">счастливо</option>\n' + '<option value="9">с предсмертным стоном</option>\n' + '<option value="10">в агонии</option>\n' + '<option value="11">выгнув пальцы</option>\n' + '<option value="12">с воплями и плясками</option>\n' + '<option value="13">грустно</option>\n' + '<option value="14">перепугано</option>\n' + '<option value="15">завтыкавши</option>\n' + '<option value="16">c любовью</option>\n' + '<option value="17">сердито</option>\n' + '<option value="18">серьезно</option>\n' + '<option value="19">отмораживаясь</option>\n' + '<option value="20">c гордостью</option>\n' + '<option value="21">co смехом</option>\n' + '<option value="22">улыбаясь</option>\n' + '<option value="23">хитро</option>\n' + '<option value="24">c поцелуем</option>\n' + '<option value="25">c уважением</option>\n' + '<option value="26">шутя</option>\n' + '<option value="27">c криком</option>\n' + '<option value="28">возбужденно</option>\n' + '<option value="29">заинтересовано</option>\n' + '<option value="30">с удивлением</option>\n' + '<option value="31">с угрозой</option>\n' + '<option value="32">со зверским оскалом</option>\n' + '<option value="33">выпучив глазки</option>\n' + '<option value="34">похрюкивая</option>\n' + '<option value="35">подёргивая ушками</option>\n' + '<option value="36">истерически повизгивая</option>\n' + '<option value="37">обливаясь горючими слезами</option>\n' + '<option value="38">в ужосе</option>\n' + '<option value="39">в непонятках</option>\n' + '<option value="40">в дикой ярости</option>\n' + '<option value="41">нежно</option>\n' + '<option value="42">мечтая</option>\n' + '<option value="43">с трясущимися руками</option>\n' + '<option value="44">с кровью в глазах</option>\n' + '<option value="45">задумчиво</option>\n' + '<option value="46">перепугано</option>\n' + '<option value="47">надув щёки</option>\n' + '<option value="48">дико</option>\n' + '<option value="49">с диким хохотом</option>\n' + '<option value="50">намёк</option>\n' + '<option value="51">в отмазку</option>\n' + '<option value="52">по Ленински прищурив левый глаз</option>\n' + '<option value="53">лениво</option>\n' + '<option value="54">вяло</option>\n' + '<option value="55">скучая</option>\n' + '<option value="56">влюблённо</option>\n' + '<option value="57">безразлично</option>\n' + '<option value="58">тупо</option>\n' + '<option value="59">в депресухе</option>\n' + '<option value="60">я хочу умереть</option>\n' + '<option value="61">выдёргивая чеку из гранаты</option>\n' + '<option value="62">дрожащей рукою</option>\n' + '<option value="63">вихляя хвостиком</option>\n' + '<option value="64">насупившись</option>\n' + '<option value="65">метая молнии</option>\n' + '<option value="66">надув щёки</option>\n' + '<option value="67">высунув язык</option>\n' + '<option value="68">с языком на плечах</option>\n' + '<option value="69">брызжа слюною</option>\n' + '<option value="70">шепотом</option>\n' + '<option value="71">напевая</option>\n' + '<option value="72">в полуобморочном состоянии</option>\n' + '<option value="73">убившись головой апстену</option>\n' + '<option value="74">[БИП] [БИП] [БИП]</option>\n' + '</select></td>\n' + '<td align=right> Персонально: <input type="text" name="person" size=8></td>\n' + '<td colspan=2 align="right"><input style="font: 10px verdana" type="button" value="Отправить [Ctrl+Enter]" onClick="parent.submitMsg()"></td>\n' + '</tr></table>\n</form>\n' + '</body></html>'; var menu = '<html>\n<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">\n\t' + '<link rel=stylesheet href="chat.css" type="text/css">\n</head>\n' + '<body bgcolor="#ff9900" style="margin: 0px 0px 0px 5px;">\n' + '<table width="99%" cellpadding=0 cellspacing=0>\n<tr valign="top">\n\t' + '<td align="left"><img src="/images/bdot.gif" width=9 height=9 align="baseline"><img src="/images/bdot.gif" width=9 height=9 align="baseline">  <img src="/images/bdot.gif" width=9 height=9 align="baseline"> <a href="index.php3?change" target=_top><b>Настройки</b></a> <img src="/images/bdot.gif" width=9 height=9 align="baseline"> <a href="javascriptarent.loading=true;parent.update();" onMouseOver="window.status=\'Обновить...\';return true;" onMouseOut="window.status=\'\';return true;"><b>Обновить</b></a>\n\t' + '<img src="/images/bdot.gif" width=9 height=9 align="baseline"> <a href="javascript: window.open(\'help.php\',\'New_Window\',\'width=770, height=600, resizable=yes, scrollbars=yes, status=no, toolbar=no, menubar=no\'); void(0);" ><b>Помощь</b></a>'+ ' <img src="/images/bdot.gif" width=9 height=9 align="baseline"> <a href="javascript: window.open(\'rulez.php\',\'New_Window\',\'width=600, height=600, resizable=yes, scrollbars=no, status=no, toolbar=no, menubar=no\'); void(0);" ><b>Правила</b></a> <img src="/images/bdot.gif" width=9 height=9 align="baseline"> <a href="exit.php3?6f911d1dadc0722ca9ab31edee470d1f" target="_top"><b>Выйти из чата</b></a></td>\n' + '</tr>\n'+ '</table>\n' + '</body>\n</html>'; var infoHeader = '<html>\n<head><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">\n\t' + '<link rel=stylesheet href="chat.css" type="text/css">\n</head>\n' + '<body bgcolor="#FF9900" style="margin: 17px 0px 0px 5px;">\n' + ' ' + '\n<div align=center class="small">[Нажми на имя для привата]</div>\n<hr size=1 noshade>\n'; function update(){ if( loading ){ loading = false; clearTimeout( timerID ); _data.location='/chat/data.php3?6f911d1dadc0722ca9ab31edee470d1f'; } else{ loading = true; timerID=setTimeout( 'update()', 5000 ); } } function info(){ var q = ''; for( i=0; i<ii; i++ ) if( inf ) q = q + "\n" + inf; _info.document.open(); _info.document.writeln( infoHeader ); _info.document.writeln( q ); _info.document.writeln( "<br><br>\n<hr size=1 noshade>\n Всего: " + ii + " </div>\n\n" ); _info.document.writeln("<BR><BR><center><!--div id=\'smilediv\'> <img onclick=\"parent.smilem(':\)');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile1.gif border=0 alt=\":\)\"></a> <img onclick=\"parent.smilem('');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile2.gif border=0 alt=\"\"></a> <img onclick=\"parent.smilem('');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile3.gif border=0 alt=\"\"></a> <img onclick=\"parent.smilem(':\(');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile4.gif border=0 alt=\":\(\"></a> <img onclick=\"parent.smilem(';\)');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile5.gif border=0 alt=\";\)\"></a> <img onclick=\"parent.smilem('');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile6.gif border=0 alt=\"\"></a> <img onclick=\"parent.smilem(':hoho:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smiles0_20070831_1592988354.gif border=0 alt=\":hoho:\"></a> <img onclick=\"parent.smilem(':kill2:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/kill2.gif border=0 alt=\":kill2:\"></a> <img onclick=\"parent.smilem(':ufo:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/ufo.gif border=0 alt=\":ufo:\"></a> <img onclick=\"parent.smilem(':hello:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/hello.gif border=0 alt=\":hello:\"></a> <img onclick=\"parent.smilem(':bye:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/bye.gif border=0 alt=\":bye:\"></a> <img onclick=\"parent.smilem(':tea:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/tea.gif border=0 alt=\":tea:\"></a> <img onclick=\"parent.smilem(':hihi:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/hihi.gif border=0 alt=\":hihi:\"></a> <img onclick=\"parent.smilem(':dead:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/dead.gif border=0 alt=\":dead:\"></a> <img onclick=\"parent.smilem(':8');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile11.gif border=0 alt=\":8\"></a> <img onclick=\"parent.smilem(':`\)');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile12.gif border=0 alt=\":`\)\"></a> <img onclick=\"parent.smilem(':doctor:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/doctor.gif border=0 alt=\":doctor:\"></a> <img onclick=\"parent.smilem(':crazy:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/crazy.gif border=0 alt=\":crazy:\"></a> <img onclick=\"parent.smilem(':king:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/king.gif border=0 alt=\":king:\"></a> <img onclick=\"parent.smilem(':ЯR:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/bb.gif border=0 alt=\":ЯR:\"></a> <img onclick=\"parent.smilem(':angel:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/angel.gif border=0 alt=\":angel:\"></a> <img onclick=\"parent.smilem('8\)');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile10.gif border=0 alt=\"8\)\"></a> <img onclick=\"parent.smilem(':beer:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/beer.gif border=0 alt=\":beer:\"></a> <img onclick=\"parent.smilem(':alc:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/alc.gif border=0 alt=\":alc:\"></a> <img onclick=\"parent.smilem(':b:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/thumbsup.gif border=0 alt=\":b:\"></a> <img onclick=\"parent.smilem(':\[');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile8.gif border=0 alt=\":\[\"></a> <img onclick=\"parent.smilem(':kill:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/smile9.gif border=0 alt=\":kill:\"></a> <img onclick=\"parent.smilem(':boogi:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/boogi.gif border=0 alt=\":boogi:\"></a> <img onclick=\"parent.smilem(':chupa:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/chupa.gif border=0 alt=\":chupa:\"></a> <img onclick=\"parent.smilem(':lady:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/lady.gif border=0 alt=\":lady:\"></a> <img onclick=\"parent.smilem(':nunu:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/nunu.gif border=0 alt=\":nunu:\"></a> <img onclick=\"parent.smilem(':nerv:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/nerv.gif border=0 alt=\":nerv:\"></a> <img onclick=\"parent.smilem(':nail:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/nail.gif border=0 alt=\":nail:\"></a> <img onclick=\"parent.smilem(':mudr:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/old.gif border=0 alt=\":mudr:\"></a> <img onclick=\"parent.smilem(':draste:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/privet.gif border=0 alt=\":draste:\"></a> <img onclick=\"parent.smilem(':susel:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/susel.gif border=0 alt=\":susel:\"></a> <img onclick=\"parent.smilem(':wedding:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/wedding.gif border=0 alt=\":wedding:\"></a> <img onclick=\"parent.smilem(':yessir:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/yessir.gif border=0 alt=\":yessir:\"></a> <img onclick=\"parent.smilem(':tease:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/tease.gif border=0 alt=\":tease:\"></a> <img onclick=\"parent.smilem(':stupid:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/stupid.gif border=0 alt=\":stupid:\"></a> <img onclick=\"parent.smilem(':kruger:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/kruger.gif border=0 alt=\":kruger:\"></a> <img onclick=\"parent.smilem(':bulldog:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/bulldog.gif border=0 alt=\":bulldog:\"></a> <img onclick=\"parent.smilem(':boks:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/boks.gif border=0 alt=\":boks:\"></a> <img onclick=\"parent.smilem(':ban:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/ban.gif border=0 alt=\":ban:\"></a> <img onclick=\"parent.smilem(':conf:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/conf.gif border=0 alt=\":conf:\"></a> <img onclick=\"parent.smilem(':congr:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/congr.gif border=0 alt=\":congr:\"></a> <img onclick=\"parent.smilem(':dont:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/dont.gif border=0 alt=\":dont:\"></a> <img onclick=\"parent.smilem(':imhere:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/imhere.gif border=0 alt=\":imhere:\"></a> <img onclick=\"parent.smilem(':hul:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/hul.gif border=0 alt=\":hul:\"></a> <img onclick=\"parent.smilem(':help:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/help.gif border=0 alt=\":help:\"></a> <img onclick=\"parent.smilem(':idea:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/idea.gif border=0 alt=\":idea:\"></a> <img onclick=\"parent.smilem(':hug:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/hug.gif border=0 alt=\":hug:\"></a> <img onclick=\"parent.smilem(':horse:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/horse.gif border=0 alt=\":horse:\"></a> <img onclick=\"parent.smilem(':budo:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/budo.gif border=0 alt=\":budo:\"></a> <img onclick=\"parent.smilem(':divin:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/divin.gif border=0 alt=\":divin:\"></a> <img onclick=\"parent.smilem(':digger:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/digger.gif border=0 alt=\":digger:\"></a> <img onclick=\"parent.smilem(':greedy:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/greedy.gif border=0 alt=\":greedy:\"></a> <img onclick=\"parent.smilem(':boy:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/gent.gif border=0 alt=\":boy:\"></a> <img onclick=\"parent.smilem(':mol:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/mol.gif border=0 alt=\":mol:\"></a> <img onclick=\"parent.smilem(':rev:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/rev.gif border=0 alt=\":rev:\"></a> <img onclick=\"parent.smilem(':shuffle:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/shuffle.gif border=0 alt=\":shuffle:\"></a> <img onclick=\"parent.smilem(':monstr:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/monstr.gif border=0 alt=\":monstr:\"></a> <img onclick=\"parent.smilem(':nun:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/nun.gif border=0 alt=\":nun:\"></a> <img onclick=\"parent.smilem(':umn:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/umn.gif border=0 alt=\":umn:\"></a> <img onclick=\"parent.smilem(':rocket:');\" src=http://sumclub.tv/su2/components/com_datsogallery/img_originals/rocket.gif border=0 alt=\":rocket:\"></a> </div-->"); _info.document.writeln( footer ); _info.document.close(); ii = 0; } function cm( str ){ if( str ){ p = str.split( "::" ); str = "[<a style=\"color: #0000ff\" href=\"#\" onClick=\"parent.tm(\'" + p[0] + "\');return false;\">" + p[0] + "</a>] > <a style=\"color: #" + p[1] + "\" href=\"#\" onClick=\"parent.nm('" + p[2] + "');return false;\"><b>" + p[5] + "</b></a>" + p[3] + ": " + p[4] + "<br>"; if( im < 40 ){ msg[im] = str; im++; } else{ for( i=0; i<39; i++ ) msg = msg[i+1]; msg[39] = str; } } else return header + 'Окно чат комнаты' + footer; } function cp( str ){ if( str ){ p = str.split( "::" ); str = "[<a style=\"{color: darkred}\" href=\"#\" onClick=\"parent.tm(\'" + p[0] + "\');return false;\">" + p[0] + "</a>] > <a style=\"color: #" + p[1] + "\" href=\"#\" onClick=\"parent.to('" + p[2] + "');return false;\"><b>" + p[2] + "</b></a>" + p[3] + ": " + p[4] + "<br>"; if( ip < 40 ){ pvt[ip] = str; ip++; } else{ for( i=0; i<39; i++ ) pvt = pvt[i+1]; pvt[39] = str; } } else return header + 'Окно привата.' + footer; } function ci( str ){ if( str ){ p = str.split( "::" ); mail = ''; //add picture for gender if( p[3] == 'M'){ isrc = "<img align=absmiddle src=\"images/gender_boy.gif\" width=14 height=14>"; } else if ( p[3] == 'F'){ isrc = "<img align=absmiddle src=\"images/gender_girl.gif\" width=14 height=14>"; } else if ( p[3] == 'D'){ //isrc = "<img align=absmiddle src=\"images/medved.gif\">"; isrc = "<img align=absmiddle src=\"images/gender_boy.gif\" width=14 height=14>"; } else { isrc = "<img align=absmiddle src=\"images/gender_undefined.gif\" width=14 height=14>"; } // add mail if exists if( p[4] != '' ){ mail = "<a href=http://sumclub.tv/user.php?id="+p[4]+" target=_blank><img src=\"http://sumclub.tv/img/i3.gif\" border=0 align=absmiddle width=11 height=11></a> "; } if( p[2] == 1 ) str = mail+"<a href=\"off.php3?6f911d1dadc0722ca9ab31edee470d1f&" + p[0] + "\"><img src=\"/images/off.gif\" width=9 height=9 alt=\" игнор. \" border=0></a> <a href=\"#\" style=\"color: darkred\" onClick=\"parent.to(\'" + p[1] + "\');return false;\" onMouseOver=\"self.status=\'Нажми для привата\';return true;\" onMouseOut=\"self.status=window.location;return true;\"><b>" + p[1] + "</b></a> "+ isrc +" <br>\n"; else str = mail+"<a href=\"on.php3?6f911d1dadc0722ca9ab31edee470d1f&" + p[0] + "\"><img src=\"/images/on.gif\" width=9 height=9 alt=\" разреш. \" border=0></a> <a href=\"#\" onClick=\"parent.to(\'" + p[1] + "\');return false;\" onMouseOver=\"self.status=\'Hажми для привата\';return true;\" onMouseOut=\"self.status=window.location;return true;\"><b>" + p[1] + "</b></a> "+ isrc + " <br>\n"; inf[ii] = str; ii++; } else return infoHeader + footer; } function sm( order ){ var m = ''; if( order == 'down' ) for( i=0; i<40; i++ ) if( msg ) m = m + "\n" + msg; if( order == 'up' ) for( i=40; i>0; i-- ) if( msg[i-1] ) m = m + "\n" + msg[i-1]; _messages.document.open(); _messages.document.writeln( header + m + footer ); _messages.document.close(); _messages.scroll(0,0); if( order == 'down' ) _messages.scroll(0,500000); } function sp( order ){ var p = ''; if( order == 'down' ) for( i=0; i<40; i++ ) if( pvt ) p = p + "\n" + pvt; if( order == 'up' ) for( i=40; i>0; i-- ) if( pvt[i-1] ) p = p + "\n" + pvt[i-1]; _personal.document.open(); _personal.document.writeln( header + p + footer ); _personal.document.close(); _personal.scroll(0,0); if( order == 'down' ) _personal.scroll(0,500000); } function clearForm(){ var chat = parent._input.document.chat; chat.message.value=""; chat.person.value=""; chat.intonation.selectedIndex=0; } function submitMsg(){ var chat = parent._input.document.chat; chat.submit(); clearForm(); } function checkKey( event ){ var fs = 0; if( document.all ){ if( _input.event.ctrlKey && _input.event.keyCode == 10 ) fs = 1; } if( document.layers ){ if(( event.modifiers & Event.CONTROL_MASK ) && event.which == 10 ) fs = 1; } if( fs == 1 ) submitMsg(); } function rform(){ if( document.layers ){ _input.document.open(); _input.document.write( mform ); _input.document.close(); } } function nm( name ){ var chat = parent._input.document.chat; if( chat ){ if( chat.message.value == "" ) chat.message.value = name + ": "; else chat.message.value = chat.message.value + " " + name + " "; parent._input.focus(); chat.message.focus(); } } function smilem( name ){ var chat = parent._input.document.chat; if( chat ){ if( chat.message.value == "" ) chat.message.value = name + " "; else chat.message.value = chat.message.value + " " + name + " "; parent._input.focus(); chat.message.focus(); } } function tm( time ){ var chat = parent._input.document.chat; if( chat ){ if( chat.message.value == "" ) chat.message.value = "см. " + time + " "; else chat.message.value = chat.message.value + " см. " + time + " "; parent._input.focus(); chat.message.focus(); } } function to( name ){ var chat = parent._input.document.chat; if( chat ) chat.person.value = name; return false; } function load( imgObj, imgSrc ){ if( document.images ){ eval( imgObj+' = new Image()' ); eval( imgObj+'.src = "'+imgSrc+'"' ); } } if( document.images ){ load( 'point', '/images/bdot.gif' ); load( 'on', '/images/on.gif' ); load( 'off', '/images/off.gif' ); } //--> </script> <noscript><p align="center">Цей чат працює з використанням фреймів та JavaScript. Замініть Ваш броузер на той що підтримує їх.</p></noscript> <frameset cols="*,200" framespacing=0 border=0 onResize="if(document.layers) parent.location='room.php3?6f911d1dadc0722ca9ab31edee470d1f';"><frameset rows="17,*,65,90,0"><frame name="_menu" frameborder=0 scrolling=no marginheight=0 marginwidth=0 src="javascriptarent.menu" noresize><frame name="_messages" frameborder=0 marginheight=0 marginwidth=0 src="javascriptarent.cm()"><frame name="_input" frameborder=0 scrolling=no marginheight=0 marginwidth=0 src="javascriptarent.mform"><frame name="_personal" frameborder=0 marginheight=0 marginwidth=0 src="javascriptarent.cp()"><frame name="_data" frameborder=0 scrolling=no marginheight=0 marginwidth=0 src="javascriptarent.udata" noresize></frameset><frame name="_info" frameborder=0 marginheight=0 marginwidth=0 src="javascriptarent.info()" noresize></frameset>[/js] HTML: </html> Это собственно код... хочу услышать мысли о дырах и целесообразности ))
По-моему ты теряещь тег <a> А вообще, лучше было бы так сделать: [js]var smiles = Array("hihi", "dead"...); for (i = 0; i < smiles.length; i++) { document.writeln('<img onclick="parent.smilem('+smiles+');" src="http://sumclub.tv/su2/components/com_datsogallery/img_originals/'+smiles+'.gif" border="0" alt="'+smiles+'">') }[/js]