<!--
	Note:  If you want to customize the WebMail templates to integrate with your website then it is much easier to
	edit the vanilla, iconic or marble template sets rather than the panel template set.
	If you have the WebMail included with SurgeMail then you will not have a copy of these template sets.  You can
	get a copy by downloading the full WebMail distribution from:
		http://netwinsite.com/webmail/download2.htm
-->
<!--listf.tpl-->
||ifdef||_nopreview||
||include||listf2.tpl||
||else||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
||get_list_charset||
||ifdef||list_email_charset||
	||ifinstr||list_email_charset||UTF-8||
		||define||list_email_charset||iso-8859-1||
	||endif||
	||ifinstr||list_email_charset||UTF-7||
		||define||list_email_charset||iso-8859-1||
	||endif||
	<meta http-equiv="Content-type" content="text/html; charset=||list_email_charset||">
||endif||
<html>
<head>
||just_include||css.tpl||
<style type="text/css">
<!--
a.empty{
	font: 8pt "Arial";
    color: gray;
	text-decoration: none;
}

a.empty:hover{
	text-decoration: underline;
}
//-->
</style>
||define||mynitems||(||add||nitems||fld_fetch_msg||)||
||define||mynunread||(||add||nunread||fld_fetch_unseen||)||

<script type="text/javascript">
<!--
function emptyTrash(){
	if(confirm("Are you sure you want to remove all items in your ||waste_name|| folder?")){
		window.parent.parent.frames[2].document.location.replace("||action||?cmd=list&listcmd=empty&page=framelist&utoken=||utoken||&folder=||folder||");
	}
}

function emptySpam(){
	if(confirm("Are you sure you want to remove all items in your ||spam_name|| folder?")){
		window.parent.parent.frames[2].document.location.replace("||action||?cmd=list&listcmd=empty_spam&page=framelist&utoken=||utoken||&folder=||folder||");
	}
}
||ifgreater||page_pos||num_pages||
	window.location.replace("||action||?cmd=list&folder=||folder||&pos=" + ((||_max_message_display|| * (||page_pos|| - 2)) + 1) + "&utoken=||utoken||&&");
||endif||
||define||mynitems||(||add||nitems||fld_fetch_msg||)||
||define||mynunread||(||add||nunread||fld_fetch_msg||)||

var listf=true;
var nwimg="||nwimg||";
var _refresh="||_refresh||";
var _min_refresh="||_min_refresh||";
var _nopreview="||_nopreview||";
var _max_message_display="||_max_message_display||";
var folder="||folder||";
var page_pos="||page_pos||";
var num_pages="||num_pages||";
//var java_folder="||java_text||(||folder||)||";
var java_folder="||java_text||folder||";
var java_inbox="||java_text||(||new_mail_name||)||";
if (java_folder == "INBOX") java_folder = java_inbox;
||ifequal||(||html_text||folder||)||INBOX||
	var html_folder="||html_text||new_mail_name||";
||else||
	var html_folder="||html_text||folder||";
||endif||
var ie_version="||ie_version||";
var title = "||cust_title|| - ||current_user||";
var htmlTitle = "||java_text||cust_title||";
var nItems = ||mynitems||;
var nUnread = ||mynunread||;
var xtop="||top||";
var iread1 = new Image();
iread1.src = "||nwimg||/iread1.gif";
||/*||
||ifequal||_played_sound||1||
	||ifgreater||current_todos||0||
		open("||action||?cmd=list&amp;page=todo_only.tpl&amp;utoken=||utoken||",'TODO','width=470,height=150,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes','POPUP');
	||endif||
||endif||
||*/||
//-->
</script>
<script type="text/javascript" src="||nwimg||/listf.js"></script>
<title>||current_user|| has ||mynitems|| messages</title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onload="refresh_init();setItem();setTitle();setPages();check_printwin('||action||?cmd=item-||showuidl||&amp;require_lock=true&amp;require_lock=true&amp;get_attach_id=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;java_email=true&amp;&amp;');" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript">
<!--
var do_printwin = false;

||ifnequal||mynitems||0||
	||ifequal||showitem||next_popup||
		do_printwin = true;
	||endif||
