<!-- 

	All content on this website (including text, images, source
	code and any other original works), unless otherwise noted,
	is licensed under a Creative Commons License.
	
	http://creativecommons.org/licenses/by-nc-sa/2.5/
	
	Copyright (C) 2004-2010 Open-Xchange, Inc.
	Mail: info@open-xchange.com 
	
	@author Markus Wagner <markus.wagner@open-xchange.com>
	@author Stefan Preuss <stefan.preuss@open-xchange.com>

 -->
<ox:notag xmlns:ox="http://localhost/html/dtd/ox.dtd">
	<ox:popupwindow id="floatingdivParticipants" class="distrFloatingInternal" style="z-index: 20;" caption="Select Participants and Resources">
		<div class="greywrapper" style="overflow: hidden;">
			<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 3px 0px 3px 0px;">
			    <tr id="participantsSearchError" style="display:none">
	                <td style="padding: 0px 7px" colspan="4">
	                    <div class="font-color-info">&#160;</div>
	                </td>
	            </tr>
				<tr>
					<td ox:i18n="" style="width: 25%; padding: 0px 7px">Search:</td>
					<td style="width: 45%;">
						<div class="participantsSearchfield">
							<input type="text" id="searchpattern_participants" style="width: 90%;" value=""></input>
						</div>
					</td>
					<td class="labelleft" style="width:30%;">
						<ox:button class="greyground" id="participants_button_go" style="float:left;" ox:i18n="" onclick="triggerEvent('searchParticipants')">Go</ox:button>
					</td>
					<td>&#160;</td>
				</tr>
	            <tr style="display: none">
	                <td colspan="3" class="smallpopupborderbottom border-color-design"> 
	                    <label for="participants-search-all-folders">
	                        <input type="checkbox" id="participants-search-all-folders"/>
	                        <span ox:i18n="">Search all contact folders</span>
	                    </label>
	                </td>
	                <td>&#160;</td>
	            </tr>
				<tr id="newParticipant_folder">
					<td ox:i18n="" style="white-space: nowrap; padding: 0px 7px">Select Address Book:</td>
					<td>					
						<input type="text" id="newParticipant_folderText" style="width: 90%;" disabled="disabled" class="background-color-default border-color-design"></input>
					</td>
					<td class="labelleft">
						<ox:button id="participants-folder-button" class="greyground" onclick="if (!$('participants-search-all-folders').checked) toggleAddressbookParticipantsTree('treeDialogNewParticitpantList');" ox:i18n="" style="float: left;">Contact folder...</ox:button>
					</td>
					<td>&#160;</td>
				</tr>
			</table>
			<div id="tableContainerAddParticipants" class="tableContainerAddAddressees background-color-content border-color-default" style="display:none;">
	<!--
				<div id="addParticipantsTableHeader1" class="innerTableContainerAddAddresseesHeader border-color-default" style="display:none;"></div>
				<div id="addParticipantsTable1" class="innerTableContainerAddAddressees" style="display:none;"></div>
				<div id="addParticipantsTableHeader2" class="innerTableContainerAddAddresseesHeader border-color-default" style="display:none;"></div>
				<div id="addParticipantsTable2" class="innerTableContainerAddAddressees" style="display:none;"></div>
				<div id="addParticipantsTableHeader3" class="innerTableContainerAddAddresseesHeader border-color-default" style="display:none;"></div>
				<div id="addParticipantsTable3" class="innerTableContainerAddAddressees" style="display:none;"></div>
	-->
			</div>
			<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 3px 7px 7px 7px">
				<tr>
					<td colspan="3" style="text-align: left;">
						<div style="display:none;" ox:i18n="" id="headerSelPartAndRes">Select from the list and add selected as participants or resources</div>
						<div style="display:none;" ox:i18n="" id="headerSelPart">Select from the list and add selected as participants</div>					
						<div style="display:none;" ox:i18n="" id="headerSelUser">Select from the list and add selected as users</div>
						<div style="display:none;" ox:i18n="" id="headerSelMember">Select from the list and add selected as members</div>															
					</td>
				</tr>
				<tr>
					<td style="text-align: left;">
						<span style="display:none;" ox:i18n="" id="headerSelPart2">Participants</span>
						<span style="display:none;" ox:i18n="" id="headerSelUser2">Users</span>
						<span style="display:none;" ox:i18n="" id="headerSelMember2">Members</span>
					</td>
					<td style="padding: 0px 7px">
						<ox:button class="greyground" ox:i18n="" id="buttonAddToParticipantsList">Add -&gt;</ox:button>
						<ox:button class="greyground" ox:i18n="" id="buttonDeleteFromParticipantsList">Delete</ox:button>					
					</td>
					<td style="width: 90%; padding: 5px 14px 0px 5px">
						<div class="addresseesSelect background-color-content border-color-default multiple" id="selectedParticipants"></div>
					</td>
				</tr>
				<tr id="selectedResourceTr" class="border-color-design">
					<td style="text-align: left;" ox:i18n="">Resources</td>
					<td style="padding: 0px 7px">
						<ox:button class="greyground" ox:i18n="" id="buttonAddToResourcesList">Add -&gt;</ox:button>
						<ox:button class="greyground" ox:i18n="" id="buttonDeleteFromResourcesList">Delete</ox:button>					
					</td>
					<td style="width: 90%; padding: 5px 14px 5px 5px">
						<div><div class="addresseesSelect background-color-content border-color-default multiple" id="selectedResource">&#160;</div></div>
					</td>
				</tr>
			</table>
		</div>
		<table class="addresseesBottom" cellpadding="0" cellspacing="0" border="0">	
			<tr>
				<td>
					<ox:button class="blueground" style="float: right" id="participants_cancel" ox:i18n="" onclick="triggerEvent('closeParticipantsWindowCancel')">Cancel</ox:button>
					<ox:button class="blueground" style="float: right" id="participants_ok" ox:i18n="" onclick="triggerEvent('closeParticipantsWindowOK')">OK</ox:button>
				</td>
			</tr>
		</table>
	</ox:popupwindow>
	<ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="treeDialogNewParticitpantList" caption="Select Folder" style="display:none; z-index:20; width:20em; top: 140px; left: 150px;">
		<div id="folderAddressbookParticipantTreeInfo" class="tree-popup-inner-div">&#x00a0;&#x00a0;</div>	
	</ox:popupwindow>
</ox:notag>