<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
?>
<!DOCTYPE html>
<html id="bx-admin-prefix">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?echo $APPLICATION->GetTitle()?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?echo LANG_CHARSET?>">
<?
if(!is_object($adminPage))
	$adminPage = new CAdminPage();

CJSCore::Init(array('admin_interface'));

$APPLICATION->AddBufferContent(array($adminPage, "ShowCSS"));
echo $adminPage->ShowScript();
$APPLICATION->ShowHeadScripts();
$APPLICATION->ShowHeadStrings();
?>
<script type="text/javascript">
function PopupOnKeyPress(e)
{
	if(!e) e = window.event
	if(!e) return;
	if(e.keyCode == 27)
		window.close();
}
jsUtils.addEvent(window, "keypress", PopupOnKeyPress);
</script>
</head>
<body class="body-popup adm-workarea" onkeypress="PopupOnKeyPress();">