Question

ODBC Error Code = 37000 (Syntax error or access violation)"

Asked by: jdines

Hello,
  I am having an issue where some users are receiving the following error when using a particular form: Error Diagnostic Information

ODBC Error Code = 37000 (Syntax error or access violation)

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 41: Incorrect syntax near ''.

The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (437:2) to (437:50).

Date/Time: 09/28/09 09:19:40
Browser: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322)
Remote Address: 76.9.124.2
HTTP Referrer: http://www.realestateone.net/MyWebLinks/203/form_203.cfm?form_type=new
 
I included all of the code, not sure what you needed, I am fairly new to this.  Thanks in advance for your assistance.

<!--- SS#s were taken out on 12/20/05 as per Jodi --->
 
<style type="text/css">
<!--
 
.TextBox { font-family:arial; font-size: 8pt}
.TextBoxSelected { font-family:arial; font-size: 8pt; background-color: ffffCC}
 
-->
</style>
 
 
<cfif NOT ISDEFINED("session.pwd") >
	<cflocation url="../index.cfm">
	<cfabort>
</cfif> 
 
<!--- To prevent duplicate records, disable the browser's back button--->
<!--- <script language="JavaScript">
	javascript:window.history.forward(1);
</script>  --->
 
 
<cfif parameterExists(form.mls_num) AND #form.mls_num# NEQ ''>
	
	<!--- Get Listing Information --->
	<cfquery name="GetRecordByMLS" datasource="#gDSN#" maxrows="1">
	SELECT * FROM all_listings_new
	WHERE mls = '#form.mls_num#' 
						 
	</cfquery>
	
<!--- check for the agent name, if there is a comma then first part is the lastname --->
	<cfset comma = #Listcontains(GetRecordByMLS.agentName_MLS, ",", 1)#>
		
	<cfif #comma# EQ '0'>
		<cfset firstname='#Listfirst(GetRecordByMLS.agentName_MLS, " ")#'>
		<cfset lastname='#Listlast(GetRecordByMLS.agentName_MLS, " ")#'>
	<cfelse>
		<cfset firstname='#Listlast(GetRecordByMLS.agentName_MLS, " ")#'>
		<cfset lastname='#Listfirst(GetRecordByMLS.agentName_MLS, ",")#'>
	</cfif>
	
<!--- Set Listing variables --->
	<cfif GetRecordByMLS.RecordCount>
		<cfset mls_value = '#GetRecordByMLS.mls#'>
		<cfset address_value = '#GetRecordByMLS.address#'>
		<cfset city_value = '#GetRecordByMLS.city#'>
		<cfset state_value = '#GetRecordByMLS.state#'>
		<cfset zip_value = '#GetRecordByMLS.zip#'>
		<cfset list_date_value = '#GetRecordByMLS.date_added#'>
		<cfset list_price_value = '#GetRecordByMLS.list_price#'>
		<cfif (form.list_type EQ '3') ><!---AND (GetRecordByMLS.REO_listing EQ 'N') 0 --->
			<cfset OB_firstname_value='#firstname#'><!---  --->
			<cfset OB_lastname_value='#lastname#'><!---  --->
			<cfset OB_compname_value='#GetRecordByMLS.officename_MLS#'><!---  --->
		<cfelseif (form.list_type EQ '1' OR form.list_type EQ '2') ><!---AND (GetRecordByMLS.REO_listing EQ 'Y') 1 --->
			<cfset firstname_Value='#firstname#'>
			<cfset lastname_Value='#lastname#'>
		<!--- <cfelse>	
			<table align="center" width=350>
			<tr><td>&nbsp;<br><br><br></td></tr>
			<tr><td><b>There is an error in the input of MLS # <cfoutput>#form.mls_num#</cfoutput>OR the selection of the listing type</b></td></tr>
			<tr><td>Please <a href="javascript:history.go(-1)">Go Back</a> and try again.</td></tr>
		</table>
		<cfabort>  --->
		</cfif>
		
	<cfelse>
		<cfset mls_value = ''>
		<cfset address_value = ''>
		<cfset city_value = ''>
		<cfset state_value = ''>
		<cfset zip_value = ''>
		<cfset list_date_value = ''>
		<cfset list_price_value = ''>	
		<cfset OB_firstname_value = ''>
		<cfset OB_lastname_value = ''>
		<cfset OB_compname_value = ''>
		<cfset firstname_value = ''>
		<cfset lastname_value = ''>
	</cfif>	
	
	<cfif #GetRecordByMLS.RecordCount# EQ '0'>
		<table align="center" width=350>
			<tr><td>&nbsp;<br><br><br></td></tr>
			<tr><td><b>No record found with MLS # <cfoutput>#form.mls_num#.</cfoutput></b></td></tr>
			<tr><td>Please <a href="javascript:history.go(-1)">Go Back</a> and try again.</td></tr>
		</table>
		<cfabort> 
	
	</cfif>
	
<cfelse><!--- if mls# is not entered, but new form opened --->
	<cfset office_id_value = ''>
	<cfset payno_value = ''>
	<cfset firstname_value = ''>
	<cfset lastname_value = ''>
	<cfset mls_value = ''>
	<cfset address_value = ''>
	<cfset city_value = ''>
	<cfset state_value = ''>
	<cfset zip_value = ''>
	<cfset list_date_value = ''>
	<cfset list_price_value = ''>	
	<cfset OB_firstname_value = ''>
	<cfset OB_lastname_value = ''>
	<cfset OB_compname_value = ''>
	<cfset firstname_value = ''>
	<cfset lastname_value = ''>
</cfif>
 
 
<html>
<head>
	<title>Form 203</title>
	
</head>
 
 
<script language="javascript">
	         
	function formCheck(form203)  {
	 	if ((form203.property_street.value == "") || (form203.property_city.value == "") || (form203.property_state.value == ""))     {
                alert ("Please enter the Property's Street Address, City,  and State.")
                form203.property_street.focus()
                return false
	        } 
        if (form203.processedby.value == "")        {
                alert ("Please enter your name.")
                form203.processedby.focus()
                return false
        }   
		
	}
	
		<!--
//Let Only Numbers in
function checkIt(evt) {
     evt = (evt) ? evt : window.event
          var charCode = (evt.which) ? evt.which : evt.keyCode
               if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                    alert('This field accepts numbers only.')
                    status = "This field accepts numbers only."
                         return false
                    }
               status = ""
          return true
}
//-->	
		
</script> 
	
<script language="javascript">
 
	function isNumberString(InString){
		if (InString.length==0) return (false);
					
		var RefString="1234567890";
		for (Count=0; Count < InString.length; Count++) {
			TempChar = InString.substring (Count, Count+1);
			if (RefString.indexOf(TempChar, 0)== -1)
				return (false);
		}
		
		return (true);
	}
	
	function CheckPhoneNumber(TheNumber) {
		var GoodChars = "0123456789()-/ ";
		var i = 0;
		if (TheNumber.length < 10) return (false);
					
		for (i =0; i < TheNumber.length; i++) {
			if (GoodChars.indexOf(TheNumber.charAt(i)) == -1) {
		
				return (false);
				} 
			} // End for loop
		return (true);
		}
 
 
	function formCheck2(form203)  {
			if(form203.seller_comp.value == ""){
			   if ((form203.seller_firstname1.value == "") || (form203.seller_lastname1.value == "") )  
		  		 {
	                alert ("Please enter the Seller's First Name and Last Name.")
	                form203.seller_firstname1.focus()
	                return false
	       		 } 
				
			}
			if ((form203.seller_street.value == "") || (form203.seller_city.value == "") || (form203.seller_state.value == ""))     {
	                alert ("Please enter the Seller's Street Address, City,  and State.")
	                form203.seller_street.focus()
	                return false
		        } 
	
			if ((!isNumberString(form203.seller_zip.value)) || (form203.seller_zip.value.length != 5))  {
	                alert ("Please enter the Seller's Zip Code correctly.")
	                form203.seller_zip.focus()
					return false
				}
			
					
			if ((form203.property_street.value == "") || (form203.property_city.value == "") || (form203.property_state.value == ""))     {
	                alert ("Please enter the Property's Street Address, City,  and State.")
	                form203.property_street.focus()
	                return false
		        } 
			if ((!isNumberString(form203.property_zip.value))  || (form203.property_zip.value.length != 5))  {
	                alert ("Please enter the 5 digit Property's Zip Code correctly.")
	                form203.property_zip.focus()
	                return false
		        } 
			if (form203.property_ADate.value == "")      {
	                alert ("Please enter the Accept Date and the Sold Price correctly.")
	                form203.property_ADate.focus()
	                return false
		        } 	
			if ((form203.property_SPrice.value == "") || (!isNumberString(form203.property_SPrice.value)) )     {
	                alert ("Please enter the Sold Price correctly. Only numbers are accepted")
	                form203.property_LPrice.focus()
	                return false
		        } 	
			
			if ((form203.property_LPrice.value != "") && (!isNumberString(form203.property_LPrice.value)) )     {
	                alert ("Please enter the List Price correctly. Only numbers are accepted.")
	                form203.property_LPrice.focus()
	                return false
		        } 
			
				
			if(form203.buyer_comp.value == ""){
				if ((form203.buyer_firstname1.value == "") || (form203.buyer_lastname1.value == ""))     {
	                alert ("Please enter the Buyer's First Name and Last Name.")
	                form203.buyer_firstname1.focus()
	                return false
			        } 
					
				}
			if ((form203.buyer_street.value == "") || (form203.buyer_city.value == "") || (form203.buyer_state.value == ""))     {
	                alert ("Please enter the Buyer's Street Address, City,  and State.")
	                form203.buyer_street.focus()
	                return false
		        } 
			if ((!isNumberString(form203.buyer_zip.value ) ) || (form203.buyer_zip.value.length != 5)) {
	                alert ("Please enter the 5 digit Buyer's Zip Code correctly.")
	                form203.buyer_zip.focus()
	                return false
		        } 
			if (form203.buyer_homephone.value ==""){
				alert ("Please enter the Buyer's Home Phone correctly.  Format (555)555 5555")
				form203.buyer_homephone.focus()
				return false
				}
				
			if (form203.buyer_email.value ==""){
				alert ("Please enter the Buyer's email address")
				form203.buyer_email.focus()
				}
				
				
		
			<!--- (!CheckPhoneNumber(form203.buyer_homephone.value)  )     {
		                alert ("Please enter the Buyer's Home Phone correctly. Format(555)555 5555")
		                form203.buyer_homephone.focus()
		                return false
		        } 
			--->
				
			if ((form203.list_type.value == 1) ){
				if ((form203.gr_comm_percentage.value == "") && (form203.gr_comm_dollars.value == "")){
					alert ("Please enter Gross Commission percentage or Dollars")
					form203.gr_comm_percentage.focus()
					return false
					}
				if ((form203.OB_percentage.value == "") && (form203.OB_dollars.value == "")){
					alert ("Please enter O/B Commission percentage or Dollars")
					form203.OB_percentage.focus()
					return false
					}
			  }  
			if ((form203.list_type.value == 2) ){
				if ((form203.gr_comm_percentage.value == "") && (form203.gr_comm_dollars.value == "")){
					alert ("Please enter Gross Commission percentage or Dollars")
					form203.gr_comm_percentage.focus()
					return false
					}
				if ((form203.REO_list_percentage.value == "") && (form203.REO_list_dollars.value == "")){
					alert ("Please enter REO Lisitng Agents Commission percentage or Dollars")
					form203.REO_list_percentage.focus()
					return false
					}
				if ((form203.REO_sale_percentage.value == "") && (form203.REO_sale_dollars.value == "")){
					alert ("Please enter REO Selling Agents Commission percentage or Dollars")
					form203.REO_sale_percentage.focus()
					return false
					}
			  }  
			    
	   		if ((form203.comp_percentage.value == "") && (form203.comp_dollars.value == "")){
					alert ("Please enter REO Gross percentage or Dollars")
					form203.comp_percentage.focus()
					return false
			  }
			  
			  
			 if (document.form203.order_cont.checked == true	&& document.form203.Style.selectedIndex == 0){
				alert("Please select the sytle of Order Continuity");
				document.form203.Style.focus();
				return false;
			   }
			
			if (form203.processedby.value == "")        {
	                alert ("Please enter your name.")
	                form203.processedby.focus()
	                return false
	           } 
		
			return true
				
		}
 
	function PutAddValues(form203){
		if (form203.same_address){
			form203.seller_street.value = form203.property_street.value
			form203.seller_city.value = form203.property_city.value
			form203.seller_state.value = form203.property_state.value
			form203.seller_zip.value = form203.property_zip.value
		    }
		return true;
	
		}	
		
	function getFSBOinfo(form203){
		if ((form203.list_type.value == '4') || ((form203.list_type.value == '4') && (form203.same_address))){
			if (form203.seller_comp.value == ''){
				form203.OB_compname.value = '--'
				}
			else{
				form203.OB_compname.value = form203.seller_comp.value 
			    }
				
			if (form203.seller_firstname1.value == ''){
				form203.OB_firstname.value = '--'
				form203.OB_lastname.value = '--'
				}
			else{
				form203.OB_firstname.value = form203.seller_firstname1.value
				form203.OB_lastname.value = form203.seller_lastname1.value
			    }
		    
			form203.OB_street.value = form203.seller_street.value
			form203.OB_state.value = form203.seller_state.value
			form203.OB_city.value = form203.seller_city.value
			form203.OB_zip.value = form203.seller_zip.value
			alert("Because it is a FSBO the O/B information is populated")
		  }
		  return true;
	
		}
			
		
	function getLastName(form203){
		if(form203.Seller_Salutation.value == "Mr. & Mrs."){
			form203.seller_lastname2.value = form203.seller_lastname1.value
			}
		
		return true;
		}
	
	function getLastNameBuyer(form203){
		if(form203.Buyer_Salutation.value == "Mr. & Mrs."){
			form203.buyer_lastname2.value = form203.buyer_lastname1.value
			}
		return true;
		}
	
