abook.Contacts#ZmEditContactView_headerName =\
	<template id=\"abook.Contacts#ZmEditContactView_headerName\">\
	    <div id=\"${id}_NAME_row\" style='padding-bottom:4;'>\
	        <table role=\"presentation\">\
	            <$ if (appCtxt.get(ZmSetting.PHONETIC_CONTACT_FIELDS)) { $>\
	            <tr id=\"${id}_PHONETIC_row\">\
	                <td id=\"${id}_PHONETIC_PREFIX\"></td>\
	                <td id=\"${id}_PHONETIC_LAST_row\"><div id=\"${id}_PHONETIC_LAST\" tabindex=\"190\"></div></td>\
	                <td id=\"${id}_PHONETIC_MAIDEN\"></td>\
	                <td id=\"${id}_PHONETIC_FIRST_row\"><div id=\"${id}_PHONETIC_FIRST\" tabindex=\"191\"></div></td>\
	                <td id=\"${id}_PHONETIC_MIDDLE\"></td>\
	                <td id=\"${id}_PHONETIC_SUFFIX\"></td>\
	            </tr>\
	            <$ } $>\
	            <tr><td id=\"${id}_PREFIX_row\" style='padding-right:4;'>\
	                    <div id=\"${id}_PREFIX\" tabindex=\"200\"></div>\
	                </td>\
	                <td style='padding-right:4;'>\
	                    <div id=\"${id}_LAST\" tabindex=\"201\"></div>\
	                </td>\
	                <td id=\"${id}_MAIDEN_row\" style='padding-right:4;'>\
	                    <table role=\"presentation\">\
	                        <td style='padding:0 2;'>(</td>\
	                        <td><div id=\"${id}_MAIDEN\" tabindex=\"202\"></div></td>\
	                        <td style='padding:0 2;'>)</td>\
	                    </table>\
	                </td>\
	                <td style='padding-right:4;'>\
	                    <div id=\"${id}_FIRST\" tabindex=\"203\"></div>\
	                </td>\
	                <td id=\"${id}_MIDDLE_row\" style='padding-right:4;'>\
	                    <div id=\"${id}_MIDDLE\" tabindex=\"204\"></div>\
	                </td>\
	                <td id=\"${id}_SUFFIX_row\" style='padding-right:4;'>\
	                    <table role=\"presentation\">\
	                        <td style='padding-right:4;'>,</td>\
	                        <td><div id=\"${id}_SUFFIX\" tabindex=\"205\"></div></td>\
	                    </table>\
	                </td>\
	                <td><div id=\"${id}_DETAILS\" tabindex=\"206\"></div></td>\
	           </tr>\
	        </table>\
	    </div>\
	    <div id=\"${id}_NICKNAME_row\" style='padding-bottom:4;'>\
	        <table role=\"presentation\"><tr>\
	            <td>&ldquo;</td>\
	            <td><div id=\"${id}_NICKNAME\" tabindex=\"250\"></div></td>\
	            <td>&rdquo;</td>\
	        </tr></table>\
	    </div>\
	</template>
abook.Contacts#ZmEditContactView_headerJobInfo =\
	<template id=\"abook.Contacts#ZmEditContactView_headerJobInfo\">\
	    <table role=\"presentation\" style='margin-bottom:4;'>\
	        <$ if (appCtxt.get(ZmSetting.PHONETIC_CONTACT_FIELDS)) { $>\
	        <tr id=\"${id}_PHONETIC_COMPANY_row\">\
	            <td><div id=\"${id}_PHONETIC_COMPANY\" tabindex=\"301\"></div></td>\
	        </tr>\
	        <$ } $>\
	        <tr><td><div id=\"${id}_COMPANY\" tabindex=\"302\"></div></td>\
	            <td id=\"${id}_TITLE_row\" style=\"padding-left:4;\">\
	                <div id=\"${id}_TITLE\" tabindex=\"303\"></div>\
	            </td>\
	        </tr>\
	    </table>\
	    <div id=\"${id}_DEPARTMENT_row\">\
	        <div id=\"${id}_DEPARTMENT\" tabindex=\"304\"></div>\
	    </div>\
	</template>
