||define||wrong_browser||true||
||ifgreater||mozilla_version||1.6||
	||undef||wrong_browser||
||endif||
||ifgreater||netscape_version||7.0||
	||undef||wrong_browser||
||endif||
||ifequal||ie_version||6.0||
	||undef||wrong_browser||
||endif||
||ifgreater||ie_version||6||
	||undef||wrong_browser||
||endif||
||ifdef||is_mac||
	||ifgreater||mozilla_version||1.6||
	||else||
		||define||wrong_browser||true||
	||endif||
||endif||
||ifgreater||safari_version||419||
	||undef||wrong_browser||
||endif||


||ifdef||wrong_browser||
	||include||wrong_browser.tpl||
||else||
<html>
<head>

<!-- Setup Language -->




||undef||spell_allowed||
||ifnempty||header_charset||
	||begin_language||||ifempty||match_lang||||ifequal||header_charset||lang_charset||||define||match_lang||lang_name||||endif||||endif||||end_language||
||endif||
||ifdef||override_list_lang||
	||define||match_lang||override_list_lang||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||language||)||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||_language||)||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||_tpl_lang||)||
||endif||

<!-- language == '||match_lang||' -->
||ifempty||match_lang||
	||define||spell_allowed||words.dat||
||else||
	||begin_language||||ifequal||match_lang||lang_name||||define||meta||(<meta http-equiv="Content-type" content="text/html; charset=||lang_charset||">)||||define||display_lang||lang_charset||||define||spell_allowed||(||lang_dictionary||)||||endif||||end_language||
||endif||
||meta||

<!--- Javascript Variables --->
<script language="javascript">
<!--
	var scroll_mode = 2;
	var popup_mode = 0;
	var xtrash = '||waste_name||';
	var xspam = '||spam_name||';

||define||xstore||var filestore = 0;||
||ifdef||surgemail||
||ifdef||use_surgemail_xfile||
||ifinstr||surgemail_disallow||surgeplus||
||else||
	||define||xstore||var filestore = 1;||
||endif||
||endif||
||endif||
	||xstore||

function finish()
{
	document.title = '||cust_title|| - ||lang_str||Web Mail Client||';
}
//-->
</script>
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
	<link rel="StyleSheet" href="||nwimg||/skin.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_main.js"></script>
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>

||include||css.tpl||
||include||css_color.tpl||

<title>||lang_str||Please Wait, caching files||...</title>
</head>

<body onload="||ifdef||email||msg_mailto('||message_text||email||')||endif||;finish();" onResize="resize_screen()">
<div class="bgc">
    <div id="hiddendiv" style="display: none;"></div>
    <div id="hiddencmd" style="display: none;"><iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xhiddencmd" id="xhiddencmd"></iframe></div>

||ifdef||top_banner_size||
<!-- Banner Add Here -->
     <div id="mainbanner" class="clearborder">||include||banner_add.tpl||</div>
||endif||

<!-- Menubar Here -->
    <div id="mainmenu" class="clearborder">||include||main_menu.tpl||</div>

<!-- title fldbar Here -->
    <div id="fldbar">||include||main_fldbar.tpl||</div>

<!-- titlebar Here -->
    <div id="titlebar">||include||main_titlebar.tpl||</div>

<!-- Folder Bar (menu and Folders) -->
     <div id="fldmenu">||include||fld_menu.tpl||</div>
     <div id="flist"><iframe src="||action||?cmd=show&force_connection=true&page=folder_list.tpl&utoken=||utoken||" frameborder="no" marginheight="0" marginwidth="0" name="xfld" id="xfld"></iframe></div>
     <div id="fs_menu" class="clearborder">||include||filestore_menu.tpl||</div>


<!-- Veritial -->
     <div id="vscroll" onmousedown="mouse_down('x')"></div>

<!-- hosizontal Bar -->
     <div id="hscroll">
		<table width="100%" height="100%" cellpadding="0" cellspacing="0">
		<tr>	<td width="100%"><div id="hscroll2" onmousedown="mouse_down('y')"></div></td>
		 	<td height="100%" valign="center" align="right"><a href="javascript:scroll_press()"><img border="0" src="||nwimg||/scroll_arrow.gif"></a></td>
		</tr>
		</table>
     </div>

<!-- List Page (Menu and Page and Select) -->
     <div id="listmenu">||include||list_menu.tpl||</div>
     <div id="list" class="white"><iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xlist" id="xlist"></iframe></div>
     <div id="listselect" class="clearborder">||include||list_select.tpl||</div>

<!-- TODO -->
     <div id="todomenu">||include||todo_menu.tpl||</div>
     <div id="todoselect" class="clearborder">||include||todo_select.tpl||</div>

<!-- Address - Used 'list' -->
     <div id="addrmenu">||include||addr_menu.tpl||</div>

     <div id="addrselect" class="clearborder">
		<iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xaddrselect" id="xaddrselect"></iframe>
     </div>
     <div id="addrmain" class="white">||include||addr_book.tpl||</div>
     <div id="addroption" class="white">||include||addr_option.tpl||</div>

<!-- Search -->
     <div id="searchmenu">||include||search_menu.tpl||</div>
     <div id="searchselect" class="clearborder">
		<iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xsearchselect" id="xsearchselect"></iframe>
     </div>
     <div id="searchmain" class="white">||include||search.tpl||</div>
     <div id="searchoption" class="white">||include||search_option.tpl||</div>


<!-- Message Information (Menu and Data) -->
     <div id="msgmenu" class="clearborder">||include||msg_menu.tpl||</div>
     <div id="msgmain" class="white"><iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xmsg" id="xmsg"></iframe></div>

<!-- Bulletin Information (Menu and Data) -->
     <div id="bulletselect" class="clearborder">||include||bulletin_select.tpl||</div>
     <div id="bulletmenu" class="clearborder">||include||bulletin_menu.tpl||</div>

<!-- Manager Folder Page -->
     <div id="mfldmenu">||include||folder_menu.tpl||</div>
     <div id="mfldselect" class="clearborder">||include||folder_select.tpl||</div>

</div>

<form name="global_data" id="global_data">
	<input type="hidden" name="selected_folder" value="">
<form>
</body>

<script language="javascript">
<!--
	var same_window = 0;
||ifdef||top_banner_size||
	var top_banner_size = ||top_banner_size||;
||else||
	var top_banner_size = 0;
||endif||
||ifdef||cmdtype||
// update list menu
	list_sort_cmd('||cmdtype||', '||imgtype||');
||endif||

	document.onmousemove = mouse_move;
	document.onmouseup = mouse_up;

||ifdef||ie_version||
	var offset = 2;	/* 2 for IE, 0 for Netscape */
||else||
	var offset = 0;	/* 2 for IE, 0 for Netscape */
||endif||
	resize_screen();
||ifndef||_nopreview||
	scroll_press2();
||endif||
	set_display_mode(scroll_mode);
// -->
</script>

||include||message_popup.tpl||

</html>
||endif||