||endif||
||ifequal||folder||INBOX||
	||ifdef||_sound_file||
		||ifgreater||nitems||inbox_last_nitems||
			var MSIE=navigator.userAgent.indexOf("MSIE");
			var NETS=navigator.userAgent.indexOf("Netscape");
			var OPER=navigator.userAgent.indexOf("Opera");
			if((MSIE>-1) || (OPER>-1)) {
				document.write('<bgsound src="||_sound_file||" loop="false">');
			} else {
				document.write('<embed src="||_sound_file||" autostart="true" loop="false" volume="100" align="center" width="0" height="0" controls="smallconsole">');
			}
		||endif||
	||endif||
||endif||

||undef||xamount||
||ifinstr||connection_type||POP||
	||ifdef||disk_quota||
		||define||xamount||(||pop_size||)||
		||define||xmax||(||disk_quota||)||

		||define||xamountk||(||kpop_size||)||
		||define||xmaxk||(||kdisk_quota||)||
	||endif||
||else||
	||ifequal||enable_imap_quota||true||
		||ifdef||imap_disk_quota||
			||define||xamount||(||imap_size||)||
			||define||xmax||(||imap_disk_quota||)||

			||define||xamountk||(||kimap_size||)||
			||define||xmaxk||(||kimap_disk_quota||k)||
		||endif||
	||endif||
||endif||

||ifdef||xamount||
	||define||myquota||(||percent||xamount||xmax||)||

	||ifgreater||myquota||89||
		document.writeln("<h3>Disk space low ||xamountk||k of ||xmaxk|| used</h3>");
	||endif||
||endif||

//-->
</script>
||ifdef||cust_banner_img||
<center>
	<a target="_blank" href="||cust_banner_link||"><img border="0" src="||cust_banner_img||" alt="" /></a>
</center>
||endif||

||ifequal||fetch_manual||true||
	||undef||gotfet||
	||begin_fet||
		||define||gotfet||true||
	||end_fet||

	||ifdef||gotfet||
		<a href="||action||?cmd=show&amp;page=framenew&amp;listcmd=get_fetch&amp;folder=||fld||&amp;utoken=||utoken||&amp;force_connection=true&amp;&amp;" target="framelist">Check other accounts</a><br />
	||endif||
||endif||
||ifinstr||login_msg||$DUE||
	||include||_payment.tpl||
||endif||
||ifdef||error||
	<center>
	<table border="1">
	<tr><td><h3>An error has occurred</h3></td></tr>
	<tr><td>||error||</td></tr>
	</table>
	</center>
||endif||
||ifdef||msg||
	<center>
	<table border="1">
	<tr><td>||msg||</td></tr>
	</table>
	</center>
||endif||
||ifdef||more_to_download||
	<center>
	<table>
	<tr><td><b>||cust_display_name|| has downloaded ||max_downloaded|| leaving ||more_to_download|| to download next time you check mail.</b></td></tr>
	</table>
	</center>
||endif||

<form name="List" method="post" action="||action||">
<input type="hidden" name="get_attach_id" value="true" />
<input type="hidden" name="redirect" value="" />
<input type="hidden" name="page_pos" value="||page_pos||" />
<input type="hidden" name="dstfld" value="" />
<input type="hidden" name="utoken" value="||utoken||" />
<input type="hidden" name="folder" value="||folder||" />
<input type="hidden" name="checknew" value="checknew" />
<input type="hidden" name="cmd" value="" />
<input type="hidden" name="ignore_trash" value="" />
<input type="hidden" name="force_empty" value="" />
<input type="hidden" name="pos" value="||pos||" />

<table border="0" id="listTable" cellspacing="0" cellpadding="0">
<tr bgcolor="#D6D6CE">
	||ifequal||folder||waste_name||
		<td colspan="||ifdef||number_fetch||8||else||7||endif||" align="center" width="100%"><font size="3"><b>||lang_str||(||folder||)||</b></font> - <a class="empty" href="javascript:emptyTrash();">[empty]</a></td>
	||else||
		||ifequal||folder||spam_name||
			<td colspan="||ifdef||number_fetch||8||else||7||endif||" align="center" width="100%"><font size="3"><b>||lang_str||(||folder||)||</b></font> - <a class="empty" href="javascript:emptySpam();">[empty]</a></td>
		||else||
			<td colspan="||ifdef||number_fetch||8||else||7||endif||" align="center" width="100%"><font size="3"><b>||lang_str||(||folder||)||</b></font></td>
		||endif||
	||endif||
