var jsfileisloaded = "true";
var testmessage = "abcdef";


function test(){alert ("test.");}

function pagetitle(pagetitle){
document.write('<BR>');
document.write('<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER"  border=0>');
document.write('<TR><TD COLSPAN="2" CLASS="pagetitleNEW">');
document.write(pagetitle);
document.write('</TD></TR>');

document.write('</TABLE>');
}

function buttonpurple (buttontitle,htmltitle){
document.write('<TR><TD ALIGN="CENTER" WIDTH=160 HEIGHT=55  CLASS="buttonpurple" BGCOLOR="background:#46279c; "><A HREF="');
document.write(htmltitle);
document.write('" CLASS="buttonpurple">');
document.write(buttontitle);
document.write('</A></TD></TR>');
}
		
		
function leftnavNEW(){
document.write('<TABLE  WIDTH="160" cellpadding="0" CELLSPACING="12" background="#312994">');
buttonpurple("What is My<BR>Home Worth?","whatsmyhomeworth.html");
buttonpurple("Dreaming of<BR>a New Home?","dreamingnewhome.html");
buttonpurple("Get the Most<BR>Money","getmostmoney.html");
buttonpurple("Analysis<BR>and Opinion","analysis.html");
buttonpurple("Doing it<BR>Yourself?","doityourself.html");

document.write('<TR><TD ALIGN="CENTER" ><a href="http://www.wunderground.com/US/OR/Portland.html" ><img src="http://banners.wunderground.com/banner/gizmotimetemp/US/OR/Portland.gif" alt="Click for Portland, Oregon Forecast" height=41 width=127 border=0 ></a><BR><a href="http://www.wunderground.com/US/OR/Portland.html"  class="weather"><nobr>Weather in Portland, OR</nobr></a></TD></TR>');

document.write('<TR><TD ALIGN="CENTER"><IMG SRC="images/equalhousingx80.gif" WIDTH=80 HEIGHT=76 BORDER=0 ALT=""></TD></TR>');

document.write('<TR><TD ALIGN="CENTER"><IMG SRC="images/MLS_Bluex120.gif" WIDTH=120 HEIGHT=53 BORDER=0 ALT=""></TD></TR>')


document.write('<TR><TD ALIGN="CENTER" colspan=3><font size=1 color=white>')
document.write('<a target="_top" href="http://t.extreme-dm.com/?login=ronaldx">')
document.write('<img src="http://u1.extreme-dm.com/i.gif" height=38')
document.write('border=0 width=41 alt=""></a><script language="javascript1.2"><!--')
document.write('EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?')
document.write('EXb=EXs.colorDepth:EXb=EXs.pixelDepth;//-->')
document.write('</script><script language="javascript"><!--')
document.write('EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";')
document.write('EXd.write("<img src=\"http://t0.extreme-dm.com",')
document.write('"/0.gif?tag=ronaldx&j=y&srw="+EXw+"&srb="+EXb+"&",')
document.write('"l="+escape(parent.document.referrer)+"\" height=1 width=1>");//-->')
document.write('</script><noscript><img height=1 width=1 alt=""')
document.write('src="http://t0.extreme-dm.com/0.gif?tag=ronaldx&j=n"></noscript>')
document.write('</font></TD>')
document.write('</TR>')
document.write('	</TABLE>');
}

function navfoot(){
document.write('<BR><BR><DIV ALIGN="center">')
document.write('<TABLE WIDTH="90%" CELLPADDING="2" CELLSPACING="2">')
document.write('<TR><TD CLASS="navfoot"><A HREF="sellers.html">sellers</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="buyers.html">buyers</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="about.html">about us</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="mortgage_info.html">mortgage info</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="property.html">see homes</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="relocation.html">relocation</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="contact.html">contact us</A></TD></TR>')
document.write('</TABLE>')

document.write('<TABLE WIDTH="90%" CELLPADDING="3" CELLSPACING="3">')
document.write('<TR>')
document.write('	<TD CLASS="navfoot"><A HREF="whatsmyhomeworth.html" TITLE="What is my home worth? We can advise you.">what is my home worth?</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="dreamingnewhome.html" TITLE="Dreaming of a new home? Tell us what you want.">dreaming of a new home?</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="getmostmoney.html" TITLE="Advice about how to get the most money for your home.">get the most money</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="analysis.html">analysis and opinion</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="doityourself.html" TITLE="Are you selling your home yourself? Tips and advice.">doing it yourself?</A></TD>')
document.write('	<TD CLASS="navfoot"><A HREF="index.html">home</A></TD></TR>')
document.write('</TABLE>')
}

