I'm having a weird issue. I am using ASP classic and some javascript in an XHTML page. My page seems to load fine in FireFox but IE takes forever to load and in the status bar it says it has OVER 4 THOUSAND items to download and ticks them off one by one as they load. I've discovered that they are the elements in the form's controls like dropdowns and what not, but I've never seen it take so long to render a page like this.

I'm using CSS and it not tables. The drop downs are not populated using a record set.

Any ideas?
Here is a link to an example: http://cbharper.com/realtor/web4/listings/search.asp?a_id=456549&prop_type=RES

This page only has 300 or so : http://cbharper.com/realtor/web4/default.asp?a_id=456549

Thanks for taking the time to look at this.
Tony

I found that part of the problem is the way I am checking cookie values via asp to retain form selected values. I removed this but it still takes forever to load the form and then the page.
I will post the code separately. First the old way with the asp cookie check then with out.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<!--#include file="../Connections/agentdata.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<% On Error Resume Next %>



<!-- search head stuff goes here -->
<%
dim mycookiename 
mycookiename = Request.QueryString("a_id")
'This is the cookie factory'

'first test if the search should be cleared'
if Request.QueryString("s")="o" THen 
'if so then clear then cookies'
Response.Cookies(mycookiename) ("qs")=""
Response.Cookies(mycookiename) ("list_no")=""
Response.Cookies(mycookiename) ("ivr")=""
Response.Cookies(mycookiename) ("a_id")=Request.QueryString("a_id")
Response.Cookies(mycookiename) ("mls")=""
Response.Cookies(mycookiename) ("city")=""
Response.Cookies(mycookiename) ("prop_type")=""
Response.Cookies(mycookiename) ("price_low")=""
Response.Cookies(mycookiename) ("price_high")=""
Response.Cookies(mycookiename) ("sqft_low")=""
Response.Cookies(mycookiename) ("sqft_high")=""
Response.Cookies(mycookiename) ("beds_low")=""
Response.Cookies(mycookiename) ("beds_high")=""
Response.Cookies(mycookiename) ("baths_low")=""
Response.Cookies(mycookiename) ("baths_high")=""
Response.Cookies(mycookiename) ("hfbaths_low")=""
Response.Cookies(mycookiename) ("hfbaths_high")=""
Response.Cookies(mycookiename) ("school_dist")=""
Response.Cookies(mycookiename) ("subdivision")=""
Response.Cookies(mycookiename) ("zip")=""
Response.Cookies(mycookiename) ("acreage_low")=""
Response.Cookies(mycookiename) ("acreage_high")=""
Response.Cookies(mycookiename) ("In Ground Pool")=""
Response.Cookies(mycookiename) ("Above Ground Pool")=""
Response.Cookies(mycookiename) ("Hot Tub")=""
Response.Cookies(mycookiename) ("Pool / Spa")=""
Response.Cookies(mycookiename) ("Garage Spaces")=""
Response.Cookies(mycookiename) ("age_low")=""
Response.Cookies(mycookiename) ("age_high")=""
Response.Cookies(mycookiename) ("hoa")=""
Response.Cookies(mycookiename) ("multi_photos")=""
Response.Cookies(mycookiename) ("One Story")=""
DIM myqs  
myqs  = "" 
DIM mylist_no  
mylist_no  = "" 
DIM myivr  
myivr  = "" 
DIM mya_id  
mya_id  =Request.QueryString("a_id")
DIM mymls  
mymls  = "" 
DIM mycity  
mycity  = "" 
DIM myprop_type  
myprop_type  = Request.QueryString("prop_type")
DIM myprice_low  
myprice_low  = "" 
DIM myprice_high  
myprice_high  = "" 
DIM mysqft_low  
mysqft_low  = "" 
DIM mysqft_high  
mysqft_high  = "" 
DIM mybeds_low  
mybeds_low  = "" 
DIM mybeds_high  
mybeds_high  = "" 
DIM mybaths_low  
mybaths_low  = "" 
DIM mybaths_high  
mybaths_high  = "" 
DIM myhfbaths_low  
myhfbaths_low  = "" 
DIM myhfbaths_high  
myhfbaths_high  = "" 
DIM myschool_dist  
myschool_dist  = "" 
DIM mysubdivision  
mysubdivision  = "" 
DIM myzip  
myzip  = "" 
DIM myacreage_low  
myacreage_low  = "" 
DIM myacreage_high  
myacreage_high  = "" 
DIM myingroundpool  
myingroundpool  = "" 
DIM myabovegroundpool  
myabovegroundpool  = "" 
DIM Myhottub  
Myhottub  = "" 
DIM Mypoolspa  
Mypoolspa  = "" 
DIM mygaragespaces  
mygaragespaces  = "" 
DIM myage_low  
myage_low  = "" 
DIM myage_high  
myage_high  = "" 
DIM myhoa  
myhoa  = "" 
DIM mymulti_photos  
mymulti_photos  = "" 
DIM myone_story  
myone_story  = "" 


End if 
%>
<%
'keep the search criteria'
if (Request.QueryString("prop_type") > " ") then
myprop_type = Request.QueryString("prop_type")
Response.Cookies(mycookiename)("prop_type") = Request.QueryString("prop_type")
else 
myprop_type = Request.Cookies(mycookiename)("prop_type")
End If 
%>

<%
myqs = Request.Cookies(mycookiename)("qs")
mylist_no = Request.Cookies(mycookiename)("list_no")
myivr = Request.Cookies(mycookiename)("ivr")
mya_id = Request.Cookies(mycookiename)("a_id")
mymls = Request.Cookies(mycookiename)("mls")
mycity = Request.Cookies(mycookiename)("city")
myprice_low = Request.Cookies(mycookiename)("price_low")
myprice_high = Request.Cookies(mycookiename)("price_high")
mysqft_low = Request.Cookies(mycookiename)("sqft_low")
mysqft_high = Request.Cookies(mycookiename)("sqft_high")
mybeds_low = Request.Cookies(mycookiename)("beds_low")
mybeds_high = Request.Cookies(mycookiename)("beds_high")
mybaths_low = Request.Cookies(mycookiename)("baths_low")
mybaths_high = Request.Cookies(mycookiename)("baths_high")
myhfbaths_low = Request.Cookies(mycookiename)("hfbaths_low")
myhfbaths_high = Request.Cookies(mycookiename)("hfbaths_high")
myschool_dist = Request.Cookies(mycookiename)("school_dist")
mysubdivision = Request.Cookies(mycookiename)("subdivision")
myzip = Request.Cookies(mycookiename)("zip")
myacreage_low = Request.Cookies(mycookiename)("acreage_low")
myacreage_high = Request.Cookies(mycookiename)("acreage_high")
myingroundpool = Request.Cookies(mycookiename)("In Ground Pool")
myabovegroundpool = Request.Cookies(mycookiename)("Above Ground Pool")
myhottub = Request.Cookies(mycookiename)("Hot Tub")
mypoolspa = Request.Cookies(mycookiename)("Pool / Spa")
mygaragespaces = Request.Cookies(mycookiename)("Garage Spaces")
myage_low = Request.Cookies(mycookiename)("age_low")
myage_high = Request.Cookies(mycookiename)("age_high")
myhoa = Request.Cookies(mycookiename)("hoa")
mymulti_photos = Request.Cookies(mycookiename)("multi_photos")
myone_story = Request.Cookies(mycookiename)("One Story")

%>
<!-- Record set stuff goes here -->


<meta name="description" content="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%> REALTOR&reg;,&nbsp;<%=(rs_agentdata.Fields.Item("DESIGNATIONS").Value)%>&nbsp;(<%=LEFT(rs_agentdata.Fields.Item("AgentPhone").Value,3)%>)<%=MID(rs_agentdata.Fields.Item("AgentPhone").Value,4,3)%>-<%=MID(rs_agentdata.Fields.Item("AgentPhone").Value,7,4)%>&nbsp;&lsquo;<%=(rs_agentdata.Fields.Item("SLOGAN").Value)%>&rsquo;" />
<meta name="keywords" content="<%=(rs_css.Fields.Item("KeyWords").Value)%>" />
<title>Property Search <%=(rs_agentdata.Fields.Item("DomainURL").Value)%>, <%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&amp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%>REALTOR&reg;</title>

<script type="text/javascript" language="javascript" src="/realtor/web4/scripts/common_2008_6_20.js"></script>
<script language="javascript" type="text/javascript">
// Does test for JavaScript Support 
function checkJavaScriptValidity() 

{
document.getElementById("big_wrapper").style.visibility = 'visible';
document.getElementById("jsDisabled").style.visibility = 'hidden';

}

</script>

<!--#include virtual="/realtor/web4/scripts/common.asp" -->


<%
Dim CssPath
CssPath = "../css/" 
CssPath = CssPath+(rs_css.Fields.Item("path").Value)
CssPath = CssPath+"/internal.css.asp?a_id="
CssPath= CssPath+Request.QueryString("a_id")
%>

<script language="JavaScript" src="/realtor/web4/scripts/motionpack.js"></script>
<style type="text/css">
<!--
.search_iframe h4 {
	margin-top: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: thin;
	border-left-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #11567B;
	margin-right: 10px;
	margin-bottom: 10px;
}
.search_headers {
	font-size: 11px;
	font-weight: bolder;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	margin: 0pt 0pt 20pt;
}
#big_wrapper	{
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	width: 500px;
	margin-left:0px;
	text-align: left;
}
.data_caption {
	font-size: 11px;
	font-weight: bolder;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}
#subdivision	{
	width: 40px;
}
#iframe_wrapper{
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	text-align: left;
}
.left_border	{
	border-left-width: thin;
	border-left-style: solid;
	border-left-color: #CCCCCC;
}
#qs_div {
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
#subdivision{
	width: 140px;
}
#basic_search_container{
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
#advance_search_container {
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
.basic_text	{
	font-size: 11px;
	display: inline;
}
.make_right	{
	text-align: right;
	vertical-align: bottom;
	padding-right: 10px;
}
.smaller_print	{
font-size: 9px;
}
.quick_search {
	float:left;
}
.clear	{
	clear: both;
}
.off {
	display:none;
}
.on {
	display:block;
	margin:10px 30px;
	text-align:justify;
	color:#333333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
}
.float_right	{
	float: right;
	margin-right: 10px;
	margin-top: 25px;
}

-->
</style>
<link rel="stylesheet" type="text/css" media="all" href="<%=CssPath%>" />

	<!--[if IE]>
		<style type="text/css">
			#nav li ul { margin-left: -2px; }//use the variable vAgent_website_choices.ie_hack_code //
		</style>
	<![endif]-->	