</tr>
<tr bgcolor="#D6D6CE">
	<td nowrap="nowrap">
		||ifequal||sort_on||read_unread|| ||ifequal||sort_reverse||true|| ||define||truefalse||false|| ||else|| ||define||truefalse||true|| ||endif|| ||else|| ||define||truefalse||true|| ||endif||
		<a style="text-decoration: none" href="||action||?cmd=list&amp;sort_on=read_unread&amp;sort_method=read_unread&amp;sort_reverse=||truefalse||&amp;utoken=||utoken||&amp;fld=||fld||&amp;pos=||pos||">
			<img src="||nwimg||/iread0.gif" border="0" alt="Unread" width="10" height="10" />
			<img src="||nwimg||/iattach1.gif" border="0" width="7" height="12" alt="Attachments" />
			<img src="||nwimg||/ireply1.gif" border="0" width="9" height="8" alt="Replied" />
		</a>
	</td>
	||ifdef||number_fetch||
		<td>&nbsp;Host&nbsp;</td>
	||endif||
	<td>&nbsp;<a href="javascript:SelectAll();">Select</a>&nbsp;</td>

	||ifequal||folder||copy_name|| ||define||to_from||to:|| ||define||sorthead||To|| ||else|| ||define||to_from||from:|| ||define||sorthead||From|| ||endif||
	||ifequal||sort_on||to_from|| ||ifequal||sort_reverse||true|| ||define||truefalse||false|| ||else|| ||define||truefalse||true|| ||endif|| ||else|| ||define||truefalse||true|| ||endif||
	<td align="left">&nbsp;<a ||ifequal||sort_on||to_from||class="bold" ||endif||href="||action||?cmd=list&amp;sort_on=||to_from||&amp;sort_method=text&amp;sort_reverse=||truefalse||&amp;utoken=||utoken||&amp;fld=||fld||&amp;pos=||pos||">||sorthead||</a></td>

	||ifequal||sort_on||subject:|| ||ifequal||sort_reverse||true|| ||define||truefalse||false|| ||else|| ||define||truefalse||true|| ||endif|| ||else|| ||define||truefalse||true|| ||endif||
	<td align="left" width="100%">&nbsp;&nbsp;<a ||ifequal||sort_on||subject:||class="bold" ||endif||href="||action||?cmd=list&amp;sort_on=subject:&amp;sort_method=thread&amp;sort_reverse=||truefalse||&amp;utoken=||utoken||&amp;fld=||fld||&amp;pos=||pos||">Subject</a></td>

	||ifequal||sort_on||date:|| ||ifequal||sort_reverse||true|| ||define||truefalse||false|| ||else|| ||define||truefalse||true|| ||endif|| ||else|| ||define||truefalse||true|| ||endif||
	<td align="left">&nbsp;<a ||ifequal||sort_on||date:||class="bold" ||endif||href="||action||?cmd=list&amp;sort_on=date:&amp;sort_method=date&amp;sort_reverse=||truefalse||&amp;utoken=||utoken||&amp;fld=||fld||&amp;pos=||pos||">Date</a></td>
	<td align="left">&nbsp;||ifequal||sort_on||date:||<b>Time</b>||else||Time||endif||</td>

	||ifequal||sort_on||h_bytes|| ||ifequal||sort_reverse||true|| ||define||truefalse||false|| ||else|| ||define||truefalse||true|| ||endif|| ||else|| ||define||truefalse||true|| ||endif||
	<td align="left" nowrap="nowrap">&nbsp;	<a ||ifequal||sort_on||h_bytes||class="bold" ||endif||href="||action||?cmd=list&amp;sort_on=h_bytes&amp;sort_method=number&amp;sort_reverse=||truefalse||&amp;utoken=||utoken||&amp;fld=||fld||&amp;pos=||pos||">Size</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>

||define||max_line_count||2||

