<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<inp2:m_CheckSSL mode="required" condition="Require_AdminSSL" />
<inp2:m_CheckSSL/>
<inp2:m_DefaultParam body_properties=""/>
<html>
<head>
<title><inp2:m_GetConfig var="Site_Name"/> - <inp2:m_Phrase label="la_AdministrativeConsole"/></title>

<meta http-equiv="content-type" content="text/html; charset=<inp2:lang_GetCharset/>"/>
<meta name="keywords" content="..."/>
<meta name="description" content="..."/>
<meta name="robots" content="all"/>
<meta name="copyright" content="In-Portal CMS, Copyright &#174; 2009"/>
<meta name="author" content="Intechnic Inc."/>

<inp2:m_base_ref/>

<link rel="icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />

<inp2:adm_AdminSkin/>

<link rel="stylesheet" href="js/jquery/thickbox/thickbox.css" type="text/css" media="screen" />

<script type="text/javascript" src="js/jquery/jquery.pack.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui.custom.min.js"></script>

<script type="text/javascript" src="js/is.js"></script>
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/application.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/in-portal.js"></script>
<script type="text/javascript" src="js/toolbar.js"></script>
<script type="text/javascript" src="js/grid.js"></script>
<script type="text/javascript" src="js/simple_grid.js"></script>
<script type="text/javascript" src="js/grid_scroller.js"></script>
<script type="text/javascript" src="js/forms.js"></script>
<script type="text/javascript" src="js/drag.js"></script>
<script type="text/javascript" src="js/ajax_dropdown.js"></script>
<script type="text/javascript" src="js/form_controls.js"></script>

<script type="text/javascript" src="js/jquery/thickbox/thickbox.js"></script>
<script type="text/javascript" src="js/tab_scroller.js"></script>

<link rel="stylesheet" rev="stylesheet" href="js/calendar/calendar-blue.css" type="text/css" />
<script type="text/javascript" src="js/calendar/calendar.js"></script>
<script type="text/javascript" src="js/calendar/calendar-setup.js"></script>
<script type="text/javascript" src="js/calendar/calendar-en.js"></script>
<script type="text/javascript">
TB.pathToImage = 'js/jquery/thickbox/loadingAnimation.gif';
var t = '<inp2:m_get param="t"/>';
var popups = '1';
var $use_popups = <inp2:m_if check="adm_UsePopups">true<inp2:m_else/>false</inp2:m_if>;
var $modal_windows = <inp2:m_if check="adm_UsePopups" mode="modal">true<inp2:m_else/>false</inp2:m_if>;
var multiple_windows = '1';
var main_title = '<inp2:m_GetConfig var="Site_Name" escape="1"/>';
var tpl_changed = 0;
var base_url = '<inp2:m_BaseURL/>';
var $base_path = '<inp2:m_GetConst name="BASE_PATH"/>';
var img_path = '<inp2:m_TemplatesBase module="#MODULE#"/>/img/';

var phrases = {
	'la_Delete_Confirm' : '<inp2:m_Phrase label="la_Delete_Confirm" js_escape="1"/>'
}

NumberFormatter.ThousandsSep = '<inp2:lang.current_Field name="ThousandSep" js_escape="1"/>';
NumberFormatter.DecimalSep = '<inp2:lang.current_Field name="DecimalPoint" js_escape="1"/>';

<inp2:m_if check="m_GetEquals" name="m_wid" value="" inverse="inverse">
	if (!window.name.match(/_<inp2:m_get name="m_wid"/>$/)) {
		window.name += '_<inp2:m_get name="m_wid"/>'; // change window name only once per window

		if ($modal_windows) {
			getFrame('main').TB.setWindowMetaData('window_name', window.name); // used to simulate window.opener functionality
		}
	}
</inp2:m_if>

var $use_toolbarlabels = <inp2:m_if check="adm_UseToolbarLabels">true<inp2:m_else/>false</inp2:m_if>;
</script>

<inp2:m_if check="m_get" var="m_wid">
<style type="text/css">
	.tableborder {
		border: none;
	}
	.toolbar {
		border-right: none;
		border-left: none;
	}
	.tableborder_full {
		border-right: none;
		border-left: none;
	}
</style>
</inp2:m_if>

</head>

<inp2:m_include t="incs/blocks"/>
<inp2:m_include t="incs/in-portal"/>

<inp2:m_if check="m_ParamEquals" name="nobody" value="yes" inverse="inverse">
	<body class="<inp2:m_if check="m_get" var="m_wid">edit-popup<inp2:m_else/>regular-body</inp2:m_if>" <inp2:m_param name="body_properties"/>>
</inp2:m_if>

<inp2:m_if check="m_ParamEquals" name="noform" value="yes" inverse="inverse">
	<inp2:m_RenderElement name="kernel_form"/>
</inp2:m_if>