<!--||current_page||
||ifnempty||inbox_folder||
	||define||new_mail_name||inbox_folder||
||endif||
||define||amp||&amp;||
||ifdef||ie_version||
	||ifequal||is_mac||true||
		||define||amp||&||
	||endif||
||endif||
||define||max_to_display||24||-->

<html>
<head>

	<link rel="StyleSheet" href="||nwimg||/skin2.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>

||include||css.tpl||

<title>Folders</title>

||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||<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||
||endif||
</head>

<body OnLoad="openFolder(inbox_fld, inbox_fld, 0)" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

<form method="post" action="||action||" name="folder_form">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="dstfld" value="" />
	<input type="hidden" name="java_lang" value="true" />

||ifndef||ie_version||
<img src="||nwimg||/space.gif" width="1" height="5">
||endif||

||define||pos||1||
||begin_fld_short||

<!-- Determining the Leading Icons --->
	||undef||icon||
	||undef||empty_link||
	||ifgreater||fld_sub_count||0||
		||define||icon||(<img src="||nwimg||/presubfolder.gif" align="top" border="0" alt="" />)||
	||endif||

	||ifequal||fld_name||(||spam_name||)||
		||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/folder_spam.gif" align="top" border="0" alt="" />)||

		||define||empty_link||(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:fld_empty_spam()"><i>[||lang_str||purge||]</i></a>)||
	||else||
		||ifequal||fld_name||(||new_mail_name||)||
			||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/inbox.gif" align="top" border="0" alt="" />)||
		||else||
			||ifequal||fld_name||(||copy_name||)||
				||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/outbox.gif" align="top" border="0" alt="" />)||
			||else||
				||ifequal||fld_name||(||waste_name||)||
					||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/trash.gif" align="top" border="0" alt="" />)||

					||define||empty_link||(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:fld_empty_trash()"><i>[||lang_str||purge||]</i></a>)||
				||else||
					||ifdef||fld_is_public||
						||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/sharedfolder.gif" align="top" border="0" alt="" />)||
					||else||
						||define||icon||(||icon||<img name="z___||java_text||fld_name||img" id="z___||java_text||fld_name||img" src="||nwimg||/folder.gif" align="top" border="0" alt="" />)||
					||endif||
				||endif||
			||endif||
		||endif||
	||endif||

	||ifequal||fld_name||waste_name||
		||define||fixed||true||
	||else||
		||ifequal||fld_name||copy_name||
			||define||fixed||true||
		||else||
			||ifequal||fld_name||inbox_folder||
				||define||fixed||true||
			||else||
				||ifequal||fld_name||spam_name||
					||define||fixed||true||
				||endif||
			||endif||
		||endif||
	||endif||

	<div id="z___||java_text||fld_name||">
		<img src="||nwimg||/space.gif" width="5" height="16">
		||define||lname||(||lang||fld_name_short||)||
		||ifdef||fld_no_select||
<!--		<input type="checkbox" class="clear" name="sel_||java_lang||fld_name||" disabled> -->
			<i>||icon|| <!--sb-->||lang||fld_name_short||<!--eb--></i>
		||empty_link||
		||else||
<!--		<input type="checkbox" class="clear" name="sel_||java_lang||fld_name||" ||ifdef||fixed||disabled||endif||> -->
			<a href="javascript:openFolder('||encode_text||fld_name||', '||java_text||fld_name||', ||pos||);">||icon|| <!--sb-->||lang||fld_name_short||<!--eb--></a>
		||empty_link||
		||endif||
	</div>
	||define||pos||(||add||pos||2||)||
||end_fld_short||

||ifdef||surgemail||
||define||icon||(<img src="||nwimg||/folder.gif" align="top" border="0" alt="" />)||
||ifequal||(||check_id||11||)||true||
	<div id="z1___Pending">
		<img src="||nwimg||/space.gif" width="5" height="16">
	<!--	<input type="checkbox" class="clear" disabled> -->
			<a href="javascript:openSurgeFolder(11);">||icon|| ||lang_str||Pending||</a>
	</div>
||endif||
||ifequal||(||check_id||10||)||true||
	<div id="z1___Held">
		<img src="||nwimg||/space.gif" width="5" height="16">
	<!--	<input type="checkbox" class="clear" disabled> -->
			<a href="javascript:openSurgeFolder(10);">||icon|| ||lang_str||Held||</a>
	</div>
||endif||
||endif||

||ifnempty||bulletin_path||
	||define||fld_name||Bulletins||
	||define||fld_name_short||(||lang_str||Bulletins||)||
	||define||fixed||true||
	||define||icon||(<img name="z___bulletin_fldimg" id="z___bulletin_fldimg" src="||nwimg||/folderbulletin.gif" align="top" border="0" alt="" />)||

	<div id="z___bulletin_fld">
		<img src="||nwimg||/space.gif" width="5" height="16">
	<!--	<input type="checkbox" class="clear" name="sel_||fld_name||" ||ifdef||fixed||disabled||endif||> -->
		<a href="javascript:openFolder('bulletin_fld', 'bulletin_fld');">||icon|| <!--sb-->||fld_name_short||<!--eb--> ||ifgreater||fld_msg||0||(||fld_msg||)||endif||</a>
	</div>
||endif||

||ifdef||surgemail||
||ifinstr||surgemail_disallow||blog|| ||else|| ||ifequal||(||check_id||160||)||true||
	||define||icon||(<img src="||nwimg||/blog.gif" align="top" border="0" alt="" />)||
	||ifempty||blog_name|| ||define||blog_name||Blogs|| ||endif||
	<div id="z1___blog">
		<img src="||nwimg||/space.gif" width="5" height="16">
	<!--	<input type="checkbox" class="clear" disabled> -->
			<a href="javascript:openSurgeFolder(160);">||icon|| ||lang||blog_name||</a>
	</div>
||endif|| ||endif||
||endif||
</form>

<form method="post" action="||action||" name="folder_select" target="xlist">
	<input type="hidden" name="cmd" value="reload_mail" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="fld" value="" />
	<input type="hidden" name="java_lang" value="true" />
	<input type="hidden" name="gmt_mins" value="" />
</form>

<form method="post" action="||action||" name="xsurge" target="xlist">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="fld" value="" />
	<input type="hidden" name="java_lang" value="true" />
</form>

<form method="post" action="||action||" name="fld_empty">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="page" value="folder_list" />
	<input type="hidden" name="utoken" value="||utoken||" />
</form>

</body>
<script type="text/javascript">
<!--
function makefldarray()
{
	var i = 0;
	||begin_fld_short||this[i++] = "||java_lang||fld_name||";
	this[i++] = "||lang||fld_name||";
	||end_fld_short||
	this[i] = null;
	this.length = i;
}

var full_folder_list = new makefldarray();
var loop = full_folder_list.length;

function get_fld_name(pos)
{
	if (pos >= 0 && pos <= loop) {
		return full_folder_list[pos];
	}

	return "unknown";
}

function get_fld_name_id(jname)
{
	for (i=0;i<loop;i=i+2) {
		if (full_folder_list[i] == jname) {
			i++;
			return full_folder_list[i];
		}
	}
	return jname;
}
//-->
</script>

</html>

||include||message_popup.tpl||
