User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 425,979 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,630 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 497 | Replies: 4
Reply
Join Date: Jun 2008
Posts: 8
Reputation: t_serva is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
t_serva t_serva is offline Offline
Newbie Poster

Form's controls data takes too long to load

  #1  
Jun 24th, 2008
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/lis...&prop_type=RES

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

Thanks for taking the time to look at this.
Tony
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2008
Posts: 8
Reputation: t_serva is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
t_serva t_serva is offline Offline
Newbie Poster

Re: Form's controls data takes too long to load

  #2  
Jun 24th, 2008
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.
Reply With Quote  
Join Date: Jun 2008
Posts: 8
Reputation: t_serva is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
t_serva t_serva is offline Offline
Newbie Poster

Re: Form's controls data takes too long to load

  #3  
Jun 24th, 2008
<%@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.Write("")%>>$165K</option><option value="170000"  <%If (Not isNull(myprice_high)) Then If ("170000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$170K</option><option value="175000"  <%If (Not isNull(myprice_high)) Then If ("175000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$175K</option><option value="180000"  <%If (Not isNull(myprice_high)) Then If ("180000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$180K</option><option value="185000"  <%If (Not isNull(myprice_high)) Then If ("185000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$185K</option><option value="190000"  <%If (Not isNull(myprice_high)) Then If ("190000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$190K</option><option value="195000"  <%If (Not isNull(myprice_high)) Then If ("195000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$195K</option><option value="200000"  <%If (Not isNull(myprice_high)) Then If ("200000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$200K</option><option value="210000"  <%If (Not isNull(myprice_high)) Then If ("210000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$210K</option><option value="220000"  <%If (Not isNull(myprice_high)) Then If ("220000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$220K</option><option value="230000"  <%If (Not isNull(myprice_high)) Then If ("230000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$230K</option><option value="240000"  <%If (Not isNull(myprice_high)) Then If ("240000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$240K</option><option value="250000"  <%If (Not isNull(myprice_high)) Then If ("250000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$250K</option><option value="260000"  <%If (Not isNull(myprice_high)) Then If ("260000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$260K</option><option value="270000"  <%If (Not isNull(myprice_high)) Then If ("270000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$270K</option><option value="280000"  <%If (Not isNull(myprice_high)) Then If ("280000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$280K</option><option value="290000"  <%If (Not isNull(myprice_high)) Then If ("290000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$290K</option><option value="300000"  <%If (Not isNull(myprice_high)) Then If ("300000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$300K</option><option value="350000"  <%If (Not isNull(myprice_high)) Then If ("350000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$350K</option><option value="400000"  <%If (Not isNull(myprice_high)) Then If ("400000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$400K</option><option value="450000"  <%If (Not isNull(myprice_high)) Then If ("450000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$450K</option><option value="500000"  <%If (Not isNull(myprice_high)) Then If ("500000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$500K</option><option value="550000"  <%If (Not isNull(myprice_high)) Then If ("550000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$550K</option><option value="600000"  <%If (Not isNull(myprice_high)) Then If ("600000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$600K</option><option value="700000"  <%If (Not isNull(myprice_high)) Then If ("700000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$700K</option><option value="800000"  <%If (Not isNull(myprice_high)) Then If ("800000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$800K</option><option value="900000"  <%If (Not isNull(myprice_high)) Then If ("900000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$900K</option><option value="1000000"  <%If (Not isNull(myprice_high)) Then If ("1000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$1 Mil </option><option value="2000000"  <%If (Not isNull(myprice_high)) Then If ("2000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$2 Mil </option><option value="3000000"  <%If (Not isNull(myprice_high)) Then If ("3000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$3 Mil </option><option value="4000000"  <%If (Not isNull(myprice_high)) Then If ("4000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$4 Mil </option><option value="5000000"  <%If (Not isNull(myprice_high)) Then If ("5000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$5 Mil </option><option value="6000000"  <%If (Not isNull(myprice_high)) Then If ("6000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$6 Mil </option><option value="7000000"  <%If (Not isNull(myprice_high)) Then If ("7000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$7 Mil </option><option value="8000000"  <%If (Not isNull(myprice_high)) Then If ("8000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$8 Mil </option><option value="9000000"  <%If (Not isNull(myprice_high)) Then If ("9000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$9 Mil </option><option value="100000000"  <%If (Not isNull(myprice_high)) Then If ("100000000" = CStr(myprice_high)) Then Response.Write("SELECTED") : Response.Write("")%>>$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="<%= mysqft_low %>" size="10" maxlength="10"> 
								to 
								<input name="sqft_high" type="text" class="basic_text" id="sqft_high" value="<%=mysqft_high%>" 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" <%If (Not isNull(mybeds_low)) Then If ("" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option><option value="1" <%If (Not isNull(mybeds_low)) Then If ("1" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(mybeds_low)) Then If ("2" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(mybeds_low)) Then If ("3" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(mybeds_low)) Then If ("4" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>4</option><option value="5" <%If (Not isNull(mybeds_low)) Then If ("5" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>5</option><option value="6" <%If (Not isNull(mybeds_low)) Then If ("6" = CStr(mybeds_low)) Then Response.Write("SELECTED") : Response.Write("")%>>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" <%If (Not isNull(mybeds_high)) Then If ("1" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(mybeds_high)) Then If ("2" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(mybeds_high)) Then If ("3" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(mybeds_high)) Then If ("4" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>4</option><option value="5" <%If (Not isNull(mybeds_high)) Then If ("5" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>5</option><option value="6" <%If (Not isNull(mybeds_high)) Then If ("6" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>6</option><option value="7" <%If (Not isNull(mybeds_high)) Then If ("7" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>7</option><option value="8" <%If (Not isNull(mybeds_high)) Then If ("8" = CStr(mybeds_high)) Then Response.Write("SELECTED") : Response.Write("")%>>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" <%If (Not isNull(mybaths_low)) Then If ("" = CStr(mybaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option><option value="1" <%If (Not isNull(mybaths_low)) Then If ("1" = CStr(mybaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(mybaths_low)) Then If ("2" = CStr(mybaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(mybaths_low)) Then If ("3" = CStr(mybaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(mybaths_low)) Then If ("4" = CStr(mybaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>4</option>
							  </select>
								to	                  
								<select name="baths_high" class="basic_text" id="baths_high">
								  <option value="" selected="selected" <%If (Not isNull(mybaths_high)) Then If ("" = CStr(mybaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option><option value="1" <%If (Not isNull(mybaths_high)) Then If ("1" = CStr(mybaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(mybaths_high)) Then If ("2" = CStr(mybaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(mybaths_high)) Then If ("3" = CStr(mybaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(mybaths_high)) Then If ("4" = CStr(mybaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>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" <%If (Not isNull(myhfbaths_low)) Then If ("" = CStr(myhfbaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option><option value="1" <%If (Not isNull(myhfbaths_low)) Then If ("1" = CStr(myhfbaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(myhfbaths_low)) Then If ("2" = CStr(myhfbaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(myhfbaths_low)) Then If ("3" = CStr(myhfbaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(myhfbaths_low)) Then If ("4" = CStr(myhfbaths_low)) Then Response.Write("SELECTED") : Response.Write("")%>>4</option>
								</select>
								to
								<select name="hfbaths_high" class="basic_text" id="hfbaths_high">
								  <option value="" selected="selected" <%If (Not isNull(myhfbaths_high)) Then If ("" = CStr(myhfbaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>any</option><option value="1" <%If (Not isNull(myhfbaths_high)) Then If ("1" = CStr(myhfbaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>1</option><option value="2" <%If (Not isNull(myhfbaths_high)) Then If ("2" = CStr(myhfbaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>2</option><option value="3" <%If (Not isNull(myhfbaths_high)) Then If ("3" = CStr(myhfbaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>3</option><option value="4" <%If (Not isNull(myhfbaths_high)) Then If ("4" = CStr(myhfbaths_high)) Then Response.Write("SELECTED") : Response.Write("")%>>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" <%If (Not isNull(myschool_dist)) Then If ("" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Any School District&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option><option value="Alamo Heights" <%If (Not isNull(myschool_dist)) Then If ("Alamo Heights" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Alamo Heights</option><option value="Alpine" <%If (Not isNull(myschool_dist)) Then If ("Alpine" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Alpine</option><option value="Aransas" <%If (Not isNull(myschool_dist)) Then If ("Aransas" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Aransas</option><option value="Austin" <%If (Not isNull(myschool_dist)) Then If ("Austin" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Austin</option><option value="Bandera" <%If (Not isNull(myschool_dist)) Then If ("Bandera" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Bandera</option><option value="Benevides" <%If (Not isNull(myschool_dist)) Then If ("Benevides" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Benevides</option><option value="Blanco" <%If (Not isNull(myschool_dist)) Then If ("Blanco" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Blanco</option><option value="Boerne" <%If (Not isNull(myschool_dist)) Then If ("Boerne" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Boerne</option><option value="Brackettville" <%If (Not isNull(myschool_dist)) Then If ("Brackettville" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Brackettville</option><option value="Brady" <%If (Not isNull(myschool_dist)) Then If ("Brady" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Brady</option><option value="Brenham" <%If (Not isNull(myschool_dist)) Then If ("Brenham" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Brenham </option><option value="Burnet" <%If (Not isNull(myschool_dist)) Then If ("Burnet" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Burnet</option><option value="Carrizo Spring" <%If (Not isNull(myschool_dist)) Then If ("Carrizo Spring" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Carrizo Spring</option><option value="Center Point" <%If (Not isNull(myschool_dist)) Then If ("Center Point" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Center Point</option><option value="Charlotte" <%If (Not isNull(myschool_dist)) Then If ("Charlotte" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Charlotte</option><option value="Comal" <%If (Not isNull(myschool_dist)) Then If ("Comal" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Comal</option><option value="Comfort" <%If (Not isNull(myschool_dist)) Then If ("Comfort" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Comfort</option><option value="Corpus Christi" <%If (Not isNull(myschool_dist)) Then If ("Corpus Christi" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Corpus Christi</option><option value="Cotulla" <%If (Not isNull(myschool_dist)) Then If ("Cotulla" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Cotulla</option><option value="Crystal City" <%If (Not isNull(myschool_dist)) Then If ("Crystal City" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Crystal City</option><option value="Cuero" <%If (Not isNull(myschool_dist)) Then If ("Cuero" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Cuero</option><option value="Devine" <%If (Not isNull(myschool_dist)) Then If ("Devine" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Devine</option><option value="Dhanis" <%If (Not isNull(myschool_dist)) Then If ("Dhanis" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Dhanis</option><option value="Dilley" <%If (Not isNull(myschool_dist)) Then If ("Dilley" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Dilley</option><option value="Divide" <%If (Not isNull(myschool_dist)) Then If ("Divide" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Divide</option><option value="Dripping Springs" <%If (Not isNull(myschool_dist)) Then If ("Dripping Springs" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Dripping Springs</option><option value="Eagle Pass" <%If (Not isNull(myschool_dist)) Then If ("Eagle Pass" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Eagle Pass</option><option value="Eanes" <%If (Not isNull(myschool_dist)) Then If ("Eanes" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Eanes</option><option value="East Central" <%If (Not isNull(myschool_dist)) Then If ("East Central" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>East Central</option><option value="Eden" <%If (Not isNull(myschool_dist)) Then If ("Eden" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Eden</option><option value="Edgewood" <%If (Not isNull(myschool_dist)) Then If ("Edgewood" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Edgewood</option><option value="Edinburg Consolidated" <%If (Not isNull(myschool_dist)) Then If ("Edinburg Consolidated" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Edinburg Consolidated</option><option value="Fall City" <%If (Not isNull(myschool_dist)) Then If ("Fall City" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Fall City</option><option value="Floresville" <%If (Not isNull(myschool_dist)) Then If ("Floresville" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Floresville</option><option value="Flour Bluff" <%If (Not isNull(myschool_dist)) Then If ("Flour Bluff" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Flour Bluff</option><option value="Fredericksburg" <%If (Not isNull(myschool_dist)) Then If ("Fredericksburg" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Fredericksburg</option><option value="George West" <%If (Not isNull(myschool_dist)) Then If ("George West" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>George West</option><option value="Gonzales" <%If (Not isNull(myschool_dist)) Then If ("Gonzales" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Gonzales</option><option value="Granger" <%If (Not isNull(myschool_dist)) Then If ("Granger" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Granger</option><option value="Hallettsville" <%If (Not isNull(myschool_dist)) Then If ("Hallettsville" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Hallettsville</option><option value="Harlandale" <%If (Not isNull(myschool_dist)) Then If ("Harlandale" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Harlandale</option><option value="Harper" <%If (Not isNull(myschool_dist)) Then If ("Harper" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Harper</option><option value="Hays" <%If (Not isNull(myschool_dist)) Then If ("Hays" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Hays</option><option value="Hondo" <%If (Not isNull(myschool_dist)) Then If ("Hondo" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Hondo</option><option value="Hunt" <%If (Not isNull(myschool_dist)) Then If ("Hunt" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Hunt</option><option value="Ingleside" <%If (Not isNull(myschool_dist)) Then If ("Ingleside" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Ingleside</option><option value="Ingram" <%If (Not isNull(myschool_dist)) Then If ("Ingram" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Ingram</option><option value="Johnson City" <%If (Not isNull(myschool_dist)) Then If ("Johnson City" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Johnson City</option><option value="Jourdanton" <%If (Not isNull(myschool_dist)) Then If ("Jourdanton" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Jourdanton</option><option value="Judson" <%If (Not isNull(myschool_dist)) Then If ("Judson" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Judson</option><option value="Junction" <%If (Not isNull(myschool_dist)) Then If ("Junction" = CStr(myschool_dist)) Then Response.Write("SELECTED") : Response.Write("")%>>Junction</option><option value="Karnes City" <%If (Not isNull(myschool_dist)) Then If ("Karnes City" = CStr(myschool_d