<html>
<head>
<title>Ed Poliglota</title>
</head>
<body>
<style type="text/css">
body {
background:url(bg_noite.jpg);
background-repeat:repeat-x;
background-color: #29424d;
}
.scroll-pane {
width:500px; height:270px;
overflow: auto;
}
</style>
<link type="text/css" href="css/jquery.jscrollpane.css" rel="stylesheet" media="all" />
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/mwheelIntent.js"></script>
<script type="text/javascript" src="js/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" id="sourcecode">
$(function()
{
$('.scroll-pane').jScrollPane({stickToBottom: true});
});
function sendmsg() {
umsg = document.getElementById('usrmsg').value;
document.getElementById('chatarea').innerHTML +='<table border="0" cellpadding="2" cellspacing="0"><tbody><tr><td width="58" valign="top" style="color:#0066CC; font-family:Trebuchet MS, Arial, Helvetica, sans-serif; font-size:12px;"><strong>Você:</strong></td><td>'+umsg+'</td></tr></tbody></table>';
document.getElementById('usrmsg').value = '';
try {xmlhttp = window.XMLHttpRequest?new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {alert("Seu browser não suporta Ajax!");}
xmlhttp.onreadystatechange = triggered;
umsg = encodeURI(umsg);
xmlhttp.open("GET", "getanswer.php?mensagem="+umsg);
xmlhttp.send(null);
}
function triggered() {
if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200))
document.getElementById('chatarea').innerHTML +='<table border="0" cellpadding="2" cellspacing="0"><tbody><tr><td width="58" valign="top" style="color:#0066CC; font-family:Trebuchet MS, Arial, Helvetica, sans-serif; font-size:12px;"><strong>Robô Ed:</strong></td><td>'+xmlhttp.responseText+'</td></tr></tbody></table>';
$('.scroll-pane').jScrollPane({stickToBottom: true});
}
</script>
<center>
<table width="743" border="0" cellpadding="0" cellspacing="0" background="edtable.png">
<!--DWLayoutTable-->
<tr>
<td width="33" height="56"> </td>
<td width="404"> </td>
<td width="15"> </td>
<td width="81"> </td>
<td width="5"> </td>
<td width="5"> </td>
<td width="67"> </td>
<td width="133"> </td>
</tr>
<tr>
<td height="128"> </td>
<td colspan="3" rowspan="3" valign="top"><div class="scroll-pane"><div id="chatarea"></div></div></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="17"></td>
<td></td>
<td></td>
<td valign="top"><center><a href="http://letshackit.energylabs.com.br/" target="_blank"><font style="font-size:10px;">Lets Hack It</font></a></center></td>
<td></td>
</tr>
<tr>
<td height="125"></td>
<td> </td>
<td></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="6"></td>
<td></td>
<td></td>
<td colspan="2" rowspan="3" valign="top"><a href="javascript:void(0);" onclick="javascript:sendmsg();"><img src="sendbutton.png" border=0 /></a></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="20"></td>
<td valign="top"><input name="usrmsg" type="text" id="usrmsg" name="usrmsg" size="70" maxlength="70" style="border:none; width:410px; height:20px; font-size:10px;" value=""></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="8"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="64"></td>
<td></td>
<td></td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<BR />
<font color=white>Robô Ed Original:</font> <a href="http://www.ed.conpet.gov.br/br/converse.php"><font color=white>http://www.ed.conpet.gov.br/br/converse.php</font></a><font color=white> - Ed Poliglota feito por Lucas Teske do </font><a href="http://letshackit.energylabs.com.br/"><font color=white>Lets Hack It!</font></a>
</center>
</body></html>