<script type="text/javascript">
<!--
function changeImg(img){
	var layer = img.substr(0, img.length-3);
	var name;

	for(var i=0; i<document.all.length; i++){
		name = document.all[i].id;
		if(name){
			if(name.substring(0, 4) == "z___"){
				if(name.substr(name.length-3, 3) == "img") continue;
				if(name == layer){
					document.all[i].style.visibility = "hidden";
				}
				else{
					document.all[i].style.visibility = "visible";
				}
			}
			if(name.substring(0, 4) == "y___"){
				if(name.substring(1, name.length) == layer.substring(1, layer.length)){
					document.all[i].style.visibility = "visible";
				}
				else{
					document.all[i].style.visibility = "hidden";
				}
			}
		}
	}
}

function showPages(numPages, folder, html_folder, nUnread, nItems){
	var top=6;
	var name;

	if(!document.all["bold___24"]){
		setTimeout('showPages("' + numPages + '", "' + folder + '", "' + html_folder + '", "' + nUnread + '", "' + nItems + '")', 200);
		return;
	}

	for(var j=1; j<=24; j++){
		document.all["page___" + j].style.visibility = "hidden";
		document.all["bold___" + j].style.visibility = "hidden";
	}

	for(var i=0; i<document.all.length; i++){
		if(document.all[i].id.substr(0,4) == "z___"){
			document.all[i].style.top = top + "px";
			document.all["y" + document.all[i].id.substring(1,document.all[i].id.length)].style.top = top + "px";
			top += 17;

			if(document.all[i].id == "z___" + folder){
				if(nItems >= 0){
					if(document.all["y___" + folder].innerHTML.indexOf("<B>"))
						document.all["y___" + folder].innerHTML = document.all["y___" + folder].innerHTML.substring(0, document.all["y___" + folder].innerHTML.indexOf("<B>")) + "<b>" + html_folder + "</b> (" + nUnread + "<img src='||nwimg||/iread0.gif' border='0' alt='' />/" + nItems + ")";
					else
						document.all["y___" + folder].innerHTML = document.all["y___" + folder].innerHTML.substring(0, document.all["y___" + folder].innerHTML.indexOf("<b")) + "<b>" + html_folder + "</b> (" + nUnread + "<img src='||nwimg||/iread0.gif' border='0' alt='' />/" + nItems + ")";
				}
				if(numPages > 1){
					for(j=1; j<=numPages; j++){
						if(j == window.parent.frames[2]||ifndef||_nopreview||.frames[0]||endif||.document.List.page_pos.value){
							name = "bold___" + j;
						}
						else{
							name = "page___" + j;
						}
						document.all[name].style.top = top + "px";
						document.all[name].style.visibility = "visible";
						top += 17;

						if(j >= 23){
							j++;
							if(j == window.parent.frames[2]||ifndef||_nopreview||.frames[0]||endif||.document.List.page_pos.value){
								name = "bold___" + j;
							}
							else{
								name = "page___" + j;
							}
							document.all[name].style.top = top+2 + "px";
							document.all[name].style.visibility = "visible";
							top += 17;
							break;
						}
					}
				}
			}
		}	
	}
}
//-->
</script>

||define||count||0||
<span id="z___bulletin_fld" style="position: absolute; visibility: visible; height: 17px; top: 6px;">
	<a href="||action||?cmd=||ifdef||_nopreview||bulletin||else||show&amp;page=framelist&amp;display_bulletin=true||endif||&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___bulletin_fldimg');" target="framelist">
	<img name="bulletin_fldimg" src="||nwimg||/bulletin.gif" align="top" border="0" alt="bulletins" /> Bulletins</a>
</span>
<span id="y___bulletin_fld" style="position: absolute; visibility: hidden; height: 17px; top: 6px;">
	<a href="||action||?cmd=||ifdef||_nopreview||bulletin||else||show&amp;page=framelist&amp;display_bulletin=true||endif||&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___bulletin_fldimg');" target="framelist">
	<img name="bulletin_fldimg" src="||nwimg||/bulletin.gif" align="top" border="0" alt="Bulletins" /> <b>Bulletins</b></a>
</span>
<br />
<span id="z___todo_fld" style="position: absolute; visibility: visible; height: 17px; top: 23px;">
	<a href="||action||?cmd=todo&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___todo_fldimg');" target="framelist">
	<img name="todo_fldimg" src="||nwimg||/todo.gif" align="top" border="0" alt="Todo List" /> Todo List</a>
</span>
<span id="y___todo_fld" style="position: absolute; visibility: hidden; height: 17px; top: 23px;">
	<a href="||action||?cmd=todo&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___todo_fldimg');" target="framelist">
	<img name="todo_fldimg" src="||nwimg||/todo.gif" align="top" border="0" alt="Todo List" /> <b>Todo List</b></a>
</span>
<br />
<span id="z___search" style="position: absolute; visibility: visible; height: 17px; top: 40px;">
	<a href="||action||?cmd=msg_search&amp;utoken=||utoken||&amp;&amp;" target="framelist" onclick="changeImg('z___searchimg');">
	<img name="search_fldimg" src="||nwimg||/search.gif" align="top" border="0" alt="Search" /> Search</a>