abook.Contacts#ZmEditContactViewAddress =\
	<template id=\"abook.Contacts#ZmEditContactViewAddress\" class=\"DwtForm ZmEditContactViewAddress\">\
	    <table role=\"presentation\" style='position:relative;left:-3;'>\
	        <tr><td><div id=\"${id}_ZIP\" tabindex=\"100\"></div></td>\
	            <td><div id=\"${id}_STATE\" tabindex=\"200\"></div></td>\
	            <td><div id=\"${id}_CITY\" tabindex=\"300\"></div></td>\
	        </tr>\
	    </table>\
	\t<table role=\"presentation\" style='position:relative;left:-3;'>\
	\t\t<tr><td><div id=\"${id}_STREET\" tabindex=\"400\"></div></td></tr>\
	\t</table>\
	\t<table role=\"presentation\" style='position:relative;left:-3;'>\
	\t\t<tr><td><div id=\"${id}_COUNTRY\" tabindex=\"500\"></div></td></tr>\
	\t</table>\
	</template>
abook.Contacts#SplitView_headerJobInfo =\
	<template id=\"abook.Contacts#SplitView_headerJobInfo\">\
	    <$\
	        var contact\t\t= data.contact;\
	        var isPhonetic  = appCtxt.get(ZmSetting.PHONETIC_CONTACT_FIELDS);\
	        var company\t\t= contact.getAttr(ZmContact.F_company);\
	        var title\t\t= contact.getAttr(ZmContact.F_jobTitle);\
	        var department\t= contact.getAttr(ZmContact.F_department);\
	    $>\
	    <$ if (company || title) {\
	        var phoneticCompany = company && isPhonetic && contact.getAttr(ZmContact.F_phoneticCompany);\
	        var companyHtml = company && AjxStringUtil.htmlRubyEncode(company, phoneticCompany);\
	        $>\
	        <div class='companyName'>\
	            <$ if (company) { $><$= companyHtml $><$ } $>\
	            <$ if (company && title) { $>&nbsp;<$ } $>\
	            <$ if (title) { $><$= AjxStringUtil.htmlEncode(title) $><$ } $>\
	        </div>\
	    <$ } $>\
	    <$ if (department) { $>\
	        <div class='companyName'>\
	            <$= AjxStringUtil.htmlEncode(department) $>\
	        </div>\
	    <$ } $>\
	</template>
abook.Contacts#SplitView_address_value =\
	<template id=\"abook.Contacts#SplitView_address_value\">\
	\t<tr valign=top>\
	\t\t<td class=rowLabel><$= data.first ? data.label : \"\" $></td>\
	\t\t<td id='${id}_<$=data.name$>' class=rowValue>\
	            <$ var address = data.address;\
	               if (address.City || address.State || address.PostalCode) { $>\
	                <div>\
	                    <span><$=address.PostalCode$></span>\
	                    <$ if (address.State && address.PostalCode) { $>&nbsp;<$ } $>\
	                    <span><$=address.State$></span>\
	                    <$ if (address.City && (address.State || address.PostalCode)) { $>&nbsp;<$ } $>\
	                    <span><$=address.City$></span>\
	                </div>\
	            <$ } $>\
	\t\t\t<$ if (address.Street) { $>\
	\t\t\t\t<div><$=address.Street$></div>\
	\t\t\t<$ } $>\
	\t\t\t<$ if (address.Country) { $>\
	\t\t\t\t<div><$=address.Country$></div>\
	\t\t\t<$ } $>\
	\t\t</td>\
	\t\t<td style='color:gray' class='rowType'>&nbsp;<$= data.type $></td>\
	\t</tr>\
	</template>
