Index: trunk/expressoAdmin1_2/templates/default/accounts_form.tpl
===================================================================
--- trunk/expressoAdmin1_2/templates/default/accounts_form.tpl	(revision 1329)
+++ trunk/expressoAdmin1_2/templates/default/accounts_form.tpl	(revision 1991)
@@ -15,11 +15,12 @@
 <input type="hidden" name="photo_exist"  		value="{photo_exist}">
 <input type="hidden" name="user_context"		value="{user_context}">
-<input type="hidden" name="departmentnumber"	value="{departmentnumber}">
+<input type="hidden" name="departmentnumber"		value="{departmentnumber}">
 <input type="hidden" name="userSamba"			value="{userSamba}">
-<input type="hidden" name="defaultLogonScript"	value="{defaultLogonScript}">
+<input type="hidden" name="defaultLogonScript"		value="{defaultLogonScript}">
 <input type="hidden" name="imapDelimiter"		value="{imapDelimiter}">
-<input type="hidden" name="minimumSizeLogin"	value="{minimumSizeLogin}">
+<input type="hidden" name="minimumSizeLogin"		value="{minimumSizeLogin}">
 <input type="hidden" name="defaultDomain"		value="{defaultDomain}">
 <input type="hidden" name="ldap_context"		value="{ldap_context}">
+<input type="hidden" name="associated_domain"		value="{associated_domain}">
 
 <br>
@@ -42,10 +43,10 @@
 		<tr bgcolor={row_on}>
 			<td>{lang_search_organization}:</td>
-			<td><input type="text" id="organization_search" {disabled} autocomplete="off" size=20 onKeyUp="javascript:search_organization(this.value, 'ea_combo_org_info');" onBlur="javascript:sinc_combos_org(context.value); get_available_groups(context.value); get_available_maillists(context.value); get_available_sambadomains(context.value, '{type}')"></td>
+			<td><input type="text" id="organization_search" {disabled} autocomplete="off" size=20 onKeyUp="javascript:search_organization(this.value, 'ea_combo_org_info');" onBlur="javascript:sinc_combos_org(context.value); get_associated_domain(context.value); get_available_groups(context.value); get_available_maillists(context.value); get_available_sambadomains(context.value, '{type}')"></td>
 		</tr>
 
 		<tr bgcolor={row_off}>
 			<td>{lang_organizations}:</td>
-			<td><select {disabled} id="ea_combo_org_info" name="context" onchange="javascript:sinc_combos_org(this.value); get_available_groups(this.value); get_available_maillists(this.value); get_available_sambadomains(this.value, '{type}')">{sectors}</select></td>
+			<td><select {disabled} id="ea_combo_org_info" name="context" onchange="javascript:sinc_combos_org(this.value); get_associated_domain(this.value); get_available_groups(this.value); get_available_maillists(this.value); get_available_sambadomains(this.value, '{type}')">{sectors}</select></td>
 		</tr>
 							
Index: trunk/expressoAdmin1_2/templates/default/sectors_form.tpl
===================================================================
--- trunk/expressoAdmin1_2/templates/default/sectors_form.tpl	(revision 1516)
+++ trunk/expressoAdmin1_2/templates/default/sectors_form.tpl	(revision 1991)
@@ -21,4 +21,12 @@
    			<td>
 				<input type="text" {disable} autocomplete="off" name="sector" value={sector}>
+   			</td>
+ 		</tr>
+  		<tr>  
+   			<td>
+   				{lang_Associated_domain}:
+   			</td>
+   			<td>
+				<input type="text" {disable} autocomplete="off" name="associated_domain" value={associated_domain}>
    			</td>
  		</tr>
Index: trunk/expressoAdmin1_2/templates/default/institutional_accounts_modal.tpl
===================================================================
--- trunk/expressoAdmin1_2/templates/default/institutional_accounts_modal.tpl	(revision 1975)
+++ trunk/expressoAdmin1_2/templates/default/institutional_accounts_modal.tpl	(revision 1991)
@@ -17,5 +17,7 @@
 			<br>
 			{lang_organization}:<br>
-			<select id="ea_combo_org" name="context" onchange="javascript:sinc_combos_org(this.value);">{manager_organizations}</select><br>
+			<select id="ea_combo_org" name="context" onchange="javascript:sinc_combos_org(this.value);javascript:get_associated_domain(this.value);">{manager_organizations}</select><br>
+			
+			<input type="hidden" id="associated_domain" name="associated_domain">
 							
 			{lang_full_name}: <font color="blue">{lang_eg}: Setor Diser</font><br>
Index: trunk/expressoAdmin1_2/templates/default/shared_accounts_modal.tpl
===================================================================
--- trunk/expressoAdmin1_2/templates/default/shared_accounts_modal.tpl	(revision 1986)
+++ trunk/expressoAdmin1_2/templates/default/shared_accounts_modal.tpl	(revision 1991)
@@ -16,5 +16,7 @@
 			
 			{lang_organization}:
-			<select id="ea_combo_org" name="context" onchange="javascript:sinc_combos_org(this.value);">{manager_organizations}</select><br>
+			<select id="ea_combo_org" name="context" onchange="javascript:sinc_combos_org(this.value);javascript:get_associated_domain(this.value);">{manager_organizations}</select><br>
+			
+			<input type="hidden" id="associated_domain" name="associated_domain">
 							
 			{lang_full_name}: 
