<html>
<head>
	<link rel="StyleSheet" href="||nwimg||/skin.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_ldap.js"></script>
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>	
||include||css_blue.tpl||
||include||css_color.tpl||
	<title>||lang_str||LDAP Address Book||</title>
</head>

||/*|| Make the first LDAP Address book display nicely ||*/||
||define||xname||(||ldap_book_name||)||
||ifnempty||xname||
	||undef||pub||
	||ifinstr||ldap_book_name||bracket|| ||define||pub||true|| ||else||
		||begin_ldap_security||||define||pub||true||||end_ldap_security||
	||endif||
	||ifdef||ldap_book_user||
		||define||xpub||pub||

		||ifnempty||xpub||
			||ifempty||xresult||
				||define||xresult||true||
				<tr><td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
				    <td colspan="2"><hr></td>
				</tr>				
			||endif||
		||endif||
	||endif||
	||define||xload||(;ldap_select\['||encode_text||ldap_book_name||', ||ifdef||xpub||true||else||false||endif||,||ifdef||ldap_book_new||true||else||false||endif||,||ifdef||ldap_book_write||true||else||false||endif||\])||
||else||
	||define||xload||(;ldap_select\[''\])||
||endif||


<body onResize="resize_screen()" onLoad="list_title('||message_text||(||lang_str||Address Book||)||')||xload||">
<div class="bgc">
    <div id="hiddendiv" style="display: none;"></div> 

<!-- LDAP Books -->
     <div id="xldap_books_menu">||include||ldap_books_menu.tpl||</div>
     <div id="ldap_books" class="white">||include||ldap_books.tpl||</div>

<!-- LDAP Book -->
     <div id="ldap_book_menu">||include||ldap_book_menu.tpl||</div>
     <div id="ldap_book" class="white">||include||ldap_book.tpl||</div>
     <div id="ldap_book_sec"><iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xldap_book_sec" id="xldap_book_sec"></iframe></div>
     <div id="ldap_book_select" class="clearborder">||include||ldap_book_select.tpl||</div>

<!-- Address Book Entries -->
     <div id="ldap_entries_menu" >||include||ldap_entries_menu.tpl||</div>
     <div id="ldap_entries"><iframe src="||nwimg||/blank.htm" frameborder="no" marginheight="0" marginwidth="0" name="xldap_entries" id="xldap_entries"></iframe></div>
     <div id="ldap_select" class="clearborder">||include||ldap_select.tpl||</div>

</div>
</body>
	

<script language="javascript">
<!--
	document.onmousemove = mouse_move;
	document.onmouseup = mouse_up;

||ifdef||ie_version||
	offset = 2;	/* 2 for IE, 0 for Netscape */
||endif||
	resize_screen();
// -->
</script>

||include||message_popup.tpl||
</html>
