--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=Windows-1250">
+ <title>Kyberia Chat - iba pre silne zaludky</title>
+ <link rel="shortcut icon" href="/favicon.ico">
+ <link rel='stylesheet' type='text/css' href='/data/css/main.css'>
+ <script language="JavaScript"><!--
+ function setCookie(name,value,days)
+ {
+ if (days)
+ {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else var expires = "";
+ document.cookie = name+"="+value+expires+"; path=/";
+ }
+
+ function getCookie(name)
+ {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++)
+ {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+ }
+ return null;
+ }
+
+ function rmCookie(name)
+ {
+ createCookie(name,"",-1);
+ }
+
+ function CheckValues() {
+ var nick = document.chat.nick.value;
+
+ if(!(nick.match(/^[a-zA-Z\[\]\{\}^\\\|\_\-`][A-Za-z0-9\[\]\{\}^\\\|\_\-`]{1,32}$/)))
+ {
+ alert('Nepouzivaj diakritku a specialne znaky.');
+ document.chat.nick.value = nick.replace(/[^A-Za-z0-9\[\]\{\}^\\\|\_\-`]/g, '');
+ return false;
+ }
+ setCookie("nick", nick, 365);
+
+ ShowApplet();
+ }
+
+ function ShowApplet() {
+ var nick = document.chat.nick.value;
+ document.open();
+ document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');
+ document.write('<html>');
+ document.write('<head>');
+ document.write('<meta http-equiv="content-type" content="text/html; charset=Windows-1250">');
+ document.write('<title>KybChat</title>');
+ document.write('<link rel="shortcut icon" href="favicon.ico">');
+ document.write('<link rel="stylesheet" type="text/css" href="/data/css/main.css">');
+ document.write('</head><body>');
+ document.write('<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=100% height=600><param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">');
+ document.write('<param name="nick" value="'+nick+'">');
+ document.write('<param name="alternatenick" value="'+nick+'??">');
+ document.write('<param name="host" value="irc.i.cz">');
+ document.write('<param name="name" value="Kyberia User">');
+ document.write('<param name="alternateserver3" value="irc.felk.cvut.cz">');
+ document.write('<param name="alternateserver1" value="irc.nextra.sk">');
+ document.write('<param name="alternateserver2" value="irc.tuke.sk">');
+ document.write('<param name="languageencoding" value="Windows-1250">');
+ document.write('<param name="command1" value="/join #kyberia.sk">');
+ document.write('<param name="plugin1" value="config.Config">');
+ document.write('<param name="quitmessage" value="KybChat: EOF">');
+ document.write('<param name="soundword1" value="'+nick+' snd/ding.au">');
+ document.write('<param name="soundbeep" value="snd/bell2.au">');
+ document.write('<param name="soundquery" value="snd/ding.au">');
+ document.write('<param name="style:highlightlinks" value="true">');
+ document.write('<param name="style:sourcefontrule1" value="Status+Channel+Query all Lucida_Console 12">');
+ document.write('<param name="style:sourcecolorrule1" value="all all 0=000000 1=6dae42 2=4d8e22 3=3d7e12 4=7dbe52 5=7dbe52 6=8dce62">');
+ document.write('<param name="gui" value="pixx">');
+ document.write('<param name="pixx:highlight" value="true">');
+ document.write('<param name="pixx:highlightnick" value="true">');
+ document.write('<param name="pixx:highlightcolor" value="4">');
+ document.write('<param name="pixx:highlightwords" value="'+nick+'">');
+ document.write('<param name="pixx:color0" value="000000">');
+ document.write('<param name="pixx:color1" value="6dae42">');
+ document.write('<param name="pixx:color2" value="5d9e32">');
+ document.write('<param name="pixx:color3" value="5d9e32">');
+ document.write('<param name="pixx:color4" value="7dbe52">');
+ //document.write('<param name="pixx:color5" value="6dae42">'); //scrollback
+ document.write('<param name="pixx:color5" value="000000">'); //foreground
+ document.write('<param name="pixx:color6" value="000000">'); //background
+ document.write('<param name="pixx:color7" value="1d5e00">'); //selection
+ document.write('<param name="pixx:color8" value="2d6e0f">'); //event color
+ document.write('<param name="pixx:color9" value="6dae42">'); //close button
+ document.write('<param name="pixx:color10" value="606000">'); //VOICE
+ document.write('<param name="pixx:color11" value="1d5e00">'); //OP
+ document.write('<param name="pixx:color12" value="000060">'); //HALFOP
+ document.write('<param name="pixx:color15" value="000000">'); //nick buttons
+ document.write('<param name="pixx:timestamp" value="true">');
+ document.write('<param name="pixx:mouseurlopen" value="1 2">');
+ document.write('<param name="pixx:mousechanneljoin" value="1 2">');
+ document.write('<param name="pixx:showabout" value="false">');
+ document.write('<param name="pixx:showhelp" value="false">');
+ document.write('<param name="pixx:showchannels" value="false">');
+ document.write('<param name="pixx:nicklistwidth" value="140">');
+ document.write('<param name="pixx:nickprefix" value="<\b">');
+ document.write('<param name="pixx:nickpostfix" value="\b\> ">');
+ document.write('<param name="pixx:configurepopup" value="true">');
+ document.write('<param name="pixx:popupmenustring1" value="Whois">');
+ document.write('<param name="pixx:popupmenustring2" value="Private Message">');
+ document.write('<param name="pixx:popupmenustring3" value="Send file">');
+ document.write('<param name="pixx:popupmenustring4" value="Direct Chat">');
+ document.write('<param name="pixx:popupmenucommand1_1" value="/Whois %1">');
+ document.write('<param name="pixx:popupmenucommand2_1" value="/Query %1">');
+ document.write('<param name="pixx:popupmenucommand3_1" value="/DCC FILE %1">');
+ document.write('<param name="pixx:popupmenucommand4_1" value="/DCC CHAT %1"></applet>'); s
+ document.write('</body></html>');
+ document.close();
+ return false;
+ }
+ //-->
+ </script>
+ </head>
+ <body>
+ <div align=center>
+ <br>
+ <form action="#" method="post" name="chat" onsubmit="return ShowApplet();">
+ nick: <input type="text" name="nick" onsubmit="return ShowApplet();" />
+ <input type="button" value="Submit" onclick="ShowApplet();" />
+ </form>
+ <script language="JavaScript"><!--
+ if (!(getCookie("nick")==null)) document.chat.nick.value = getCookie("nick");
+ //-->
+ </script>
+ <b>download java: </b><a href="http://jdl.sun.com/webapps/download/AutoDL?BundleId=9993">Sun Java</a>
+ <br>
+ </div>
+ </body>
+</html>
\ No newline at end of file