||ifequal||mynitems||0||
<tr>
	<td>&nbsp;</td>
	||ifdef||number_fetch||
		<td>&nbsp;</td>
	||endif||
	<td colspan="3">"This Folder Contains No Messages"</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
</tr>
||else||

	||undef||mid||
	||begin_list||

	||ifequal||h_isdraft||0||
		<tr id="tr||msg_line||" bgcolor="||ifinstr||_highlight||h_from_email||#FFe0e0||else||#ffffff||endif||" ||ifinstr||ie_version||6.||onmousedown="TRdown(this, 'sel_||h_uidl||', event);" onmouseup="TRup(this, 'sel_||h_uidl||');" onmouseover="TRover(this, 'sel_||h_uidl||');"||endif||>
			<td nowrap="nowrap">
				||ifndef||mid||
					||define||mid||h_uidl||
					<input type="hidden" name="mid" value="||h_uidl||" />
				||endif||
				<a href="||action||?cmd=itemflag-||h_uidl||&amp;require_lock=true&amp;pos=||pos||&amp;flag=read&amp;utoken=||utoken||&amp;fld=||fld||"><img name="iread||java_text||(||encode_tilda||h_uidl||)||" border="0" src="||nwimg||/iread||h_isread||.gif" width="10" height="10" alt="" /></a>
				<img src="||nwimg||/iattach||h_isattached||.gif" width="7" height="12" alt="" />
				<a href="||action||?cmd=itemflag-||h_uidl||&amp;require_lock=true&amp;pos=||pos||&amp;flag=reply&amp;utoken=||utoken||&amp;fld=||fld||"><img border="0" src="||nwimg||/ireply||h_isreplied||.gif" width="9" height="8" alt="" /></a>
			</td>
			||ifdef||number_fetch||
				<td align="center">
					||ifdef||fet_number||
						<img src="||nwimg||/host||fet_number||.gif" alt="" />
					||endif||
				</td>
			||endif||
			<td align="center"><input type="checkbox" name="sel_||h_uidl||" id="check||msg_line||" value="on" ||ifinstr||ie_version||6.||onmouseup="TRcheckbox(this, 'sel_||h_uidl||');" onmousedown="TRcheckdown(this, 'sel_||h_uidl||');"||endif|| /></td>
			<td nowrap="nowrap">&nbsp;<a onmousedown="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; linkdown = true;" ondblclick="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; force_printwin('||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;java_email=true&amp;&amp;');" href="||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;java_email=true&amp;&amp;" target="item">||ifequal||folder||copy_name||||lchop||h_to||30||||else||||lchop||h_from_personal||30||||endif||</a></td>
			<td nowrap="nowrap">
				||ifequal||h_priority||urgent||
					&nbsp;&nbsp;<a onmousedown="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; linkdown = true;" ondblclick="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; force_printwin('||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;java_email=true&amp;&amp;')" href="||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;java_email=true&amp;&amp;" target="item"><font color="#FF0000"><b>Urgent</b> ||lchop||h_subject||40||</font></a>
				||else||
					&nbsp;&nbsp;<a onmousedown="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; linkdown = true;" ondblclick="document.iread||java_text||(||encode_tilda||h_uidl||)||.src = iread1.src; force_printwin('||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;java_email=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;&amp;')" href="||action||?cmd=item-||h_uidl||&amp;require_lock=true&amp;get_attach_id=true&amp;java_email=true&amp;utoken=||utoken||&amp;folder=||fld||&amp;&amp;" target="item">||lchop||h_subject||40||</a>
				||endif||
				<img src="||nwimg||/iunseen||h_isunseen||.gif" width="10" height="10" alt="" />
			</td>
			<td nowrap="nowrap">&nbsp;||h_date_day||</td>
			<td nowrap="nowrap">&nbsp;||h_date_time||</td>
			<td>&nbsp;||h_bytes||</td>
		</tr>
	||else||

		<tr id="tr||msg_line||" bgcolor="||ifinstr||_highlight||h_from_email||#FFe0e0||else||#ffffff||endif||" ||ifinstr||ie_version||6.||onmousedown="TRdown(this, 'sel_||h_uidl||', event);" onmouseup="TRup(this, 'sel_||h_uidl||');" onmouseover="TRover(this, 'sel_||h_uidl||');"||endif||>
			<td nowrap="nowrap" align="center">(DRAFT)</td>
			||ifdef||number_fetch||
				<td align="center">
					||ifdef||fet_number||
						<img src="||nwimg||/host||fet_number||.gif" alt="" />
					||endif||
				</td>
			||endif||
			<td align="center"><input type="checkbox" name="sel_||h_uidl||" id="check||msg_line||" value="on" ||ifinstr||ie_version||6.||onmouseup="TRcheckbox(this, 'sel_||h_uidl||');" onmousedown="TRcheckdown(this, 'sel_||h_uidl||');"||endif|| /></td>
			<td>&nbsp;(self)</td>
			<td nowrap="nowrap">&nbsp;&nbsp;<a onmousedown="linkdown = true;" href="||action||?cmd=||ifdef||_nopreview||list||else||show||endif||&amp;get_attach_id=true&amp;page=framenew&amp;not_new=true&amp;do_encode=true&amp;listcmd=msg_draft-||h_uidl||&amp;utoken=||utoken||&amp;folder=||fld||&amp;isdraft=true&amp;&amp;" onclick="this.target=openWindow();" target="_blank">||lchop||h_subject||40||</a></td>
			<td nowrap="nowrap">&nbsp;||h_date_day||</td>
			<td nowrap="nowrap">&nbsp;||h_date_time||</td>
			<td>&nbsp;||h_bytes||</td>
		</tr>
	||endif||
	||end_list||