</span>
<span id="y___search" style="position: absolute; visibility: hidden; height: 17px; top: 40px;">
	<a href="||action||?cmd=msg_search&amp;utoken=||utoken||&amp;&amp;" target="framelist"  onclick="changeImg('z___searchimg');">
	<img name="search_fldimg" src="||nwimg||/search.gif" align="top" border="0" alt="Search" /> <b>Search</b></a>
</span>
<br />
||begin_fld_short||
	<span id="z___||java_text||fld_name||" style="position: absolute; visibility: show; height: 17px; top: 57px;">
		<a href="#" target="_self"  onclick="openFolder('||href_text||fld_name||', '||java_text||fld_name||');">
			||ifequal||fld_name||(||spam_name||)||
				<img name="z___||java_text||fld_name||img" src="||nwimg||/folder_spam.gif" align="top" border="0" alt="" />
			||else||
				||ifequal||fld_name||(||new_mail_name||)||
					<img name="z___||java_text||fld_name||img" src="||nwimg||/inbox.gif" align="top" border="0" alt="" />
				||else||
					||ifequal||fld_name||(||copy_name||)||
						<img name="z___||java_text||fld_name||img" src="||nwimg||/outbox.gif" align="top" border="0" alt="" />
					||else||
						||ifequal||fld_name||(||waste_name||)||
							<img name="z___||java_text||fld_name||img" src="||nwimg||/trash.gif" align="top" border="0" alt="" />
						||else||
							||ifdef||fld_is_public||
								<img name="z___||java_text||fld_name||img" src="||nwimg||/sharedfolder.gif" align="top" border="0" alt="" />
							||else||
								<img name="z___||java_text||fld_name||img" src="||nwimg||/folder.gif" align="top" border="0" alt="" />
							||endif||
						||endif||
					||endif||
				||endif||
			||endif||
		||html_text||fld_name||</a>
	</span>
	<span id="y___||java_text||fld_name||" style="position: absolute; visibility: hidden; height: 17px; top: 57px;">
		<a href="#" target="_self"  onclick="openFolder('||href_text||fld_name||', '||java_text||fld_name||');">
			||ifequal||fld_name||(||spam_name||)||
				<img name="z___||java_text||fld_name||img" src="||nwimg||/folder_spam.gif" align="top" border="0" alt="" />
			||else||
				||ifequal||fld_name||(||new_mail_name||)||
					<img name="z___||java_text||fld_name||img" src="||nwimg||/inbox.gif" align="top" border="0" alt="" />
				||else||
					||ifequal||fld_name||(||copy_name||)||
						<img name="z___||java_text||fld_name||img" src="||nwimg||/outbox.gif" align="top" border="0" alt="" />
					||else||
						||ifequal||fld_name||(||waste_name||)||
							<img name="z___||java_text||fld_name||img" src="||nwimg||/trash.gif" align="top" border="0" alt="" />
						||else||
							||ifdef||fld_is_public||
								<img name="z___||java_text||fld_name||img" src="||nwimg||/sharedfolderopen.gif" align="top" border="0" alt="" />
							||else||
								<img name="z___||java_text||fld_name||img" src="||nwimg||/folderopen.gif" align="top" border="0" alt="" />
							||endif||
						||endif||
					||endif||
				||endif||
			||endif||
		<b>||html_text||fld_name||</b></a>
	</span>
	<script type="text/javascript">
	<!--
		document.all.z___||java_text||fld_name||.style.top = (||count||) * 17 + 57 + "px";
	//-->
	</script>
	<br />
	||define||count||(||count||+1)||

||end_fld_short||
<script type="text/javascript">
<!--
	document.all.z___||java_text||new_mail_name||.style.visibility = "hidden";
	document.all.y___||java_text||new_mail_name||.style.visibility = "visible";
	for(var i=1; i<23; i++){
		document.writeln('<span id="page___' + i + '" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">');
		document.writeln('	<a href="#" onclick="goPage(' + i + ');" target="_self"><img src="||nwimg||/page.gif" border="0"> Page ' + i + '</a>');
		document.writeln('</span>');
		document.writeln('<span id="bold___' + i + '" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">');
		document.writeln('	<a href="#" onclick="goPage(' + i + ');" target="_self"><img src="||nwimg||/page.gif" border="0"> <b>Page ' + i + '</b></a>');
		document.writeln('</span><br />');
	}
//-->
</script>
<span id="page___23" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">
	<a href="#" onclick="pageUp()" target="_self"><img src="||nwimg||/page.gif" border="0" alt="prev" /> prev</a>
</span>
<span id="page___24" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">
	<a href="#" onclick="pageDown()" target="_self"><img src="||nwimg||/page.gif" border="0" alt="next" /> next</a>
</span>
<span id="bold___23" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">
	<a href="#" onclick="pageUp()" target="_self"><img src="||nwimg||/page.gif" border="0" alt="prev" /> prev</a>
</span>
<span id="bold___24" style="position: absolute; visibility: hidden; height: 17px; left: 15px;">
	<a href="#" onclick="pageDown()" target="_self"><img src="||nwimg||/page.gif" border="0" alt="next" /> next</a>
</span>