function visitRDH(){
document.write('<center>Visit <A HREF="http://www.rondavishomes.com/">Ron Davis Homes</A> for comprehensive real estate services.</CENTER>');
}

function bannerNEW(action){
if (action == "center" ) {document.write('<center>');}

document.write('<A HREF="http://www.rondavishomes.com/"><IMG SRC="images/bannernew2.gif" WIDTH=635 HEIGHT=68 BORDER=0 ALT="" VSPACE="0"></A><BR>')


if (action == "center" ) {document.write('</center>');}

}

function bannerNEWhomes(){
document.write('<IMG SRC="../images/bannernew2.gif" WIDTH=635 HEIGHT=68 BORDER=0 ALT="" VSPACE="0"><BR>')
}

function buttongray (buttontitle,htmltitle){
document.write('<TD ALIGN="CENTER" height=35 CLASS="buttongray" BGCOLOR="#808080"><A HREF="');
document.write(htmltitle);
document.write('" CLASS="buttongray">');
document.write(buttontitle);
document.write('</A></TD>');

}
				
function topnavNEW(){
document.write('<TABLE WIDTH="100%" CELLSPACING="4" CELLPADDING="6">');
document.write('<TR>');
buttongray("For Sellers","sellers.html");
buttongray("For Buyers","buyers.html");
buttongray("About Us","about.html");
buttongray("Mortgage Info","mortgage_info.html");
buttongray("See Homes","property.html");
buttongray("Relocation","relocation.html");
buttongray("Contact","contact.html");
document.write('</TR>');
document.write('</TABLE>');



}


function footer(){
document.write('<br><br><DIV ALIGN="center"><CENTER>');
document.write('<TABLE>');
document.write('<TR><TD width=10><IMG SRC="images/vertlineleft.gif"  BORDER=0 ALT="" WIDTH=11 HEIGHT=9></TD>');
document.write('<TD ALIGN="CENTER"><P class="little80"><A HREF="home.html">home</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="about.html">about us</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="property.html">property</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="info.html">information</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="contact.html">contact us</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="links.html">links</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="relocation.html">relocation</A></P></TD>');
document.write('<TD width=10><IMG SRC="images/vertlineright.gif"  BORDER=0 ALT="" WIDTH=11 HEIGHT=9></TD></TR>');
document.write('<TR>');
document.write('<TD COLSPAN="3"><HR COLOR="#000000" SIZE="1pt"></TD></TR>');

document.write('<TR><TD ALIGN="CENTER" colspan=3><P class="little70"><B>Copyright Ron Davis Homes</B><BR>');
document.write('<A HREF="http://www.iwebtown.com"><IMG SRC="images/iwebtownlogo.gif" BORDER=0 ALT="" WIDTH=113 HEIGHT=66></A></P></TD></TR></TABLE></CENTER></DIV>');
}