||endif||

<tr>
	<td></td>
	||ifdef||number_fetch||
		<td></td>
	||endif||
	<td></td>
	<td nowrap="nowrap" colspan="5">
		<table width="100%">
		<tr>
			<td><input name="allbox" type="checkbox" value="Check All" onclick="CheckAll();" /><i>Select all displayed messages</i><br />

||ifgreater||xmax||0||
<script type="text/javascript">
<!--
	document.writeln("You are using ||xamountk||k of ||xmaxk|| bytes disk space");
//-->
</script>
||endif||

			</td>
			<td valign="top"nowrap="nowrap"><img src="||nwimg||/iread0.gif" width="10" height="10" alt="" />&nbsp;=&nbsp;Unread</td>
			<td valign="top"><img src="||nwimg||/iunseen1.gif" width="10" height="10" alt="" /> = new</td>
			<td valign="top"><img src="||nwimg||/iattach1.gif" width="7" height="12" alt="" /> = attachment</td>
			<td valign="top"><img src="||nwimg||/ireply1.gif" width="9" height="8" alt="" /> = replied</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</form>

||ifdef||rule_log||
	<center>
		<table border="1" bgcolor="ffffff">
		<tr>
			<td>Log of rule processing</td>
		</tr>
		<tr>
			<td><pre>||rule_log||</pre></td>
		</tr>
		</table>
	</center>
||endif||

||ifequal||_played_sound||2||
||ifdef||_sound_file||
||ifdef||_nnew||
	<script type="text/javascript">
	<!--
	if (||_nnew|| > 0) {
		var MSIE=navigator.userAgent.indexOf("MSIE");
		var NETS=navigator.userAgent.indexOf("Netscape");
		var OPER=navigator.userAgent.indexOf("Opera");
		if((MSIE>-1) || (OPER>-1)) {
			document.write('<BGSOUND SRC="||_sound_file||" LOOP=false>');
		} else {
			document.write('<EMBED SRC="||_sound_file||" autostart=true loop=false volume=100 align="center" width=0 height=0 controls=smallconsole>');
		}
	}
	// -->
	</script>
