<!--
/*********************************************************************************
 * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
 * ("License"); You may not use this file except in compliance with the
 * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 * The Original Code is:  SugarCRM Open Source
 * The Initial Developer of the Original Code is SugarCRM, Inc.
 * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
 * All Rights Reserved.
 * Contributor(s): ______________________________________.
 ********************************************************************************/
-->
<!-- BEGIN: main -->
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
    <td vAlign="middle" align="left"><IMG src="{IMAGE_PATH}Leads.gif" border="0"></td>
    <td class="moduleTitle" vAlign="middle" align="left" noWrap width="100%" height="20">{MOD.LBL_LEAD}  {FIRST_NAME} {LAST_NAME}</td>
	<td nowrap class='bodySmall' align='right'>[ <A href={PRINT_URL}>{APP.LNK_PRINT}</A> ]</td>
	<td nowrap class='bodySmall' align='right'>[ <A href='http://www.vtiger.com/products/crm/document.html' target='_blank'>{APP.LNK_HELP}</A> ]</td>
</tr>
<tr><td colspan="4"><div class="hline"><img height='1' src='include/images/blank.gif'></div></td></tr></table>

<table width="100%" cellpadding="2" cellspacing="0" border="0">
<form action="index.php" method="post" name="DetailView" id="form">
<tr><td>&nbsp;</td>
	<td>
		<table cellpadding="0" cellspacing="5" border="0">
			<input type="hidden" name="module" value="Leads">
			<input type="hidden" name="record" value="{ID}">
			<input type="hidden" name="isDuplicate" value=false>
			<input type="hidden" name="action">
			<input type="hidden" name="return_module">
			<input type="hidden" name="return_action">
			<input type="hidden" name="return_id">			
			<input type="hidden" name="lead_id" value="{ID}">			
			<input type="hidden" name="parent_id" value="{ID}">			
		        <input type="hidden" name="email_directing_module">

		<tr>
		 {EDITBUTTON}
		 {DUPLICATEBUTTON}
		 {DELETEBUTTON}
		 {CONVERTLEAD}	
		 {SENDMAILBUTTON}
		</tr></table>
		{WORDTEMPLATEOPTIONS}
		{MERGEBUTTON}
	</td>
	</form>
</tr>
</table> 

<table width="100%" border="0" cellspacing="0" cellpadding="0"  class="formOuterBorder">
<tr>
<td>
	{BLOCK1_HEADER}
	<table width="100%" border="0" cellspacing="1" cellpadding="2">
	{BLOCK1}
	</table>
</td></tr></table>
<BR>
{CUSTOMFIELD}
<BR>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
<tr>
<td>
	{BLOCK2_HEADER}
	<table width="100%" border="0" cellspacing="1" cellpadding="2">
	{BLOCK2}
	</table>
</td></tr></table>
<BR>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
<tr>
<td>
	{BLOCK3_HEADER}
	<table width="100%" border="0" cellspacing="1" cellpadding="2">
	{BLOCK3}
	</table>

</td></tr></table>
<!-- END: main -->