All pastes #616225 Raw Edit

Something

public text v1 · immutable
·published 2007-07-12 15:04 UTC
rendered paste body



<!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>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link href="http://www.cruisemytown.com/forum/templates/alu_orange/main.css" rel="stylesheet" type="text/css">
	
	<title>Chatbox</title>
<script type="text/javascript">

var chatCount = 0;

function startChat() {
	
	 
		alert('DEBUG: ' + window.parent.document.getElementById('chattext').value );
		window.parent.document.getElementById('chattext').value = '';
		window.scrollBy(0,10000);
	chatCount = document.getElementById('theExample').innerHTML;
	checkChat();
}

function checkChat() {
	if (chatCount != document.getElementById('theExample').innerHTML) {
		chatCount = document.getElementById('theExample').innerHTML;
		window.location.replace( unescape(window.location.pathname) );


	}
	setTimeout('checkChat();',1000);

}


</script>

</head>

<body onLoad="startChat();" class="chat_body">