<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> 
	<head> 
		<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" /> 
		<title>$title</title>
		$css
		<script type="text/javascript">
		 //<![CDATA[
		 var ipb_var_st            = "{$this->ipsclass->input['st']}";
		 var ipb_lang_tpl_q1       = "{$this->ipsclass->lang['tpl_q1']}";
		 var ipb_var_s             = "{$this->ipsclass->session_id}";
		 var ipb_var_phpext        = "{$this->ipsclass->vars['php_ext']}";
		 var ipb_var_base_url      = "{$this->ipsclass->js_base_url}";
		 var ipb_var_image_url     = "{$this->ipsclass->vars['img_url']}";
		 var ipb_input_f           = "{$this->ipsclass->input['f']}";
		 var ipb_input_t           = "{$this->ipsclass->input['t']}";
		 var ipb_input_p           = "{$this->ipsclass->input['p']}";
		 var ipb_var_cookieid      = "{$this->ipsclass->vars['cookie_id']}";
		 var ipb_var_cookie_domain = "{$this->ipsclass->vars['cookie_domain']}";
		 var ipb_var_cookie_path   = "{$this->ipsclass->vars['cookie_path']}";
		 var ipb_md5_check         = "{$this->ipsclass->md5_check}";
		 var ipb_new_msgs          = parseInt("{$this->ipsclass->member['new_msg']}");
		 var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};
		 var use_charset           = "{$this->ipsclass->vars['gb_char_set']}";
		 var ipb_myass_chars_lang  = "{$this->ipsclass->lang['myass_chars']}";
		 //]]>
		</script>
		<script type="text/javascript" src='jscripts/ips_ipsclass.js'></script>
		<script type="text/javascript" src='jscripts/ipb_global.js'></script>
		<script type="text/javascript" src='jscripts/ips_menu.js'></script>
		<script type="text/javascript" src='{$this->ipsclass->vars['img_url']}/folder_js_skin/ips_menu_html.js'></script>
		<script type="text/javascript" src='cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js'></script>
		<script type="text/javascript">
		//<![CDATA[
		var ipsclass = new ipsclass();
		ipsclass.init();
		//]]>
		</script>
		<if="$this->ipsclass->can_use_fancy_js != 0">
		<script type="text/javascript" src='jscripts/ips_xmlhttprequest.js'></script>
		<script type="text/javascript" src='jscripts/ipb_global_xmlenhanced.js'></script>
		<script type="text/javascript" src='jscripts/dom-drag.js'></script>
	</head>
	<body<{__body_extra__}>>
	<div id='get-myassistant' style='display:none;width:400px;text-align:left;'>
	<div class="borderwrap">
	 <div class='maintitle' id='myass-drag' title='{$this->ipsclass->lang['myass_drag']}'>
	  <div style='float:right'><a href='#' onclick='document.getElementById("get-myassistant").style.display="none"'>[X]</a></div>
	  <div>{$this->ipsclass->lang['myass_title']}</div>
	 </div>
	 <div id='myass-content' style='overflow-x:auto;'></div>
	 </div>
	</div>
	<!-- Loading Layer -->
	<div id='loading-layer' style='display:none'>
		<div id='loading-layer-shadow'>
		   <div id='loading-layer-inner'>
		 	<img src='style_images/<#IMG_DIR#>/loading_anim.gif' border='0' />
			<span style='font-weight:bold' id='loading-layer-text'>{$this->ipsclass->lang['ajax_loading_msg']}</span>
		    </div>
		</div>
	</div>
	<!-- / Loading Layer -->
	<!-- Msg Layer -->
	<div id='ipd-msg-wrapper'>
		<div id='ipd-msg-title'>
			<a href='#' onclick='document.getElementById("ipd-msg-wrapper").style.display="none"; return false;'><img src='style_images/<#IMG_DIR#>/close.png' alt='X' title='Close Window' class='ipd'></a> &nbsp; <strong>{$this->ipsclass->lang['gbl_sitemsg_header']}</strong>
		</div>
		<div id='ipd-msg-inner'><span style='font-weight:bold' id='ipd-msg-text'></span><div class='pp-tiny-text'>{$this->ipsclass->lang['gbl_auto_close']}</div></div>
	</div>
	<!-- Msg Layer -->
	</if>
		<div style='text-align:left'> 
			$text
		</div>
		<script type='text/javascript'>
		//<![CDATA[
		menu_do_global_init();
		show_inline_messages();
		if ( is_ie )
		{
			ie_fix_png();
		}
		//]]>
		</script>
	</body>
</html>