<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ChatWelcome.aspx.vb" Inherits="ChattyWays.ChatWelcome" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Welcome to Chatty Ways</title>
		<meta content="Microsoft Visual Studio.NET 7.0" name=GENERATOR>
		<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<meta content="Visual Basic 7.0" name=CODE_LANGUAGE>
		<meta content=JavaScript name=vs_defaultClientScript>
		<link href="includes/stylesheets/ChatStyle.css" rel=stylesheet >
		<script language=JavaScript src="includes/ChatFuncsIE.js"></script>
		<script language=javascript>
			var tabSelected = "";
			function doTabOver(who) {	
				try {
					var strEval = "document.all." + who.name + "IMG.src='images/" + who.name + "_C.gif';"

					if (who.name != tabSelected) {
						who.className = 'tabHover';
						eval(strEval);
					}
				}
				catch (error) {
				//	If an error occurs and nobody sees it, did the error really occur?
				//	alert("An error occurred in doTabOver: " + error.description);
				}
				
			}

			function doTabOut(who) {
				try {
					var strEval = "document.all." + who.name + "IMG.src='images/" + who.name + "_G.gif';"

					if (who.name != tabSelected) {
						who.className = 'tab';
						eval(strEval);
					}
				}
				catch (error) {
				//	alert("An error occurred in doTabOut: " + error.description);
				}
				
			}

		</script>

	</head>

	<body MS_POSITIONING="GridLayout">
		<table height=959 cellspacing=0 cellpadding=0 width=387 border=0 ms_2d_layout="TRUE">
			<tr>
				<td width=0 height=0></td>
				<td width=10 height=0></td>
				<td width=377 height=0></td>
			</tr>
			<tr valign=top>
				<td width=0 height=15></td>
				<td colspan=2 rowspan=2>
					<form id=Form1 method=post runat="server">
						<table height=370 cellspacing=0 cellpadding=0 width=947 border=0 ms_2d_layout="TRUE">
							<tr valign=top>
								<td width=10 height=15></td>
								<td width=937></td>
							</tr>
							<tr valign=top>
								<td height=38></td>
								<td>
									<h1><asp:label id=lblWelcome runat="server" Width="637px" Height="21px">Welcome to Chatty Ways</asp:label></H1></td></tr>
									<tr valign=top>
										<td height=2></td>
										<td rowspan=3>
											<span style="display:none;">
											UI<asp:textbox class=inputText id=txtUserID runat="server" Width="30px" Height="20px" Value="3"></asp:textbox> 
											CI<asp:textbox class=inputText id=txtChatID runat="server" Width="30px" Height="20px" Value="2" name="txtChatID"></asp:textbox> 
											UN<asp:textbox id=txtUsername runat="server" Width="157px" Height="20px"></asp:textbox> 
											FN<asp:textbox id=txtFullname runat="server" Width="157px" Height="20px"></asp:textbox> 
											</span>
										</td>
									</tr>
									<tr valign=top>
										<td height=19></td>
										<td><br></td>
									</tr>
									<tr valign=top>
										<td height=19></td>
										<td><br></td>
									</tr>									
									<tr valign=top>
										<td height=277></td>
										<td>
											<table id=tblMenu height=276 cellSpacing=0 cellPadding=0 width=600	bgColor=#ece9d8>
												<tr bgColor=#ece9d8>
													<td colSpan=2 height=20>
														<table id=Table2 cellSpacing=2 cellPadding=1 width="100%" bgColor=#ece9d8>
															<tr bgColor=#ece9d8>
																<td class=tab id=tab onmouseover=doTabOver(this);  onmouseout=doTabOut(this); vAlign=top name="Login">
																	<p><nobr >&nbsp; 
																		<img id=LoginIMG height=32 src="images/Login_G.gif" width=32 align=absMiddle name=LoginIMG > &nbsp; Start a New Chat&nbsp;&nbsp;&nbsp;&nbsp; </nobr>
																	</p>
																	<asp:label id=lblDescription runat="server">Description</asp:label><asp:textbox id=txtDescription runat="server"></asp:textbox>
																	<asp:button id=btGo runat="server" Text="Go Chat!!!!"></asp:button>
																</td>
															</tr>
															<tr>
																<td class=tab id=tab onmouseover=doTabOver(this); onmouseout=doTabOut(this); vAlign=top name="JoinChat">
																	<p>
																		<nobr >&nbsp; 
																			<img id=JoinChatIMG height=32 src="images/JoinChat_G.gif" width=32 align=absMiddle name=JoinChatIMG > &nbsp;Join an existing Chat 
																		</nobr>
																	</p>
																	<p>
																		<nobr>&nbsp;&nbsp;&nbsp; 

<asp:datagrid id=DataGrid1 runat="server" Width="509px" Height="143px" AllowSorting="True" GridLines="None" CellSpacing="1" AutoGenerateColumns="False" CellPadding="3" BackColor="White" BorderColor="White" BorderWidth="2px" BorderStyle="Ridge" AllowPaging="True" PageSize="30">
<selecteditemstyle font-bold="True" forecolor="White" backcolor="#9471DE">
</SelectedItemStyle>

<alternatingitemstyle backcolor="Honeydew">
</AlternatingItemStyle>

<itemstyle forecolor="Black" backcolor="Gainsboro">
</ItemStyle>

<headerstyle font-bold="True" forecolor="#E7E7FF" backcolor="#4A3C8C">
</HeaderStyle>

<footerstyle forecolor="Black" backcolor="#C6C3C6">
</FooterStyle>

<columns>
<asp:HyperLinkColumn Text="Join" HeaderImageUrl="images/JoinChat_C.gif" DataNavigateUrlField="ChatSessionID" DataNavigateUrlFormatString="Redirect.aspx?ID={0}&amp;PageType=Join" HeaderText="Join Chat" NavigateUrl="Redirect.aspx?PageType=Join&amp;ID={0}"></asp:HyperLinkColumn>
<asp:HyperLinkColumn Text="Print" HeaderImageUrl="images/File_C.gif" DataNavigateUrlField="ChatSessionID" DataNavigateUrlFormatString="Redirect.aspx?ID={0}&amp;PageType=Print" HeaderText="Print Chat" NavigateUrl="Redirect.aspx?PageType=Print&amp;ID={0}"></asp:HyperLinkColumn>
<asp:BoundColumn DataField="ChatSessionID" HeaderText="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="ChatDescription" SortExpression="ChatDescription" HeaderText="Description">
<headerstyle width="400px">
</HeaderStyle>

<footerstyle width="800px">
</FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="ChatStartDateTime" SortExpression="ChatStartDateTime" HeaderText="When">
<headerstyle width="450px">
</HeaderStyle>
</asp:BoundColumn>
</Columns>

<pagerstyle nextpagetext="Prev"  prevpagetext="Next" horizontalalign="Right" forecolor="Black" backcolor="#C6C3C6">
</PagerStyle>
</asp:datagrid>&nbsp; 

																</nobr>
															</p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</form>
				</td>
			</tr>
			<tr valign=top>
				<td width=0 height=944></td>
				<td></td>
			</tr>
		</table>
	</body>
</html>
