Source Code for chat_input.htm



<!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" lang="en" xml:lang="en">

<head>
<script language = "JavaScript">

<!-- //EXIT FUNCTION:

function exit(){
document.location.href="exit.asp"

}

<!--//CLEAR AND SET FOCUS ON USER INPUT AREA ON SUBMIT:
function ClearFocus(){
document.forms[0].elements[0].value="";
document.forms[0].elements[0].focus();

}
function ReloadPage()
{
document.location.reload();
}

function checkkeycode(inpform, txtarea)
{
try
{
if(window.event.keyCode==13 && txtarea.value!="" && txtarea.value!=null && txtarea.value!=undefined)
{
inpform.submit();
ReloadPage();
}
}
catch(e){}
}
//-->
</script>

<title>Chat Input Form</title>

<style>
<!--
body{background-color:#999966}
-->
</style>
</head>

<body onLoad="ClearFocus()">

<form name = "HSChat_input" action="chat_content.asp" method="post" onkeypress="checkkeycode(this, this.elements[0]);" target="chat_content" onSubmit="if(this.elements[0].value==''||this.elements[0].value==undefined)return false;else ReloadPage();">
<textarea style="font-family:verdana,arial,sans,sans-serif" name="UserInput" id="UserInput" wrap = "physical" rows="2" cols="55">
</textarea>
<br />

<!-- JavaScript for clearing form-->
<input type = "submit" value="Submit" />
<input type = "reset" />
<input type ="button" value="Exit Chat" onClick="exit()">


</form>

<div align="center" style="margin:35px 0px 20px 0px">
<script type="text/javascript"><!--
amazon_ad_tag = "httpwwwhotspr-20"; amazon_ad_width = "728"; amazon_ad_height = "90"; amazon_ad_logo = "hide"; amazon_ad_link_target = "new"; amazon_color_border = "B8CD6F"; amazon_color_background = "F1F7DA"; amazon_color_link = "334141"; amazon_color_price = "232A23"; amazon_color_logo = "080808";//--></script>
<script type="text/javascript" src="http://www.assoc-amazon.com/s/ads.js"></script>
</div>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11415514-1");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>

</html>

<--Back