function contactform(){

document.write('<FORM action="cgi-bin/contact.cgi" method="POST" name="contactform">');
document.write('<CENTER>');
document.write('<TABLE align="center" border="0">');
document.write('	<TR>');
document.write('			<TH><FONT size="-1">Last Name</FONT>');
document.write('			</TH>');
document.write('			<TD align="right"><FONT size="-1">');
document.write('			<INPUT type="TEXT" name="lastname" size="35"  onChange="maketest(document.contactform)"><INPUT TYPE="Hidden" NAME="x" ></FONT></TD>');
document.write('		</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">First Name</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="firstname" size="35" onChange="maketest(document.contactform)"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Street</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="street" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">City</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="city" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">State</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="state" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Zip Code</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="zip" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Phone</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="phone" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Fax</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="fax" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">E-mail</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="email" size="35" onChange="maketest(document.contactform)"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Business</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="business" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	</TABLE></CENTER>');
document.write('	<BR>');
document.write('	<CENTER>');
document.write('	<TABLE align="center" border="0" cellpadding="0" cellspacing="0">');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Please check the services which interest you.');
document.write('	</TH>');
document.write('	</TR>');

document.write('	<TR>');
document.write('	<TD><FONT size="-1">');
document.write('	<OL><OL><OL>');
document.write('	<INPUT type="CHECKBOX" name="site">Site creation<BR>');
document.write('	<INPUT type="CHECKBOX" name="host">Non-virtual hosting<BR>');
document.write('	<INPUT type="CHECKBOX" name="maint">Maintenance<BR>');
document.write('	<INPUT type="CHECKBOX" name="update">Existing site update<BR>');
document.write('	</OL></OL></OL><BR></FONT></TD>');
document.write('	</TR>');

document.write('	<TR><TH><FONT size="-1">Any other services we can help you with?</TH></TR>');
document.write('	<TR><TD><FONT size="-1"><TEXTAREA name="other" rows="2" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR><TH><FONT size="-1">How did you find us?</FONT></TH></TR>');
document.write('	<TR><TD><FONT size="-1">');
document.write('	<TEXTAREA name="refer" rows="2" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR><TH><FONT size="-1">Comments or questions?</FONT>');
document.write('	</TH></TR>');
document.write('	<TR><TD><FONT size="-1">');
document.write('	<TEXTAREA name="comments" rows="4" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">');
document.write('	<INPUT type="SUBMIT" value="Send E-Mail" style="Background-Color : white">');
document.write('	<INPUT type="RESET" style="Background-Color : white"></FONT>');
document.write('	</TH></TR>');
document.write('	</TABLE></CENTER>');
document.write('	</FORM>');
document.write('	<CENTER>');
SetSafetyCookie();
}



function PMS(){
if (jsfileisloaded) SetSafetyCookie();}

function SetSafetyCookie(){
document.cookie = 'makingformsafe=iwebtownsafernow; domain=www.iwebtown.com; path=/';
	}
	
function test(){
	alert ("testing.");
}



function SetSafetyCookie(){
	document.cookie = 'makingformsafe=iwebtownsafernow; domain=www.iwebtown.com; path=/';
	}
	
function SetTextCookie(formObj){
	document.cookie = "text2convert=" + escape(formObj.text2convert.value); 'domain=www.iwebtown.com; path=/';
}	

function spacefiller(){
// needed to make the pages expand to 100%.  They don't unless the table field is filled. 
document.write('&nbsp;<IMG SRC="images/spacer1x1.gif" WIDTH=500 HEIGHT=1 BORDER=0 ALT="">');
document.write('&nbsp;<IMG SRC="images/spacer1x1.gif" WIDTH=10 HEIGHT=1 BORDER=0 ALT="">');
document.write('&nbsp;<IMG SRC="images/spacer1x1.gif" WIDTH=100 HEIGHT=1 BORDER=0 ALT="">');
document.write('&nbsp;<IMG SRC="images/spacer1x1.gif" WIDTH=100 HEIGHT=1 BORDER=0 ALT="">');
}


function trailer(){
	alert ("testing.");
}
function goTo (page) {
   
	if (page != "" ) {
		if (page == "--" ) {
			resetMenu();
		} else {
			document.location.href = page;
		}
	}
	return false;
}


function resetMenu () {
/* Resets the menu to the specified menu item           */   
	document.gmenu.page.options[0].selected = true;
}

var copyrightmsg = "<BR><CENTER><TABLE WIDTH='95%' border=0><TR><TD ALIGN='CENTER' colspan=3><P class='little90'><B>Copyright Ron Davis Homes</B><BR><BR><A HREF='http://www.iwebtown.com'><IMG SRC='images/iwebtownlogo.gif' BORDER=0 WIDTH=113 HEIGHT=66></A></P></TD></TR></TABLE></CENTER></DIV></TABLE></CENTER>";