<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{l_langcode}" lang="{l_langcode}" dir="ltr">
<head>
	<meta http-equiv="content-type" content="text/html; charset={l_encoding}"/>
	<meta http-equiv="content-language" content="{l_langcode}"/>
	<meta name="generator" content="NGCMS jChat plugin"/>
	<meta name="document-state" content="dynamic"/>
	<link href="{tpl_url}/style.css" rel="stylesheet" type="text/css" media="screen"/>
	<link href="{home}/rss.xml" rel="alternate" type="application/rss+xml" title="RSS"/>
	<script type="text/javascript" src="{ scriptLibrary }/functions.js"></script>
	<script type="text/javascript" src="{ scriptLibrary }/ajax.js"></script>
	<title>Next Generation CMS &copy; jChat plugin</title>
</head>

<body>

<!-- STYLE DEFINITION BEGIN ((( YOU CAN CHANGE IT ))) -->
<!-- Please SAVE styles .jchat_ODD, .jchat_EVEN, .jchat_INFO -->
<style>
	.jchat_ODD TD {
		background-color: #FFFFFF;
		width: 100%;
		text-align: left;
		font-size: 12px;
		border-bottom: 1px solid #DDDDDD;
	}

	.jchat_EVEN TD {
		background-color: #FBFBFB;
		width: 100%;
		text-align: left;
		font-size: 12px;
		border-bottom: 1px solid #DDDDDD;
	}

	.jchat_INFO TD {
		background-color: #FFFFFF;
		width: 100%;
		text-align: left;
		font: 10px arial;
		border-bottom: 1px solid #DDDDDD;
	}

	.jchat_userName {
		font-weight: bold;
		cursor: pointer;
	}
</style>
<!-- STYLE DEFINITION END ((( YOU CAN CHANGE IT ))) -->
<!-- SCRIPTS INTERNALS BEGIN ((( DO NOT CHANGE ))) -->
[:include jchat.script.header.js]
<!-- SCRIPTS INTERNALS END -->

<!-- Display data definition (( YOU CAN CHANGE IT )) -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					
					<td  width="100%">
						&nbsp;<b><font color="#FFFFFF">чат</font></b></td>
					
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					
					<td bgcolor="#FFFFFF">
						<div class="block_cal" align="left">

							<!-- THIS IS REQUIRED BLOCK. PLEASE SAVE IT -->
							<div style="overflow: auto; height: 400px;" onclick="jchatProcessAreaClick(event);">
								<table id="jChatTable" cellspacing="0" cellpadding="0" width="100%">
									<tr>
										<td>Loading chat...</td>
									</tr>
								</table>
							</div>
							[post-enabled]
							<form method="post" name="jChatForm" id="jChatForm" onsubmit="chatSubmitForm(); return false;">
								<table width="100%">[not-logged]
									<tr>
										<td colspan="2" align="left">
											<input type="text" name="name" value="{l_jchat:input.username}" onfocus="if(!jChatInputUsernameDefault){this.value='';jChatInputUsernameDefault=1;}"/>
										</td>
									</tr>
									[/not-logged]
									<tr>
										<td align="left">
											<textarea id="jChatText" name="text" style="width: 100%; height: 40px;" onfocus="jchatCalculateMaxLen(this,'jchatWLen', {maxlen});" onkeyup="jchatCalculateMaxLen(this,'jchatWLen', {maxlen});"></textarea>
										</td>
										<td valign="top"><span id="jchatWLen">{maxlen}</span></td>
									</tr>
									<tr>
										<td colspan="2" align="left">
											<input id="jChatSubmit" type="submit" value="{l_jchat:button.post}"/></td>
									</tr>
								</table>
							</form>
							[/post-enabled]
							<!-- END OF REQUIRED BLOCK -->

						</div>
					</td>
					
				</tr>
			</table>
		</td>
	</tr>
	</table>

<!-- SCRIPTS INTERNALS BEGIN ((( DO NOT CHANGE ))) -->
[:include jchat.script.footer.js]
<!-- SCRIPTS INTERNALS END -->
