<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML {$html_attrs}><HEAD><TITLE>Lead Details</TITLE>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}
<STYLE>
#height100{$id} {height:auto;padding:10px;}
/*#search_block{$id} div {padding:5px 7px;}*/
#global_block{$id} {padding:5px 12px;/*min-height:800px;*/ border: 1px solid #516C81;}
#search_block_center{$id} {padding:3px 5px;text-align:center;}
#center_block{$id} {text-align:center;padding:4px;}
#center_block_caption{$id} {text-align:center;padding:4px;}
#left_block{$id} { position:absolute;width:202px; {BEGIN RTL_block} right:20px;{END RTL_block}{BEGIN LTR_block} left:20px;{END LTR_block} overflow:visible; margin-top:10px}
#right_block{$id} { padding:10px 0px 0px 0px;}
{BEGIN shiftstyle_block}
#right_block{$id} {padding-left:220px;{BEGIN RTL_block}padding-left:0px;padding-right:220px;{END RTL_block}}
{END shiftstyle_block}
#toplinks_block{$id} {padding:0 5px 5px 5px;}
#toplinks_block{$id} > * {margin:4px 6px;vertical-align:middle;}
#menu_block{$id} {clear:left;padding:5px 0px; width:auto;}
#details_block{$id}, #pages_block{$id}, .rppBlock {white-space:nowrap;padding:5px 7px;text-align:center;}
#recordcontrols_block{$id} {padding:13px 10px 9px 10px;text-align:left}
#record_controls{$id} > *,#newrecord_controls{$id} > * {margin:2px 2px;vertical-align:middle}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.menuitem {padding:6px 18px 10px 13px}
.menuitem_active {padding:6px 18px 11px 13px}
.message_block {text-align:center;}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
#grid_block{$id} {margin-top:10px;}
.headerlist_right2 *,.headerlist * {vertical-align:middle}
body{margin:0px;padding:0px;}

#searchPanelContainer{$id}{
	width: 200px

}

/*report styles*/
#export_links{$id} * {padding:0}
</STYLE>
{END style_block}<!--[if IE]>{BEGIN iestyle_block}
<STYLE>
#right_block{$id} { width:100%}
.list_table, .list_table1,.grid  {height:100%;}
</STYLE>
{END iestyle_block}<![endif]-->
<META name=GENERATOR content="MSHTML 8.00.7600.16821"></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<DIV id="height100{$id}"><B class=xtop><B class=xb1b></B><B 
class=xb2b></B><B class=xb3b></B><B class=xb4b></B></B>
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}" class=upeditmenu><SPAN><FONT style="FONT-FAMILY: Verdana, Arial">Logged 
on as</FONT>&nbsp;<B>{$username}</B>&nbsp;</SPAN> <SPAN 
class=buttonborder><INPUT class=button value="Log out" type=button {$logoutlink_attrs}></SPAN> 
{BEGIN changepwd_link}<SPAN class=buttonborder><INPUT class=button value="Change password" type=button {$changepwdlink_attrs}></SPAN>{END changepwd_link} 
{BEGIN asearch_link}<SPAN class=buttonborder><INPUT class=button value="Advanced search" type=button {$asearchlink_attrs}></SPAN>{END asearch_link} 
</DIV>{END toplinks_block}
<DIV id="global_block{$id}" class="main_table_border2 main_table">
{BEGIN left_block}<DIV id="left_block{$id}"><B class=xtop><B 
class=xb1b1></B><B class=xb2b1></B><B class=xb3b1></B><B class=xb4b1></B></B><!-- MenuBegin -->
{BEGIN menu_block}<DIV id="menu_block{$id}" class=menu_table><!-- MainMenuBegin -->{$mainmenu}<!-- MainMenuEnd --></DIV>{END menu_block}<!-- MenuEnd -->
{BEGIN search_records_block}<DIV>
{BEGIN searchform}<DIV id="search_block{$id}" class=menu_table><!-- search panel and window -->
<STYLE>
<!--

#center_block{$id}{
	padding: 5px;
}
#searchPanelHeader{$id}{
	padding: 5px 0px 5px 5px;
}

