// JavaScript Document
function build_html(switch_val,p) {
var paramx1 = p;
html="";
     switch (switch_val) {
          case (switch_val="property_add"):
               var form_name = document.getElementById('id_propadd');
               var form_length = form_name.length;
               var html = '';
html+= '<div id="id_preview">\n';               
html+= '<br />&nbsp;<br />&nbsp;<br />&nbsp;\n'               
html+= '<table cellspacing="0" cellpadding="0"  bgcolor="#ffffff" width="800" border="1">\n'
html+= '     <tr><td> </td></tr>\n'
html+= '     <tr>\n'
html+= '          <td valign="top" bgcolor="#ffffff" colspan="3">&nbsp;<br>\n'
html+='                  <p align="center"><font face="arial" size="5px" color="#990000"> Property-Add [Preview] </font></p>\n'
html+='                  <p align="center"><font face="arial" size="2px" color="#990000"> This is how our building information will appear on our website </font></p>\n'
html+= '               <table class="smalltext3" cellPadding="3" width="744" align="center" border="0">\n'
html+= '                    <tr>\n'
html+= '                         <td vAlign="center" align="middle" width="284" bgColor="#bfc591"><b>Photo</b></td>\n'
html+= '                         <td vAlign="center align="middle" width="436" bgColor="#bfc591"><b>Property Details</b></td>\n'
html+= '                    </tr>\n'
html+= '                    <tr>\n'
html+= '                    <td valign="top" align="left" bgColor="#e3eab6">\n'
                              if (form_name.id_selected_image.value !="") {
html+= '                    <img src="resize.php?pic='+form_name.id_selected_image.value+'&folder=buildings&width=300&height=200">\n';                                   
                              }
                              else {
html+= '                    <img src="uploaded/buildings/bldg3_D.jpg">\n';                              
                              }
html+= '                    </td>';
html+= '                    <td valign="top" align="left" bgColor="#ffffff" style="border:5px #e3eab6 solid;" >\n'
html+= '                         <table class="detail" height="212" cellSpacing="4" cellPadding="4" bgColor="#ffffff" border="0">\n'
html+= '                              <tr>\n'
html+= '                              <td valign="top">\n'
html+= '                                   <b>'+form_name.propName.value+'<br><br>\n'
html+= '                                   '+form_name.propAdr1.value+'<br>\n'
html+= '                                   '+form_name.City.value+', '+form_name.State.value+'-'+form_name.zipCode.value+'<br><br>\n'
html+= '                                   '+form_name.County.value+' County</b><br><br>\n'
html+= '                                   '+form_name.description.value+'<br /><br><br>\n'
html+= '                                   <a href="http://www.mapquest.com/maps/map.adp?address='+form_name.propAdr1.value+'&city='+form_name.City.value+'&state='+form_name.State.value+'&style=2" target=new>Map and Directions</a> <br><br>\n'
                                             if (form_name.forSale.value == 'Yes') {
html+= '                                        <span class="alert2"><b>Building for sale</b></span>\n'
                                             }
html+= '                              </td>\n'
html+= '                              </tr>\n'
html+= '                         </table>\n'
html+= '                    </td>\n'
html+= '                    </tr>\n'
html+= '    <tr>\n'
html+= '         <td vAlign="top" bgColor="#e3eab6" colspan="2">\n'
html+= '              Suites Available in this building:\n'
html+= '              <p align=center>\n'
html+= '                   <img height=1 src="images/grnlinehoriz.gif" width=725>\n'
html+= '                   <table class=detail cellSpacing=1 cellPadding=2  width=725 bgColor=#ffffff border=0>\n'
html+= '                        <tr>\n'

html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Property ID\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Suite Number\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Lease Rate\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Lease Type\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Available Sq Ft\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Sub Lease?\n'
html+= '                             </th>\n'
html+= '                             <th align="center" bgcolor="#bfc591">\n'
html+= '                                  Floor Plan\n'
html+= '                             </th>\n'
html+= '                        </tr>\n'
                    if (form_name.forSale[0].checked) {
html+= '                        <tr>\n'
html+= '                             <td valign="middle" bgColor="#f6e242" colspan="7" align="center">\n'
html+= '                                  <span class="alert">\n'
html+= '                                       Single Tenant\n'
html+= '                                  </span></td>\n'
html+= '                        </tr>\n'
                    }
                        var formcount = get_field_value('id_child_div_count');

                         for (var suite_i=1; suite_i<= formcount*5; suite_i++){
                              var field_id = "";

                              field_id = 'suite'+suite_i+'name';
                              var suite_number = get_field_value(field_id);

                              field_id = 'suite'+suite_i+'lease_rate';
                              var suite_lease_rate = get_field_value(field_id);

                              field_id = 'suite'+suite_i+'leaserate_type';
                              var suite_leaserate_type = get_field_value(field_id);
                              
                              field_id = 'leaseTerms'+suite_i;
                              var suite_lease_term = get_field_value(field_id);

                              field_id = 'suite'+suite_i+'price_sq_ft';
                              var suite_sq_ft = get_field_value(field_id);
                            
                              field_id = 'subLease'+suite_i;
                              var suite_sublease = (document.getElementById(field_id).checked)? 'Yes':'No';
              							  
              							  field_id = 'suitefloorplan'+suite_i;
              							  var suitefloorplan = get_field_value(field_id);

                              field_id = 'suitedescription'+suite_i;
                              var description = get_field_value(field_id)
                              if (suite_number !='' && suite_lease_rate!=''  && suite_leaserate_type !='' && suite_lease_term!='' && suite_sq_ft!='' && suite_sublease!='') {
html+= '                        <tr>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'
html+= '                                  P.Id</td>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'                                   
html+= '                                  '+suite_number+'</td>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'
html+= '                                  '+suite_lease_rate+'-'+suite_leaserate_type+'</td>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'                                   
html+= '                                  '+suite_lease_term+'</td>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'
html+= '                                  '+suite_sq_ft+'</td>\n'
html+= '                             <td align="center" bgColor="#f6e242">\n'                                   
html+= '                                  '+suite_sublease+'</td>\n'
								                  if (suitefloorplan !=''){
html+= '                             <td align="center" bgColor="#f6e242"> \n'
html+= '                                  <u>Floor Plan</u></td>\n'
								                  }
								                  else{
html+= '                             <td align="center" bgColor="#f6e242"> \n'
html+= '                                  Contact Agent </td>\n'
								                  }
html+= '                        </tr>\n'
                         field_id = 'suitedescription'+suite_i;
                      var suitedescription = get_field_value(field_id);
                           if (suitedescription !='') {
html+= '                        <tr>\n'
html+= '                             <td colspan=7 bgColor=#e3eab6>\n'
html+= '                                  Suite Information: '+suitedescription+'\n';
html+= '                        </tr>\n'
                           }
                           }
                         }
//alert(html);          
                          
                    
html+= '                   </table>\n'
html += '           <table class=detail cellSpacing=1 cellPadding=1 width=725 bgColor=#ffffff border=0>\n'
html += '                  <tr bgcolor=\'#bfc591\'>\n'
html += '                       <td valign="middle" width="20%">\n'
html += '                            Contact Name</td>\n'
html += '                       <td valign="middle" >\n'
html += '                            Company name</td>\n'
html += '                       <td valign="middle" width="20%">\n'
html += '                            Contact phone </td>\n'
html += '                       <td valign="middle" width="30%">\n'
html += '                            Contact Email</td>\n'
html += '                  </tr>\n'
           
                      for(var con_i=1; con_i<=3; con_i++) {
                           var field_id = 'contact'+con_i+'fname';
                           var contact_name = get_field_value(field_id); 
                            field_id = 'contact'+con_i+'lname';
                            contact_name += ' '+get_field_value(field_id); 
                            field_id = 'contact'+con_i+'cname';
                           var company_name = get_field_value(field_id); 
                            field_id = 'contact'+con_i+'phone';
                           var contact_phone = get_field_value(field_id); 
                            field_id = 'contact'+con_i+'email';
                           var contact_email = get_field_value(field_id); 
                           if (contact_name !='' && company_name !='' && contact_phone !='' && contact_email!=''){
html += '                  <tr>\n'
html += '                       <td valign="middle" width="20%">\n'
html += '                            '+contact_name+'</td>\n'
html += '                       <td valign="middle" >\n'
html += '                            '+company_name+'</td>\n'
html += '                       <td valign="middle" width="20%">\n'
html += '                            '+contact_phone+' </td>\n'
html += '                       <td valign="middle" width="30%">\n'
html += '                            Email: \n'
html += '                            <a href="mailto:'+contact_email+'?subject=Inquiry from officeforlease.com for Property: '+form_name.propAdr1.value+'">'+contact_email+'</a></td>\n'
html += '                  </tr>\n'
                           }
                        }
html += '             </table>\n'
html+= '            </td>\n'
html+= '     </tr>\n'                                             
html+= '               </table><br><br><br><br>\n'
html+= '            <p align="center">'
html+= '          <input type="button" name="btndelete" onclick="close_popup_div(\'id_preview\');" value="Close">\n'
html+= '            </p>\n'
html+= '       </td>\n'
html+= '     </tr>\n'
html+= '</table>\n';
html+= '     <br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;\n' ;
html+= '</div>';   
               return html;
          break;
          case (switch_val = 'id_pop1'): 
html =    "<div id=\"id_pop1\" class=\"pop_1\" > ";
html +=           "<p align=\"justify\" > ";
html +=                "<span>";
html +=                     "We welcome you to add your listing to our database and web site. If you have an account with Office For Lease please <a href='login.php' onclick=\"close_popup_div('id_pop1');\">Click here </a>to login. If you are not yet registered with OFL it's quick and easy! <a href='user_management.php' onclick=\"close_popup_div('id_pop1');\">Click here</a> to go to our registration page set up your account, then you can add multiple listings.<br><br>";
html +=                     "<a href='user_management.php' onclick=\"close_popup_div('id_pop1');\">Click here</a> to register for your new account<br>";
html +=                    "<a href='login.php' onclick=\"close_popup_div('id_pop1');\">Click here </a>to log in to your account<br>";
html +=                "</span>";
html +=           "</p>";
html +=           "<p align=\"center\" >";
html +=                "<input type='button' id=\'id_OK_message\' value=\"close window\" onclick = \"close_popup_div('id_pop1');\"><br>";
html +=           "</p>";
html +=   "</div>";
          return html;
          break;
          
          case (switch_val='preview_vendor'):
            var form_name = document.getElementById('id_form');

html ='     <table width=\'100%\' border=\'0\' celspacing=\'2\' bgcolor=\'white\'>\n';
html += '          <tr>\n';
html += '               <td valign=\'middle\' align=\'center\' width="30%">\n';
if (form_name.id_logo_image.value != '') {
html += '                    <img src="resize.php?pic='+form_name.id_logo_image.value+'&folder=vendors&width=100&height=75">\n';
}
else {
html += '                    <img src="images/no_image_icon_sm.gif">\n';
}
html += '               </td>\n';
html += '               <td> \n';
html += '               		<span class="h1"><b>'+form_name.company.value+'</b></span><br>\n';	
html += '                    <span class="smalltext">Phone:'+form_name.Phone.value+'<br>\n';
if (form_name.fax.value !='') {
html += '                    Fax:&nbsp;&nbsp;&nbsp;&nbsp;'+form_name.fax.value+'<br>';
}
html += '                    </span>\n';
html += '                    <span class="smalltext">';

if (form_name.email.value != '' && !form_name.email_display.checked) { 
html += '                    Email: <a href="mailto:'+form_name.email.value+'?subject=Inquiry from officeforlease.com for '+form_name.company.value+'">'+form_name.email.value+'</a><br>\n';
//html += '                    Email: <a href=\'javascript:;\' onclick=\'javascript:window.open("mailto:'+form_name.email.value+'?subject=Inquiry from officeforlease.com for '+form_name.company.value+'");\' >'+form_name.email.value+'</a><br>\n';
}
if (form_name.url.value != '') {
html += '                    Web:&nbsp; <a href=\''+form_name.url.value+'\'>'+form_name.url.value+'</a><br>\n';
}
html += '                    </span>\n';
html += '                    <span class="smalltext">'+form_name.vendordesc.value+'</span>\n';
html += '               </td>\n';
html += '          </tr>\n';
html += '          <tr>\n';
html += '                <td colspan="100%" height="5" >\n';
html += '          			<img src="images/grnbar.gif" height="5" width="100%"></td>\n';
html += '          </tr>\n';
html += '     </table>\n'   ;       
               //alert(html);
               return html;
               
          break; 
          
           case (switch_val='preview_execsuite'):
            var form_name = document.getElementById('id_form');
            var child_count =do_convert(get_field_value("id_child_div_count"),"int");
            //alert(child_count);
            
html ='     <table width=\'100%\' border=\'0\' celspacing=\'10\' bgcolor=\'white\'>\n';

for(i=1;i<=child_count;i++){
	
html += '          <tr>\n';

if(document.getElementById("id_selected_logo"+i).value != '' || document.getElementById("id_selected_image"+i).value !=''){
	if(document.getElementById("id_selected_logo"+i).value !=''){
	html += '               <td valign=\'top\' align=\'center\'>\n';
	html += '                  <img src="resize.php?pic='+document.getElementById("id_selected_logo"+i).value+'&folder=buildings&width=100&height=75">\n';
	html += '               </td>\n';
	} else {
	html += '	<td valign="top" align=\'center\'><img src="images/no_image_icon_sm.gif"></td>\n';
	}
	if(document.getElementById("id_selected_image"+i).value !=''){
	html += '               <td valign=\'top\' align=\'center\'>\n';
	html += '                  <img src="resize.php?pic='+document.getElementById("id_selected_image"+i).value+'&folder=buildings&width=100&height=75">\n';
	html += '               </td>\n';
	} else {
	html += '    <td valign="top" align=\'center\'><img src="images/no_image_icon_sm.gif"></td>\n';
	}
} else {
html += '        <td valign="top" align=\'center\'><img src="images/no_image_icon_sm.gif"></td><td valign="top" align=\'center\'><img src="images/no_image_icon_sm.gif"></td>\n';
}

html += '               		<td valign="top"><span class="h1"><b>'+document.getElementById("id_company_name"+i).value+'</b></span><br>\n';
if(document.getElementById("id_company_address"+i).value != '' && document.getElementById("id_city"+i).value != '' && document.getElementById("id_state"+i).value != '' && document.getElementById("id_zipcode"+i).value != ''){
html += '                    <span class="smalltext">'+document.getElementById("id_company_address"+i).value+'<br>\n';
html += '                    '+document.getElementById("id_city"+i).value+', '+document.getElementById("id_state"+i).value+' '+document.getElementById("id_zipcode"+i).value+'</span><br>\n';
}
if(document.getElementById("id_company_phone"+i).value != ''){
html += '                    <span class="smalltext">Toll Free:'+document.getElementById("id_company_phone"+i).value+'</span><br>\n';
}
if(document.getElementById("id_fax"+i).value != ''){
html += '                    <span class="smalltext">Fax:&nbsp;&nbsp;&nbsp;&nbsp;'+document.getElementById("id_fax"+i).value+'</span><br>\n';
}

if (document.getElementById("id_email"+i).value != '' && !form_name.email_display.checked) { 
html += '                    <span class="smalltext">Email: <a href="mailto:'+document.getElementById("id_email"+i).value+'?subject=Inquiry from officeforlease.com for '+document.getElementById("id_email"+i).value+'">'+document.getElementById("id_email"+i).value+'</a></span><br>\n';
}
if (document.getElementById("id_company_website"+i).value != '') {
html += '                    <span class="smalltext">Web:&nbsp; <a href=\''+document.getElementById("id_company_website"+i).value+'\'>'+document.getElementById("id_company_website"+i).value+'</a></span><br>\n';
}
html += '                    </td><td width="230" valign="top"><span class="smalltext">'+document.getElementById("id_building_comments"+i).value+'</span>\n';
html += '               </td>\n';
html += '          </tr>\n';
html += '          <tr>\n';
html += '                <td colspan="100%" height="5" >\n';
html += '          			<img src="images/grnbar.gif" height="5" width="100%"></td>\n';
html += '          </tr>\n';
}
html += '     </table>\n'   ;       
               //alert(html);
               return html;
               
          break; 
		  case (switch_val='preview_broker'):
            var form_name = document.getElementById('id_form');
html ='     <table width=\'100%\' border=\'0\' celspacing=\'2\' bgcolor=\'white\'>\n';
html += '          <tr>\n';
html += '               <td valign=\'top\' align=\'center\' width="10%">\n';
if (form_name.name_selected_image1.value != '') {
html += '                    <img src="resize.php?pic='+form_name.name_selected_image1.value+'&folder=brokers/&width=125&height=200">\n';
}
else {
html += '                    <img src="images/no_image_icon_sm.gif">\n';
}
html += '                    </td>\n';
html += '                    <td width=\'10%\' valign=\'top\'>\n';
if (form_name.name_selected_image2.value != '') {
html += '                    <img src="resize.php?pic='+form_name.name_selected_image2.value+'&folder=brokers/photos&width=125&height=200">\n';
}
else {
html += '                    <img src="images/no_image_icon_sm.gif">\n';
}
html += '               </td> \n';
html += '               <td width=\'50%\' valign=\'top\'> \n';
html += '               		<span class="h1"><b>'+form_name.Name.value+'</b></span>\n';	
html += '               		<br><span class="h3">'+form_name.company.value+'</span>\n';	
html += '						<br><span class="smalltext">'+form_name.brokerdesc.value+'</span>\n';
html += '               </td>\n';
html += '               <td> \n';
html += '                    <span class="smalltext">Phone:'+form_name.Phone.value+'<br>\n';
if (form_name.fax.value !='') {
html += '                    Fax:&nbsp;&nbsp;&nbsp;&nbsp;'+form_name.fax.value+'<br>';
}
html += '                    </span><br>\n';
html += '                    <span class="smalltext">';

if (form_name.email.value != '') {
html += '                    Email: <a href="mailto:'+form_name.email.value+'?subject=Inquiry from officeforlease.com for '+form_name.company.value+'">'+form_name.email.value+'</a><br>\n';
}
if (form_name.url.value != '') {
html += '                    Web:&nbsp; <a href=\''+form_name.url.value+'\'>'+form_name.url.value+'</a><br>\n';
}
html += '                    </span><br>\n';
html += '               </td>\n';
html += '          </tr>\n';
html += '          <tr>\n';
html += '                <td colspan="100%" height="5" >\n';
html += '          			<img src="images/grnbar.gif" height="5" width="100%"></td>\n';
html += '          </tr>\n';
html += '     </table>\n'   ;       
               //alert(html);
               return html;
          break; 


      case (switch_val='more_suites'):
      html="";
        var count_val = 1;
        var suite_count = 5;
        var items  = 5;        
        
         
    	  if (paramx1 != '') {
    	     count_val = paramx1-1;
        }
        items = (count_val * suite_count);
html += " <table border=\"0\" cellpadding=\"1\" width=\"800\" class=\"smalltext3\" >";
        for ( var i=1; i<= suite_count; i++) {
         items += 1;
html += " <tr><td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"> "+i+". <input type=\"Text\" id=\"suite"+items+"name\" name=\"suite"+items+"name\" SIZE=\"10\" value=\"\"></td>" ;
html += " <td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"><input type=\"Text\" id=\"suite"+items+"price_sq_ft\"  name=\"suite"+items+"price_sq_ft\" SIZE=\"10\" value=\"\"></td>";
html += " <td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"><input type=\"Text\" id=\"suite"+items+"lease_rate\" name=\"suite"+items+"lease_rate\" SIZE=\"10\" value=\"\">&nbsp;<SELECT id=\"suite"+items+"leaserate_type\" name=\"suite"+items+"leaserate_type\"><OPTION VALUE=\"\"> -- Select --</OPTION><OPTION VALUE=\"Monthly\"> Month</OPTION><OPTION VALUE=\"Yearly\">Year</OPTION></SELECT></td>";
html += " <td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"><SELECT id=\"leaseTerms"+items+"\" name=\"leaseTerms"+items+"\"><OPTION VALUE=\"\">--Select--</OPTION><OPTION VALUE=\"TBD\">TBD</OPTION><OPTION VALUE=\"Full Service\"> Full Service</OPTION><OPTION VALUE=\"Gross\">Gross</OPTION><OPTION VALUE=\"NNN\">NNN</OPTION><OPTION VALUE=\"Full Gross\">Full Gross</OPTION></SELECT></td>";
html += " <td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"><input type=\"Radio\" id=\"subLease"+items+"\"  name=\"subLease"+items+"\" VALUE=\"yes\">Y<input type=\"Radio\" id=\"subLease"+items+"\" name=\"subLease"+items+"\" VALUE=\"no\" checked>N</td>";
html += " <td bgcolor=\"#e3eab6\" valign=\"top\" align=\"center\"><TEXTAREA id=\"suitedescription"+items+"\" name=\"suitedescription"+items+"\" ROWS=\"2\" COLS=\"20\">\</TEXTAREA></td></tr>";
html += "  <tr>		<td bgcolor=\"#e3eab6\" valign=\"top\" align=\"left\" colspan=\"6\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"file\" id=\"suitefloorplan"+items+"\" name=\"suitefloorplan"+items+"\"> - Upload Floorplan PDF or GIF/JPG (if available; click the \"Browse\" button to add file) </td></tr>";
html += " <tr>		<td bgcolor=\"#bfc591\" valign=\"top\" align=\"left\" height=\"8\" colspan=\"6\"></td></tr>";
        }
html += " </table>";
    
      return html;
      break;
      case (switch_val='hide_and_seek'):  
        var count_val = 1;        
    	  if (paramx1 != '') {
    	     count_val = paramx1;
        }
html += " <table width=\"100%\" border=\"0\" cellpadding=\"3\"  cellspacing=\"0\" align=\"center\" class=\"smalltext3\"> \n";
html += "	<tr> \n";
html += "		<td width=\"98%\"   colspan=\"100%\" bgcolor=\"C0C48C\" align=\"left\" nowrap style=\"height:8px;\"><!-- Green line --> \n";
html += "		<span style=\"display:block\"><b>Suite Information :</b>"+count_val+"</span>";
html += "		</td> \n";
html += "		<td  nowrap colspan=\"100%\" bgcolor=\"C0C48C\" align=\"center\" style=\"height:8px; width=5px;\"> \n";
html += "			<span id='id_hideme"+count_val+"' style=\"display:block\"><a href=\"javascript:;\" onclick=\"hide_me('"+count_val+"')\" alt=\"hide\">[hide]</a></span><span id='id_showme"+count_val+"' style=\"display:none\" title=\"Show\"><a href=\"javascript:;\" onclick=\"show_me('"+count_val+"')\">[show]</a></span>";
html += "		</td> \n";
html += "		<td  nowrap colspan=\"100%\" bgcolor=\"C0C48C\" align=\"center\" style=\"height:8px; width=5px;\"> \n";
html += "			<span id='id_removeme"+count_val+"' style=\"display:block\" title=\"Remove\"><a href=\"javascript:;\" onclick=\"delete_me('"+count_val+"')\">[Remove]</a></span>";
html += "		</td> \n";
html += "	</tr> \n";
html += " </table> \n";
          
          return html;
           
          break;
          case (switch_val='addmore_link'):
html += '              <table border="0" cellpadding="1" width="800" class="smalltext3" ID="items">       \n'
html += '                <tr>\n'
html += '                  <td bgcolor="#e3eab6" id="add">\n'
html += '                    <span class="alert" >\n'
html += '                      <a href="javascript:;" onclick="AddItem()" >Click here to ADD MORE SUITE input areas above</a></span>\n'
html += '                      <input type=\'hidden\' name=\'name_child_div_count\' id=\'id_child_div_count\' value=\'1\'></td>\n'
html += '                      \n'
html += '                  <td bgcolor="#e3eab6" >\n'
html += '                    <span class="alert" id="remove" style="display:none;" >\n'
html += '                      <a href="javascript:;" onclick="removeItem({$no_fields})" >Click here to Remove MORE SUITE input areas above</a></span></span></td>\n'
html += '                </tr>\n'
html += '              </table>';           
          return html;
          break

          default:
          break;
     }
}