||endif||
||endif||
||endif||
<script type="text/javascript">
<!--
function setItem(){
var url;
||ifnequal||showitem||-1||
	||ifnequal||mynitems||0||
		||ifdef||showitem||
			var showitem = "||showitem||";
			if(showitem.substr(0,5) == "next_"){
				showitem = "||showuidl||";
			}
			else{
				||ifdef||local_uidl||
					if(showitem.substr(showitem.length-1, 1) == "*"){
						var i = eval(showitem.substring(0, showitem.length-1)-1);
						showitem = i + "*";
					}
				||endif||
			}
			url = "||action||?cmd=soft_item-" + showitem + "&amp;get_attach_id=true&amp;folder=||folder||&amp;myuidl=||myuidl||&amp;utoken=||utoken||&amp;java_email=true&amp;no_select=true&amp;&amp;";
				for(var lastIndex = 0;;){
					if((lastIndex = url.indexOf("&", lastIndex+1))<0)break;
					url = url.substring(0, lastIndex+1) + url.substring(lastIndex + 5, url.length);
				}
			window.parent.frames[1].document.location = url;
		||else||
			||ifndef||_nopreview||
// might need to put this test back in.  Removed 19/11/03 as it breaks it on Safari				//if(!window.parent.frameon){
				||ifdef||mid||
					if(document.List.mid){
						document.iread||java_text||(||encode_tilda||mid||)||.src = iread1.src;
						url = "||action||?cmd=soft_item-" + document.List.mid.value + "&amp;get_attach_id=true&amp;folder=||fld||&amp;myuidl=||myuidl||&amp;utoken=||utoken||&amp;java_email=true&amp;no_select=true&amp;&amp;";
							var lastIndex = 0;
							for(lastIndex=0;;){
								if((lastIndex = url.indexOf("&", lastIndex+1))<0)break;
								url = url.substring(0, lastIndex+1) + url.substring(lastIndex + 5, url.length);
							}
						window.parent.frames[1].document.location = url;
					}
				||endif||
// matching Removed 19/11/03 as it breaks it on Safari				//}
			||endif||
		||endif||
	||else||
		if(window.parent.frameliston == true){
			url = "||action||?cmd=list&amp;folder=||href_text||folder||&amp;utoken=||utoken||&amp;java_email=true&amp;&amp;";
				var lastIndex = 0;
				for(lastIndex=0;;){
					if((lastIndex = url.indexOf("&", lastIndex+1))<0)break;
					url = url.substring(0, lastIndex+1) + url.substring(lastIndex + 5, url.length);
				}
			window.parent.document.location = url;
		}
	||endif||
||endif||
}

function SelectAll()
{
	if (document.List.allbox.checked == true) {
		document.List.allbox.checked = false;
	}
	else {
		document.List.allbox.checked = true;
	}
	CheckAll();
}

function CheckAll()
{
	for (var i=0;i<document.List.elements.length;i++)
	{
		var e = document.List.elements[i];
		if (e.name != 'allbox')
			e.checked = document.List.allbox.checked;
	}
	var color = document.List.allbox.checked ? "#eeeeff" : "#ffffff" ;
	var colorHL = document.List.allbox.checked ? "#ccccff" : "#FFe0e0" ;
	var rows = document.getElementById('listTable').rows;
	if(navigator.userAgent.indexOf("Opera") >= 0){
		for(var i=3; i<rows.length; i++){
			if(rows[i].bgColor == "#ffffff" || rows[i].bgColor == "#eeeeff")
				rows[i].bgColor = color;
			else
				rows[i].bgColor = colorHL;
		}
	}
	else{
		for(var i=2; i<rows.length-1; i++){
			if(rows[i].bgColor == "#ffffff" || rows[i].bgColor == "#eeeeff")
				rows[i].bgColor = color;
			else
				rows[i].bgColor = colorHL;
		}
	}
}
//-->
</script>

<form name="reload_fld" method="post" action="||action||">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="folder" value="||folder||" />
	<input type="hidden" name="checknew" value="checknew" />
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="listcmd" value="" />
	<input type="hidden" name="page" value="" />
	<input type="hidden" name="pos" value="||pos||" />
	<input type="hidden" name="showitem" value="" />
	<input type="hidden" name="no_item_refresh" value="" />
</form>
||ifdef||num_pages||
	<form name="goto_page" method="post" action="||action||">
		<input type="hidden" name="pageupquery" value="||pageup||" />
		<input type="hidden" name="pagedownquery" value="||pagedown||" />
		<input type="hidden" name="utoken" value="||utoken||" />
		<input type="hidden" name="folder" value="||folder||" />
		<input type="hidden" name="cmd" value="list" />
		<input type="hidden" name="pos" value="" />
	</form>
||endif||

</body>
</html>
||endif||