</script> 
 
<cfinclude template="header.cfm">
<!--- <cfoutput>#firstname_value# - #lastname_value#</cfoutput> --->
<table width=95% align="center">
	<tr><td><H2>Form 203</h2></td></tr>
	<tr><td align="right"><font size=1, color="red">Fields marked with * are required fields</font></td></tr>
	<tr><td align="right"><font size=1, color="red">** indicates either/or required fields</font></td></tr>
</table>
<Form Action="form_203_action.cfm" Method="post" name="form203" onKeyPress="if(window.event.keyCode == 13) {return false}">
<table width=95% cellpadding="1" cellspacing="1" border=1 bordercolor="black" align="center">
	<tr>
		<td>		
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td>
					<table width="100%">
					<tr>
						<td>Listing File No: <INPUT TYPE="text" Name="list_file_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
						<td>MLS No.: <cfoutput><INPUT TYPE="text" Name="mls_num" size="8" value="#mls_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></cfoutput> &nbsp;&nbsp;  </td>
						<td><b>*Expected Closing Date:</b><INPUT TYPE="text" Name="exp_closeDate" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
					</tr>
					<tr>
						<td>Listing Type: &nbsp;&nbsp;&nbsp;<b><cfoutput><cfif #form.list_type# IS 1>REO List O/B Sale
							<cfelseif #form.list_type# IS 2>REO List and Sale
							<cfelseif #form.list_type# IS 3>O/B List REO Sale
							<cfelse>For Sale By Owner</cfif> </cfoutput></b>
						</td>
						<td>Company ID:  <b><cfoutput>#session.CID#</cfoutput></b></td>
						<td>Office ID:  <b><cfoutput>#session.OID# </cfoutput> <cfif session.OID EQ '41'>(Commercial)</cfif></b></td>
					</tr>	
					</table>
				</td>
			</tr>			
			</table>
		</td>
	</tr>		
	<!--- Property information section --->
	
	<tr bgcolor="C0C0C0"><td><b>  Property Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Property Info section (begins with address)  --->
				<tr>
					<td>
					<table>
						<cfoutput>
						<tr>
							<td><b>*Street Address:</b><INPUT TYPE="text" Name="property_street" size="22" value="#address_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<td> Unit No.:<INPUT TYPE="text" Name="property_unit" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td><b>*City:</b><INPUT TYPE="text" Name="property_city" size="6" value="#city_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
							<td><b>*State:</b><INPUT TYPE="text" Name="property_state" size="1" value="MI" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
							<td><b>*ZipCode:</b><INPUT TYPE="text" Name="property_zip" size="3" value="#zip_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
						</tr>
						</cfoutput>
					</table>
					</td>
				</tr>
				
				<tr>
					<td>
						<table>
						<cfoutput>
						<tr>
							<td>List Date:<INPUT TYPE="text" Name="property_LDate" size="6" value="#DateFormat(list_date_value, 'mm/dd/yy')#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td><b>*Accept Date:</b><INPUT TYPE="text" Name="property_ADate" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>List Price: $<INPUT TYPE="text" Name="property_LPrice" size="6" value="#list_price_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onKeyPress="return checkIt(event)">&nbsp;&nbsp; </td>
							<td><b>*Sold Price:</b> $<INPUT TYPE="text" Name="property_SPrice" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onKeyPress="return checkIt(event)"> </td>
						</tr>
						</cfoutput>
						</table>
					</td>
				</tr>
				</table>
		</td>
	</tr>
	
		<!--- Lease information section --->
	
	<tr bgcolor="C0C0C0"><td><b> Lease Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the LeaseInfo section (begins with original lease date)  --->
				<tr>
					<td width="46%">
					<table>
						<cfoutput>
						<tr>
							<td width="140"><b>Original Lease Date:</b><INPUT TYPE="text" Name="original_leasedate" size="8" value ="#DateFormat (list_date_value, 'mm/dd/yy')#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<td>Lease Expiration Date:<INPUT TYPE="text" Name="exp_leasedate" size="8" value ="#DateFormat (list_date_value, 'mm/dd/yy')#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<td width="213">Monthly Lease Payment:  $<INPUT TYPE="text" Name="lease_pmt" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td></tr>
							<tr><td>Option to extend: Y or N &nbsp; <INPUT TYPE="text" Name="option_extend" size="1"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">  </td>
							<td>Option to purchase: Y or N &nbsp; <INPUT TYPE="text" Name="option_purchase" size="1"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Option Price:  $ : <input type="text" name="option_price" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" /></td></tr>
						    <td>Tenant's Email Address:  <input type="text" name="tenant_email" size="12" class="TextBox" onFocus="this.className='TextBoxSelected';select()" onBlur="this.className='TextBox'"></td>
						    <td>Tenant's Phone Number:  <input type="text" name="tenant_phone" size="12" class="TextBox" onFocus="this.className='TextBoxSelected';select()" onBlur="this.className='TextBox'"></td>
						</tr>
						</cfoutput>
					</table>
					</td>
				
				
				
	<!--- Seller's information section --->	
	<tr bgcolor="C0C0C0"><td><b> Seller's Information</b> </td></tr>
	<tr> 
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Seller's Section  --->
                
				<tr>
                <cfoutput>
					<td colspan=4><b>**Seller Company:</b><INPUT TYPE="text" Name="seller_comp" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;<b>OR</b></td>
				</tr>
				<tr>
					<td><select Name="Seller_Salutation">
							<option value="">--
							<option value="Mr.">Mr. 
							<option value="Mrs.">Mrs.
							<option value="Mr. & Mrs.">Mr.& Mrs.
			 				<option value="Ms.">Ms.
							
						</select>
					</td>
				
					<td align="left"><b>**First Name:</b><INPUT TYPE="text" Name="seller_firstname1" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;</td>
					<td align="left"><b>**Last Name:</b><INPUT TYPE="text" Name="seller_lastname1" size="10" onchange ="javascript:getLastName(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
<!--- 					<td align="center">Soc.Sec. No:<INPUT TYPE="text" Name="seller_SSN1" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
				</tr>
				<!--- Sellers Name if Mr and Mrs.--->
				<tr>
					<td>&nbsp;</td>
					<td>&nbsp;&nbsp;&nbsp;First Name:<INPUT TYPE="text" Name="seller_firstname2" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;</td>
					<td>&nbsp;&nbsp;&nbsp;Last Name:<INPUT TYPE="text" Name="seller_lastname2" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">  </td>
