
<!--
****************************************************************************

     File Name:   cardEntityView.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

      Copyright (c) 2004-2005 America Online, Inc.  All rights reserved.
      This software contains valuable confidential and proprietary
      information of America Online, Inc. and is subject to applicable
      licensing agreements.  Unauthorized reproduction, transmission or
      distribution of this file and its contents is a violation of
      applicable laws.

            A M E R I C A   O N L I N E   C O N F I D E N T I A L

****************************************************************************
-->

    <hbox style="firstLastNameStyle" s:paddingTop="3" s:paddingBottom="3" s:maxWidth="auto">
        <aolLabel tabIndex="1" accReadText="true" value="" style="superGroupTwistyBoxLabel" s:maxWidth="auto" s:crop="right" s:flex="1">
            <binding objectSource="cardUI" targetProperty="value" path="friendlyName"/>
        </aolLabel>
    </hbox>
    
    <vbox style="scrollable">
		<reaction event="mouseWheel" detail="1" action="toolkit:MouseWheelScrollUp"/>
        <reaction event="mouseWheel" detail="-1" action="toolkit:MouseWheelScrollDown"/>
        <vbox style="twistySectionStyle" s:paddingLeft="7" collapsed="true">
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&section.contactinfo;">
				<hbox style="sectionContents">
					<vbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="screenNameLinkLbl" tabIndex="1" style="vciFieldName" value="&fieldname.im;"/>
							<binding elementSource="vScreenNameRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="email1LinkLbl" tabIndex="3" style="vciFieldName" value="&fieldname.email;"/>
							<binding elementSource="vEmail1Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="email2LinkLbl" tabIndex="5" style="vciFieldName" value="&fieldname.email;"/>
							<binding elementSource="vEmail2Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="phone1LinkLbl" tabIndex="7" style="vciFieldName">
								<binding objectSource="cardUI" targetProperty="value" path="phoneType1_LabelView"/>
							</aolLabel>
							<binding elementSource="vPhone1Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="phone2LinkLbl" tabIndex="9" style="vciFieldName">
								<binding objectSource="cardUI" targetProperty="value" path="phoneType2_LabelView"/>
							</aolLabel>
							<binding elementSource="vPhone2Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="phone3LinkLbl" tabIndex="11" style="vciFieldName">
								<binding objectSource="cardUI" targetProperty="value" path="phoneType3_LabelView"/>
							</aolLabel>
							<binding elementSource="vPhone3Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="phone4LinkLbl" tabIndex="13" style="vciFieldName">
								<binding objectSource="cardUI" targetProperty="value" path="phoneType4_LabelView"/>
							</aolLabel>
							<binding elementSource="vPhone4Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter" collapsed="true">
							<aolLabel id="phone5LinkLbl" tabIndex="15" style="vciFieldName">
								<binding objectSource="cardUI" targetProperty="value" path="phoneType5_LabelView"/>
							</aolLabel>
							<binding elementSource="vPhone5Row" targetProperty="collapsed" path="collapsed"/>
						</hbox>
					</vbox> 
					<vbox>
						<hbox id="vScreenNameRow" style="vAlignCenter" collapsed="true">
							<aolTextButton id="screenName" qnTab="im" tabIndex="2">
								<reaction event="command" action="scene.addressCard.onScreenNameCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="screenName"/>
								<binding objectSource="contact" targetProperty="tooltip" path="screenName"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_screenName"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vEmail1Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mail" qnIndex="1" tabIndex="4">
								<reaction event="command" action="scene.addressCard.onEmailCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="email1"/>
								<binding objectSource="contact" targetProperty="tooltip" path="email1"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_email1"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vEmail2Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mail" qnIndex="2" tabIndex="6">
								<reaction event="command" action="scene.addressCard.onEmailCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="email2"/>
								<binding objectSource="contact" targetProperty="tooltip" path="email2"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_email2"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vPhone1Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mobile" qnIndex="1" tabIndex="8">
								<reaction event="command" action="scene.addressCard.onPhoneCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="phone1"/>
								<binding objectSource="contact" targetProperty="tooltip" path="phone1"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_phone1"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vPhone2Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mobile" qnIndex="2" tabIndex="10">
								<reaction event="command" action="scene.addressCard.onPhoneCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="phone2"/>
								<binding objectSource="contact" targetProperty="tooltip" path="phone2"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_phone2"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vPhone3Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mobile" qnIndex="3" tabIndex="12">
								<reaction event="command" action="scene.addressCard.onPhoneCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="phone3"/>
								<binding objectSource="contact" targetProperty="tooltip" path="phone3"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_phone3"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vPhone4Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mobile" qnIndex="4" tabIndex="14">
								<reaction event="command" action="scene.addressCard.onPhoneCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="phone4"/>
								<binding objectSource="contact" targetProperty="tooltip" path="phone4"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_phone4"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vPhone5Row" style="vAlignCenter" collapsed="true">
							<aolTextButton qnTab="mobile" qnIndex="5" tabIndex="16">
								<reaction event="command" action="scene.addressCard.onPhoneCommand();"/>
								<binding objectSource="contact" targetProperty="label" path="phone5"/>
								<binding objectSource="contact" targetProperty="tooltip" path="phone5"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_phone5"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
					</vbox> 
				</hbox>
            </aolTwistyBox> 
            <binding objectSource="cardUI" targetProperty="collapsed" path="contactInfoCollapsed"/>
        </vbox>
        
        <vbox style="twistySectionStyle" s:paddingLeft="7" id="plaxoCardDetails" >
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&plaxoStrings.addresscard.header;">
                <vbox style="sectionContents" s:marginLeft="-3">
					<plaxoDetails s:marginTop="10" id="plaxoDetails" mode="addressCard" />
                </vbox>
            </aolTwistyBox>
        </vbox>

        <vbox style="twistySectionStyle" s:paddingLeft="7">
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&section.filedin;">
				<hbox style="sectionContents">
					<vbox>
						<hbox>
							<aolLabel id="categoryLbl" style="vfiFieldName" value="&fieldname.category;"/>
						</hbox>
						<hbox>
							<aolLabel accReadText="true" style="vfiFieldName" value="&fieldname.mailinglists;"/>
							<binding elementSource="mailingListViewHBox" targetProperty="collapsed" path="collapsed"/>
						</hbox>
					</vbox>
					<vbox>
						<hbox>
							<aolLabel accReadText="true">
								<binding objectSource="contact" targetProperty="value" path="category"/>
								<binding objectSource="cardUI" targetProperty="accName" path="acc_category"/>
							</aolLabel>
						</hbox>
						<hbox id="mailingListViewHBox">
							<vbox id="viewMailingListsContainer"/>
						</hbox>
					</vbox>
				</hbox>
            </aolTwistyBox>
        </vbox>
        
        <vbox style="twistySectionStyle" s:paddingLeft="7" collapsed="true">
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&section.homeaddress;">
                <vbox style="sectionContents">
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="homeAddrLine1"/>
                        <binding elementSource="_self" targetProperty="collapsed" path="value" sourceTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="homeAddrLine2"/>
                        <binding elementSource="_self" targetProperty="collapsed" path="value" sourceTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="homeAddrLine3"/>
                        <binding elementSource="_self" targetProperty="collapsed" path="value" sourceTransformer="toolkit:empty"/>
                    </aolLabel>
                    <hbox style="vAlignCenter">
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrCity"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrState"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrPostalCode"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrCountry"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat" sourceTransformer="toolkit:not"/>
                    </hbox>
                    <hbox>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrPostalCode"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrCity"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat"/>
                    </hbox>
                    <hbox>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="homeAddrCountry"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat"/>
                    </hbox>
                </vbox>
            </aolTwistyBox>
            <binding objectSource="cardUI" targetProperty="collapsed" path="homeAddressCollapsed"/>
        </vbox>
        
        <vbox style="twistySectionStyle" s:paddingLeft="7" collapsed="true">
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&section.workaddress;">
                <vbox style="sectionContents">
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="jobTitle"/>
                        <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="company"/>
                        <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="workAddrLine1"/>
                        <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="workAddrLine2"/>
                        <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                    </aolLabel>
                    <aolLabel accReadText="true">
                        <binding objectSource="contact" targetProperty="value" path="workAddrLine3"/>
                        <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                    </aolLabel>
                    <hbox style="vAlignCenter">
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrCity"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrState"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrPostalCode"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrCountry"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat" sourceTransformer="toolkit:not"/>
                    </hbox>
                    <hbox>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrPostalCode"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrCity"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat"/>
                    </hbox>
                    <hbox>
                        <aolLabel accReadText="true">
                            <binding objectSource="contact" targetProperty="value" path="workAddrCountry"/>
                            <binding elementSource="_self" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
                        </aolLabel>
                        <binding objectSource="cardUI" targetProperty="collapsed" path="USAddressFormat"/>
                    </hbox>
                </vbox>
            </aolTwistyBox>
            <binding objectSource="cardUI" targetProperty="collapsed" path="workAddressCollapsed"/>
        </vbox>
        
        <vbox style="twistySectionStyle" s:paddingLeft="7" collapsed="true">
            <binding objectSource="cardUI" targetProperty="collapsed" path="otherInfoCollapsed"/>
            <aolTwistyBox style="twistyBoxLabel" hideTwisty="true" label="&section.otherinfo;">
				<hbox style="sectionContents">
					<vbox>
						<hbox style="vAlignCenter">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.nickname;"/>
							<binding elementSource="vNicknamerow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.birthday;"/>
							<binding elementSource="vBirthdayRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.anniversary;"/>
							<binding elementSource="vAnniversaryRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.spouse;"/>
							<binding elementSource="vSpouseNameRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignCenter">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.familynames;"/>
							<binding elementSource="vFamilyMembersRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignTop">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.homeurl;"/>
							<binding elementSource="vHomeUrlRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
						<hbox style="vAlignTop">
							<aolLabel accReadText="true" style="voiFieldName" value="&fieldname.notes;"/>
							<binding elementSource="vNotesRow" targetProperty="collapsed" path="collapsed"/>
						</hbox>
					</vbox>
					<vbox s:flex="1">
						<hbox id="vNicknameRow" style="vAlignCenter" collapsed="true">
							<aolLabel accReadText="true">
								<binding objectSource="contact" targetProperty="value" path="nickname"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolLabel>
						</hbox>
						<hbox id="vBirthdayRow" style="vAlignCenter" collapsed="true">
							<aolLabel accReadText="true">
								<binding objectSource="cardUI" targetProperty="value" path="birthday_Label"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolLabel>
						</hbox>
						<hbox id="vAnniversaryRow" style="vAlignCenter" collapsed="true">
							<aolLabel accReadText="true">
								<binding objectSource="cardUI" targetProperty="value" path="anniversary_Label"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolLabel>
						</hbox>
						<hbox id="vSpouseNameRow" style="vAlignCenter" collapsed="true">
							<aolLabel accReadText="true">
								<binding objectSource="contact" targetProperty="value" path="spouseName"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolLabel>
						</hbox>
						<hbox id="vFamilyMembersRow" style="vAlignCenter" collapsed="true">
							<aolLabel accReadText="true">
								<binding objectSource="contact" targetProperty="value" path="familyMembers"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolLabel>
						</hbox>
						<hbox id="vHomeUrlRow" style="vAlignTop" s:maxWidth="auto" collapsed="true">
							<aolTextButton style="croppingTextButton" on:command="scene.addressCard.onUrlCommand();">
								<binding objectSource="contact" targetProperty="label" path="homeURL"/>
								<binding objectSource="contact" targetProperty="tooltip" path="homeURL"/>
								<binding elementSource="_parent" targetProperty="label" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolTextButton>
						</hbox>
						<hbox id="vNotesRow" style="vAlignTop" collapsed="true" s:maxWidth="auto">
							<aolMultilineStatic accReadText="true" flex="1" style="notesView">
								<binding objectSource="contact" targetProperty="value" path="notes"/>
								<binding elementSource="_parent" targetProperty="value" path="collapsed" targetTransformer="toolkit:empty"/>
							</aolMultilineStatic>
						</hbox>
					</vbox>
				</hbox>
            </aolTwistyBox>
        </vbox> 
      
    </vbox>

    <spacer s:height="1" s:fill="#DFE2E7"/>
    <hbox style="bottomButtonGroupContainer" s:vAlign="center">
        <aolButton id="saveButton" defaultButton="true" label="&button.edit;" tooltip="&button.edit_tooltip;"
            on:command="scene.cardUI.setField('editMode','true');"/>
    </hbox>
