 				pw="#form.new_password#"
 				returnVariable="hashedPassword">
 		<cfset session["password" & request.adminType]=hashedPassword>
-		 <cfif form.rememberMe NEQ "s">
+		 <cfif form.rememberMe != "s">
 			<cfcookie
 				expires="#dateAdd(form.rememberMe,1,now())#"
 				name="lucee_admin_pw_#server.lucee.version#_#ad#"

	strNav ='<ul id="menu">'& strNav&'</ul>' ;

/* moved to title in content area
	if (favoriteLis neq "")
	{
		strNav = '<li id="favorites"><a href="##">Favorites</a><ul>' & favoriteLis & "</ul></li>" & strNav;
	}
	*/

	function toBool(sct,key) {
		if (not structKeyExists(arguments.sct,arguments.key)) return false;
		return arguments.sct[arguments.key];
	}
	function getRemoteClients() {
		if (not isDefined("form._securtyKeys")) return array();
		return form._securtyKeys;
	}
	function toIDField(value)

		}
		strNav = strNav &'';
		hasChildren=hasChildren and len(subNav) GT 0;
		if (!hasChildren) {
			if (toBool(stNavi,"display"))strNav = strNav & '<li><a href="' & request.self & '?action=' & stNavi.action & '">' & stNavi.label & '</a></li>';
			//if (toBool(stNavi,"display"))strNav = strNav & '<div class="navtop"><a class="navtop" href="' & request.self & '?action=' & stNavi.action & '">' & stNavi.label & '</a></div>';
		}
		else {
			idName = toIDField(stNavi.label);
			isCollapsed = !hasActiveItem && application.adminfunctions.getdata('collapsed_' & idName) == 1;
			strNav = strNav & '<li id="#idName#"#isCollapsed ? ' class="collapsed"':''#><a href="##">' & stNavi.label & '</a><ul#isCollapsed ? ' style="display:none"':''#>'&subNav& "</ul></li>";
			//strNav = strNav & '<div class="navtop">' & stNavi.label & '</div>'&subNav& "";
		}
