<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ChatNSBottom.aspx.vb" Inherits="ChattyWays.ChatNSBottom" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Chatty Ways</title>
		<meta content="Microsoft Visual Studio.NET 7.0" name=GENERATOR>
		<meta content="Visual Basic 7.0" name=CODE_LANGUAGE>
		<meta content=JavaScript name=vs_defaultClientScript>
		<meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema>
		<link href="../includes/stylesheets/ChatStyle.css" rel=stylesheet >

<script language="JavaScript1.2"><!--
function netscapeKeyPress(e) {
     if (e.which == 13) {
	//alert("about to do something");
	//Form1.btSend.click();
	alert("Please click on the enter button to send message.  This is not, IE, buddy");
//	alert('bb');
	}
         
}

window.captureEvents(Event.KEYPRESS);
window.onKeyPress = netscapeKeyPress;

//--></script>
	</head>
	<!--
		'=======================================================================================
		'AUTHOR                  : David Silverlight
		'
		'CLAIM TO FAME      : Head Geek at XMLPitstop.com and CoFounder of NonProfitWays.com
		'
		'EMAIL                      : HeadGeek@XMLPitstop.com
		'
		'SHAMELESS PLUG  :Yes I am a consultant who is always looking for cool projects.
		'
		'PHONE                    : (561) 212-5707  Coconut Grove, Florida
		'
		'COPYWRIGHT		: This demo is not copywrighted so feel free to use it however it may help you.  Credit is always appreciated,
		'                                  but not required.  I created it simply for the learning experience. If you have any suggestions on areas that 
		'                                  can be improved upon, please feel free to email me.  All credit for enhancements will be given to 
		'                                  those who suggest them.  Enjoy.
		'=======================================================================================
	-->

	<body bgColor=#0000ff leftMargin=0 topMargin=0 scroll=no onload=document.Form1.txtSendMessage.focus(); MS_POSITIONING="GridLayout">
		<form id=Form1 method=post runat="server">

			<table cellSpacing=0 cellPadding=0 width="100%">
				<tr>					
					<td colSpan=3>
						<input onclick=doShowEmoticonsSmall(); type=button value="Pick Emoticon"></input> 
						<input onclick=doGoToWelcome(); type=button value=Back></input> 
					</td>					
				</tr>
				<tr>
					<td width="600" colSpan=2>						
						<asp:textbox id=txtSendMessage runat="server" width=100  size=80 rows="4" height="40px"  onKeyDown="doKeyPress();"></asp:textbox>
						<asp:button id=btSend runat="server" Height="53px" Width="332px" Text="Send"></asp:button>
					</td>
				</tr>
			</table>

			<span style="DISPLAY: none">
				UI<asp:textbox class=inputText id=txtUserID runat="server" Height="20px" Width="30px" Value="3"></asp:textbox> 
				CI<asp:textbox class=inputText id=txtChatID runat="server" Height="20px" Width="30px" Value="2" name="txtChatID"></asp:textbox>&nbsp; 
			</span> 
		</form>


  </body>
</html>

<script language=javascript>
	var hwnd;

	function  doKeyPress() {
		
		alert(window.event.keyCode);
	}
	function  doShowEmoticonsSmall() {
	//	var strEmoticon = doShowDialog("../images/emoticons/EmoticonsLB.htm", "400px", "250px")
	//	document.all.txtSendMessage.value += strEmoticon;
	}
	function  doGoToWelcome() {
		top.location.href = "../ChatWelcome.aspx"
	}


</script>

