<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
<script src="XMLHttpRequest.js" type="text/javascript"></script>
<script type="text/javascript">
function start() {
Refreshinfo('http://localhost:9075/ChatNew/Default.aspx');
setTimeout('start()', 1000);
document.getElementById('information').scrollTop = document.getElementById('information').scrollHeight + 20;
}
function cl() {
document.getElementById('information').innerHTML = "";
}
</script>
</head>
<body>
<div id="demo"><div id="list">1</div></div>
<div id="information" style="width:400px; height:400px; border: 1px solid #FF0000; overflow-x:hidden; overflow-y:auto; "></div>
<a href="javascript:start();">start</a>
<a href="javascript:cl();">clear</a>
</body>
</html>