/***********************************************
		* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
		* This notice MUST stay intact for legal use
		* Visit http://www.dynamicdrive.com/ for full source code
		***********************************************/
		
		//Contents for menu 1
		var menu1=new Array()
		menu1[0]='<a href="/listings/query.php?oid=004100059&temp=85&&state=8&sort=1&feat=2" class="t_nav3">Office Listings</a>'
		menu1[1]='<a href="/listings/?&temp=85" class="t_nav3">Home Search</a>'
		menu1[2]='<a href="/listings/AtlasSearch.php?&temp=85" class="t_nav3">Atlas Search</a>'
		//menu1[3]='<a href="/new_construction/new_pre.php?&temp=85" class="t_nav3">New Construction</a>'
		menu1[4]='<a href="/listings/query.php?elegant=yes&temp=85" class="t_nav3">Fine Homes</a>'
		menu1[5]='<a href="/listings/index.php?&searchtype=3&temp=85" class="t_nav3">Lots and Land</a>'
		menu1[6]='<a href="http://www.braycommercial.com" class="t_nav3">Commercial Listings</a>'
		menu1[7]='<a href="/listings/index.php?&searchtype=4&temp=85" class="t_nav3">Multi-Family Homes</a>'
				
		//Contents for menu 2
		var menu2=new Array()
		menu2[0]='<a href="/company/buyers.php?&temp=85" class="t_nav3">Information for Buyers</a>'
		//menu2[1]='<a href="/images/home_buyers.pdf" class="t_nav3">Tips for Home Buyers (PDF)</a>'
		menu2[1]='<a href="/images/buyers/BuyersPathToSuccess.pdf" class="t_nav3">Buyers Path to Success (PDF)</a>'
		menu2[2]='<a href="/images/buyers/StepsToLoanApproval.pdf" class="t_nav3">Steps to Getting Loan Approval (PDF)</a>'
		menu2[3]='<a href="/images/buyers/MakingAnOffer.pdf" class="t_nav3">Making an Offer (PDF)</a>'
		menu2[4]='<a href="/images/buyers/HomeBuyerGlossary.pdf" class="t_nav3">Home Buyer Glossary (PDF)</a>'
		menu2[5]='<a href="/company/sellers.php?&temp=85" class="t_nav3">Information for Sellers</a>'
		//menu2[3]='<a href="/images/home_sellers.pdf" class="t_nav3">Tips for Home Sellers (PDF)</a>'
		menu2[6]='<a href="/images/sellers/SellersPathToSuccess.pdf" class="t_nav3">Sellers Path to Success (PDF)</a>'
		menu2[7]='<a href="/images/sellers/SellerResources.pdf" class="t_nav3">Resources of Home Sellers (PDF)</a>'
		menu2[8]='<a href="/images/sellers/PrepareYourHome.pdf" class="t_nav3">Prepare Your Home for Buyers (PDF)</a>'
		menu2[9]='<a href="/images/sellers/HomeSellersGlossary.pdf" class="t_nav3">Home Seller Glossary (PDF)</a>'
		menu2[10]='<a href="http://www.braymortgage.com" class="t_nav3">Financial Calculators</a>'
		
		//Contents for menu 3
		var menu3=new Array()
		menu3[0]='<a href="/company/sellers.php?&temp=85" class="t_nav3">Information for Sellers</a>'
		menu3[1]='<a href="/listings/VMA.php?&temp=85" class="t_nav3">Virtual Market Analysis</a>'
		menu3[2]='<a href="/company/relocation.php?&temp=85" class="t_nav3">Relocation</a>'
		menu3[3]='<a href="/contact/?&temp=85" class="t_nav3">Contact Us</a>'
		
		//Contents for menu 4
		var menu4=new Array()
		menu4[0]='<a href="http://www.braymortgage.com" class="t_nav3">Bray Mortgage</a>'
		menu4[1]='<a href="/company/title.php?&temp=85" class="t_nav3">Title Services</a>'
		menu4[2]='<a href="/company/closing.php?&temp=85" class="t_nav3">Closing Services</a>'
		
		//Contents for menu 5
		var menu5=new Array()
		menu5[0]='<a href="http://www.braycedaredge.com" class="t_nav3">Cedaredge Office</a>'
		menu5[1]='<a href="http://www.braydelta.com" class="t_nav3">Delta Office</a>'
		menu5[2]='<a href="/index88.php?" class="t_nav3">Fruita Office</a>'
		menu5[3]='<a href="http://www.braycommercial.com" class="t_nav3">Grand Junction Commercial Office</a>'
		menu5[4]='<a href="/index86.php?" class="t_nav3">Grand Junction Residential Office</a>'
		menu5[5]='<a href="http://www.braymontrose.com" class="t_nav3">Montrose Office</a>'
		menu5[6]='<a href="/index84.php?" class="t_nav3">Rifle Office</a>'
		menu5[7]='<a href="/index91.php?" class="t_nav3">Property Management Office</a>'
		menu5[8]='<a href="http://www.braymortgage.com" class="t_nav3">Mortgage Office</a>'
		
		//Contents for menu 7
		var menu7=new Array()
		menu7[0]='<a href="/company/relocation.php?&temp=85" class="t_nav3">Relocation Services</a>'
		menu7[1]='<a href="http://www.relohomesearch.com/default.aspx" target="_blank" class="t_nav3">National Home Search</a>'
		menu7[2]='<a href="/company/community.php?&temp=85" class="t_nav3">Community Information</a>'
		menu7[3]='<a href="/company/relocation_moving.php?&temp=85" class="t_nav3">Moving Advice</a>'
		menu7[4]='<a href="/company/checklist.php?&temp=85" class="t_nav3">Moving Checklist</a>'
		menu7[5]='<a href="/company/relo_form.php?&temp=85" class="t_nav3">Contact a Relocation Specialist</a>'
		
		//Contents for menu 8
		var menu8=new Array()
		menu8[0]='<a href="/company/community_Montrosesites.php?&temp=85" class="t_nav3">Local Websites</a>'
		menu8[1]='<a href="/company/community_slide.php?&temp=85" class="t_nav3">Virtual Slide Show</a>'		
		
		//Contents for menu 9
		var menu9=new Array()
		menu9[0]='<a href="/getagent/?&temp=85" class="t_nav3">Bray Office Map</a>'
		menu9[1]='<a href="/images/about/Western_Slope_Leader.pdf" class="t_nav3">The Western Slope Leader (PDF)</a>'
		menu9[2]='<a href="/images/about/Family_of_Services.pdf" class="t_nav3">Family of Services (PDF)</a>'
		menu9[3]='<a href="/images/about/Mission_Statement.pdf" class="t_nav3">Mission Statement (PDF)</a>'	

		
		var menuwidth='200px' //default menu width
		var menubgcolor='#204C8B'  //menu bgcolor
		var menubackground='#204C8B'  //menu background
		var disappeardelay=300  //menu disappear speed onMouseout (in miliseconds)
		var hidemenu_onclick="yes" //hide menu when user clicks within menu?
		
		/////No further editting needed
		
		var ie4=document.all
		var ns6=document.getElementById&&!document.all
		
		if (ie4||ns6)
		document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+';background:'+menubackground+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
		
		function getposOffset(what, offsettype){
		var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
		var parentEl=what.offsetParent;
		while (parentEl!=null){
		totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
		parentEl=parentEl.offsetParent;
		}
		return totaloffset;
		}
		
		
		function showhide(obj, e, visible, hidden, menuwidth){
		if (ie4||ns6)
		dropmenuobj.style.left=dropmenuobj.style.top=-500
		if (menuwidth!=""){
		dropmenuobj.widthobj=dropmenuobj.style
		dropmenuobj.widthobj.width=menuwidth
		}
		if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
		obj.visibility=visible
		else if (e.type=="click")
		obj.visibility=hidden
		}
		
		function iecompattest(){
		return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
		}
		
		function clearbrowseredge(obj, whichedge){
		var edgeoffset=0
		if (whichedge=="rightedge"){
		var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
		dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
		if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
		edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
		}
		else{
		var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
		var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
		dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
		if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
		edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
		if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
		edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
		}
		}
		return edgeoffset
		}
		
		function populatemenu(what){
		if (ie4||ns6)
		dropmenuobj.innerHTML=what.join("")
		}
		
		
		function dropdownmenu(obj, e, menucontents, menuwidth){
		if (window.event) event.cancelBubble=true
		else if (e.stopPropagation) e.stopPropagation()
		clearhidemenu()
		dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
		populatemenu(menucontents)
		
		if (ie4||ns6){
		showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
		}
		
		return clickreturnvalue()
		}
		
		function clickreturnvalue(){
		if (ie4||ns6) return false
		else return true
		}
		
		function contains_ns6(a, b) {
		while (b.parentNode)
		if ((b = b.parentNode) == a)
		return true;
		return false;
		}
		
		function dynamichide(e){
		if (ie4&&!dropmenuobj.contains(e.toElement))
		delayhidemenu()
		else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
		delayhidemenu()
		}
		
		function hidemenu(e){
		if (typeof dropmenuobj!="undefined"){
		if (ie4||ns6)
		dropmenuobj.style.visibility="hidden"
		}
		}
		
		function delayhidemenu(){
		if (ie4||ns6)
		delayhide=setTimeout("hidemenu()",disappeardelay)
		}
		
		function clearhidemenu(){
		if (typeof delayhide!="undefined")
		clearTimeout(delayhide)
		}
		
		if (hidemenu_onclick=="yes")
		document.onclick=hidemenu