<!--- 					<td align="center"> Soc.Sec. No:<INPUT TYPE="text" Name="seller_SSN2" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
				</tr>
				<!--- Street Address Row  --->
				<tr>
					<td valign="top" colspan="3" >
						<table align="left" cellpadding="0" cellspacing="0">
							<tr>
								<td>Address same as above:<INPUT TYPE="checkbox" Name="same_address" value=1  onClick="javascript:PutAddValues(form203);getFSBOinfo(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
							<tr>
								<td>&nbsp;<b>*Street Address:</b><INPUT TYPE="text" Name="seller_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
                            </cfoutput>
						</table>	
                        				
					</td>
					<td width="39%" align="right" rowspan="4">
						<table align="left" cellpadding="0" cellspacing="0" border="1" >
						<!--- Gross Commissions Row --->
						<tr >
							<td><cfoutput><cfif #form.list_type# IS 1 OR #form.list_type# IS 2><b>*</b></cfif></cfoutput>Gross Comm </td>
							<td><input type="Text" name="gr_comm_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="gr_comm_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>
						<tr>
							<cfoutput>
							<cfif #form.list_type# IS 2>
							<td><b>*</b>REO List  </td><!---Comp. Dollar--->
							<td><input type="Text" name="REO_list_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="REO_list_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<cfelseif #form.list_type# IS 1 ><td><b>*</b>Amt Pd to O/B</td>
							<td><input type="Text" name="OB_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="OB_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" > </td>
							<cfelse><td>Amt Pd to O/B</td>
							<td><input type="Text" name="OB_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="OB_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</cfif>
							</cfoutput>
						</tr>
						<tr>
							<cfoutput>
							<cfif #form.list_type# IS 2>
							<td><b>*</b>REO Sale  </td><!---Comp. Dollar--->
							<td><input type="Text" name="REO_sale_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="REO_sale_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" > </td>
							<cfelse><td><b>*</b>REO Gross</td>
							<td><input type="Text" name="comp_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="comp_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</cfif>
							</cfoutput>
						</tr>														
						<tr>
							<td>Listing Ref </td>
							<td><input type="Text" name="list_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="list_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>			
						<tr>
							<td>Selling Ref</td>
							<td><input type="Text" name="sell_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="sell_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>			
																												
						</table>
					</td>
				</tr>
				<!--- City, State Row  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td><b>*City:</b><INPUT TYPE="text" Name="seller_city" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td><b>*State:</b><INPUT TYPE="text" Name="seller_state" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td><b>*ZipCode:</b><INPUT TYPE="text" Name="seller_zip" size="4"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onchange="javascript:getFSBOinfo(form203);">&nbsp;&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Phone, Email Row  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td>Home/Cell Phone:<INPUT TYPE="text" Name="seller_homephone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td>WorkPhone:<INPUT TYPE="text" Name="seller_workphone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
							</tr>
						</table>
					</td>	
				</tr>	
				<tr>
					<td valign="top" colspan="4">
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="seller_email" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;  </td>
								<td>Emp/Sales Ass.<INPUT TYPE="checkbox" name="seller_emp_sales" value="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<!--- <td>Home-Link:<select Name="contact_seller">
											<option value="Yes">Yes
											<option value="No">No
											</select>
								</td> --->
							</tr>
						</table>
					</td>
				</tr>		
			</table>
		</td>
	</tr>
	
	<!---    Other Information  --->
	
	<tr bgcolor="C0C0C0"><td><b>  Other Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
						<tr>
						
							<tr>
							<td>  Seller's Source:</td>
							<td>  <select Name="Seller_Source">
									<option>UNKNOWN
									<option>Internet
									<option>Floor Call/Walk IN
									<option>Referral: Past Customer
									<option>Referral: Relocation/Corporate Services
									<option>Referral: Friend/Neighbor/Relative
									<option>Referral: From REO Sales Associate
									<option>Past Customer
									<option>Relist/Extension
									<option>OpenHouse
									<option>Other Broker Expired
									<option>For Sale By Owner(FSBO)
									<option>Cold Calls
									<option>Call Nights
									<option>Social Farming: Sphere of Influence
									<option>Geographic Farming
									<option>Company Paid Ad
									<option>Personal Ad: Newspaper/Photo Guide
									<option>Personalized Sign: For Sale/Open House
									<option>Direct Mail-postcards, newsletter etc.
									<option>Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							<td>  Buyer's Source:</td>
							<td>  <select Name="Buyer_Source">
									<option>UNKNOWN
									<option>Internet
									<option>Floor Call/Walk IN
									<option>Referral: Past Customer
									<option>Referral: Relocation/Corporate Services
									<option>Referral: Friend/Neighbor/Relative
									<option>Referral: From REO Sales Associate
									<option>Past Customer
									<option>Relist/Extension
									<option>OpenHouse
									<option>Other Broker Expired
									<option>For Sale By Owner(FSBO)
									<option>Cold Calls
									<option>Call Nights
									<option>Social Farming: Sphere of Influence
									<option>Geographic Farming
									<option>Company Paid Ad
									<option>Personal Ad: Newspaper/Photo Guide
									<option>Personalized Sign: For Sale/Open House
									<option>Direct Mail-postcards, newsletter etc.
									<option>Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td>
						
							<!--- <td>  Source Of Listing/Sale:</td>
							<td>  <select Name="seller_Source">
									<option>UNKNOWN
									<option>01- Floor Call/Walk IN
									<option>02-Referral: Past Customer
									<option>03-Referral: Relocation/Corporate Services
									<option>04-Referral: Friend/Neighbor/Relative
									<option>05-Referral: From REO Sales Associate
									<option>06-Past Customer
									<option>07-Relist/Extension
									<option>08-OpenHouse
									<option>09-Other Broker Expired
									<option>10-For Sale By Owner(FSBO)
									<option>11-Cold Calls
									<option>12-Call Nights
									<option>13-Social Farming: Sphere of Influence
									<option>14-Geographic Farming
									<option>15-Company Paid Ad
									<option>16-Personal Ad: Newspaper/Photo Guide
									<option>17-Personalized Sign: For Sale/Open House
									<option>18-Direct Mail-postcards, newsletter etc.
									<option>19-Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td> --->
							<!---<td>Virtual Tour<input type="Checkbox" name="virtual_tour" value = 1>&nbsp;&nbsp;&nbsp;&nbsp; </td>--->
							<!--- <td>Home Warranty<input type="Checkbox" name="home_warranty" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>Past Title<input type="Checkbox" name="past_title" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
						</tr>	
						</table>
					</td>	
				</tr>
				<tr>
					<td >
						<table>
						<tr>
							<td>Home Warranty<input type="Checkbox" name="home_warranty" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>Past Title<input type="Checkbox" name="past_title" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> &nbsp;&nbsp;&nbsp;</td>
							<td>Order Continuity<input type="Checkbox" name="order_cont" value = 1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
							<td> Style:
							 	<select Name="Style">
									<option>None
									<option>Humorous Style
									<option>Traditional Style
									
								</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							
						</tr>	
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
						<td >Financing:
								 <select Name="financing">
									<option>Mortgage
									<option>Cash
									<option>Land Contract
								</select>&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
						<tr>
							<td >If Mortgage, Mortgage Co.<input type="text" name="mortgage_co" size=12 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Rep.Name:<input type="text" name="mortgage_rep" size=12 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Phone:<input type="text" name="mortgage_phone" size=10 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Fax:<input type="text" name="mortgage_fax" size=10 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
						</tr>	
						</table>
					</td>
				</tr>
			</table>
		</td>	
	</tr>
	
	<!--- Buyer's Information begins --->
	
	<tr bgcolor="C0C0C0"><td><b>  Buyer's Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Buyer's Section (begins with name)  --->
				<tr>
					<td>
						<table>
							<tr>
								<td colspan=3><b>**Buyer Company:</b><INPUT TYPE="text" Name="buyer_comp" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;<b>OR</b></td>
							</tr>
							<tr>
								<td><select Name="Buyer_Salutation">
										<option value="">--
										<option value="Mr.">Mr. 
										<option value="Mrs.">Mrs.
										<option value="Mr. & Mrs.">Mr.& Mrs.
										<option value="Ms.">Ms.
										
									</select>
								</td>
								<td valign="top"><b>**First Name:</b><INPUT TYPE="text" Name="buyer_firstname1" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td valign="top"><b>**Last Name:</b><INPUT TYPE="text" Name="buyer_lastname1" size="12" onchange ="javascript:getLastNameBuyer(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