</head>
<body onload="checkJavaScriptValidity()">
	<div id="container">
		<div id="wrapper">
			<div id="header">
				<div id="header_line">						<h1><a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">
							<% If rs_agentdata.Fields.Item("DisplayTeamName").Value <> 0 Then %>
							<% =(rs_agentdata.Fields.Item("TeamName").Value)%>
							<% Else %>
							<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%>
							<% END IF %>
					</a></h1>				
				</div>
				<div id="header_content">
					<!-- This portion should be hidden for the left menu and shown for the top menu templates start --><div id="realtor_photo_top" class="top_nav_style">
                    	<div id="photo_1" ><img class="photo" src="http://cbharper.com/photos/agents/rounded/<%=(rs_css.Fields.Item("agent_id").Value)%>.jpg" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /></div>
                        <div id="frame_1" ><img src="/realtor/web4/images/<%=(rs_css.Fields.Item("path").Value)%>/agent_frame.gif" width="188" height="234" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /><!--This agent_fram.gif needs to do whatever looks correct for the template --></div>
							</div>
					<h2 class="top_nav_style">&quot;<%=stripHTML(rs_agentdata.Fields.Item("SLOGAN").Value)%>&quot;</h2>
					<div id="left_nav" class="left_nav_style">
						<ul id="l_nav">
							<li>
								<a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">HOME</a>							</li>
							<li>
								<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">CONTACT</a>
								<ul>
									<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Contact</a></li>
									<li><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">About Me</a></li>
									<% IF (rs_css.Fields.Item("testimonials").Value) = true Then%>
									<li><a href="/realtor/web4/testimonials.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Testimonials</a></li>
									<% End If%>
								</ul>
							</li>
							<li>
								<a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">PROPERTY SEARCH</a>
								<ul>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=RES">Residential</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=COND">Condo</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=MUL">Multi-Family</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=LAL">Farm &amp; Land</a></li>
								</ul>
							</li>
								<% If Not rs_featured_listings.EOF Or Not rs_featured_listings.BOF Then %>
							<li>
								<a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">FEATURED PROPERTIES</a>
								<ul>
									<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">Featured</a></li>
									<% If 1 =2 Then 'Taken out till we get the sold data figured out%>
									<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=sold">Sold</a></li>
									<% End If ' end rs_count_sold_listings.EOF Or Not rs_count_sold_listings.BOF' %>	
								</ul>
							</li>
								<% End If ' end Not rs_featured_listings.EOF Or NOT rs_featured_listings.BOF '%>
							<li>
								<a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">BUYERS</a>
								<ul>
									<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
									<li>
									<a href="http://www.netmovein.com/home/landscape?jpid=SecureHome&cid=
									<% If (rs_agentdata.Fields.Item("location").Value) = "NW" Then %>82277<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NC/1604" Then %>82171<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NE" Then %>81519<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "Stone Oak" Then %>81526<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NB" Then %>82278<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "Alamo Ranch" Then %>95555<% End If %>
										" target="_blank">Mortgage Financing</a></li>
									<li><a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Property Search</a></li>
									<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Buyer Tips</a></li>
								</ul>
							</li>
							<li>
								<a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">SELLERS</a>
								<ul>
									<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
									<li><a href="/realtor/web4/sellers/power-of-partnership.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">The Power Of Partnership</a></li>
									<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">What&rsquo;s My Home Worth</a></li>
									<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Sellers Tips</a></li>
							  </ul>
							</li>
							<li>
								<a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">USEFUL INFO</a>
								<ul>
										<%if not ISNULL(rs_css.Fields.Item("custom_link1_text").Value) THEN %>
									<li><a href="<%=(rs_css.Fields.Item("custom_link1_url").Value)%>"><%=(rs_css.Fields.Item("custom_link1_text").Value)%></a></li>
										<% End If %>
										<% IF (rs_css.Fields.Item("video_subscriber").Value) = true Then%>
									<li><a href="/realtor/web4/videos.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Videos</a></li>
										<% End IF %>
									<li><a href="/realtor/web4/useful-info/useful-links.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Helpful Links</a></li>
									<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Buyers</a></li>
									<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Sellers</a></li>
									<li><a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Useful Information</a></li>
								</ul>
							</li>
						</ul>
					</div><!-- left_nav -->
					<!-- This portion should be hidden for the left menu and shown for the top menu templates end -->
					<!-- This portion should be shown for the left menu and hidden for the top menu templates start -->
					<div id="header_right" class="left_nav_style"><div id="realtor_photo_left">
                        	<div id="photo" ><img class="photo" src="http://cbharper.com/photos/agents/198X244/<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>.jpg" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /></div>
                            <div id="frame" ><img class="frame" src="/realtor/web4/images/<%=(rs_css.Fields.Item("path").Value)%>/agent_frame.png" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>"  /></div>
                         </div>
						<h2>&quot;<%=stripHTML(rs_agentdata.Fields.Item("SLOGAN").Value)%>&quot;</h2>
					</div><!-- header_right -->
					<!-- This portion should be shown for the left menu and hidden for the top menu templates end -->
				</div><!-- header_content -->
			</div>
	    <!-- header -->
			<!-- This portion should be hidden for the left menu and shown for the top menu templates start -->
			<div id="main_nav"  class="top_nav_style">
				<ul id="t_nav">
					<li>
						<a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">HOME</a>
					</li>
					<li>
						<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">CONTACT</a>
						<ul>
							<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Contact</a></li>
							<li><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">About Me</a></li>
							<% IF (rs_css.Fields.Item("testimonials").Value) = true Then%>
							<li><a href="/realtor/web4/testimonials.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Testimonials</a></li>
							<% End If%>
						</ul>
				  </li>
					<li>
						<a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">PROPERTY SEARCH</a>
						<ul>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=RES">Residential</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=COND">Condo</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=MUL">Multi-Family</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=LAL">Farm &amp; Land</a></li>
						</ul>
				  </li>
						<% If Not rs_featured_listings.EOF Or Not rs_featured_listings.BOF Then %>
					<li>
						<a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">FEATURED PROPERTIES</a>
						<ul>
							<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">Featured</a></li>
							<% If 1 =2 Then 'Taken out till we get the sold data figured out%>
							<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=sold">Sold</a></li>
							<% End If ' end rs_count_sold_listings.EOF Or Not rs_count_sold_listings.BOF' %>	
						</ul>
					</li>
						<% End If ' end Not rs_featured_listings.EOF Or NOT rs_featured_listings.BOF '%>
					<li>
						<a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">BUYERS</a>
						<ul>
							<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
							<li>
							<a href="http://www.netmovein.com/home/landscape?jpid=SecureHome&cid=
							<% If (rs_agentdata.Fields.Item("location").Value) = "NW" Then %>82277<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NC/1604" Then %>82171<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NE" Then %>81519<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "Stone Oak" Then %>81526<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NB" Then %>82278<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "Alamo Ranch" Then %>95555<% End If %>
								" target="_blank">Mortgage Financing</a></li>
							<li><a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Property Search</a></li>
							<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Buyer Tips</a></li>
						</ul>
				  </li>
					<li>
						<a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">SELLERS</a>
						<ul>
							<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
							<li><a href="/realtor/web4/sellers/power-of-partnership.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">The Power Of Partnership</a></li>
							<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">What&rsquo;s My Home Worth</a></li>
							<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Sellers Tips</a></li>
					  </ul>
				  </li>
					<li>
						<a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">USEFUL INFO</a>
						<ul>
								<%if not ISNULL(rs_css.Fields.Item("custom_link1_text").Value) THEN %>
							<li><a href="<%=(rs_css.Fields.Item("custom_link1_url").Value)%>"><%=(rs_css.Fields.Item("custom_link1_text").Value)%></a></li>
								<% End If %>
								<% IF (rs_css.Fields.Item("video_subscriber").Value) = true Then%>
							<li><a href="/realtor/web4/videos.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Videos</a></li>
							  <% End IF %>
							<li><a href="/realtor/web4/useful-info/useful-links.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Helpful Links</a></li>
							<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Buyers</a></li>
							<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Sellers</a></li>
							<li><a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Useful Information</a></li>
						</ul>
				  </li>
				</ul>
			</div><!-- main_nav -->
			<!-- This portion should be hidden for the left menu and shown for the top menu templates end -->
			<div id="main">
				<div id="left_column"><h3><%=Replace(rs_agentdata.Fields.Item("Domain").Value,"www.","")%>&nbsp;</h3>
                  <div id="left_estate_search">
						<div class="title">Find Homes for Sale</div>
						<form action="/realtor/web4/listings/results.asp?a_id=<%=Request.QueryString("a_id")%>" method="POST">							
							<p class="search-input">
							  <input type="text" name="qs" class="search-input" />
							  <input name="mls" type="hidden" id="mls" value="<%=(rs_css.Fields.Item("default_mls").Value)%>" />
							</p>
						  <p id="hint">e.g. "San Antonio", "78258"<br />
				          or "Stone Oak"...</p>
                          <div id="dd_type" class="dropdown">
							  <div class="label">Type</div>
							  <select name="type" id="sel_type">
									<option value="">any</option><option value="RES" selected="selected" >Residential</option><option value="RNT">Rental</option><option value="COND">Condo</option><option value="MUL">Multi-Family</option><option value="LAL">Farm &amp; Land</option>
						    </select>
						  </div>
							<div class="dropdown_clear_left">
								<div class="label">Price Range</div>
								<select name="price_low" id="price_low">
									<option value="0" >[No Min]</option><option value="5000" >$5,000 </option><option value="10000" >$10,000 </option><option value="15000" >$15,000 </option><option value="20000" >$20,000 </option><option value="25000" >$25,000 </option><option value="30000" >$30,000 </option><option value="35000" >$35,000 </option><option value="40000" >$40,000 </option><option value="45000" >$45,000 </option><option value="50000" >$50,000 </option><option value="55000" >$55,000 </option><option value="60000" >$60,000 </option><option value="65000" >$65,000 </option><option value="70000" >$70,000 </option><option value="75000" >$75,000 </option><option value="80000" >$80,000 </option><option value="85000" >$85,000 </option><option value="90000" >$90,000 </option><option value="95000" >$95,000 </option><option value="100000" >$100K</option><option value="105000" >$105K</option><option value="110000" >$110K</option><option value="115000" >$115K</option><option value="120000" >$120K</option><option value="125000" >$125K</option><option value="130000" >$130K</option><option value="135000" >$135K</option><option value="140000" >$140K</option><option value="145000" >$145K</option><option value="150000" >$150K</option><option value="155000" >$155K</option><option value="160000" >$160K</option><option value="165000" >$165K</option><option value="170000" >$170K</option><option value="175000" >$175K</option><option value="180000" >$180K</option><option value="185000" >$185K</option><option value="190000" >$190K</option><option value="195000" >$195K</option><option value="200000" >$200K</option><option value="210000" >$210K</option><option value="220000" >$220K</option><option value="230000" >$230K</option><option value="240000" >$240K</option><option value="250000" >$250K</option><option value="260000" >$260K</option><option value="270000" >$270K</option><option value="280000" >$280K</option><option value="290000" >$290K</option><option value="300000" >$300K</option><option value="350000" >$350K</option><option value="400000" >$400K</option><option value="450000" >$450K</option><option value="500000" >$500K</option><option value="550000" >$550K</option><option value="600000" >$600K</option><option value="700000" >$700K</option><option value="800000" >$800K</option><option value="900000" >$900K</option><option value="1000000" >$1 Mil </option><option value="2000000" >$2 Mil </option><option value="3000000" >$3 Mil </option><option value="4000000" >$4 Mil </option><option value="5000000" >$5 Mil </option><option value="6000000" >$6 Mil </option><option value="7000000" >$7 Mil </option><option value="8000000" >$8 Mil </option><option value="9000000" >$9 Mil </option><option value="10000000" >$10 Mil </option>
								</select>
						  </div>
							<div class="dropdown">
								<div class="label">&nbsp;</div>
								<select name="price_high" id="price_high">
									<option value="999999999" >[No Max]</option><option value="5000" >$5,000 </option><option value="10000" >$10,000 </option><option value="15000" >$15,000 </option><option value="20000" >$20,000 </option><option value="25000" >$25,000 </option><option value="30000" >$30,000 </option><option value="35000" >$35,000 </option><option value="40000" >$40,000 </option><option value="45000" >$45,000 </option><option value="50000" >$50,000 </option><option value="55000" >$55,000 </option><option value="60000" >$60,000 </option><option value="65000" >$65,000 </option><option value="70000" >$70,000 </option><option value="75000" >$75,000 </option><option value="80000" >$80,000 </option><option value="85000" >$85,000 </option><option value="90000" >$90,000 </option><option value="95000" >$95,000 </option><option value="100000" >$100K</option><option value="105000" >$105K</option><option value="110000" >$110K</option><option value="115000" >$115K</option><option value="120000" >$120K</option><option value="125000" >$125K</option><option value="130000" >$130K</option><option value="135000" >$135K</option><option value="140000" >$140K</option><option value="145000" >$145K</option><option value="150000" >$150K</option><option value="155000" >$155K</option><option value="160000" >$160K</option><option value="165000" >$165K</option><option value="170000" >$170K</option><option value="175000" >$175K</option><option value="180000" >$180K</option><option value="185000" >$185K</option><option value="190000" >$190K</option><option value="195000" >$195K</option><option value="200000" >$200K</option><option value="210000" >$210K</option><option value="220000" >$220K</option><option value="230000" >$230K</option><option value="240000" >$240K</option><option value="250000" >$250K</option><option value="260000" >$260K</option><option value="270000" >$270K</option><option value="280000" >$280K</option><option value="290000" >$290K</option><option value="300000" >$300K</option><option value="350000" >$350K</option><option value="400000" >$400K</option><option value="450000" >$450K</option><option value="500000" >$500K</option><option value="550000" >$550K</option><option value="600000" >$600K</option><option value="700000" >$700K</option><option value="800000" >$800K</option><option value="900000" >$900K</option><option value="1000000" >$1 Mil </option><option value="2000000" >$2 Mil </option><option value="3000000" >$3 Mil </option><option value="4000000" >$4 Mil </option><option value="5000000" >$5 Mil </option><option value="6000000" >$6 Mil </option><option value="7000000" >$7 Mil </option><option value="8000000" >$8 Mil </option><option value="9000000" >$9 Mil </option><option value="100000000" >$10 Mil +</option>
								</select>
							</div>
						  <div class="dropdown_clear_left">
								<div class="label">Bedrooms</div>
								<select name="beds" id="beds">
									<option value="">any</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>
								</select>
                                
						  </div>
							<div class="dropdown">
								<div class="label">Bathrooms</div>
								<select name="baths" id="baths">
									<option value="">any</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option>
								</select>
                                <input type="submit" name="submit" class="submit" value="find" />
						  </div>
                            
                           <div class="clear"></div>
						</form>
				  </div><!-- estate_search -->
                     <div id="contact">							<% If rs_agentdata.Fields.Item("DisplayTeamName").Value > 0 Then %>
						<div class="info"><h2><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><% =(rs_agentdata.Fields.Item("TeamName").Value)%></a></h2></div>
							<% END IF %>
					<h2><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%></a></h2>
						<%If (rs_agentdata.Fields.Item("DESIGNATIONS").Value > " ") THEN Response.Write(rs_agentdata.Fields.Item("DESIGNATIONS").Value)%><br />
				    Office: (<%=left(rs_agentdata.Fields.Item("AgentPhone").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("AgentPhone").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("AgentPhone").Value,7,4)%><br />
						Cell: (<%=left(rs_agentdata.Fields.Item("wireless").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("wireless").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("wireless").Value,7,4)%><br />
						Fax: (<%=left(rs_agentdata.Fields.Item("fax").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("fax").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("fax").Value,7,4)%><br />
						<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><%=(rs_agentdata.Fields.Item("EMailDomain").Value)%></a>
					<% If rs_css.Fields.Item("show_team_members").Value = TRUE Then %>
					<% 
					While ((Repeat1__numRows <> 0) AND (NOT rs_teamdata.EOF)) 
					%>
						<h3><%=(rs_teamdata.Fields.Item("FirstName").Value)%>&nbsp;<%=(rs_teamdata.Fields.Item("LastName").Value)%></h3>
						<%If (rs_teamdata.Fields.Item("DESIGNATIONS").Value > " ") THEN Response.Write(rs_teamdata.Fields.Item("DESIGNATIONS").Value&"<br />")%>
						Office: (<%=left(rs_teamdata.Fields.Item("Phone").Value,3)%>) <%=mid(rs_teamdata.Fields.Item("Phone").Value,4,3)%> - <%=mid(rs_teamdata.Fields.Item("Phone").Value,7,4)%><br />
					<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_teamdata.Fields.Item("TeamLeadLicense").Value)%>"><%=(rs_teamdata.Fields.Item("EMail").Value)%></a>
					<% 
					Repeat1__index=Repeat1__index+1
					Repeat1__numRows=Repeat1__numRows-1
					rs_teamdata.MoveNext()
					Wend
					%>
					<% End If %>
					</div>
					<div id="address"><h3>Office</h3>
						<%=(rs_agentdata.Fields.Item("Office_Address").Value)%><% IF NOT ISNULL(rs_agentdata.Fields.Item("Office_Address2").Value) THEN Response.Write(", "+rs_agentdata.Fields.Item("Office_Address2").Value) END IF%><br />
				    <%=(rs_agentdata.Fields.Item("Office_City").Value)%>, TX&nbsp;&nbsp;<%=(rs_agentdata.Fields.Item("Office_ZIP").Value)%><br />
						Fax: (<%=left(rs_agentdata.Fields.Item("fax").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("fax").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("fax").Value,7,4)%><br />
					</div>
					<p><a href="javascript:open_window('http://maps.google.com/maps?f=q&hl=en&geocode=&q=<%=(rs_agentdata.Fields.Item("office_address").Value)%>+<%=(rs_agentdata.Fields.Item("office_city").Value)%>+<%=(rs_agentdata.Fields.Item("office_zip").Value)%>,tx+&z=17&iwloc=addr')">View Map</a></p>
					<p id="coldwell_logo">
						<a href="http://www.cbharper.com/" target="_blank"><img src="../images/<%=(rs_css.Fields.Item("path").Value)%>/coldwell_logo.gif" alt="" border="0" /></a>
					</p>
				</div><!-- left_column -->
				<div id="right_column">
					<div id="right_content">
                    <div id="big_wrapper" style="visibility:hidden">
<form name="form1" id="form1" method="post" action="results.asp?a_id=<%=Request.QueryString("a_id")%>">
	<div id="search_group" >
			<div id="qs_div" class="search_iframe">
			  <h4>&nbsp;Quick Search:</h4>
				<div id="quick_search_selector" class="search_iframe">				
					<input name="qs" class="basic_text" id="qs" size="60" maxlength="60" />
					 <br />
					<span class="smaller_print">&nbsp;&nbsp;e.g. "street name" or "Subdivision"</span>
				</div>
				<table width="100%"  border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="30%">
							<div id="mls_no_selector" class="show_inline">
							  <br />or by <strong>MLS#</strong><br />
							<input name="list_no" type="text" class="basic_text" id="list_no" size="15" maxlength="10" />
							</div>
						</td>
						<td width="4%">&nbsp;</td>
						<td width="33%">
							<div id="ivr_selector" class="show_inline">
							 <br /> or by <strong>HomeFacts#</strong><br />
							<input name="ivr" type="text" class="basic_text" id="ivr" size="15" maxlength="10" />
							</div>
						</td>
					<td width="33%" class="make_right"><span class="make_right" ><a href="search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;s=o">(Start Over)</a></span><br />
					  <br /><br />
					<input name="Submit" type="submit"  value="Submit" /></td>
					</tr>
				</table>
			</div>
			<div id="iframe_wrapper1">
				<div id="basic_search_container" class="search_iframe">
					<span ><a href="javascript:;" onmousedown="toggleSlide('basic_search');"><h4>&nbsp;Basic Search</h4></a></span>
						<div  id="basic_search" style="display:none; overflow:hidden; height:325px;" >
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="47%" valign="top">
							<div id="mls_selector" class="search_iframe"><span class="data_caption">Multiple Listing Service?</span>
								<p>
								  <label>
									<input <%If (CStr(mymls) = CStr("sanantonio")) Then Response.Write("CHECKED") : Response.Write("")%> name="MLS" type="radio" value="sanantonio" checked="checked">
									San Antonio and surrounding areas</label>
									<br />
									<label><input <%If (CStr(mymls) = CStr("centraltexas")) Then Response.Write("CHECKED") : Response.Write("")%> type="radio" name="MLS" value="centraltexas">
									New Braunfels and surrounding areas</label>
									<br />
								</p>
							</div>
							<div id="city_selector" class="search_iframe">
					<p><span class="search_headers">City?</span>
								<select name="city" class="basic_text" id="city" >
								  <option value="" <%If (Not isNull(mycity)) Then If ("" = CStr(mycity)) Then Response.Write("SELECTED") : Response.Write("")%>>Any</option>
								  <%
While (NOT rs_city.EOF)
%>
								  <option value="<%=(rs_city.Fields.Item("CITY").Value)%>" <%If (Not isNull(mycity)) Then If (CStr(rs_city.Fields.Item("CITY").Value) = CStr(mycity)) Then Response.Write("SELECTED") : Response.Write("")%>><%=(rs_city.Fields.Item("CITY").Value)%></option>
								  <%
  rs_city.MoveNext()
Wend
If (rs_city.CursorType > 0) Then
  rs_city.MoveFirst
Else
  rs_city.Requery
End If
%>
								</select>
				 </p></div>
							<div id="property_type_selector" class="search_iframe">
								<p><span class="search_headers">Property Type?</span>
								<select name="prop_type" class="basic_text" id="prop_type">
								  <option value="RES" selected="selected" <%If (Not isNull(myprop_type)) Then If ("RES" = CStr(myprop_type)) Then Response.Write("SELECTED") : Response.Write("")%>>Residential</option><option value="COND" <%If (Not isNull(myprop_type)) Then If ("COND" = CStr(myprop_type)) Then Response.Write("SELECTED") : Response.Write("")%>>Condos</option><option value="MUL" <%If (Not isNull(myprop_type)) Then If ("MUL" = CStr(myprop_type)) Then Response.Write("SELECTED") : Response.Write("")%>>Multi-Family</option><option value="LAL" <%If (Not isNull(myprop_type)) Then If ("LAL" = CStr(myprop_type)) Then Response.Write("SELECTED") : Response.Write("")%>>Lots Land or Farms</option>
								</select>
								</p>
							</div>
							
							<div id="price_selector" class="search_iframe">
								<p><span class="data_caption">Price?</span>
								<select name="price_low" class="basic_text" id="price_low">
								  <option value="" selected="selected"  <%If (Not isNull(myprice_low)) Then If ("" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>[No Min]</option><option value="5000"  <%If (Not isNull(myprice_low)) Then If ("5000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$5,000 </option><option value="10000"  <%If (Not isNull(myprice_low)) Then If ("10000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$10,000 </option><option value="15000"  <%If (Not isNull(myprice_low)) Then If ("15000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$15,000 </option><option value="20000"  <%If (Not isNull(myprice_low)) Then If ("20000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$20,000 </option><option value="25000"  <%If (Not isNull(myprice_low)) Then If ("25000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$25,000 </option><option value="30000"  <%If (Not isNull(myprice_low)) Then If ("30000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$30,000 </option><option value="35000"  <%If (Not isNull(myprice_low)) Then If ("35000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$35,000 </option><option value="40000"  <%If (Not isNull(myprice_low)) Then If ("40000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$40,000 </option><option value="45000"  <%If (Not isNull(myprice_low)) Then If ("45000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$45,000 </option><option value="50000"  <%If (Not isNull(myprice_low)) Then If ("50000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$50,000 </option><option value="55000"  <%If (Not isNull(myprice_low)) Then If ("55000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$55,000 </option><option value="60000"  <%If (Not isNull(myprice_low)) Then If ("60000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$60,000 </option><option value="65000"  <%If (Not isNull(myprice_low)) Then If ("65000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$65,000 </option><option value="70000"  <%If (Not isNull(myprice_low)) Then If ("70000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$70,000 </option><option value="75000"  <%If (Not isNull(myprice_low)) Then If ("75000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$75,000 </option><option value="80000"  <%If (Not isNull(myprice_low)) Then If ("80000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$80,000 </option><option value="85000"  <%If (Not isNull(myprice_low)) Then If ("85000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$85,000 </option><option value="90000"  <%If (Not isNull(myprice_low)) Then If ("90000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$90,000 </option><option value="95000"  <%If (Not isNull(myprice_low)) Then If ("95000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$95,000 </option><option value="100000"  <%If (Not isNull(myprice_low)) Then If ("100000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$100K</option><option value="105000"  <%If (Not isNull(myprice_low)) Then If ("105000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$105K</option><option value="110000"  <%If (Not isNull(myprice_low)) Then If ("110000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$110K</option><option value="115000"  <%If (Not isNull(myprice_low)) Then If ("115000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$115K</option><option value="120000"  <%If (Not isNull(myprice_low)) Then If ("120000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$120K</option><option value="125000"  <%If (Not isNull(myprice_low)) Then If ("125000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$125K</option><option value="130000"  <%If (Not isNull(myprice_low)) Then If ("130000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$130K</option><option value="135000"  <%If (Not isNull(myprice_low)) Then If ("135000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$135K</option><option value="140000"  <%If (Not isNull(myprice_low)) Then If ("140000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$140K</option><option value="145000"  <%If (Not isNull(myprice_low)) Then If ("145000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$145K</option><option value="150000"  <%If (Not isNull(myprice_low)) Then If ("150000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$150K</option><option value="155000"  <%If (Not isNull(myprice_low)) Then If ("155000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$155K</option><option value="160000"  <%If (Not isNull(myprice_low)) Then If ("160000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$160K</option><option value="165000"  <%If (Not isNull(myprice_low)) Then If ("165000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$165K</option><option value="170000"  <%If (Not isNull(myprice_low)) Then If ("170000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$170K</option><option value="175000"  <%If (Not isNull(myprice_low)) Then If ("175000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$175K</option><option value="180000"  <%If (Not isNull(myprice_low)) Then If ("180000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$180K</option><option value="185000"  <%If (Not isNull(myprice_low)) Then If ("185000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$185K</option><option value="190000"  <%If (Not isNull(myprice_low)) Then If ("190000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$190K</option><option value="195000"  <%If (Not isNull(myprice_low)) Then If ("195000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$195K</option><option value="200000"  <%If (Not isNull(myprice_low)) Then If ("200000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$200K</option><option value="210000"  <%If (Not isNull(myprice_low)) Then If ("210000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$210K</option><option value="220000"  <%If (Not isNull(myprice_low)) Then If ("220000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$220K</option><option value="230000"  <%If (Not isNull(myprice_low)) Then If ("230000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$230K</option><option value="240000"  <%If (Not isNull(myprice_low)) Then If ("240000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$240K</option><option value="250000"  <%If (Not isNull(myprice_low)) Then If ("250000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$250K</option><option value="260000"  <%If (Not isNull(myprice_low)) Then If ("260000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$260K</option><option value="270000"  <%If (Not isNull(myprice_low)) Then If ("270000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$270K</option><option value="280000"  <%If (Not isNull(myprice_low)) Then If ("280000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$280K</option><option value="290000"  <%If (Not isNull(myprice_low)) Then If ("290000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$290K</option><option value="300000"  <%If (Not isNull(myprice_low)) Then If ("300000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$300K</option><option value="350000"  <%If (Not isNull(myprice_low)) Then If ("350000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$350K</option><option value="400000"  <%If (Not isNull(myprice_low)) Then If ("400000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$400K</option><option value="450000"  <%If (Not isNull(myprice_low)) Then If ("450000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$450K</option><option value="500000"  <%If (Not isNull(myprice_low)) Then If ("500000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$500K</option><option value="550000"  <%If (Not isNull(myprice_low)) Then If ("550000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$550K</option><option value="600000"  <%If (Not isNull(myprice_low)) Then If ("600000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$600K</option><option value="700000"  <%If (Not isNull(myprice_low)) Then If ("700000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$700K</option><option value="800000"  <%If (Not isNull(myprice_low)) Then If ("800000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$800K</option><option value="900000"  <%If (Not isNull(myprice_low)) Then If ("900000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$900K</option><option value="1000000"  <%If (Not isNull(myprice_low)) Then If ("1000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$1 Mil </option><option value="2000000"  <%If (Not isNull(myprice_low)) Then If ("2000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$2 Mil </option><option value="3000000"  <%If (Not isNull(myprice_low)) Then If ("3000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$3 Mil </option><option value="4000000"  <%If (Not isNull(myprice_low)) Then If ("4000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$4 Mil </option><option value="5000000"  <%If (Not isNull(myprice_low)) Then If ("5000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$5 Mil </option><option value="6000000"  <%If (Not isNull(myprice_low)) Then If ("6000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$6 Mil </option><option value="7000000"  <%If (Not isNull(myprice_low)) Then If ("7000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$7 Mil </option><option value="8000000"  <%If (Not isNull(myprice_low)) Then If ("8000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$8 Mil </option><option value="9000000"  <%If (Not isNull(myprice_low)) Then If ("9000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$9 Mil </option><option value="10000000"  <%If (Not isNull(myprice_low)) Then If ("10000000" = CStr(myprice_low)) Then Response.Write("SELECTED") : Response.Write("")%>>$10 Mil </option>
							  </select>
										to <select name="price_high" class="basic_text" id="price_high">
										  <option value="" selected="selected"  <%If (Not isNull(myprice_high)) Then If ("" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>[No Max]</option><option value="5000"  <%If (Not isNull(myprice_high)) Then If ("5000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$5,000 </option><option value="10000"  <%If (Not isNull(myprice_high)) Then If ("10000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$10,000 </option><option value="15000"  <%If (Not isNull(myprice_high)) Then If ("15000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$15,000 </option><option value="20000"  <%If (Not isNull(myprice_high)) Then If ("20000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$20,000 </option><option value="25000"  <%If (Not isNull(myprice_high)) Then If ("25000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$25,000 </option><option value="30000"  <%If (Not isNull(myprice_high)) Then If ("30000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$30,000 </option><option value="35000"  <%If (Not isNull(myprice_high)) Then If ("35000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$35,000 </option><option value="40000"  <%If (Not isNull(myprice_high)) Then If ("40000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$40,000 </option><option value="45000"  <%If (Not isNull(myprice_high)) Then If ("45000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$45,000 </option><option value="50000"  <%If (Not isNull(myprice_high)) Then If ("50000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$50,000 </option><option value="55000"  <%If (Not isNull(myprice_high)) Then If ("55000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$55,000 </option><option value="60000"  <%If (Not isNull(myprice_high)) Then If ("60000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$60,000 </option><option value="65000"  <%If (Not isNull(myprice_high)) Then If ("65000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$65,000 </option><option value="70000"  <%If (Not isNull(myprice_high)) Then If ("70000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$70,000 </option><option value="75000"  <%If (Not isNull(myprice_high)) Then If ("75000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$75,000 </option><option value="80000"  <%If (Not isNull(myprice_high)) Then If ("80000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$80,000 </option><option value="85000"  <%If (Not isNull(myprice_high)) Then If ("85000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$85,000 </option><option value="90000"  <%If (Not isNull(myprice_high)) Then If ("90000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$90,000 </option><option value="95000"  <%If (Not isNull(myprice_high)) Then If ("95000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$95,000 </option><option value="100000"  <%If (Not isNull(myprice_high)) Then If ("100000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$100K</option><option value="105000"  <%If (Not isNull(myprice_high)) Then If ("105000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$105K</option><option value="110000"  <%If (Not isNull(myprice_high)) Then If ("110000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$110K</option><option value="115000"  <%If (Not isNull(myprice_high)) Then If ("115000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$115K</option><option value="120000"  <%If (Not isNull(myprice_high)) Then If ("120000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$120K</option><option value="125000"  <%If (Not isNull(myprice_high)) Then If ("125000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$125K</option><option value="130000"  <%If (Not isNull(myprice_high)) Then If ("130000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$130K</option><option value="135000"  <%If (Not isNull(myprice_high)) Then If ("135000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$135K</option><option value="140000"  <%If (Not isNull(myprice_high)) Then If ("140000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$140K</option><option value="145000"  <%If (Not isNull(myprice_high)) Then If ("145000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$145K</option><option value="150000"  <%If (Not isNull(myprice_high)) Then If ("150000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$150K</option><option value="155000"  <%If (Not isNull(myprice_high)) Then If ("155000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$155K</option><option value="160000"  <%If (Not isNull(myprice_high)) Then If ("160000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$160K</option><option value="165000"  <%If (Not isNull(myprice_high)) Then If ("165000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Writ
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<!--#include file="../Connections/agentdata.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<% On Error Resume Next %>



<!-- search head stuff goes here -->
<%
dim mycookiename 
mycookiename = Request.QueryString("a_id")
'This is the cookie factory'

'first test if the search should be cleared'
if Request.QueryString("s")="o" THen 
'if so then clear then cookies'
Response.Cookies(mycookiename) ("qs")=""
Response.Cookies(mycookiename) ("list_no")=""
Response.Cookies(mycookiename) ("ivr")=""
Response.Cookies(mycookiename) ("a_id")=Request.QueryString("a_id")
Response.Cookies(mycookiename) ("mls")=""
Response.Cookies(mycookiename) ("city")=""
Response.Cookies(mycookiename) ("prop_type")=""
Response.Cookies(mycookiename) ("price_low")=""
Response.Cookies(mycookiename) ("price_high")=""
Response.Cookies(mycookiename) ("sqft_low")=""
Response.Cookies(mycookiename) ("sqft_high")=""
Response.Cookies(mycookiename) ("beds_low")=""
Response.Cookies(mycookiename) ("beds_high")=""
Response.Cookies(mycookiename) ("baths_low")=""
Response.Cookies(mycookiename) ("baths_high")=""
Response.Cookies(mycookiename) ("hfbaths_low")=""
Response.Cookies(mycookiename) ("hfbaths_high")=""
Response.Cookies(mycookiename) ("school_dist")=""
Response.Cookies(mycookiename) ("subdivision")=""
Response.Cookies(mycookiename) ("zip")=""
Response.Cookies(mycookiename) ("acreage_low")=""
Response.Cookies(mycookiename) ("acreage_high")=""
Response.Cookies(mycookiename) ("In Ground Pool")=""
Response.Cookies(mycookiename) ("Above Ground Pool")=""
Response.Cookies(mycookiename) ("Hot Tub")=""
Response.Cookies(mycookiename) ("Pool / Spa")=""
Response.Cookies(mycookiename) ("Garage Spaces")=""
Response.Cookies(mycookiename) ("age_low")=""
Response.Cookies(mycookiename) ("age_high")=""
Response.Cookies(mycookiename) ("hoa")=""
Response.Cookies(mycookiename) ("multi_photos")=""
Response.Cookies(mycookiename) ("One Story")=""
DIM myqs  
myqs  = "" 
DIM mylist_no  
mylist_no  = "" 
DIM myivr  
myivr  = "" 
DIM mya_id  
mya_id  =Request.QueryString("a_id")
DIM mymls  
mymls  = "" 
DIM mycity  
mycity  = "" 
DIM myprop_type  
myprop_type  = Request.QueryString("prop_type")
DIM myprice_low  
myprice_low  = "" 
DIM myprice_high  
myprice_high  = "" 
DIM mysqft_low  
mysqft_low  = "" 
DIM mysqft_high  
mysqft_high  = "" 
DIM mybeds_low  
mybeds_low  = "" 
DIM mybeds_high  
mybeds_high  = "" 
DIM mybaths_low  
mybaths_low  = "" 
DIM mybaths_high  
mybaths_high  = "" 
DIM myhfbaths_low  
myhfbaths_low  = "" 
DIM myhfbaths_high  
myhfbaths_high  = "" 
DIM myschool_dist  
myschool_dist  = "" 
DIM mysubdivision  
mysubdivision  = "" 
DIM myzip  
myzip  = "" 
DIM myacreage_low  
myacreage_low  = "" 
DIM myacreage_high  
myacreage_high  = "" 
DIM myingroundpool  
myingroundpool  = "" 
DIM myabovegroundpool  
myabovegroundpool  = "" 
DIM Myhottub  
Myhottub  = "" 
DIM Mypoolspa  
Mypoolspa  = "" 
DIM mygaragespaces  
mygaragespaces  = "" 
DIM myage_low  
myage_low  = "" 
DIM myage_high  
myage_high  = "" 
DIM myhoa  
myhoa  = "" 
DIM mymulti_photos  
mymulti_photos  = "" 
DIM myone_story  
myone_story  = "" 


End if 
%>
<%
'keep the search criteria'
if (Request.QueryString("prop_type") > " ") then
myprop_type = Request.QueryString("prop_type")
Response.Cookies(mycookiename)("prop_type") = Request.QueryString("prop_type")
else 
myprop_type = Request.Cookies(mycookiename)("prop_type")
End If 
%>

<%
myqs = Request.Cookies(mycookiename)("qs")
mylist_no = Request.Cookies(mycookiename)("list_no")
myivr = Request.Cookies(mycookiename)("ivr")
mya_id = Request.Cookies(mycookiename)("a_id")
mymls = Request.Cookies(mycookiename)("mls")
mycity = Request.Cookies(mycookiename)("city")
myprice_low = Request.Cookies(mycookiename)("price_low")
myprice_high = Request.Cookies(mycookiename)("price_high")
mysqft_low = Request.Cookies(mycookiename)("sqft_low")
mysqft_high = Request.Cookies(mycookiename)("sqft_high")
mybeds_low = Request.Cookies(mycookiename)("beds_low")
mybeds_high = Request.Cookies(mycookiename)("beds_high")
mybaths_low = Request.Cookies(mycookiename)("baths_low")
mybaths_high = Request.Cookies(mycookiename)("baths_high")
myhfbaths_low = Request.Cookies(mycookiename)("hfbaths_low")
myhfbaths_high = Request.Cookies(mycookiename)("hfbaths_high")
myschool_dist = Request.Cookies(mycookiename)("school_dist")
mysubdivision = Request.Cookies(mycookiename)("subdivision")
myzip = Request.Cookies(mycookiename)("zip")
myacreage_low = Request.Cookies(mycookiename)("acreage_low")
myacreage_high = Request.Cookies(mycookiename)("acreage_high")
myingroundpool = Request.Cookies(mycookiename)("In Ground Pool")
myabovegroundpool = Request.Cookies(mycookiename)("Above Ground Pool")
myhottub = Request.Cookies(mycookiename)("Hot Tub")
mypoolspa = Request.Cookies(mycookiename)("Pool / Spa")
mygaragespaces = Request.Cookies(mycookiename)("Garage Spaces")
myage_low = Request.Cookies(mycookiename)("age_low")
myage_high = Request.Cookies(mycookiename)("age_high")
myhoa = Request.Cookies(mycookiename)("hoa")
mymulti_photos = Request.Cookies(mycookiename)("multi_photos")
myone_story = Request.Cookies(mycookiename)("One Story")

%>




<meta name="description" content="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%> REALTOR&reg;,&nbsp;<%=(rs_agentdata.Fields.Item("DESIGNATIONS").Value)%>&nbsp;(<%=LEFT(rs_agentdata.Fields.Item("AgentPhone").Value,3)%>)<%=MID(rs_agentdata.Fields.Item("AgentPhone").Value,4,3)%>-<%=MID(rs_agentdata.Fields.Item("AgentPhone").Value,7,4)%>&nbsp;&lsquo;<%=(rs_agentdata.Fields.Item("SLOGAN").Value)%>&rsquo;" />
<meta name="keywords" content="<%=(rs_css.Fields.Item("KeyWords").Value)%>" />
<title>Property Search <%=(rs_agentdata.Fields.Item("DomainURL").Value)%>, <%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&amp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%>REALTOR&reg;</title>

<script type="text/javascript" language="javascript" src="/realtor/web4/scripts/common_2008_6_20.js"></script>
<script language="javascript" type="text/javascript">
// Does test for JavaScript Support 
function checkJavaScriptValidity() 

{
document.getElementById("big_wrapper").style.visibility = 'visible';
document.getElementById("jsDisabled").style.visibility = 'hidden';

}

</script>

<!--#include virtual="/realtor/web4/scripts/common.asp" -->


<%
Dim CssPath
CssPath = "../css/" 
CssPath = CssPath+(rs_css.Fields.Item("path").Value)
CssPath = CssPath+"/internal.css.asp?a_id="
CssPath= CssPath+Request.QueryString("a_id")
%>

<script language="JavaScript" src="/realtor/web4/scripts/motionpack.js"></script>
<style type="text/css">
<!--
.search_iframe h4 {
	margin-top: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: thin;
	border-left-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #11567B;
	margin-right: 10px;
	margin-bottom: 10px;
}
.search_headers {
	font-size: 11px;
	font-weight: bolder;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	margin: 0pt 0pt 20pt;
}
#big_wrapper	{
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	width: 500px;
	margin-left:0px;
	text-align: left;
}
.data_caption {
	font-size: 11px;
	font-weight: bolder;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}
#subdivision	{
	width: 40px;
}
#iframe_wrapper{
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	text-align: left;
}
.left_border	{
	border-left-width: thin;
	border-left-style: solid;
	border-left-color: #CCCCCC;
}
#qs_div {
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
#subdivision{
	width: 140px;
}
#basic_search_container{
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
#advance_search_container {
	border: thin solid #CCCCCC;
	margin: 10px;
	width: 500px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F2F7FD;
}
.basic_text	{
	font-size: 11px;
	display: inline;
}
.make_right	{
	text-align: right;
	vertical-align: bottom;
	padding-right: 10px;
}
.smaller_print	{
font-size: 9px;
}
.quick_search {
	float:left;
}
.clear	{
	clear: both;
}
.off {
	display:none;
}
.on {
	display:block;
	margin:10px 30px;
	text-align:justify;
	color:#333333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
}
.float_right	{
	float: right;
	margin-right: 10px;
	margin-top: 25px;
}

-->
</style>
<link rel="stylesheet" type="text/css" media="all" href="<%=CssPath%>" />

	<!--[if IE]>
		<style type="text/css">
			#nav li ul { margin-left: -2px; }//use the variable vAgent_website_choices.ie_hack_code //
		</style>
	<![endif]-->	
</head>
<body onload="checkJavaScriptValidity()">
	<div id="container">
		<div id="wrapper">
			<div id="header">
				<div id="header_line">						<h1><a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">
							<% If rs_agentdata.Fields.Item("DisplayTeamName").Value <> 0 Then %>
							<% =(rs_agentdata.Fields.Item("TeamName").Value)%>
							<% Else %>
							<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%>
							<% END IF %>
					</a></h1>				
				</div>
				<div id="header_content">
					<!-- This portion should be hidden for the left menu and shown for the top menu templates start --><div id="realtor_photo_top" class="top_nav_style">
                    	<div id="photo_1" ><img class="photo" src="http://cbharper.com/photos/agents/rounded/<%=(rs_css.Fields.Item("agent_id").Value)%>.jpg" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /></div>
                        <div id="frame_1" ><img src="/realtor/web4/images/<%=(rs_css.Fields.Item("path").Value)%>/agent_frame.gif" width="188" height="234" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /><!--This agent_fram.gif needs to do whatever looks correct for the template --></div>
							</div>
					<h2 class="top_nav_style">&quot;<%=stripHTML(rs_agentdata.Fields.Item("SLOGAN").Value)%>&quot;</h2>
					<div id="left_nav" class="left_nav_style">
						<ul id="l_nav">
							<li>
								<a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">HOME</a>							</li>
							<li>
								<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">CONTACT</a>
								<ul>
									<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Contact</a></li>
									<li><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">About Me</a></li>
									<% IF (rs_css.Fields.Item("testimonials").Value) = true Then%>
									<li><a href="/realtor/web4/testimonials.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Testimonials</a></li>
									<% End If%>
								</ul>
							</li>
							<li>
								<a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">PROPERTY SEARCH</a>
								<ul>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=RES">Residential</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=COND">Condo</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=MUL">Multi-Family</a></li>
									<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=LAL">Farm &amp; Land</a></li>
								</ul>
							</li>
								<% If Not rs_featured_listings.EOF Or Not rs_featured_listings.BOF Then %>
							<li>
								<a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">FEATURED PROPERTIES</a>
								<ul>
									<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">Featured</a></li>
									<% If 1 =2 Then 'Taken out till we get the sold data figured out%>
									<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=sold">Sold</a></li>
									<% End If ' end rs_count_sold_listings.EOF Or Not rs_count_sold_listings.BOF' %>	
								</ul>
							</li>
								<% End If ' end Not rs_featured_listings.EOF Or NOT rs_featured_listings.BOF '%>
							<li>
								<a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">BUYERS</a>
								<ul>
									<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
									<li>
									<a href="http://www.netmovein.com/home/landscape?jpid=SecureHome&cid=
									<% If (rs_agentdata.Fields.Item("location").Value) = "NW" Then %>82277<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NC/1604" Then %>82171<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NE" Then %>81519<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "Stone Oak" Then %>81526<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "NB" Then %>82278<% End If %>
									<% If (rs_agentdata.Fields.Item("location").Value) = "Alamo Ranch" Then %>95555<% End If %>
										" target="_blank">Mortgage Financing</a></li>
									<li><a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Property Search</a></li>
									<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Buyer Tips</a></li>
								</ul>
							</li>
							<li>
								<a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">SELLERS</a>
								<ul>
									<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
									<li><a href="/realtor/web4/sellers/power-of-partnership.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">The Power Of Partnership</a></li>
									<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">What&rsquo;s My Home Worth</a></li>
									<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Sellers Tips</a></li>
							  </ul>
							</li>
							<li>
								<a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">USEFUL INFO</a>
								<ul>
										<%if not ISNULL(rs_css.Fields.Item("custom_link1_text").Value) THEN %>
									<li><a href="<%=(rs_css.Fields.Item("custom_link1_url").Value)%>"><%=(rs_css.Fields.Item("custom_link1_text").Value)%></a></li>
										<% End If %>
										<% IF (rs_css.Fields.Item("video_subscriber").Value) = true Then%>
									<li><a href="/realtor/web4/videos.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Videos</a></li>
										<% End IF %>
									<li><a href="/realtor/web4/useful-info/useful-links.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Helpful Links</a></li>
									<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Buyers</a></li>
									<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Sellers</a></li>
									<li><a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Useful Information</a></li>
								</ul>
							</li>
						</ul>
					</div><!-- left_nav -->
					<!-- This portion should be hidden for the left menu and shown for the top menu templates end -->
					<!-- This portion should be shown for the left menu and hidden for the top menu templates start -->
					<div id="header_right" class="left_nav_style"><div id="realtor_photo_left">
                        	<div id="photo" ><img class="photo" src="http://cbharper.com/photos/agents/198X244/<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>.jpg" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>" /></div>
                            <div id="frame" ><img class="frame" src="/realtor/web4/images/<%=(rs_css.Fields.Item("path").Value)%>/agent_frame.png" alt="<%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>"  /></div>
                         </div>
						<h2>&quot;<%=stripHTML(rs_agentdata.Fields.Item("SLOGAN").Value)%>&quot;</h2>
					</div><!-- header_right -->
					<!-- This portion should be shown for the left menu and hidden for the top menu templates end -->
				</div><!-- header_content -->
			</div>
	    <!-- header -->
			<!-- This portion should be hidden for the left menu and shown for the top menu templates start -->
			<div id="main_nav"  class="top_nav_style">
				<ul id="t_nav">
					<li>
						<a href="/realtor/web4/default.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">HOME</a>
					</li>
					<li>
						<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">CONTACT</a>
						<ul>
							<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Contact</a></li>
							<li><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">About Me</a></li>
							<% IF (rs_css.Fields.Item("testimonials").Value) = true Then%>
							<li><a href="/realtor/web4/testimonials.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Testimonials</a></li>
							<% End If%>
						</ul>
				  </li>
					<li>
						<a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">PROPERTY SEARCH</a>
						<ul>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=RES">Residential</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=COND">Condo</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=MUL">Multi-Family</a></li>
							<li><a href="/realtor/web4/listings/search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;prop_type=LAL">Farm &amp; Land</a></li>
						</ul>
				  </li>
						<% If Not rs_featured_listings.EOF Or Not rs_featured_listings.BOF Then %>
					<li>
						<a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">FEATURED PROPERTIES</a>
						<ul>
							<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=properties">Featured</a></li>
							<% If 1 =2 Then 'Taken out till we get the sold data figured out%>
							<li><a href="/realtor/web4/listings/featured-listings.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>&amp;featured=sold">Sold</a></li>
							<% End If ' end rs_count_sold_listings.EOF Or Not rs_count_sold_listings.BOF' %>	
						</ul>
					</li>
						<% End If ' end Not rs_featured_listings.EOF Or NOT rs_featured_listings.BOF '%>
					<li>
						<a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">BUYERS</a>
						<ul>
							<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
							<li>
							<a href="http://www.netmovein.com/home/landscape?jpid=SecureHome&cid=
							<% If (rs_agentdata.Fields.Item("location").Value) = "NW" Then %>82277<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NC/1604" Then %>82171<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NE" Then %>81519<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "Stone Oak" Then %>81526<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "NB" Then %>82278<% End If %>
							<% If (rs_agentdata.Fields.Item("location").Value) = "Alamo Ranch" Then %>95555<% End If %>
								" target="_blank">Mortgage Financing</a></li>
							<li><a href="/realtor/web4/listings/search-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Property Search</a></li>
							<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Buyer Tips</a></li>
						</ul>
				  </li>
					<li>
						<a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">SELLERS</a>
						<ul>
							<li><a href="/realtor/web4/useful-info/why-use-a-realtor.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Why Use A Realtor</a></li>
							<li><a href="/realtor/web4/sellers/power-of-partnership.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">The Power Of Partnership</a></li>
							<li><a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">What&rsquo;s My Home Worth</a></li>
							<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Sellers Tips</a></li>
					  </ul>
				  </li>
					<li>
						<a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">USEFUL INFO</a>
						<ul>
								<%if not ISNULL(rs_css.Fields.Item("custom_link1_text").Value) THEN %>
							<li><a href="<%=(rs_css.Fields.Item("custom_link1_url").Value)%>"><%=(rs_css.Fields.Item("custom_link1_text").Value)%></a></li>
								<% End If %>
								<% IF (rs_css.Fields.Item("video_subscriber").Value) = true Then%>
							<li><a href="/realtor/web4/videos.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Videos</a></li>
							  <% End IF %>
							<li><a href="/realtor/web4/useful-info/useful-links.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Helpful Links</a></li>
							<li><a href="/realtor/web4/buyers/buyers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Buyers</a></li>
							<li><a href="/realtor/web4/sellers/sellers-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Tips For Sellers</a></li>
							<li><a href="/realtor/web4/useful-info/useful-info-start.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>">Useful Information</a></li>
						</ul>
				  </li>
				</ul>
			</div><!-- main_nav -->
			<!-- This portion should be hidden for the left menu and shown for the top menu templates end -->
			<div id="main">
				<div id="left_column"><h3><%=Replace(rs_agentdata.Fields.Item("Domain").Value,"www.","")%>&nbsp;</h3>
                  <div id="left_estate_search">
						<div class="title">Find Homes for Sale</div>
						<form action="/realtor/web4/listings/results.asp?a_id=<%=Request.QueryString("a_id")%>" method="POST">							
							<p class="search-input">
							  <input type="text" name="qs" class="search-input" />
							  <input name="mls" type="hidden" id="mls" value="<%=(rs_css.Fields.Item("default_mls").Value)%>" />
							</p>
						  <p id="hint">e.g. "San Antonio", "78258"<br />
				          or "Stone Oak"...</p>
                          <div id="dd_type" class="dropdown">
							  <div class="label">Type</div>
							  <select name="type" id="sel_type">
									<option value="">any</option>
<option value="RES" selected="selected" >Residential</option>
<option value="RNT">Rental</option>
<option value="COND">Condo</option>
<option value="MUL">Multi-Family</option>
<option value="LAL">Farm &amp; Land</option>
						    </select>
						  </div>
							<div class="dropdown_clear_left">
								<div class="label">Price Range</div>
								<select name="price_low" id="price_low">
									<option value="0" >[No Min]</option>
<option value="5000" >$5,000 </option>
<option value="10000" >$10,000 </option>
<option value="15000" >$15,000 </option>
<option value="20000" >$20,000 </option>
<option value="25000" >$25,000 </option>
<option value="30000" >$30,000 </option>
<option value="35000" >$35,000 </option>
<option value="40000" >$40,000 </option>
<option value="45000" >$45,000 </option>
<option value="50000" >$50,000 </option>
<option value="55000" >$55,000 </option>
<option value="60000" >$60,000 </option>
<option value="65000" >$65,000 </option>
<option value="70000" >$70,000 </option>
<option value="75000" >$75,000 </option>
<option value="80000" >$80,000 </option>
<option value="85000" >$85,000 </option>
<option value="90000" >$90,000 </option>
<option value="95000" >$95,000 </option>
<option value="100000" >$100K</option>
<option value="105000" >$105K</option>
<option value="110000" >$110K</option>
<option value="115000" >$115K</option>
<option value="120000" >$120K</option>
<option value="125000" >$125K</option>
<option value="130000" >$130K</option>
<option value="135000" >$135K</option>
<option value="140000" >$140K</option>
<option value="145000" >$145K</option>
<option value="150000" >$150K</option>
<option value="155000" >$155K</option>
<option value="160000" >$160K</option>
<option value="165000" >$165K</option>
<option value="170000" >$170K</option>
<option value="175000" >$175K</option>
<option value="180000" >$180K</option>
<option value="185000" >$185K</option>
<option value="190000" >$190K</option>
<option value="195000" >$195K</option>
<option value="200000" >$200K</option>
<option value="210000" >$210K</option>
<option value="220000" >$220K</option>
<option value="230000" >$230K</option>
<option value="240000" >$240K</option>
<option value="250000" >$250K</option>
<option value="260000" >$260K</option>
<option value="270000" >$270K</option>
<option value="280000" >$280K</option>
<option value="290000" >$290K</option>
<option value="300000" >$300K</option>
<option value="350000" >$350K</option>
<option value="400000" >$400K</option>
<option value="450000" >$450K</option>
<option value="500000" >$500K</option>
<option value="550000" >$550K</option>
<option value="600000" >$600K</option>
<option value="700000" >$700K</option>
<option value="800000" >$800K</option>
<option value="900000" >$900K</option>
<option value="1000000" >$1 Mil </option>
<option value="2000000" >$2 Mil </option>
<option value="3000000" >$3 Mil </option>
<option value="4000000" >$4 Mil </option>
<option value="5000000" >$5 Mil </option>
<option value="6000000" >$6 Mil </option>
<option value="7000000" >$7 Mil </option>
<option value="8000000" >$8 Mil </option>
<option value="9000000" >$9 Mil </option>
<option value="10000000" >$10 Mil </option>
								</select>
						  </div>
							<div class="dropdown">
								<div class="label">&nbsp;</div>
								<select name="price_high" id="price_high">
									<option value="999999999" >[No Max]</option>
<option value="5000" >$5,000 </option>
<option value="10000" >$10,000 </option>
<option value="15000" >$15,000 </option>
<option value="20000" >$20,000 </option>
<option value="25000" >$25,000 </option>
<option value="30000" >$30,000 </option>
<option value="35000" >$35,000 </option>
<option value="40000" >$40,000 </option>
<option value="45000" >$45,000 </option>
<option value="50000" >$50,000 </option>
<option value="55000" >$55,000 </option>
<option value="60000" >$60,000 </option>
<option value="65000" >$65,000 </option>
<option value="70000" >$70,000 </option>
<option value="75000" >$75,000 </option>
<option value="80000" >$80,000 </option>
<option value="85000" >$85,000 </option>
<option value="90000" >$90,000 </option>
<option value="95000" >$95,000 </option>
<option value="100000" >$100K</option>
<option value="105000" >$105K</option>
<option value="110000" >$110K</option>
<option value="115000" >$115K</option>
<option value="120000" >$120K</option>
<option value="125000" >$125K</option>
<option value="130000" >$130K</option>
<option value="135000" >$135K</option>
<option value="140000" >$140K</option>
<option value="145000" >$145K</option>
<option value="150000" >$150K</option>
<option value="155000" >$155K</option>
<option value="160000" >$160K</option>
<option value="165000" >$165K</option>
<option value="170000" >$170K</option>
<option value="175000" >$175K</option>
<option value="180000" >$180K</option>
<option value="185000" >$185K</option>
<option value="190000" >$190K</option>
<option value="195000" >$195K</option>
<option value="200000" >$200K</option>
<option value="210000" >$210K</option>
<option value="220000" >$220K</option>
<option value="230000" >$230K</option>
<option value="240000" >$240K</option>
<option value="250000" >$250K</option>
<option value="260000" >$260K</option>
<option value="270000" >$270K</option>
<option value="280000" >$280K</option>
<option value="290000" >$290K</option>
<option value="300000" >$300K</option>
<option value="350000" >$350K</option>
<option value="400000" >$400K</option>
<option value="450000" >$450K</option>
<option value="500000" >$500K</option>
<option value="550000" >$550K</option>
<option value="600000" >$600K</option>
<option value="700000" >$700K</option>
<option value="800000" >$800K</option>
<option value="900000" >$900K</option>
<option value="1000000" >$1 Mil </option>
<option value="2000000" >$2 Mil </option>
<option value="3000000" >$3 Mil </option>
<option value="4000000" >$4 Mil </option>
<option value="5000000" >$5 Mil </option>
<option value="6000000" >$6 Mil </option>
<option value="7000000" >$7 Mil </option>
<option value="8000000" >$8 Mil </option>
<option value="9000000" >$9 Mil </option>
<option value="100000000" >$10 Mil +</option>
								</select>
							</div>
						  <div class="dropdown_clear_left">
								<div class="label">Bedrooms</div>
								<select name="beds" id="beds">
									<option value="">any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
								</select>
                                
						  </div>
							<div class="dropdown">
								<div class="label">Bathrooms</div>
								<select name="baths" id="baths">
									<option value="">any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
								</select>
                                <input type="submit" name="submit" class="submit" value="find" />
						  </div>
                            
                           <div class="clear"></div>
						</form>
				  </div><!-- estate_search -->
                     <div id="contact">							<% If rs_agentdata.Fields.Item("DisplayTeamName").Value > 0 Then %>
						<div class="info"><h2><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><% =(rs_agentdata.Fields.Item("TeamName").Value)%></a></h2></div>
							<% END IF %>
					<h2><a href="/realtor/web4/about.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><%=(rs_agentdata.Fields.Item("AgentFirstName").Value)%>&nbsp;<%=(rs_agentdata.Fields.Item("AgentLastName").Value)%></a></h2>
						<%If (rs_agentdata.Fields.Item("DESIGNATIONS").Value > " ") THEN Response.Write(rs_agentdata.Fields.Item("DESIGNATIONS").Value)%><br />
				    Office: (<%=left(rs_agentdata.Fields.Item("AgentPhone").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("AgentPhone").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("AgentPhone").Value,7,4)%><br />
						Cell: (<%=left(rs_agentdata.Fields.Item("wireless").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("wireless").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("wireless").Value,7,4)%><br />
						Fax: (<%=left(rs_agentdata.Fields.Item("fax").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("fax").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("fax").Value,7,4)%><br />
						<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_agentdata.Fields.Item("AgentLicense").Value)%>"><%=(rs_agentdata.Fields.Item("EMailDomain").Value)%></a>
					<% If rs_css.Fields.Item("show_team_members").Value = TRUE Then %>
					<% 
					While ((Repeat1__numRows <> 0) AND (NOT rs_teamdata.EOF)) 
					%>
						<h3><%=(rs_teamdata.Fields.Item("FirstName").Value)%>&nbsp;<%=(rs_teamdata.Fields.Item("LastName").Value)%></h3>
						<%If (rs_teamdata.Fields.Item("DESIGNATIONS").Value > " ") THEN Response.Write(rs_teamdata.Fields.Item("DESIGNATIONS").Value&"<br />")%>
						Office: (<%=left(rs_teamdata.Fields.Item("Phone").Value,3)%>) <%=mid(rs_teamdata.Fields.Item("Phone").Value,4,3)%> - <%=mid(rs_teamdata.Fields.Item("Phone").Value,7,4)%><br />
					<a href="/realtor/web4/contact/contact-form.asp?a_id=<%=(rs_teamdata.Fields.Item("TeamLeadLicense").Value)%>"><%=(rs_teamdata.Fields.Item("EMail").Value)%></a>
					<% 
					Repeat1__index=Repeat1__index+1
					Repeat1__numRows=Repeat1__numRows-1
					rs_teamdata.MoveNext()
					Wend
					%>
					<% End If %>
					</div>
					<div id="address"><h3>Office</h3>
						<%=(rs_agentdata.Fields.Item("Office_Address").Value)%><% IF NOT ISNULL(rs_agentdata.Fields.Item("Office_Address2").Value) THEN Response.Write(", "+rs_agentdata.Fields.Item("Office_Address2").Value) END IF%><br />
				    <%=(rs_agentdata.Fields.Item("Office_City").Value)%>, TX&nbsp;&nbsp;<%=(rs_agentdata.Fields.Item("Office_ZIP").Value)%><br />
						Fax: (<%=left(rs_agentdata.Fields.Item("fax").Value,3)%>) <%=mid(rs_agentdata.Fields.Item("fax").Value,4,3)%> - <%=mid(rs_agentdata.Fields.Item("fax").Value,7,4)%><br />
					</div>
					<p><a href="javascript:open_window('http://maps.google.com/maps?f=q&hl=en&geocode=&q=<%=(rs_agentdata.Fields.Item("office_address").Value)%>+<%=(rs_agentdata.Fields.Item("office_city").Value)%>+<%=(rs_agentdata.Fields.Item("office_zip").Value)%>,tx+&z=17&iwloc=addr')">View Map</a></p>
					<p id="coldwell_logo">
						<a href="http://www.cbharper.com/" target="_blank"><img src="../images/<%=(rs_css.Fields.Item("path").Value)%>/coldwell_logo.gif" alt="" border="0" /></a>
					</p>
				</div><!-- left_column -->
				<div id="right_column">
					<div id="right_content">
                    <div id="big_wrapper" style="visibility:hidden">
<form name="form1" id="form1" method="post" action="results.asp?a_id=<%=Request.QueryString("a_id")%>">
	<div id="search_group" >
			<div id="qs_div" class="search_iframe">
			  <h4>&nbsp;Quick Search:</h4>
				<div id="quick_search_selector" class="search_iframe">				
					<input name="qs" class="basic_text" id="qs" size="60" maxlength="60" />
					 <br />
					<span class="smaller_print">&nbsp;&nbsp;e.g. "street name" or "Subdivision"</span>
				</div>
				<table width="100%"  border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="30%">
							<div id="mls_no_selector" class="show_inline">
							  <br />or by <strong>MLS#</strong><br />
							<input name="list_no" type="text" class="basic_text" id="list_no" size="15" maxlength="10" />
							</div>
						</td>
						<td width="4%">&nbsp;</td>
						<td width="33%">
							<div id="ivr_selector" class="show_inline">
							 <br /> or by <strong>HomeFacts#</strong><br />
							<input name="ivr" type="text" class="basic_text" id="ivr" size="15" maxlength="10" />
							</div>
						</td>
					<td width="33%" class="make_right"><span class="make_right" ><a href="search.asp?a_id=<%=Request.QueryString("a_id")%>&amp;s=o">(Start Over)</a></span><br />
					  <br /><br />
					<input name="Submit" type="submit"  value="Submit" /></td>
					</tr>
				</table>
			</div>
			<div id="iframe_wrapper1">
				<div id="basic_search_container" class="search_iframe">
					<span ><a href="javascript:;" onmousedown="toggleSlide('basic_search');"><h4>&nbsp;Basic Search</h4></a></span>
						<div  id="basic_search" style="display:none; overflow:hidden; height:325px;" >
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="47%" valign="top">
							<div id="mls_selector" class="search_iframe"><span class="data_caption">Multiple Listing Service?</span>
								<p>
								  <label>
									<input <%If (CStr(mymls) = CStr("sanantonio")) Then Response.Write("CHECKED") : Response.Write("")%> name="MLS" type="radio" value="sanantonio" checked="checked">
									San Antonio and surrounding areas</label>
									<br />
									<label><input <%If (CStr(mymls) = CStr("centraltexas")) Then Response.Write("CHECKED") : Response.Write("")%> type="radio" name="MLS" value="centraltexas">
									New Braunfels and surrounding areas</label>
									<br />
								</p>
							</div>
							<div id="city_selector" class="search_iframe">
					<p><span class="search_headers">City?</span>
								<select name="city" class="basic_text" id="city" >
								  <option value="">Any</option>
								  <%
While (NOT rs_city.EOF)
%>
								  <option value="<%=(rs_city.Fields.Item("CITY").Value)%>"><%=(rs_city.Fields.Item("CITY").Value)%></option>
								  <%
  rs_city.MoveNext()
Wend
If (rs_city.CursorType > 0) Then
  rs_city.MoveFirst
Else
  rs_city.Requery
End If
%>
								</select>
				 </p></div>
							<div id="property_type_selector" class="search_iframe">
								<p><span class="search_headers">Property Type?</span>
								<select name="prop_type" class="basic_text" id="prop_type">
<option value="RES" selected="selected">Residential</option>
<option value="COND">Condos</option>
<option value="MUL">Multi-Family</option>
<option value="LAL">Lots Land or Farms</option>
								</select>
								</p>
							</div>
							
							<div id="price_selector" class="search_iframe">
								<p><span class="data_caption">Price?</span>
								<select name="price_low" class="basic_text" id="price_low">
<option value="" selected="selected" >[No Min]</option>
<option value="5000">$5,000 </option>
<option value="10000">$10,000 </option>
<option value="15000">$15,000 </option>
<option value="20000">$20,000 </option>
<option value="25000">$25,000 </option>
<option value="30000">$30,000 </option>
<option value="35000">$35,000 </option>
<option value="40000">$40,000 </option>
<option value="45000">$45,000 </option>
<option value="50000">$50,000 </option>
<option value="55000">$55,000 </option>
<option value="60000">$60,000 </option>
<option value="65000">$65,000 </option>
<option value="70000">$70,000 </option>
<option value="75000">$75,000 </option>
<option value="80000">$80,000 </option>
<option value="85000">$85,000 </option>
<option value="90000">$90,000 </option>
<option value="95000">$95,000 </option>
<option value="100000">$100K</option>
<option value="105000">$105K</option>
<option value="110000">$110K</option>
<option value="115000">$115K</option>
<option value="120000">$120K</option>
<option value="125000">$125K</option>
<option value="130000">$130K</option>
<option value="135000">$135K</option>
<option value="140000">$140K</option>
<option value="145000">$145K</option>
<option value="150000">$150K</option>
<option value="155000">$155K</option>
<option value="160000">$160K</option>
<option value="165000">$165K</option>
<option value="170000">$170K</option>
<option value="175000">$175K</option>
<option value="180000">$180K</option>
<option value="185000">$185K</option>
<option value="190000">$190K</option>
<option value="195000">$195K</option>
<option value="200000">$200K</option>
<option value="210000">$210K</option>
<option value="220000">$220K</option>
<option value="230000">$230K</option>
<option value="240000">$240K</option>
<option value="250000">$250K</option>
<option value="260000">$260K</option>
<option value="270000">$270K</option>
<option value="280000">$280K</option>
<option value="290000">$290K</option>
<option value="300000">$300K</option>
<option value="350000">$350K</option>
<option value="400000">$400K</option>
<option value="450000">$450K</option>
<option value="500000">$500K</option>
<option value="550000">$550K</option>
<option value="600000">$600K</option>
<option value="700000">$700K</option>
<option value="800000">$800K</option>
<option value="900000">$900K</option>
<option value="1000000">$1 Mil </option>
<option value="2000000">$2 Mil </option>
<option value="3000000">$3 Mil </option>
<option value="4000000">$4 Mil </option>
<option value="5000000">$5 Mil </option>
<option value="6000000">$6 Mil </option>
<option value="7000000">$7 Mil </option>
<option value="8000000">$8 Mil </option>
<option value="9000000">$9 Mil </option>
<option value="10000000">$10 Mil </option>

							  </select>
										to <select name="price_high" class="basic_text" id="price_high">
<option value="" selected="selected" >[No Max]</option>
<option value="5000" >$5,000 </option>
<option value="10000" >$10,000 </option>
<option value="15000" >$15,000 </option>
<option value="20000" >$20,000 </option>
<option value="25000" >$25,000 </option>
<option value="30000" >$30,000 </option>
<option value="35000" >$35,000 </option>
<option value="40000" >$40,000 </option>
<option value="45000" >$45,000 </option>
<option value="50000" >$50,000 </option>
<option value="55000" >$55,000 </option>
<option value="60000" >$60,000 </option>
<option value="65000" >$65,000 </option>
<option value="70000" >$70,000 </option>
<option value="75000" >$75,000 </option>
<option value="80000" >$80,000 </option>
<option value="85000" >$85,000 </option>
<option value="90000" >$90,000 </option>
<option value="95000" >$95,000 </option>
<option value="100000" >$100K</option>
<option value="105000" >$105K</option>
<option value="110000" >$110K</option>
<option value="115000" >$115K</option>
<option value="120000" >$120K</option>
<option value="125000" >$125K</option>
<option value="130000" >$130K</option>
<option value="135000" >$135K</option>
<option value="140000" >$140K</option>
<option value="145000" >$145K</option>
<option value="150000" >$150K</option>
<option value="155000" >$155K</option>
<option value="160000" >$160K</option>
<option value="165000" >$165K</option>
<option value="170000" >$170K</option>
<option value="175000" >$175K</option>
<option value="180000" >$180K</option>
<option value="185000" >$185K</option>
<option value="190000" >$190K</option>
<option value="195000" >$195K</option>
<option value="200000" >$200K</option>
<option value="210000" >$210K</option>
<option value="220000" >$220K</option>
<option value="230000" >$230K</option>
<option value="240000" >$240K</option>
<option value="250000" >$250K</option>
<option value="260000" >$260K</option>
<option value="270000" >$270K</option>
<option value="280000" >$280K</option>
<option value="290000" >$290K</option>
<option value="300000" >$300K</option>
<option value="350000" >$350K</option>
<option value="400000" >$400K</option>
<option value="450000" >$450K</option>
<option value="500000" >$500K</option>
<option value="550000" >$550K</option>
<option value="600000" >$600K</option>
<option value="700000" >$700K</option>
<option value="800000" >$800K</option>
<option value="900000" >$900K</option>
<option value="1000000" >$1 Mil </option>
<option value="2000000" >$2 Mil </option>
<option value="3000000" >$3 Mil </option>
<option value="4000000" >$4 Mil </option>
<option value="5000000" >$5 Mil </option>
<option value="6000000" >$6 Mil </option>
<option value="7000000" >$7 Mil </option>
<option value="8000000" >$8 Mil </option>
<option value="9000000" >$9 Mil </option>
<option value="100000000" >$10 Mil +</option>
								</select>
							</p>
							</div>
							<div id="sqft_selector" class="search_iframe">
							<p><span class="search_headers">Square Feet?</span>
								<input name="sqft_low" type="text" class="basic_text" id="sqft_low" value="" size="10" maxlength="10"> 
								to 
								<input name="sqft_high" type="text" class="basic_text" id="sqft_high" value="" size="10" maxlength="10">
				</p></div>
												
				</td>
    <td width="3%" valign="top" class="left_border">&nbsp;</td>
    <td width="50%" valign="top">
	<div id="bedroom_selector" class="search_iframe">
	<p><span class="data_caption">Bedrooms?&nbsp;</span>
								<select name="beds_low" class="basic_text" id="beds_low">
<option value="" selected="selected">any</option>
<option value="1" >1</option>
<option value="2" >2</option>
<option value="3" >3</option>
<option value="4" >4</option>
<option value="5" >5</option>
<option value="6" >6</option>
					  </select>
								to                      
								<select name="beds_high" class="basic_text" id="beds_high">
								  <option value="" selected="selected" <%If (Not isNull(mybeds_high)) Then If ("" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
					  </select>
					</p>
				  </div>
							<div id="bathroom_selector" class="search_iframe">
							<p><span class="data_caption">Bathrooms?</span>
								<select name="baths_low" class="basic_text" id="baths_low">
<option value="" selected="selected">any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
							  </select>
								to	                  
								<select name="baths_high" class="basic_text" id="baths_high">
<option value="" selected="selected" >any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
							  </select>
							  </p>
				  </div>
							<div id="halfbathroom_selector" class="search_iframe">								
								<p><span class="data_caption">Half Baths?&nbsp;&nbsp;</span>
								<select name="hfbaths_low" class="basic_text" id="hfbaths_low">
<option value="" selected="selected">any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
								</select>
								to
								<select name="hfbaths_high" class="basic_text" id="hfbaths_high">
<option value="" selected="selected">any</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
								</select>	
								</p>
							</div>
							<div id="school_district_selector" class="search_iframe">
							<p><span class="search_headers">School District?</span>
								<select name="school_dist" class="basic_text" id="school_dist">
<option value="" selected="selected" >Any School District&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="Alamo Heights" >Alamo Heights</option>
<option value="Alpine" >Alpine</option>
<option value="Aransas" >Aransas</option>
<option value="Austin" >Austin</option>
<option value="Bandera" >Bandera</option>
<option value="Benevides" >Benevides</option>
<option value="Blanco" >Blanco</option>
<option value="Boerne" >Boerne</option>
<option value="Brackettville" >Brackettville</option>
<option value="Brady" >Brady</option>
<option value="Brenham" >Brenham </option>
<option value="Burnet" >Burnet</option>
<option value="Carrizo Spring" >Carrizo Spring</option>
<option value="Center Point" >Center Point</option>
<option value="Charlotte" >Charlotte</option>
<option value="Comal" >Comal</option>
<option value="Comfort" >Comfort</option>
<option value="Corpus Christi" >Corpus Christi</option>
<option value="Cotulla" >Cotulla</option>
<option value="Crystal City" >Crystal City</option>
<option value="Cuero" >Cuero</option>
<option value="Devine" >Devine</option>
<option value="Dhanis" >Dhanis</option>
<option value="Dilley" >Dilley</option>
<option value="Divide" >Divide</option>
<option value="Dripping Springs" >Dripping Springs</option>
<option value="Eagle Pass" >Eagle Pass</option>
<option value="Eanes" >Eanes</option>
<option value="East Central" >East Central</option>
<option value="Eden" >Eden</option>
<option value="Edgewood" >Edgewood</option>
<option value="Edinburg Consolidated" >Edinburg Consolidated</option>
<option value="Fall City" >Fall City</option>
<option value="Floresville" >Floresville</option>
<option value="Flour Bluff" >Flour Bluff</option>
<option value="Fredericksburg" >Fredericksburg</option>
<option value="George West" >George West</option>
<option value="Gonzales" >Gonzales</option>
<option value="Granger" >Granger</option>
<option value="Hallettsville" >Hallettsville</option>
<option value="Harlandale" >Harlandale</option>
<option value="Harper" >Harper</option>
<option value="Hays" >Hays</option>
<option value="Hondo" >Hondo</option>
<option value="Hunt" >Hunt</option>
<option value="Ingleside" >Ingleside</option>
<option value="Ingram" >Ingram</option>
<option value="Johnson City" >Johnson City</option>
<option value="Jourdanton" >Jourdanton</option>
<option value="Judson" >Judson</option>
<option value="Junction" >Junction</option>
<option value="Karnes City" >Karnes City</option>
<option value="Kenedy" >Kenedy </option>
<option value="Kerrville" >Kerrville</option>
<option value="Kyle" >Kyle</option>
<option value="La Vernia" >La Vernia</option>
<option value="Lackland" >Lackland </option>
<option value="Leakey" >Leakey</option>
<option value="Leander" >Leander </option>
<option value="Llano" >Llano</option>
<option value="Lockhart" >Lockhart</option>
<option value="Luling" >Luling</option>
<option value="Lytle" >Lytle</option>
<option value="Marble Falls" >Marble Falls</option>
<option value="Marion" >Marion</option>
<option value="Mason" >Mason</option>
<option value="Mathis" >Mathis</option>
<option value="Medina" >Medina</option>
<option value="Medina Valley" >Medina Valley </option>
<option value="Mission Consolidated" >Mission Consolidated</option>
<option value="Moulton" >Moulton</option>
<option value="NISD" >NISD</option>
<option value="NEISD" >NEISD</option>
<option value="Natalia" >Natalia</option>
<option value="Navarro" >Navarro</option>
<option value="Navasota" >Navasota</option>
<option value="New Braunfels" >New Braunfels</option>
<option value="Nixon" >Nixon</option>
<option value="Nordheim" >Nordheim</option>
<option value="North East" >North East</option>
<option value="Northside" >Northside</option>
<option value="North West" >North West</option>
<option value="Nueces Canyon" >Nueces Canyon</option>
<option value="Pearsall" >Pearsall</option>
<option value="Pleasanton" >Pleasanton</option>
<option value="Port Aransas" >Port Aransas</option>
<option value="Port Isabel" >Port Isabel</option>
<option value="Poteet" >Poteet</option>
<option value="Poth" >Poth</option>
<option value="PSJA" >PSJA</option>
<option value="Rocksprings" >Rocksprings</option>
<option value="Sabinal" >Sabinal</option>
<option value="San Antonio" >San Antonio</option>
<option value="San Felipe/Del Rio" >San Felipe/Del Rio</option>
<option value="San Marcos" >San Marcos</option>
<option value="Schertz" >Schertz</option>
<option value="Schertz Cibolo" >Schertz Cibolo</option>
<option value="Schleicher County" >Schleicher County</option>
<option value="Schulenburg" >Schulenburg</option>
<option value="Seguin" >Seguin</option>
<option value="Smithville" >Smithville</option>
<option value="Somerset" >Somerset</option>
<option value="Sonora" >Sonora</option>
<option value="South San Antonio" >South San Antonio</option>
<option value="South Side" >South Side</option>
<option value="South Texas" >South Texas</option>
<option value="southside" >southside</option>
<option value="South West" >South West</option>
<option value="Stockdale" >Stockdale</option>
<option value="Terrell County" >Terrell County</option>
<option value="Three Rivers" >Three Rivers</option>
<option value="United" >United </option>
<option value="Utopia" >Utopia</option>
<option value="Uvalde" >Uvalde</option>
<option value="Uvalde County" >Uvalde County</option>
<option value="Waelder" >Waelder </option>
<option value="Wimberly" >Wimberly</option>
<option value="Yorktown" >Yorktown</option>

							  </select>
							</p>
							</div>
				  <div id="subdivision_selector" >
				  <p><span class="search_headers">Subdivision / Neighborhood?</span>
							<select name="subdivision" id="subdivision" class="basic_text">
							  <option value="" >Any Subdivision / Neighborhood</option>
							  <%
While (NOT rs_subdivisions.EOF)
%>
							  <option value="><%=(rs_subdivisions.Fields.Item("SUBDIVISION").Value)%></option>
							  <%
  rs_subdivisions.MoveNext()
Wend
If (rs_subdivisions.CursorType > 0) Then
  rs_subdivisions.MoveFirst
Else
  rs_subdivisions.Requery
End If
%>
                            </select>
					</p>
</div>
<div id="zip_selector" class="search_iframe">
<p><span class="search_headers">Zip Code?</span>
								<select name="zip" class="basic_text" id="zip" >
								  <option value="" >Any</option>
								  <%
While (NOT rs_zip.EOF)
%>
								  <option value="<%=(rs_zip.Fields.Item("ZIP").Value)%>" ><%=(rs_zip.Fields.Item("ZIP").Value)%></option>
								  <%
  rs_zip.MoveNext()
Wend
If (rs_zip.CursorType > 0) Then
  rs_zip.MoveFirst
Else
  rs_zip.Requery
End If
%>
								</select>
					</p></div>

					<input class="float_right" name="Submit" type="submit"  value="Submit" />
				</td>
  </tr>

</table>

							
							
							
						</div><!-- this is the end of the basic search div -->
			  </div>
			</div>
			<d

The reason why the first form control portion of the html is not formated nicely was that I was experimenting to see if removing the formating would reduce rendering speed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.