<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>{rs:TITLE_SITE}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="{global:PATH}common/css.css" />
</head>
<body>
<script src="{global:PATH}js/jquery-1.4.2.js" language="JavaScript"></script>
<div id="top">
	<div class="left">
		<div class="right">
			<div id="logo"><a href="{global:PATH}"><img src="{global:PATH}img/top_bottom/logo.gif" width="257" height="38" alt="" border="0" align="middle" /></a></div>
		</div>
	</div>
</div>

<div id="mainContentBox">
	<div id="mainContent">
		<div class="window" id="content">
			<div class="top">
				<div class="topLeft">
					<div class="topRight">
						<div class="windowHeader">{global:WINDOW_TITLE}</div>
						{section:FORGOT}{include:forgot/form.tpl}{/section}
						{section:INSTALL_0}{include:install/step_0.tpl}{/section}
						{section:INSTALL_1}{include:install/step_1.tpl}{/section}
						{section:INSTALL_2}{include:install/step_2.tpl}{/section}
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div id="bottom">
	<div class="left">
		<div class="right">
			Copyright &copy; {rs:COPYRIGHT_YEAR} Mailing List Manager Pro™. All Rights Reserved.
		</div>
	</div>
</div>
<script>
	function onResize() {
		var height=$(window).height()-($("#top").outerHeight(true)+$("#bottom").outerHeight(true)+40+$("#mainContentBox").outerHeight(true)-$("#mainContentBox").height());
		if ($("#mainContent").height()<height) $("#mainContentBox").height(height);
		else $("#mainContentBox").height($("#mainContent").height());

		if ($("#loginContainer")) {
			var x=$("#mainContent").offset().left+Math.floor(($("#mainContentBox").width()-$("#loginContainer").outerWidth())/2);
			var y=$("#mainContent").offset().top+Math.floor(($("#mainContentBox").height()-$("#loginContainer").outerHeight())/2);
			$("#loginContainer").offset({left: x, top: y});
		}
	}
	$(window).resize(onResize);
	onResize();
</script>
</body>
</html>