<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> (" + 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> (" + 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";

						foo = document.all["y___"+ folder].style.left;
						offset = eval(foo.substring(0, foo.length-2));
						if (offset) {
							document.all[name].style.left = offset + 40 + "px";
						}
						else
							document.all[name].style.left = "20px";


						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||

||ifnempty||bulletin_path||
||define||ypos||6||
<span id="z___bulletin_fld" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<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: ||ypos||px;">
	<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 />
||else||
||define||ypos||-11||
||endif||
<!-- SurgePlus TPL Code -->
||ifdef||surgemail||
||ifequal||use_surgeplus_calendar||true||
||ifinstr||surgemail_disallow||surgeplus||
||else||
||define||ypos||(||add||ypos||17||)||
<span id="z___cal_fld" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-101&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___cal_fldimg');" target="framelist">
	<img name="cal_fldimg" src="||nwimg||/calendar.gif" align="top" border="0" alt="Calendar" /> Calendar</a>
</span>
<span id="y___cal_fld" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-101&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___cal_fldimg');" target="framelist">
	<img name="cal_fldimg" src="||nwimg||/calendar.gif" align="top" border="0" alt="Calendar" /> <b>Calendar</b></a>
</span>
<br />
||endif||
||endif||
||endif||
||define||ypos||(||add||ypos||17||)||
<span id="z___todo_fld" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<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: ||ypos||px;">
	<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 />
||ifdef||surgemail||
||ifinstr||surgemail_disallow||surgeplus||
||else||
||ifequal||(||check_id||102||)||true||
||define||ypos||(||add||ypos||17||)||
<span id="z___filestore" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-102&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___filestoreimg');" target="framelist">
	<img name="filestoreimg" src="||nwimg||/fileshare.gif" align="top" border="0" alt="Filestore" /> Filestore</a>
</span>
<span id="y___filestore" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-102&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___filestoreimg');" target="framelist">
	<img name="filestoreimg" src="||nwimg||/fileshare.gif" align="top" border="0" alt="Filestore" /> <b>Filestore</b></a>
</span>
<br />
||endif||
||ifequal||(||check_id||103||)||true||
||define||ypos||(||add||ypos||17||)||
<span id="z___imagestore" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-103&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___imagestoreimg');" target="framelist">
	<img name="imagestoreimg" src="||nwimg||/imagestore.gif" align="top" border="0" alt="Photos" /> Photos</a>
</span>
<span id="y___imagestore" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-103&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___imagestoreimg');" target="framelist">
	<img name="imagestoreimg" src="||nwimg||/imagestore.gif" align="top" border="0" alt="Photos" /> <b>Photos</b></a>
</span>
<br />
||endif||
||endif||

||ifinstr||surgemail_disallow||blog||
||else||
||ifequal||(||check_id||160||)||true||
||define||ypos||(||add||ypos||17||)||
||ifempty||blog_name|| ||define||blog_name||Blogs|| ||endif||
<span id="z___blog" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-160&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___blogimg');" target="framelist">
	<img name="blogimg" src="||nwimg||/blog.gif" align="top" border="0" alt="||blog_name||" /> ||blog_name||</a>
</span>
<span id="y___blog" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-160&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___blogimg');" target="framelist">
	<img name="blogimg" src="||nwimg||/blog.gif" align="top" border="0" alt="||blog_name||" /> <b>||blog_name||</b></a>
</span>
<br />
||endif||
||endif||


||ifinstr||surgemail_disallow||dbabble||
||else||
||ifequal||(||check_id||150||)||true||
||define||ypos||(||add||ypos||17||)||
||ifempty||dbabble_name|| ||define||dbabble_name||DBabble|| ||endif||
<span id="z___dbabble" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a target="dbabble" href="||action||?cmd=netwin_login_id-150&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___dbabbleimg');" target="framelist">
	<img name="dbabbleimg" src="||nwimg||/dbabble.gif" align="top" border="0" alt="||dbabble_name||" /> ||dbabble_name||</a>
</span>
<span id="y___dbabble" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a target="dbabble" href="||action||?cmd=netwin_login_id-150&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___dbabbleimg');" target="framelist">
	<img name="dbabbleimg" src="||nwimg||/dbabble.gif" align="top" border="0" alt="||dbabble_name||" /> <b>||dbabble_name||</b></a>
</span>
<br />
||endif||
||endif||
||endif||


<!-- end of surgeplus -->
||define||ypos||(||add||ypos||17||)||
<span id="z___search" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<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: ||ypos||px;">
	<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 />

||define||ypos||(||add||ypos||17||)||
||define||zpos||ypos||
||begin_fld_short||
||ifdef||fld_no_select||
	<span id="z___||java_text||fld_name||" style="position: absolute; visibility: show; height: 17px; top: ||ypos||px;">
			||ifdef||fld_is_public||
				<img name="z___||java_text||fld_name||img" src="||nwimg||/sharedfolderdummy.gif" align="top" border="0" alt="" />
			||else||
				<img name="z___||java_text||fld_name||img" src="||nwimg||/folderdummy.gif" align="top" border="0" alt="" />
			||endif||
			||html_text||fld_name_short||
	</span>
	<span id="y___||java_text||fld_name||">
||else||
	<span id="z___||java_text||fld_name||" style="position: absolute; visibility: show; height: 17px; top: ||ypos||px;">
		<a ||ifnequal||is_mac||true||href="#"||endif|| target="_self"  onclick="openFolder('||href_text||fld_name||', '||java_text||fld_name||');">
			||ifgreater||fld_sub_count||0||
				<img src="||nwimg||/presubfolder.gif" align="top" border="0" alt="" />
			||endif||
			||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_short||</a>
		||ifequal||fld_name||(||spam_name||)||
			&nbsp;&nbsp;&nbsp;&nbsp;<a class="empty" href="#" onclick="emptySpam();" target="_self">[purge]</a>
		||endif||
		||ifequal||fld_name||(||waste_name||)||
			&nbsp;&nbsp;&nbsp;&nbsp;<a class="empty" href="#" onclick="emptyTrash();" target="_self">[purge]</a>
		||endif||
	</span>
	<span id="y___||java_text||fld_name||" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">

		<a ||ifnequal||is_mac||true||href="#"||endif|| target="_self"  onclick="openFolder('||href_text||fld_name||', '||java_text||fld_name||');">
			||ifgreater||fld_sub_count||0||
				<img src="||nwimg||/presubfolder.gif" align="top" border="0" alt="" />
			||endif||
			||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_short||</b></a>
	</span>
||endif||
	<script type="text/javascript">
	<!--
		||ifgreater||fld_sub_count||0||
			document.all.z___||java_text||fld_name||.style.top = (||count||) * 17 + ||ypos|| + "px";
			document.all.z___||java_text||fld_name||.style.left = (||fld_sub_count||-1) * 19 + 1 + "px";
			document.all.y___||java_text||fld_name||.style.top = (||count||) * 17 + ||ypos|| + "px";
			document.all.y___||java_text||fld_name||.style.left = (||fld_sub_count||-1) * 19 + 1 + "px";
		||else||
			document.all.z___||java_text||fld_name||.style.top = (||count||) * 17 + ||ypos|| + "px";
			document.all.z___||java_text||fld_name||.style.left = "0px";
			document.all.y___||java_text||fld_name||.style.top = (||count||) * 17 + ||ypos|| + "px";
			document.all.y___||java_text||fld_name||.style.left = "0px";
		||endif||
	//-->
	</script>
	<br />
	||define||count||(||count||+1)||
	||define||zpos||(||add||zpos||17||)||
||end_fld_short||

||define||ypos||zpos||
<!-- SurgePlus TPL Code -->
||ifdef||surgemail||
||ifinstr||surgemail_disallow||friends|| ||else||
||ifequal||(||check_id||11||)||true||
<span id="z___pending" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-11&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___pendingimg');" target="framelist">
	<img name="pendingimg" src="||nwimg||/folder.gif" align="top" border="0" alt="pending" /> pending</a>
</span>
<span id="y___pending" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-11&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___pendingimg');" target="framelist">
	<img name="pendingimg" src="||nwimg||/folderopen.gif" align="top" border="0" alt="pending" /> <b>pending</b></a>
</span>
<br />
||define||ypos||(||add||ypos||17||)||
||endif||
||endif||

||ifinstr||surgemail_disallow||spam|| ||else||
||ifequal||(||check_id||10||)||true||
<span id="z___held" style="position: absolute; visibility: visible; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-10&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___heldimg');" target="framelist">
	<img name="heldimg" src="||nwimg||/folder.gif" align="top" border="0" alt="held" /> held</a>
</span>
<span id="y___held" style="position: absolute; visibility: hidden; height: 17px; top: ||ypos||px;">
	<a href="||action||?cmd=netwin_login_id-10&amp;utoken=||utoken||&amp;&amp;" onclick="changeImg('z___heldimg');" target="framelist">
	<img name="heldimg" src="||nwimg||/folderopen.gif" align="top" border="0" alt="held" /> <b>held</b></a>
</span>
<br />
||define||ypos||(||add||ypos||17||)||
||endif||
||endif||
||endif||
<!-- end of surgeplus -->

<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 ||ifnequal||is_mac||true||href="#"||endif|| 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 ||ifnequal||is_mac||true||href="#"||endif|| 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 ||ifnequal||is_mac||true||href="#"||endif|| 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 ||ifnequal||is_mac||true||href="#"||endif|| 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 ||ifnequal||is_mac||true||href="#"||endif|| 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 ||ifnequal||is_mac||true||href="#"||endif|| onclick="pageDown()" target="_self"><img src="||nwimg||/page.gif" border="0" alt="next" /> next</a>
</span>