-->
</STYLE>
<!-- search panel and window header -->
<DIV id="center_block{$id}" class=blackshade2>Search for: {BEGIN searchPanelTopButtons}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN 
class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/showWindowPin.gif); WIDTH: 18px" id="showSrchWin{$id}" class=button type=button {$showHideSearchWin_attrs}></SPAN> 
&nbsp; <SPAN class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/showOptions.gif); WIDTH: 18px" id="showOptPanel{$id}" class=button type=button {$showHideSearchPanel_attrs}></SPAN> 
{END searchPanelTopButtons}</DIV>
<DIV id="searchform{$id}">
<DIV id="searchPanelHeader{$id}" class=blackshade>{$simpleSearchFieldCombo} {$simpleSearchTypeCombo} {BEGIN searchform_text}<INPUT size=25 {$searchfor_attrs}>{END searchform_text} &nbsp; {BEGIN searchform_search}<SPAN class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/search.gif); WIDTH: 18px" class=button type=button {$searchbutton_attrs}></SPAN>{END searchform_search} 
&nbsp; {BEGIN searchform_showall}<SPAN id="showall{$id}" class=buttonborder {$showAllCont_attrs}><INPUT class=button value="Show all" type=button {$showallbutton_attrs}></SPAN>{END searchform_showall} 
</DIV></DIV>
<DIV id="searchPanelContainer{$id}" class=searchPanelContainer>{$adv_search_panel} </DIV>
<DIV id="details_block{$id}" class=blackshade2>{BEGIN details_block}<SPAN {$details_attrs}>Details found: {$records_found}</SPAN> {END details_block}</DIV>
<DIV id="pages_block{$id}" class="menu_text blackshade">{BEGIN pages_block}<SPAN {$pages_attrs}>Page {$page} of {$maxpages}</SPAN> {END pages_block}</DIV></DIV>{END searchform}
<DIV class=menu_table2>{BEGIN recordspp_block}
<DIV class="menu_text blackshade rppBlock" align=center>{$recsPerPage} </DIV>{END recordspp_block}</DIV></DIV>{END search_records_block}</DIV>{END left_block}
<DIV id="right_block{$id}">
{BEGIN mastertable_block}<DIV id="mastertable_block{$id}">{$showmasterfile} <A class=toplinks 
{$backtomasterlink_attrs}><B>Back {$backtomasterlink_caption}</B></A> 
<BR></DIV>{END mastertable_block}
<DIV class=list_table1>
<DIV class=list_table>
<DIV id="center_block_caption{$id}" class=blackshade2>Lead&nbsp;Details 
</DIV>
{BEGIN recordcontrols_block}<DIV id="recordcontrols_block{$id}" class=blackshade>{BEGIN newrecord_controls}<SPAN id="newrecord_controls{$id}">{BEGIN add_link}<SPAN class=buttonborder><INPUT class=button value="Add new" type=button {$addlink_attrs}></SPAN>{END add_link} 
{BEGIN inlineadd_link}<SPAN class=buttonborder><INPUT class=button value="Inline Add" type=button {$inlineaddlink_attrs}></SPAN>{END inlineadd_link} 
</SPAN>{END newrecord_controls}{$lookupSearchControls} {BEGIN record_controls}<SPAN id="record_controls{$id}">{BEGIN editselected_link}<SPAN class=buttonborder {$editselectedlink_span}><INPUT class=button value="Edit selected" type=button {$editselectedlink_attrs}></SPAN>{END editselected_link} 
{BEGIN saveall_link}<SPAN class=buttonborder {$savealllink_span}><INPUT class=button value="Save all" type=button {$savealllink_attrs}></SPAN>{END saveall_link} 
{BEGIN cancelall_link}<SPAN class=buttonborder {$cancelalllink_span}><INPUT class=button value=Cancel type=button {$cancelalllink_attrs}></SPAN>{END cancelall_link} 
</SPAN>{END record_controls}</DIV>{END recordcontrols_block}
<DIV id="usermessage{$id}" class=message>{$user_message}</DIV>
<DIV>{BEGIN grid_block}
<DIV id="grid_block{$id}">
<TABLE id=Lead_Details class=data border=0 cellSpacing=0 cellPadding=3 
width="100%" name="maintable">
  {BEGIN grid_header}<THEAD>
  <TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}
    {BEGIN listIcons_column}<TH class=headerlist noWrap align=middle {$widthListIcons}>&nbsp;</TH>{END listIcons_column}
    {BEGIN checkbox_column}<TH class=headerlist width=20 align=middle><INPUT type=checkbox {$checkboxheader_attrs}> 
    </TH>{END checkbox_column}
    {BEGIN Leadid_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Leadid_fieldheader}&nbsp; <A class=tablelinks 
      {$Leadid_orderlinkattrs}>Leadid</A> &nbsp; {END Leadid_fieldheader}</TH>{END Leadid_fieldheadercolumn}
    {BEGIN Customer_Name_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Customer_Name_fieldheader}&nbsp; <A class=tablelinks 
      {$Customer_Name_orderlinkattrs}>Customer Name</A> &nbsp; {END Customer_Name_fieldheader}</TH>{END Customer_Name_fieldheadercolumn}
    {BEGIN Contact_Person_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Contact_Person_fieldheader}&nbsp; <A class=tablelinks 
      {$Contact_Person_orderlinkattrs}>Contact Person</A> &nbsp; {END Contact_Person_fieldheader}</TH>{END Contact_Person_fieldheadercolumn}
    {BEGIN Lead_Details_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Lead_Details_fieldheader}&nbsp; <A class=tablelinks 
      {$Lead_Details_orderlinkattrs}>Lead Details</A> &nbsp; {END Lead_Details_fieldheader}</TH>{END Lead_Details_fieldheadercolumn}
    {BEGIN Employee_Name_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Employee_Name_fieldheader}&nbsp; <A class=tablelinks 
      {$Employee_Name_orderlinkattrs}>Employee Name</A> &nbsp; {END Employee_Name_fieldheader}</TH>{END Employee_Name_fieldheadercolumn}
    {BEGIN Approx_Closure_Date_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Approx_Closure_Date_fieldheader}&nbsp; <A 
      class=tablelinks {$Approx_Closure_Date_orderlinkattrs}>Approx Closure 
      Date</A> &nbsp; {END Approx_Closure_Date_fieldheader}</TH>{END Approx_Closure_Date_fieldheadercolumn}
    {BEGIN Lead_Status_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Lead_Status_fieldheader}&nbsp; <A class=tablelinks 
      {$Lead_Status_orderlinkattrs}>Lead Status</A> &nbsp; {END Lead_Status_fieldheader}</TH>{END Lead_Status_fieldheadercolumn}
    {BEGIN Region_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Region_fieldheader}&nbsp; <A class=tablelinks 
      {$Region_orderlinkattrs}>Region</A> &nbsp; {END Region_fieldheader}</TH>{END Region_fieldheadercolumn}
    {BEGIN WIN___Lost_Analysis_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN WIN___Lost_Analysis_fieldheader}&nbsp; <A 
      class=tablelinks {$WIN___Lost_Analysis_orderlinkattrs}>WIN / Lost 
      Analysis</A> &nbsp; {END WIN___Lost_Analysis_fieldheader}</TH>{END WIN___Lost_Analysis_fieldheadercolumn}
    {BEGIN endrecordheader_block}<TH class=table_right></TH>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  <TBODY>{BEGIN grid_row}
  <TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}
    {BEGIN listIcons_column}<TD class=listIcons vAlign=middle noWrap align=middle iEditCont="all">{BEGIN edit_column}{BEGIN edit_link}<A class=tablelinks title=Edit {$editlink_attrs}><IMG class=listIcon 
      border=0 alt=Edit align=middle src="images/icon_edit_new.gif"></A>{END edit_link}{END edit_column} {BEGIN inlineedit_column}{BEGIN inlineedit_link}<A class=tablelinks title="Inline Edit" {$inlineeditlink_attrs}><IMG 
      class=listIcon border=0 alt="Inline Edit" align=middle 
      src="images/icon_inline_edit_new.gif"></A>{END inlineedit_link}{END inlineedit_column} {BEGIN view_column}{BEGIN view_link}<A class=tablelinks title=View {$viewlink_attrs}><IMG class=listIcon 
      border=0 alt=View align=middle src="images/icon_view_new.gif"></A>{END view_link}{END view_column}</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD vAlign=middle width=20 align=middle>{BEGIN checkbox}<INPUT type=checkbox {$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
    {BEGIN Leadid_fieldcolumn}<TD class=borderbody vAlign=middle {$Leadid_style}>{$Leadid_value} </TD>{END Leadid_fieldcolumn}
    {BEGIN Customer_Name_fieldcolumn}<TD class=borderbody vAlign=middle {$Customer_Name_style}>{$Customer_Name_value} </TD>{END Customer_Name_fieldcolumn}
    {BEGIN Contact_Person_fieldcolumn}<TD class=borderbody vAlign=middle {$Contact_Person_style}>{$Contact_Person_value} </TD>{END Contact_Person_fieldcolumn}
    {BEGIN Lead_Details_fieldcolumn}<TD class=borderbody vAlign=middle {$Lead_Details_style}>{$Lead_Details_value} </TD>{END Lead_Details_fieldcolumn}
    {BEGIN Employee_Name_fieldcolumn}<TD class=borderbody vAlign=middle {$Employee_Name_style}>{$Employee_Name_value} </TD>{END Employee_Name_fieldcolumn}
    {BEGIN Approx_Closure_Date_fieldcolumn}<TD class=borderbody vAlign=middle {$Approx_Closure_Date_style}>{$Approx_Closure_Date_value} 
    </TD>{END Approx_Closure_Date_fieldcolumn}
    {BEGIN Lead_Status_fieldcolumn}<TD class=borderbody vAlign=middle {$Lead_Status_style}>{$Lead_Status_value} </TD>{END Lead_Status_fieldcolumn}
    {BEGIN Region_fieldcolumn}<TD class=borderbody vAlign=middle {$Region_style}>{$Region_value} </TD>{END Region_fieldcolumn}
    {BEGIN WIN___Lost_Analysis_fieldcolumn}<TD class=borderbody vAlign=middle {$WIN___Lost_Analysis_style}>{$WIN___Lost_Analysis_value} 
    </TD>{END WIN___Lost_Analysis_fieldcolumn}
    {BEGIN endrecord_block}<TD class=table_right width=20 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}</TBODY></TABLE></DIV>{END grid_block}</DIV>
{BEGIN message_block}<DIV id="message_block{$id}" class="xboxcontentb message_block">{$message} </DIV>{END message_block}
{BEGIN pagination_block}<DIV id="pagination_block{$id}" class="xboxcontentb message_block">{$pagination}</DIV>{END pagination_block}</DIV></DIV></DIV></DIV><B 
class=xbottom><B class=xb4b></B><B class=xb3b></B><B class=xb2b></B><B 
class=xb1b></B></B></DIV>{$footer} {END body}</BODY></HTML>