<!--- 								<td>Soc. Sec. No:<INPUT TYPE="text" Name="buyer_SSN1" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td valign="top">&nbsp;&nbsp;&nbsp;First Name:<INPUT TYPE="text" Name="buyer_firstname2" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td  valign="top">&nbsp;&nbsp;&nbsp;Last Name:<INPUT TYPE="text" Name="buyer_lastname2" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Soc. Sec. No:<INPUT TYPE="text" Name="buyer_SSN2" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td> --->
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td><b>*Street Address:</b><INPUT TYPE="text" Name="buyer_street" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Unit No.:<INPUT TYPE="text" Name="buyer_unit" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;   </td>
								<td>Emp/Sales Ass.<INPUT TYPE="checkbox" name="buyer_emp_sales" value="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- City, State Row  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td><b>*City:</b><INPUT TYPE="text" Name="buyer_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*State:</b><INPUT TYPE="text" Name="buyer_state" size="5" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*ZipCode:</b><INPUT TYPE="text" Name="buyer_zip" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*Contact Email:</b><INPUT TYPE="text" Name="buyer_email" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Phone,  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td colspan="2"><b>*Home/Cell Phone:</b><INPUT TYPE="text" Name="buyer_homephone" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td>Work Phone:<INPUT TYPE="text" Name="buyer_workphone" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<!--- <td>Home-Link:<select Name="contact_buyer">
											<option value="Yes">Yes
											<option value="No">No
											</select>
								</td> --->
							</tr>
						</table>
					</td>	
				</tr>	
			</table>
		</td>
	</tr>
	
	<!--- Listing Agent Information --->
	
	<!---REO List O/B Sale OR REO List and Sale--->
	<cfif (#form.list_type# IS 1) OR (#form.list_type# IS 2) >
	<tr bgcolor="C0C0C0"><td><b>  Listing Agent - REO Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<cfset number_listing_agents = #form.list_agents#>
				<cfset number = 1>
				<cfloop from="1" to="#number_listing_agents#" index="number">
				<!--- First Row in the REOAgent Section (begins with Office #)  --->
				<tr>
					<td >
						<cfoutput>
						<table width="100%" ><!--- <cfif number EQ 1>value="#payno_value#"</cfif><cfif #number# EQ 1>value="#office_id_value#" </cfif> --->
							<tr>
								<td>#number#.</td>
								<td><b>*Pay No:</b><INPUT TYPE="text" Name="LREO#number#_Paynum" size="1" onChange="javascript:AgentInfo(form203)"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Office No.</b>:<INPUT TYPE="text" Name="LREO#number#_Officenum" size="1"    class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="LREO#number#_firstname" size="8" <cfif number EQ 1>value="#firstname_value#"</cfif> class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="LREO#number#_lastname" size="8" <cfif number EQ 1>value="#lastname_value#"</cfif> class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Assoc port:</b><INPUT TYPE="text" Name="LREO#number#_assoport" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" >$ OR % </td>
							</tr>
						</table>
						</cfoutput>
					</td>
				</tr>	
				<!--- </cfif> --->
			
				</cfloop>
			
				<!--- Port. Information for REO1 --->		
				<tr>
					<td colspan="3">
						<table>
							<tr>
<!--- 								<td valign="top">Gr. Comm. Port.:<INPUT TYPE="text" Name="LREO_grcommport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td> --->
								<td valign="top">Ref. Port.:<INPUT TYPE="text" Name="LREO_refport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td valign="top">Corp. Ref.:<INPUT TYPE="checkbox" Name="LREO_corpref" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Contact Client:<INPUT TYPE="checkbox" Name="LREO_concl" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	<!--- O/B list and REO sale--->
	<cfelse>
	<tr bgcolor="C0C0C0"><td><b>  Listing Agent - O/B Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the O/B Section (begins with name)  --->
				<tr>
					<td>
						<table><cfoutput>
							<tr>
								<td><b>*Comp. Name:</b><INPUT TYPE="text" Name="OB_compname" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=" "> </td><!---#OB_compname_value# --->
								<td><b>*First Name:</b><INPUT TYPE="text" Name="OB_firstname" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=""></td><!---#OB_firstname_value#  --->
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="OB_lastname" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=""></td><!---#OB_lastname_value#  --->
								<td>O/B No.:<INPUT TYPE="text" Name="OB_num" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td> 
							</tr></cfoutput>
						</table>
					</td>
				</tr>	
				<!--- Address row for O/B --->		
				<tr>
					<td>
						<table>
							<tr>
								<td>*Street:<INPUT TYPE="text" Name="OB_street" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Suite/Unit:<INPUT TYPE="text" Name="OB_suite" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*City:<INPUT TYPE="text" Name="OB_city" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*State:<INPUT TYPE="text" Name="OB_state" size="3" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td>ZipCode:<INPUT TYPE="text" Name="OB_zip" size="5" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- contact info for O/B --->
				<tr>
					<td>
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="OB_email" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Phone:<INPUT TYPE="text" Name="OB_phone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Fax:<INPUT TYPE="text" Name="OB_fax" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Contact:<INPUT TYPE="text" Name="OB_contact" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	</cfif>
	<!--- Listing Referral Information--->
	<tr bgcolor="C0C0C0"><td><b>  Listing Referral Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
							<tr>
								<td>Name:<INPUT TYPE="text" Name="LRef_name" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Street:<INPUT TYPE="text" Name="LRef_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Comp. Name:<INPUT TYPE="text" Name="LRef_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
								<td>City:<INPUT TYPE="text" Name="LRef_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>State:<INPUT TYPE="text" Name="LRef_state" size="3" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Zip:<INPUT TYPE="text" Name="LRef_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Phone:<INPUT TYPE="text" Name="LRef_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	
	<!--- Selling Agent Information --->
	
	<!--- REO List and Sale  OR  O/B List REO Sale--->
	<cfif (#form.list_type# IS 2) OR (#form.list_type# IS 3) OR (#form.list_type# IS 4) >
	<tr bgcolor="C0C0C0"><td><b>  Selling Agent - REO Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<cfset number_selling_agents = #form.sell_agents#>
				<cfset number = 1>
				<cfloop from="1" to="#number_selling_agents#" index="number">
				<!--- First Row in the REOAgent Section (begins with Office #)  --->
				<tr>
					<td>
						<cfoutput>
						<table width=100%>
							<tr>
								<td>#number#.</td>
								<td><b>*Pay No.:</b><INPUT TYPE="text" Name="SREO#number#_Paynum" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Office No.:</b><INPUT TYPE="text" Name="SREO#number#_Officenum" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="SREO#number#_firstname" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="SREO#number#_lastname" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Assoc. port.:</b><INPUT TYPE="text" Name="SREO#number#_assoport" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">$ OR % </td>
							</tr>
						</table>
						</cfoutput>
					</td>
				</tr>	
				</cfloop>
			
				<!--- Port. Information for REO1 --->		
				<tr>
					<td>
						<table>
							<tr>
<!--- 								<td valign="top">Gr. Comm. Port.:<INPUT TYPE="text" Name="SREO_grcommport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td> --->
								<td valign="top">Ref. Port.:<INPUT TYPE="text" Name="SREO_refport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td valign="top">Corp. Ref.:<INPUT TYPE="checkbox" Name="SREO_corpref" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Contact Client:<INPUT TYPE="checkbox" Name="SREO_concl" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	<cfelse>
	<tr bgcolor="C0C0C0"><td><b>  Selling Agent - O/B Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the O/B Section (begins with name)  --->
				<tr>
					<td>
						<table>
							<tr>
								<td><b>*Comp. Name:</b><INPUT TYPE="text" Name="OB_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="OB_firstname" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="OB_lastname" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								 <td>O/B No.:<INPUT TYPE="text" Name="OB_num" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td> 
							</tr>
						</table>
					</td>
				</tr>	
				<!--- Address row for O/B --->		
				<tr>
					<td>
						<table>
							<tr>
								<td>*Street:<INPUT TYPE="text" Name="OB_street" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Suite/Unit:<INPUT TYPE="text" Name="OB_suite" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*City:<INPUT TYPE="text" Name="OB_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*State:<INPUT TYPE="text" Name="OB_state" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
								<td>*ZipCode:<INPUT TYPE="text" Name="OB_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- contact info for O/B --->
				<tr>
					<td>
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="OB_email" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Phone:<INPUT TYPE="text" Name="OB_phone" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Fax:<INPUT TYPE="text" Name="OB_fax" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Contact:<INPUT TYPE="text" Name="OB_contact" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	</cfif>
	<!--- Selling Referral Information--->
	<tr bgcolor="C0C0C0"><td><b>  Selling Referral Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
							<tr>
								<td>Name:<INPUT TYPE="text" Name="SRef_name" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Street:<INPUT TYPE="text" Name="SRef_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Comp. Name:<INPUT TYPE="text" Name="SRef_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td>City:<INPUT TYPE="text" Name="SRef_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>State:<INPUT TYPE="text" Name="SRef_state" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Zip:<INPUT TYPE="text" Name="SRef_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Phone:<INPUT TYPE="text" Name="SRef_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
 
	<!--- Disclosure Statement --->
	
	<tr bgcolor="C0C0C0" ><td align="center"><b>  Disclosure Statement Certification </b></td></tr>	
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>&nbsp;</tr>
				<tr>
					<td align="center">  According to Company Policy, the following documents are on file with respect to the above referenced property. </td>
				</tr>
				<tr><td><hr></td></tr>
				
				<!--- Disclosure Information --->
				<tr>
					<td>
						<table width="450" border="0">
							<tr>
								<td >&nbsp;</td>
								<td align="center" colspan="2"><u>Other Broker's Side</u></td>
								<td>&nbsp;</td>
								<td align="center"colspan="2"><u>Real Estate One's Side</u></td>
							</tr>
		
							<tr>
								<td>&nbsp;</td>
								<td align="center" colspan="1">  Listing </td>
								<td colspan="1">  Sale </td>
								<td>&nbsp;</td>
								<td align="center" colspan="1">  Listing </td>
								<td colspan="1">  Sale </td>
							</tr>
							<tr>
								<td>  Agency Disclosure </td>
								<td align="center"><input type="checkbox" name="Agency_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Agency_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Agency_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Agency_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							
							<!--- added on 6/30/2008 --->
							<tr>
								<td>  RESPA Disclosure </td>
								<td align="center"><input type="checkbox" name="RESPA_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="RESPA_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="RESPA_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="RESPA_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							
							<tr>
								<td>  Seller's Disclosure </td>
								<td align="center"><input type="checkbox" name="Seller_Broker_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Seller_Broker_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Seller_REO_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Seller_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							<tr>
								<td>  Lead Paint Disclosure </td>
								<td align="center"><input type="checkbox" name="LeadPaint_Broker_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="LeadPaint_Broker_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="LeadPaint_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="LeadPaint_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							<tr>
								<td>  Buyer Agency Contract </td>
								<td align="center"><input type="checkbox" name="Buyer_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Buyer_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Buyer_REO_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Buyer_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<tr bgcolor="C0C0C0"><td align="center"><b>	Comments/Special Instructions</b>
			</td></tr>
				<tr>
					<td>
						<table width="100%">
							<tr>
								<td><TextArea name="Comments" value="Comments" cols=65 rows=5 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></textarea></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Signature and Date --->
				<tr>
					<td>
						<table width="100%">
							<tr>
								<td><b>*Processed By:</b>&nbsp;&nbsp;<input type="text" name="processedby" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td>Date Processed:&nbsp;&nbsp;<cfoutput><input type="text" name="date_processed" value="#DateFormat(Now(), 'mm/dd/yy')#" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></cfoutput> </td>
							</tr>
						</table>
					</td>
				</tr>
				
			<tr>
				<td>
				<table width="100%">
				<tr>
					<td align="center"><input type="submit" name="Save_Close_Btn" value="Save and Close"  onClick="return formCheck(form203)" > </td>
					<td align="center"><input type="submit" name="Completed_Btn" value="Submit Completed/Updated Form" onClick="return formCheck2(form203)" > </td>
					<td  align="center"><input type="RESET" value="Clear Form"> </td>
					<cfoutput>
					<input type="HIDDEN" value="#form.list_type#" name="list_type">
					<input type="HIDDEN" value="#form.sell_agents#" name="sell_agents">
					<input type="HIDDEN" value="#form.list_agents#" name="list_agents">
					
					<!--- <input type="HIDDEN" value="#URL.UID#" name="UID">--->
					<input type="HIDDEN" value="#session.CID#" name="CID">
					<input type="HIDDEN" value="#session.OID#" name="OID"> 
	
					</cfoutput>
				</tr>
				</table>
			</td>
		</tr>
	
</table>
 
</form>
 
</body>
</html>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:
756:
757:
758:
759:
760:
761:
762:
763:
764:
765:
766:
767:
768:
769:
770:
771:
772:
773:
774:
775:
776:
777:
778:
779:
780:
781:
782:
783:
784:
785:
786:
787:
788:
789:
790:
791:
792:
793:
794:
795:
796:
797:
798:
799:
800:
801:
802:
803:
804:
805:
806:
807:
808:
809:
810:
811:
812:
813:
814:
815:
816:
817:
818:
819:
820:
821:
822:
823:
824:
825:
826:
827:
828:
829:
830:
831:
832:
833:
834:
835:
836:
837:
838:
839:
840:
841:
842:
843:
844:
845:
846:
847:
848:
849:
850:
851:
852:
853:
854:
855:
856:
857:
858:
859:
860:
861:
862:
863:
864:
865:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
876:
877:
878:
879:
880:
881:
882:
883:
884:
885:
886:
887:
888:
889:
890:
891:
892:
893:
894:
895:
896:
897:
898:
899:
900:
901:
902:
903:
904:
905:
906:
907:
908:
909:
910:
911:
912:
913:
914:
915:
916:
917:
918:
919:
920:
921:
922:
923:
924:
925:
926:
927:
928:
929:
930:
931:
932:
933:
934:
935:
936:
937:
938:
939:
940:
941:
942:
943:
944:
945:
946:
947:
948:
949:
950:
951:
952:
953:
954:
955:
956:
957:
958:
959:
960:
961:
962:
963:
964:
965:
966:
967:
968:
969:
970:
971:
972:
973:
974:
975:
976:
977:
978:
979:
980:
981:
982:
983:
984:
985:
986:
987:
988:
989:
990:
991:
992:
993:
994:
995:
996:
997:
998:
999:
1000:
1001:
1002:
1003:
1004:
1005:
1006:
1007:
1008:
1009:
1010:
1011:
1012:
1013:
1014:
1015:
1016:
1017:
1018:
1019:
1020:
1021:
1022:
1023:
1024:
1025:
1026:
1027:
1028:
1029:
1030:
1031:
1032:
1033:
1034:
1035:
1036:
1037:
1038:
1039:
1040:
1041:
1042:
1043:
1044:
1045:
1046:
1047:
1048:
1049:
1050:
1051:
1052:
1053:
1054:
1055:
1056:
1057:
1058:
1059:
1060:
1061:
1062:
1063:
1064:
1065:
1066:
1067:
1068:
1069:
1070:
1071:
1072:
1073:
1074:
1075:
1076:
1077:
1078:
1079:
1080:
1081:
1082:
1083:
1084:
1085:
1086:
1087:
1088:
1089:
1090:
1091:
1092:
1093:
1094:
1095:
1096:
1097:
1098:
1099:
1100:
1101:
1102:
1103:
1104:
1105:
1106:
1107:
1108:
1109:
1110:
1111:
1112:
1113:
1114:
1115:
1116:
1117:
1118:
1119:
1120:
1121:
1122:
1123:
1124:
1125:
1126:
1127:
1128:
1129:
1130:
1131:
1132:
1133:
1134:
1135:
1136:
1137:
1138:
1139:
1140:
1141:
1142:
1143:
1144:
1145:
1146:
1147:
1148:
1149:
1150:
1151:
1152:
1153:
1154:
1155:
1156:
1157:
1158:
1159:
1160:
1161:
1162:
1163:
1164:
1165:
1166:
1167:
1168:
1169:
1170:
1171:
1172:
1173:
1174:
1175:
1176:
1177:
1178:
1179:
1180:
1181:
1182:
1183:
1184:
1185:
1186:
1187:
1188:
1189:
1190:
1191:
1192:
1193:
1194:
1195:
1196:
1197:
1198:
1199:
1200:
1201:
1202:
1203:
1204:
1205:
1206:
1207:
1208:
1209:
1210:
1211:
1212:
1213:
1214:
1215:
1216:
1217:
1218:
1219:
1220:
1221:
1222:
1223:
1224:
1225:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-28 at 07:21:27ID24766858
Topics

MS SQL Server

,

ColdFusion Studio

,

ColdFusion Application Server

,

Cold Fusion Markup Language

Participating Experts
3
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. A question about the CFQUERY tag
    I am currently using ColdFusion Express and have created a form with a large editbox on it to allow a user to enter an SQL query. This form passes the query to a CFM file called query. In QUERY.CFM I use the following code : <CFQUERY NAME="UserQuery" DATASOURC...
  2. CFQuery
    Hi, I want to build a pre-SQL string to be used in a CFQUery statement, but for some dumb reason I always get an error. The code is something like this: <cfset vSQL = "SELECT * FROM mytable"> <cfquery name="Page" datasource="namshop" dbt...
  3. FOXPRO - MERRANT ODBC ERROR MESSAGE
    i have a foxpro database connected with dbase/foxpro ODBC driver. When I execute the following query, I get this message listed below. I don't have any index files. Do I need to create one for each *.dbf file. I am using coldfusion 4.5 on a sun-solaris machine (SUN OS 5.7) ...
  4. <CFQUERY> Help
    As a newbie to ColdFusion, I have come across a problem. When trying to submit a form to query a database based upon a certain criteria (for example by Location, Price, Rooms and Course), the results form simply displays all records in the database without performing the sele...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: nmcdermaidPosted on 2009-09-28 at 23:23:37ID: 25446446

There's only one query in that code:

<cfquery name="GetRecordByMLS" datasource="#gDSN#" maxrows="1">
SELECT * FROM all_listings_new
WHERE mls = '#form.mls_num#'
</cfquery>

I'm not familiar with (PHP?)... you should add this to whatever zone that form is written in... I think its PHP.

To start narrowing down the issue, try changing that code to

 <cfquery name="GetRecordByMLS" datasource="#gDSN#" maxrows="1">
SELECT * FROM all_listings_new
WHERE mls = '1'
</cfquery>

That will hard code a value in. If that works without an error, that tells you that you have a problem with that #form.mls_num# field.

Have you used a database tool to verify that you can select from all_listings_new  ?

 

by: jdinesPosted on 2009-09-30 at 11:17:57ID: 25461687

Thanks for the suggestion however the problem seems to have corrected itself.

 

by: jdinesPosted on 2009-10-02 at 08:50:10ID: 25479041

Hello Again,
  The problem has come back once again, the strange thing is that it worked prior to adding a few additional fields, nothing else was changed and when a revert back to the original it works fine.  I am completely dumbfounded:  I have attached the original file, hopefully that will help.

<!--- SS#s were taken out on 12/20/05 as per Jodi --->
 
<style type="text/css">
<!--
 
.TextBox { font-family:arial; font-size: 8pt}
.TextBoxSelected { font-family:arial; font-size: 8pt; background-color: ffffCC}
 
-->
</style>
 
 
<cfif NOT ISDEFINED("session.pwd") >
	<cflocation url="../index.cfm">
	<cfabort>
</cfif> 
 
<!--- To prevent duplicate records, disable the browser's back button--->
<!--- <script language="JavaScript">
	javascript:window.history.forward(1);
</script>  --->
 
 
<cfif parameterExists(form.mls_num) AND #form.mls_num# NEQ ''>
	
	<!--- Get Listing Information --->
	<cfquery name="GetRecordByMLS" datasource="#gDSN#" maxrows="1">
	SELECT * FROM all_listings_new
	WHERE mls = '#form.mls_num#' 
						 
	</cfquery>
	
<!--- check for the agent name, if there is a comma then first part is the lastname --->
	<cfset comma = #Listcontains(GetRecordByMLS.agentName_MLS, ",", 1)#>
		
	<cfif #comma# EQ '0'>
		<cfset firstname='#Listfirst(GetRecordByMLS.agentName_MLS, " ")#'>
		<cfset lastname='#Listlast(GetRecordByMLS.agentName_MLS, " ")#'>
	<cfelse>
		<cfset firstname='#Listlast(GetRecordByMLS.agentName_MLS, " ")#'>
		<cfset lastname='#Listfirst(GetRecordByMLS.agentName_MLS, ",")#'>
	</cfif>
	
<!--- Set Listing variables --->
	<cfif GetRecordByMLS.RecordCount>
		<cfset mls_value = '#GetRecordByMLS.mls#'>
		<cfset address_value = '#GetRecordByMLS.address#'>
		<cfset city_value = '#GetRecordByMLS.city#'>
		<cfset state_value = '#GetRecordByMLS.state#'>
		<cfset zip_value = '#GetRecordByMLS.zip#'>
		<cfset list_date_value = '#GetRecordByMLS.date_added#'>
		<cfset list_price_value = '#GetRecordByMLS.list_price#'>
		<cfif (form.list_type EQ '3') ><!---AND (GetRecordByMLS.REO_listing EQ 'N') 0 --->
			<cfset OB_firstname_value='#firstname#'><!---  --->
			<cfset OB_lastname_value='#lastname#'><!---  --->
			<cfset OB_compname_value='#GetRecordByMLS.officename_MLS#'><!---  --->
		<cfelseif (form.list_type EQ '1' OR form.list_type EQ '2') ><!---AND (GetRecordByMLS.REO_listing EQ 'Y') 1 --->
			<cfset firstname_Value='#firstname#'>
			<cfset lastname_Value='#lastname#'>
		<!--- <cfelse>	
			<table align="center" width=350>
			<tr><td>&nbsp;<br><br><br></td></tr>
			<tr><td><b>There is an error in the input of MLS # <cfoutput>#form.mls_num#</cfoutput>OR the selection of the listing type</b></td></tr>
			<tr><td>Please <a href="javascript:history.go(-1)">Go Back</a> and try again.</td></tr>
		</table>
		<cfabort>  --->
		</cfif>
		
	<cfelse>
		<cfset mls_value = ''>
		<cfset address_value = ''>
		<cfset city_value = ''>
		<cfset state_value = ''>
		<cfset zip_value = ''>
		<cfset list_date_value = ''>
		<cfset list_price_value = ''>	
		<cfset OB_firstname_value = ''>
		<cfset OB_lastname_value = ''>
		<cfset OB_compname_value = ''>
		<cfset firstname_value = ''>
		<cfset lastname_value = ''>
	</cfif>	
	
	<cfif #GetRecordByMLS.RecordCount# EQ '0'>
		<table align="center" width=350>
			<tr><td>&nbsp;<br><br><br></td></tr>
			<tr><td><b>No record found with MLS # <cfoutput>#form.mls_num#.</cfoutput></b></td></tr>
			<tr><td>Please <a href="javascript:history.go(-1)">Go Back</a> and try again.</td></tr>
		</table>
		<cfabort> 
	
	</cfif>
	
<cfelse><!--- if mls# is not entered, but new form opened --->
	<cfset office_id_value = ''>
	<cfset payno_value = ''>
	<cfset firstname_value = ''>
	<cfset lastname_value = ''>
	<cfset mls_value = ''>
	<cfset address_value = ''>
	<cfset city_value = ''>
	<cfset state_value = ''>
	<cfset zip_value = ''>
	<cfset list_date_value = ''>
	<cfset list_price_value = ''>	
	<cfset OB_firstname_value = ''>
	<cfset OB_lastname_value = ''>
	<cfset OB_compname_value = ''>
	<cfset firstname_value = ''>
	<cfset lastname_value = ''>
</cfif>
 
 
<html>
<head>
	<title>Form 203</title>
	
</head>
 
 
<script language="javascript">
	         
	function formCheck(form203)  {
	 	if ((form203.property_street.value == "") || (form203.property_city.value == "") || (form203.property_state.value == ""))     {
                alert ("Please enter the Property's Street Address, City,  and State.")
                form203.property_street.focus()
                return false
	        } 
        if (form203.processedby.value == "")        {
                alert ("Please enter your name.")
                form203.processedby.focus()
                return false
        }   
		
	}
	
		<!--
//Let Only Numbers in
function checkIt(evt) {
     evt = (evt) ? evt : window.event
          var charCode = (evt.which) ? evt.which : evt.keyCode
               if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                    alert('This field accepts numbers only.')
                    status = "This field accepts numbers only."
                         return false
                    }
               status = ""
          return true
}
//-->	
		
</script> 
	
<script language="javascript">
 
	function isNumberString(InString){
		if (InString.length==0) return (false);
					
		var RefString="1234567890";
		for (Count=0; Count < InString.length; Count++) {
			TempChar = InString.substring (Count, Count+1);
			if (RefString.indexOf(TempChar, 0)== -1)
				return (false);
		}
		
		return (true);
	}
	
	function CheckPhoneNumber(TheNumber) {
		var GoodChars = "0123456789()-/ ";
		var i = 0;
		if (TheNumber.length < 10) return (false);
					
		for (i =0; i < TheNumber.length; i++) {
			if (GoodChars.indexOf(TheNumber.charAt(i)) == -1) {
		
				return (false);
				} 
			} // End for loop
		return (true);
		}
 
 
	function formCheck2(form203)  {
			if(form203.seller_comp.value == ""){
			   if ((form203.seller_firstname1.value == "") || (form203.seller_lastname1.value == "") )  
		  		 {
	                alert ("Please enter the Seller's First Name and Last Name.")
	                form203.seller_firstname1.focus()
	                return false
	       		 } 
				
			}
			if ((form203.seller_street.value == "") || (form203.seller_city.value == "") || (form203.seller_state.value == ""))     {
	                alert ("Please enter the Seller's Street Address, City,  and State.")
	                form203.seller_street.focus()
	                return false
		        } 
	
			if ((!isNumberString(form203.seller_zip.value)) || (form203.seller_zip.value.length != 5))  {
	                alert ("Please enter the Seller's Zip Code correctly.")
	                form203.seller_zip.focus()
					return false
				}
			
					
			if ((form203.property_street.value == "") || (form203.property_city.value == "") || (form203.property_state.value == ""))     {
	                alert ("Please enter the Property's Street Address, City,  and State.")
	                form203.property_street.focus()
	                return false
		        } 
			if ((!isNumberString(form203.property_zip.value))  || (form203.property_zip.value.length != 5))  {
	                alert ("Please enter the 5 digit Property's Zip Code correctly.")
	                form203.property_zip.focus()
	                return false
		        } 
			if (form203.property_ADate.value == "")      {
	                alert ("Please enter the Accept Date and the Sold Price correctly.")
	                form203.property_ADate.focus()
	                return false
		        } 	
			if ((form203.property_SPrice.value == "") || (!isNumberString(form203.property_SPrice.value)) )     {
	                alert ("Please enter the Sold Price correctly. Only numbers are accepted")
	                form203.property_LPrice.focus()
	                return false
		        } 	
			
			if ((form203.property_LPrice.value != "") && (!isNumberString(form203.property_LPrice.value)) )     {
	                alert ("Please enter the List Price correctly. Only numbers are accepted.")
	                form203.property_LPrice.focus()
	                return false
		        } 
			
				
			if(form203.buyer_comp.value == ""){
				if ((form203.buyer_firstname1.value == "") || (form203.buyer_lastname1.value == ""))     {
	                alert ("Please enter the Buyer's First Name and Last Name.")
	                form203.buyer_firstname1.focus()
	                return false
			        } 
					
				}
			if ((form203.buyer_street.value == "") || (form203.buyer_city.value == "") || (form203.buyer_state.value == ""))     {
	                alert ("Please enter the Buyer's Street Address, City,  and State.")
	                form203.buyer_street.focus()
	                return false
		        } 
			if ((!isNumberString(form203.buyer_zip.value ) ) || (form203.buyer_zip.value.length != 5)) {
	                alert ("Please enter the 5 digit Buyer's Zip Code correctly.")
	                form203.buyer_zip.focus()
	                return false
		        } 
			if (form203.buyer_homephone.value ==""){
				alert ("Please enter the Buyer's Home Phone correctly.  Format (555)555 5555")
				form203.buyer_homephone.focus()
				return false
				}
				
			if (form203.buyer_email.value ==""){
				alert ("Please enter the Buyer's email address")
				form203.buyer_email.focus()
				}
				
				
		
			<!--- (!CheckPhoneNumber(form203.buyer_homephone.value)  )     {
		                alert ("Please enter the Buyer's Home Phone correctly. Format(555)555 5555")
		                form203.buyer_homephone.focus()
		                return false
		        } 
			--->
				
			if ((form203.list_type.value == 1) ){
				if ((form203.gr_comm_percentage.value == "") && (form203.gr_comm_dollars.value == "")){
					alert ("Please enter Gross Commission percentage or Dollars")
					form203.gr_comm_percentage.focus()
					return false
					}
				if ((form203.OB_percentage.value == "") && (form203.OB_dollars.value == "")){
					alert ("Please enter O/B Commission percentage or Dollars")
					form203.OB_percentage.focus()
					return false
					}
			  }  
			if ((form203.list_type.value == 2) ){
				if ((form203.gr_comm_percentage.value == "") && (form203.gr_comm_dollars.value == "")){
					alert ("Please enter Gross Commission percentage or Dollars")
					form203.gr_comm_percentage.focus()
					return false
					}
				if ((form203.REO_list_percentage.value == "") && (form203.REO_list_dollars.value == "")){
					alert ("Please enter REO Lisitng Agents Commission percentage or Dollars")
					form203.REO_list_percentage.focus()
					return false
					}
				if ((form203.REO_sale_percentage.value == "") && (form203.REO_sale_dollars.value == "")){
					alert ("Please enter REO Selling Agents Commission percentage or Dollars")
					form203.REO_sale_percentage.focus()
					return false
					}
			  }  
			    
	   		if ((form203.comp_percentage.value == "") && (form203.comp_dollars.value == "")){
					alert ("Please enter REO Gross percentage or Dollars")
					form203.comp_percentage.focus()
					return false
			  }
			  
			  
			 if (document.form203.order_cont.checked == true	&& document.form203.Style.selectedIndex == 0){
				alert("Please select the sytle of Order Continuity");
				document.form203.Style.focus();
				return false;
			   }
			
			if (form203.processedby.value == "")        {
	                alert ("Please enter your name.")
	                form203.processedby.focus()
	                return false
	           } 
		
			return true
				
		}
 
	function PutAddValues(form203){
		if (form203.same_address){
			form203.seller_street.value = form203.property_street.value
			form203.seller_city.value = form203.property_city.value
			form203.seller_state.value = form203.property_state.value
			form203.seller_zip.value = form203.property_zip.value
		    }
		return true;
	
		}	
		
	function getFSBOinfo(form203){
		if ((form203.list_type.value == '4') || ((form203.list_type.value == '4') && (form203.same_address))){
			if (form203.seller_comp.value == ''){
				form203.OB_compname.value = '--'
				}
			else{
				form203.OB_compname.value = form203.seller_comp.value 
			    }
				
			if (form203.seller_firstname1.value == ''){
				form203.OB_firstname.value = '--'
				form203.OB_lastname.value = '--'
				}
			else{
				form203.OB_firstname.value = form203.seller_firstname1.value
				form203.OB_lastname.value = form203.seller_lastname1.value
			    }
		    
			form203.OB_street.value = form203.seller_street.value
			form203.OB_state.value = form203.seller_state.value
			form203.OB_city.value = form203.seller_city.value
			form203.OB_zip.value = form203.seller_zip.value
			alert("Because it is a FSBO the O/B information is populated")
		  }
		  return true;
	
		}
			
		
	function getLastName(form203){
		if(form203.Seller_Salutation.value == "Mr. & Mrs."){
			form203.seller_lastname2.value = form203.seller_lastname1.value
			}
		
		return true;
		}
	
	function getLastNameBuyer(form203){
		if(form203.Buyer_Salutation.value == "Mr. & Mrs."){
			form203.buyer_lastname2.value = form203.buyer_lastname1.value
			}
		return true;
		}
	
</script> 
 
<cfinclude template="header.cfm">
<!--- <cfoutput>#firstname_value# - #lastname_value#</cfoutput> --->
<table width=95% align="center">
	<tr><td><H2>Form 203</h2></td></tr>
	<tr><td align="right"><font size=1, color="red">Fields marked with * are required fields</font></td></tr>
	<tr><td align="right"><font size=1, color="red">** indicates either/or required fields</font></td></tr>
</table>
<Form Action="form_203_action.cfm" Method="post" name="form203" onKeyPress="if(window.event.keyCode == 13) {return false}">
<table width=95% cellpadding="1" cellspacing="1" border=1 bordercolor="black" align="center">
	<tr>
		<td>		
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td>
					<table width="100%">
					<tr>
						<td>Listing File No: <INPUT TYPE="text" Name="list_file_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
						<td>MLS No.: <cfoutput><INPUT TYPE="text" Name="mls_num" size="8" value="#mls_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></cfoutput> &nbsp;&nbsp;  </td>
						<td><b>*Expected Closing Date:</b><INPUT TYPE="text" Name="exp_closeDate" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
					</tr>
					<tr>
						<td>Listing Type: &nbsp;&nbsp;&nbsp;<b><cfoutput><cfif #form.list_type# IS 1>REO List O/B Sale
							<cfelseif #form.list_type# IS 2>REO List and Sale
							<cfelseif #form.list_type# IS 3>O/B List REO Sale
							<cfelse>For Sale By Owner</cfif> </cfoutput></b>
						</td>
						<td>Company ID:  <b><cfoutput>#session.CID#</cfoutput></b></td>
						<td>Office ID:  <b><cfoutput>#session.OID# </cfoutput> <cfif session.OID EQ '41'>(Commercial)</cfif></b></td>
					</tr>	
					</table>
				</td>
			</tr>			
			</table>
		</td>
	</tr>		
	<!--- Property information section --->
	
	<tr bgcolor="C0C0C0"><td><b>  Property Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Property Info section (begins with address)  --->
				<tr>
					<td>
					<table>
						<cfoutput>
						<tr>
							<td><b>*Street Address:</b><INPUT TYPE="text" Name="property_street" size="22" value="#address_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<td> Unit No.:<INPUT TYPE="text" Name="property_unit" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td><b>*City:</b><INPUT TYPE="text" Name="property_city" size="6" value="#city_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
							<td><b>*State:</b><INPUT TYPE="text" Name="property_state" size="1" value="MI" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;  </td>
							<td><b>*ZipCode:</b><INPUT TYPE="text" Name="property_zip" size="3" value="#zip_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
						</tr>
						</cfoutput>
					</table>
					</td>
				</tr>
				
				<tr>
					<td>
						<table>
						<cfoutput>
						<tr>
							<td>List Date:<INPUT TYPE="text" Name="property_LDate" size="6" value="#DateFormat(list_date_value, 'mm/dd/yy')#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td><b>*Accept Date:</b><INPUT TYPE="text" Name="property_ADate" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>List Price: $<INPUT TYPE="text" Name="property_LPrice" size="6" value="#list_price_value#" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onKeyPress="return checkIt(event)">&nbsp;&nbsp; </td>
							<td><b>*Sold Price:</b> $<INPUT TYPE="text" Name="property_SPrice" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onKeyPress="return checkIt(event)"> </td>
						</tr>
						</cfoutput>
						</table>
					</td>
				</tr>
				</table>
		</td>
	</tr>
	
	<!--- Seller's information section --->	
	<tr bgcolor="C0C0C0"><td><b> Seller's Information</b> </td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Seller's Section  --->
				<tr>
					<td colspan=4><b>**Seller Company:</b><INPUT TYPE="text" Name="seller_comp" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;<b>OR</b></td>
				</tr>
				<tr>
					<td><select Name="Seller_Salutation">
							<option value="">--
							<option value="Mr.">Mr. 
							<option value="Mrs.">Mrs.
							<option value="Mr. & Mrs.">Mr.& Mrs.
			 				<option value="Ms.">Ms.
							
						</select>
					</td>
				
					<td align="left"><b>**First Name:</b><INPUT TYPE="text" Name="seller_firstname1" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;</td>
					<td align="left"><b>**Last Name:</b><INPUT TYPE="text" Name="seller_lastname1" size="10" onchange ="javascript:getLastName(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
<!--- 					<td align="center">Soc.Sec. No:<INPUT TYPE="text" Name="seller_SSN1" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
				</tr>
				<!--- Sellers Name if Mr and Mrs.--->
				<tr>
					<td>&nbsp;</td>
					<td>&nbsp;&nbsp;&nbsp;First Name:<INPUT TYPE="text" Name="seller_firstname2" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;</td>
					<td>&nbsp;&nbsp;&nbsp;Last Name:<INPUT TYPE="text" Name="seller_lastname2" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">  </td>
<!--- 					<td align="center"> Soc.Sec. No:<INPUT TYPE="text" Name="seller_SSN2" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
				</tr>
				<!--- Street Address Row  --->
				<tr>
					<td valign="top" colspan="3" >
						<table align="left" cellpadding="0" cellspacing="0">
							<tr>
								<td>Address same as above:<INPUT TYPE="checkbox" Name="same_address" value=1  onClick="javascript:PutAddValues(form203);getFSBOinfo(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
							<tr>
								<td>&nbsp;<b>*Street Address:</b><INPUT TYPE="text" Name="seller_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
						</table>					
					</td>
					<td width="40%" align="right" rowspan="4">
						<table align="left" cellpadding="0" cellspacing="0" border="1" >
						<!--- Gross Commissions Row --->
						<tr >
							<td><cfoutput><cfif #form.list_type# IS 1 OR #form.list_type# IS 2><b>*</b></cfif></cfoutput>Gross Comm </td>
							<td><input type="Text" name="gr_comm_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="gr_comm_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>
						<tr>
							<cfoutput>
							<cfif #form.list_type# IS 2>
							<td><b>*</b>REO List  </td><!---Comp. Dollar--->
							<td><input type="Text" name="REO_list_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="REO_list_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							<cfelseif #form.list_type# IS 1 ><td><b>*</b>Amt Pd to O/B</td>
							<td><input type="Text" name="OB_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="OB_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" > </td>
							<cfelse><td>Amt Pd to O/B</td>
							<td><input type="Text" name="OB_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="OB_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</cfif>
							</cfoutput>
						</tr>
						<tr>
							<cfoutput>
							<cfif #form.list_type# IS 2>
							<td><b>*</b>REO Sale  </td><!---Comp. Dollar--->
							<td><input type="Text" name="REO_sale_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="REO_sale_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" > </td>
							<cfelse><td><b>*</b>REO Gross</td>
							<td><input type="Text" name="comp_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="comp_dollars" size="8"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</cfif>
							</cfoutput>
						</tr>														
						<tr>
							<td>Listing Ref </td>
							<td><input type="Text" name="list_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="list_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>			
						<tr>
							<td>Selling Ref</td>
							<td><input type="Text" name="sell_percentage" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">% </td>
							<td>$<input type="text" name="sell_dollars" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
						</tr>			
																												
						</table>
					</td>
				</tr>
				<!--- City, State Row  --->
				<tr>
					<td valign="top" colspan="3" width="60%">
						<table>
							<tr>
								<td><b>*City:</b><INPUT TYPE="text" Name="seller_city" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td><b>*State:</b><INPUT TYPE="text" Name="seller_state" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td><b>*ZipCode:</b><INPUT TYPE="text" Name="seller_zip" size="4"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" onchange="javascript:getFSBOinfo(form203);">&nbsp;&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Phone, Email Row  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td>Home/Cell Phone:<INPUT TYPE="text" Name="seller_homephone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td>WorkPhone:<INPUT TYPE="text" Name="seller_workphone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
							</tr>
						</table>
					</td>	
				</tr>	
				<tr>
					<td valign="top" colspan="4">
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="seller_email" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;  </td>
								<td>Emp/Sales Ass.<INPUT TYPE="checkbox" name="seller_emp_sales" value="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<!--- <td>Home-Link:<select Name="contact_seller">
											<option value="Yes">Yes
											<option value="No">No
											</select>
								</td> --->
							</tr>
						</table>
					</td>
				</tr>		
			</table>
		</td>
	</tr>
	
	<!---    Other Information  --->
	
	<tr bgcolor="C0C0C0"><td><b>  Other Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
						<tr>
						
							<tr>
							<td>  Seller's Source:</td>
							<td>  <select Name="Seller_Source">
									<option>UNKNOWN
									<option>Internet
									<option>Floor Call/Walk IN
									<option>Referral: Past Customer
									<option>Referral: Relocation/Corporate Services
									<option>Referral: Friend/Neighbor/Relative
									<option>Referral: From REO Sales Associate
									<option>Past Customer
									<option>Relist/Extension
									<option>OpenHouse
									<option>Other Broker Expired
									<option>For Sale By Owner(FSBO)
									<option>Cold Calls
									<option>Call Nights
									<option>Social Farming: Sphere of Influence
									<option>Geographic Farming
									<option>Company Paid Ad
									<option>Personal Ad: Newspaper/Photo Guide
									<option>Personalized Sign: For Sale/Open House
									<option>Direct Mail-postcards, newsletter etc.
									<option>Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							<td>  Buyer's Source:</td>
							<td>  <select Name="Buyer_Source">
									<option>UNKNOWN
									<option>Internet
									<option>Floor Call/Walk IN
									<option>Referral: Past Customer
									<option>Referral: Relocation/Corporate Services
									<option>Referral: Friend/Neighbor/Relative
									<option>Referral: From REO Sales Associate
									<option>Past Customer
									<option>Relist/Extension
									<option>OpenHouse
									<option>Other Broker Expired
									<option>For Sale By Owner(FSBO)
									<option>Cold Calls
									<option>Call Nights
									<option>Social Farming: Sphere of Influence
									<option>Geographic Farming
									<option>Company Paid Ad
									<option>Personal Ad: Newspaper/Photo Guide
									<option>Personalized Sign: For Sale/Open House
									<option>Direct Mail-postcards, newsletter etc.
									<option>Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td>
						
							<!--- <td>  Source Of Listing/Sale:</td>
							<td>  <select Name="seller_Source">
									<option>UNKNOWN
									<option>01- Floor Call/Walk IN
									<option>02-Referral: Past Customer
									<option>03-Referral: Relocation/Corporate Services
									<option>04-Referral: Friend/Neighbor/Relative
									<option>05-Referral: From REO Sales Associate
									<option>06-Past Customer
									<option>07-Relist/Extension
									<option>08-OpenHouse
									<option>09-Other Broker Expired
									<option>10-For Sale By Owner(FSBO)
									<option>11-Cold Calls
									<option>12-Call Nights
									<option>13-Social Farming: Sphere of Influence
									<option>14-Geographic Farming
									<option>15-Company Paid Ad
									<option>16-Personal Ad: Newspaper/Photo Guide
									<option>17-Personalized Sign: For Sale/Open House
									<option>18-Direct Mail-postcards, newsletter etc.
									<option>19-Other
								</select> &nbsp;&nbsp;&nbsp;&nbsp;
							</td> --->
							<!---<td>Virtual Tour<input type="Checkbox" name="virtual_tour" value = 1>&nbsp;&nbsp;&nbsp;&nbsp; </td>--->
							<!--- <td>Home Warranty<input type="Checkbox" name="home_warranty" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>Past Title<input type="Checkbox" name="past_title" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
						</tr>	
						</table>
					</td>	
				</tr>
				<tr>
					<td >
						<table>
						<tr>
							<td>Home Warranty<input type="Checkbox" name="home_warranty" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
							<td>Past Title<input type="Checkbox" name="past_title" value = 1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> &nbsp;&nbsp;&nbsp;</td>
							<td>Order Continuity<input type="Checkbox" name="order_cont" value = 1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
							<td> Style:
							 	<select Name="Style">
									<option>None
									<option>Humorous Style
									<option>Traditional Style
									
								</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
							
						</tr>	
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
						<td >Financing:
								 <select Name="financing">
									<option>Mortgage
									<option>Cash
									<option>Land Contract
								</select>&nbsp;&nbsp;&nbsp;&nbsp;
							</td>
						<tr>
							<td >If Mortgage, Mortgage Co.<input type="text" name="mortgage_co" size=12 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Rep.Name:<input type="text" name="mortgage_rep" size=12 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Phone:<input type="text" name="mortgage_phone" size=10 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							<td>Fax:<input type="text" name="mortgage_fax" size=10 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
						</tr>	
						</table>
					</td>
				</tr>
			</table>
		</td>	
	</tr>
	
	<!--- Buyer's Information begins --->
	
	<tr bgcolor="C0C0C0"><td><b>  Buyer's Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the Buyer's Section (begins with name)  --->
				<tr>
					<td>
						<table>
							<tr>
								<td colspan=3><b>**Buyer Company:</b><INPUT TYPE="text" Name="buyer_comp" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;<b>OR</b></td>
							</tr>
							<tr>
								<td><select Name="Buyer_Salutation">
										<option value="">--
										<option value="Mr.">Mr. 
										<option value="Mrs.">Mrs.
										<option value="Mr. & Mrs.">Mr.& Mrs.
										<option value="Ms.">Ms.
										
									</select>
								</td>
								<td valign="top"><b>**First Name:</b><INPUT TYPE="text" Name="buyer_firstname1" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td valign="top"><b>**Last Name:</b><INPUT TYPE="text" Name="buyer_lastname1" size="12" onchange ="javascript:getLastNameBuyer(form203);" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
<!--- 								<td>Soc. Sec. No:<INPUT TYPE="text" Name="buyer_SSN1" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td valign="top">&nbsp;&nbsp;&nbsp;First Name:<INPUT TYPE="text" Name="buyer_firstname2" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td  valign="top">&nbsp;&nbsp;&nbsp;Last Name:<INPUT TYPE="text" Name="buyer_lastname2" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Soc. Sec. No:<INPUT TYPE="text" Name="buyer_SSN2" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td> --->
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td><b>*Street Address:</b><INPUT TYPE="text" Name="buyer_street" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Unit No.:<INPUT TYPE="text" Name="buyer_unit" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp;   </td>
								<td>Emp/Sales Ass.<INPUT TYPE="checkbox" name="buyer_emp_sales" value="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- City, State Row  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td><b>*City:</b><INPUT TYPE="text" Name="buyer_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*State:</b><INPUT TYPE="text" Name="buyer_state" size="5" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*ZipCode:</b><INPUT TYPE="text" Name="buyer_zip" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td><b>*Contact Email:</b><INPUT TYPE="text" Name="buyer_email" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Phone,  --->
				<tr>
					<td valign="top" colspan="3">
						<table>
							<tr>
								<td colspan="2"><b>*Home/Cell Phone:</b><INPUT TYPE="text" Name="buyer_homephone" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td>Work Phone:<INPUT TYPE="text" Name="buyer_workphone" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<!--- <td>Home-Link:<select Name="contact_buyer">
											<option value="Yes">Yes
											<option value="No">No
											</select>
								</td> --->
							</tr>
						</table>
					</td>	
				</tr>	
			</table>
		</td>
	</tr>
	
	<!--- Listing Agent Information --->
	
	<!---REO List O/B Sale OR REO List and Sale--->
	<cfif (#form.list_type# IS 1) OR (#form.list_type# IS 2) >
	<tr bgcolor="C0C0C0"><td><b>  Listing Agent - REO Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<cfset number_listing_agents = #form.list_agents#>
				<cfset number = 1>
				<cfloop from="1" to="#number_listing_agents#" index="number">
				<!--- First Row in the REOAgent Section (begins with Office #)  --->
				<tr>
					<td >
						<cfoutput>
						<table width="100%" ><!--- <cfif number EQ 1>value="#payno_value#"</cfif><cfif #number# EQ 1>value="#office_id_value#" </cfif> --->
							<tr>
								<td>#number#.</td>
								<td><b>*Pay No:</b><INPUT TYPE="text" Name="LREO#number#_Paynum" size="1" onChange="javascript:AgentInfo(form203)"  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Office No.</b>:<INPUT TYPE="text" Name="LREO#number#_Officenum" size="1"    class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="LREO#number#_firstname" size="8" <cfif number EQ 1>value="#firstname_value#"</cfif> class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="LREO#number#_lastname" size="8" <cfif number EQ 1>value="#lastname_value#"</cfif> class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Assoc port:</b><INPUT TYPE="text" Name="LREO#number#_assoport" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" >$ OR % </td>
							</tr>
						</table>
						</cfoutput>
					</td>
				</tr>	
				<!--- </cfif> --->
			
				</cfloop>
			
				<!--- Port. Information for REO1 --->		
				<tr>
					<td colspan="3">
						<table>
							<tr>
<!--- 								<td valign="top">Gr. Comm. Port.:<INPUT TYPE="text" Name="LREO_grcommport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td> --->
								<td valign="top">Ref. Port.:<INPUT TYPE="text" Name="LREO_refport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td valign="top">Corp. Ref.:<INPUT TYPE="checkbox" Name="LREO_corpref" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Contact Client:<INPUT TYPE="checkbox" Name="LREO_concl" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	<!--- O/B list and REO sale--->
	<cfelse>
	<tr bgcolor="C0C0C0"><td><b>  Listing Agent - O/B Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the O/B Section (begins with name)  --->
				<tr>
					<td>
						<table><cfoutput>
							<tr>
								<td><b>*Comp. Name:</b><INPUT TYPE="text" Name="OB_compname" size="35" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=" "> </td><!---#OB_compname_value# --->
								<td><b>*First Name:</b><INPUT TYPE="text" Name="OB_firstname" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=""></td><!---#OB_firstname_value#  --->
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="OB_lastname" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'" value=""></td><!---#OB_lastname_value#  --->
								<td>O/B No.:<INPUT TYPE="text" Name="OB_num" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td> 
							</tr></cfoutput>
						</table>
					</td>
				</tr>	
				<!--- Address row for O/B --->		
				<tr>
					<td>
						<table>
							<tr>
								<td>*Street:<INPUT TYPE="text" Name="OB_street" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Suite/Unit:<INPUT TYPE="text" Name="OB_suite" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*City:<INPUT TYPE="text" Name="OB_city" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*State:<INPUT TYPE="text" Name="OB_state" size="3" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
								<td>ZipCode:<INPUT TYPE="text" Name="OB_zip" size="5" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;&nbsp; </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- contact info for O/B --->
				<tr>
					<td>
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="OB_email" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Phone:<INPUT TYPE="text" Name="OB_phone" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Fax:<INPUT TYPE="text" Name="OB_fax" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Contact:<INPUT TYPE="text" Name="OB_contact" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	</cfif>
	<!--- Listing Referral Information--->
	<tr bgcolor="C0C0C0"><td><b>  Listing Referral Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
							<tr>
								<td>Name:<INPUT TYPE="text" Name="LRef_name" size="15" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Street:<INPUT TYPE="text" Name="LRef_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Comp. Name:<INPUT TYPE="text" Name="LRef_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
								<td>City:<INPUT TYPE="text" Name="LRef_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>State:<INPUT TYPE="text" Name="LRef_state" size="3" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Zip:<INPUT TYPE="text" Name="LRef_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Phone:<INPUT TYPE="text" Name="LRef_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	
	<!--- Selling Agent Information --->
	
	<!--- REO List and Sale  OR  O/B List REO Sale--->
	<cfif (#form.list_type# IS 2) OR (#form.list_type# IS 3) OR (#form.list_type# IS 4) >
	<tr bgcolor="C0C0C0"><td><b>  Selling Agent - REO Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<cfset number_selling_agents = #form.sell_agents#>
				<cfset number = 1>
				<cfloop from="1" to="#number_selling_agents#" index="number">
				<!--- First Row in the REOAgent Section (begins with Office #)  --->
				<tr>
					<td>
						<cfoutput>
						<table width=100%>
							<tr>
								<td>#number#.</td>
								<td><b>*Pay No.:</b><INPUT TYPE="text" Name="SREO#number#_Paynum" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Office No.:</b><INPUT TYPE="text" Name="SREO#number#_Officenum" size="1" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="SREO#number#_firstname" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="SREO#number#_lastname" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*Assoc. port.:</b><INPUT TYPE="text" Name="SREO#number#_assoport" size="2" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">$ OR % </td>
							</tr>
						</table>
						</cfoutput>
					</td>
				</tr>	
				</cfloop>
			
				<!--- Port. Information for REO1 --->		
				<tr>
					<td>
						<table>
							<tr>
<!--- 								<td valign="top">Gr. Comm. Port.:<INPUT TYPE="text" Name="SREO_grcommport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td> --->
								<td valign="top">Ref. Port.:<INPUT TYPE="text" Name="SREO_refport" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp; </td>
								<td valign="top">Corp. Ref.:<INPUT TYPE="checkbox" Name="SREO_corpref" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
<!--- 								<td valign="top">Contact Client:<INPUT TYPE="checkbox" Name="SREO_concl" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td> --->
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	<cfelse>
	<tr bgcolor="C0C0C0"><td><b>  Selling Agent - O/B Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<!--- First Row in the O/B Section (begins with name)  --->
				<tr>
					<td>
						<table>
							<tr>
								<td><b>*Comp. Name:</b><INPUT TYPE="text" Name="OB_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td><b>*First Name:</b><INPUT TYPE="text" Name="OB_firstname" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><b>*Last Name:</b><INPUT TYPE="text" Name="OB_lastname" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								 <td>O/B No.:<INPUT TYPE="text" Name="OB_num" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td> 
							</tr>
						</table>
					</td>
				</tr>	
				<!--- Address row for O/B --->		
				<tr>
					<td>
						<table>
							<tr>
								<td>*Street:<INPUT TYPE="text" Name="OB_street" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Suite/Unit:<INPUT TYPE="text" Name="OB_suite" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*City:<INPUT TYPE="text" Name="OB_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>*State:<INPUT TYPE="text" Name="OB_state" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
								<td>*ZipCode:<INPUT TYPE="text" Name="OB_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;&nbsp;  </td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- contact info for O/B --->
				<tr>
					<td>
						<table>
							<tr>
								<td>Email:<INPUT TYPE="text" Name="OB_email" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Phone:<INPUT TYPE="text" Name="OB_phone" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Fax:<INPUT TYPE="text" Name="OB_fax" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp; </td>
								<td>Contact:<INPUT TYPE="text" Name="OB_contact" size="12" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
	</cfif>
	<!--- Selling Referral Information--->
	<tr bgcolor="C0C0C0"><td><b>  Selling Referral Information </b></td></tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table>
							<tr>
								<td>Name:<INPUT TYPE="text" Name="SRef_name" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Street:<INPUT TYPE="text" Name="SRef_street" size="25" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Comp. Name:<INPUT TYPE="text" Name="SRef_compname" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table>
							<tr>
								<td>City:<INPUT TYPE="text" Name="SRef_city" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>State:<INPUT TYPE="text" Name="SRef_state" size="4" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Zip:<INPUT TYPE="text" Name="SRef_zip" size="6" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
								<td>Phone:<INPUT TYPE="text" Name="SRef_num" size="8" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'">&nbsp;&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>	
 
	<!--- Disclosure Statement --->
	
	<tr bgcolor="C0C0C0" ><td align="center"><b>  Disclosure Statement Certification </b></td></tr>	
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>&nbsp;</tr>
				<tr>
					<td align="center">  According to Company Policy, the following documents are on file with respect to the above referenced property. </td>
				</tr>
				<tr><td><hr></td></tr>
				
				<!--- Disclosure Information --->
				<tr>
					<td>
						<table width="450" border="0">
							<tr>
								<td >&nbsp;</td>
								<td align="center" colspan="2"><u>Other Broker's Side</u></td>
								<td>&nbsp;</td>
								<td align="center"colspan="2"><u>Real Estate One's Side</u></td>
							</tr>
		
							<tr>
								<td>&nbsp;</td>
								<td align="center" colspan="1">  Listing </td>
								<td colspan="1">  Sale </td>
								<td>&nbsp;</td>
								<td align="center" colspan="1">  Listing </td>
								<td colspan="1">  Sale </td>
							</tr>
							<tr>
								<td>  Agency Disclosure </td>
								<td align="center"><input type="checkbox" name="Agency_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Agency_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Agency_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Agency_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							
							<!--- added on 6/30/2008 --->
							<tr>
								<td>  RESPA Disclosure </td>
								<td align="center"><input type="checkbox" name="RESPA_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="RESPA_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="RESPA_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="RESPA_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							
							<tr>
								<td>  Seller's Disclosure </td>
								<td align="center"><input type="checkbox" name="Seller_Broker_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Seller_Broker_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Seller_REO_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="Seller_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							<tr>
								<td>  Lead Paint Disclosure </td>
								<td align="center"><input type="checkbox" name="LeadPaint_Broker_Listing" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="LeadPaint_Broker_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="LeadPaint_REO_Listing" value=1  class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
								<td><input type="checkbox" name="LeadPaint_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
							<tr>
								<td>  Buyer Agency Contract </td>
								<td align="center"><input type="checkbox" name="Buyer_Broker_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Buyer_Broker_Sale" value=1 disabled></td>
								<td>&nbsp;</td>
								<td align="center"><input type="checkbox" name="Buyer_REO_Listing" value=1 disabled></td>
								<td><input type="checkbox" name="Buyer_REO_Sale" value=1 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<tr bgcolor="C0C0C0"><td align="center"><b>	Comments/Special Instructions</b>
			</td></tr>
				<tr>
					<td>
						<table width="100%">
							<tr>
								<td><TextArea name="Comments" value="Comments" cols=65 rows=5 class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></textarea></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--- Signature and Date --->
				<tr>
					<td>
						<table width="100%">
							<tr>
								<td><b>*Processed By:</b>&nbsp;&nbsp;<input type="text" name="processedby" size="20" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"> </td>
								<td>Date Processed:&nbsp;&nbsp;<cfoutput><input type="text" name="date_processed" value="#DateFormat(Now(), 'mm/dd/yy')#" size="10" class="TextBox" onfocus="this.className='TextBoxSelected';select()" onblur="this.className='TextBox'"></cfoutput> </td>
							</tr>
						</table>
					</td>
				</tr>
				
			<tr>
				<td>
				<table width="100%">
				<tr>
					<td align="center"><input type="submit" name="Save_Close_Btn" value="Save and Close"  onClick="return formCheck(form203)" > </td>
					<td align="center"><input type="submit" name="Completed_Btn" value="Submit Completed/Updated Form" onClick="return formCheck2(form203)" > </td>
					<td  align="center"><input type="RESET" value="Clear Form"> </td>
					<cfoutput>
					<input type="HIDDEN" value="#form.list_type#" name="list_type">
					<input type="HIDDEN" value="#form.sell_agents#" name="sell_agents">
					<input type="HIDDEN" value="#form.list_agents#" name="list_agents">
					
					<!--- <input type="HIDDEN" value="#URL.UID#" name="UID">--->
					<input type="HIDDEN" value="#session.CID#" name="CID">
					<input type="HIDDEN" value="#session.OID#" name="OID"> 
	
					</cfoutput>
				</tr>
				</table>
			</td>
		</tr>
	
</table>
 
</form>
 
</body>
</html>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:
756:
757:
758:
759:
760:
761:
762:
763:
764:
765:
766:
767:
768:
769:
770:
771:
772:
773:
774:
775:
776:
777:
778:
779:
780:
781:
782:
783:
784:
785:
786:
787:
788:
789:
790:
791:
792:
793:
794:
795:
796:
797:
798:
799:
800:
801:
802:
803:
804:
805:
806:
807:
808:
809:
810:
811:
812:
813:
814:
815:
816:
817:
818:
819:
820:
821:
822:
823:
824:
825:
826:
827:
828:
829:
830:
831:
832:
833:
834:
835:
836:
837:
838:
839:
840:
841:
842:
843:
844:
845:
846:
847:
848:
849:
850:
851:
852:
853:
854:
855:
856:
857:
858:
859:
860:
861:
862:
863:
864:
865:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
876:
877:
878:
879:
880:
881:
882:
883:
884:
885:
886:
887:
888:
889:
890:
891:
892:
893:
894:
895:
896:
897:
898:
899:
900:
901:
902:
903:
904:
905:
906:
907:
908:
909:
910:
911:
912:
913:
914:
915:
916:
917:
918:
919:
920:
921:
922:
923:
924:
925:
926:
927:
928:
929:
930:
931:
932:
933:
934:
935:
936:
937:
938:
939:
940:
941:
942:
943:
944:
945:
946:
947:
948:
949:
950:
951:
952:
953:
954:
955:
956:
957:
958:
959:
960:
961:
962:
963:
964:
965:
966:
967:
968:
969:
970:
971:
972:
973:
974:
975:
976:
977:
978:
979:
980:
981:
982:
983:
984:
985:
986:
987:
988:
989:
990:
991:
992:
993:
994:
995:
996:
997:
998:
999:
1000:
1001:
1002:
1003:
1004:
1005:
1006:
1007:
1008:
1009:
1010:
1011:
1012:
1013:
1014:
1015:
1016:
1017:
1018:
1019:
1020:
1021:
1022:
1023:
1024:
1025:
1026:
1027:
1028:
1029:
1030:
1031:
1032:
1033:
1034:
1035:
1036:
1037:
1038:
1039:
1040:
1041:
1042:
1043:
1044:
1045:
1046:
1047:
1048:
1049:
1050:
1051:
1052:
1053:
1054:
1055:
1056:
1057:
1058:
1059:
1060:
1061:
1062:
1063:
1064:
1065:
1066:
1067:
1068:
1069:
1070:
1071:
1072:
1073:
1074:
1075:
1076:
1077:
1078:
1079:
1080:
1081:
1082:
1083:
1084:
1085:
1086:
1087:
1088:
1089:
1090:
1091:
1092:
1093:
1094:
1095:
1096:
1097:
1098:
1099:
1100:
1101:
1102:
1103:
1104:
1105:
1106:
1107:
1108:
1109:
1110:
1111:
1112:
1113:
1114:
1115:
1116:
1117:
1118:
1119:
1120:
1121:
1122:
1123:
1124:
1125:
1126:
1127:
1128:
1129:
1130:
1131:
1132:
1133:
1134:
1135:
1136:
1137:
1138:
1139:
1140:
1141:
1142:
1143:
1144:
1145:
1146:
1147:
1148:
1149:
1150:
1151:
1152:
1153:
1154:
1155:
1156:
1157:
1158:
1159:
1160:
1161:
1162:
1163:
1164:
1165:
1166:
1167:
1168:
1169:
1170:
1171:
1172:
1173:
1174:
1175:
1176:
1177:
1178:
1179:
1180:
1181:
1182:
1183:
1184:
1185:
1186:
1187:
1188:
1189:
1190:
1191:
1192:
1193:
1194:

Select allOpen in new window

 

by: nmcdermaidPosted on 2009-10-05 at 02:57:42ID: 25493708

Did you try my original suggestion?

I see that CFQUERY is cold fusion. I have asked that this be added to the cold fusion area.

 

by: nmcdermaidPosted on 2009-10-05 at 03:00:47ID: 25493729

Looking at this page, you can add a DEBUG tag to output the query being sent. That will help a lot.

http://www.geocities.com/SoHo/Cafe/8032/2_ColdFusion_Tags/lr2_073.htm

 

by: azadisaryevPosted on 2009-10-05 at 04:01:21ID: 25494046

i am almost 100% sure that the error is generated not by the page you posted code for, but by your form_203_action.cfm (form's action) page.

as others have said, there is no query in the code you posted that would throw the error you are seeing.


Azadi

 

by: duncancummingPosted on 2009-10-05 at 17:49:59ID: 25501155

I would rewrite this line:
<cfif parameterExists(form.mls_num) AND #form.mls_num# NEQ ''>

to:
<cfif StructKeyExists(form, "mls_num") AND Len(Trim(form.mls_num))>

The first line should have been fine though.

I would also change the query to this.  Basically replace the SELECT * with a list of the column names you actually require.  And use cfqueryparam around your form value.  Please check the documentation on cfqueryparam and choose the correct CFSQLType.  You could also add in MaxLength and Null attributes if applicable.

<cfquery name="GetRecordByMLS" datasource="#gDSN#" maxrows="1">
SELECT agentName_MLS, mls, address, city, state, zip, date_added, list_price, REO_listing, officename_MLS
FROM all_listings_new
WHERE mls = <cfqueryparam value="#form.mls_num#" CFSQLType="CF_SQL_VARCHAR">
</cfquery>
                                              
1:
2:
3:
4:
5:

Select allOpen in new window

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...