/***********************************************
		* 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/?" class="t_nav2">Home Search</a>'
		menu1[1]='<a href="/listings/AtlasSearch.php?" class="t_nav2">Search by Map</a>'
		menu1[2]='<a href="/listings/index.php?&townhouse=1" class="t_nav2">Condominiums</a>'
		menu1[3]='<a href="/listings/query.php?radarea=1&startnewsearch=1&searchtypesent=1&property_category=1&searchtype=1&state=8&cidonly=1&vty=1&vtycount=10&restype=1&limit=10&sort=1" class="t_nav2">Virtual Tours</a>'
		menu1[4]='<a href="/listings/query.php?&elegant=yes" class="t_nav2">Elegant Homes</a>'
		menu1[5]='<a href="/listings/index.php?&searchtype=3" class="t_nav2">Lots and Land</a>'
		menu1[6]='<a href="/listings/index.php?&searchtype=2" class="t_nav2">Commercial Listings</a>'
		menu1[7]='<a href="/listings/index.php?&searchtype=4" class="t_nav2">Multi-Family Homes</a>'
		menu1[8]='<a href="/openhouse/?" class="t_nav2">Open Houses</a>'
		//menu1[]='<a href="/listings/index.php?&searchtype=10" class="t_nav2">Rentals</a>'
		
		//Contents for menu 2
		var menu2=new Array()
		menu2[0]='<a href="/company/buyers.php?" class="t_nav2">Information for Home Buyers</a>'
		menu2[1]='<a href="/listings/?" class="t_nav2">Home Search</a>'
		menu2[2]='<a href="/listings/AtlasSearch.php?" class="t_nav2">Interactive Map Search</a>'
		menu2[3]='<a href="/company/checklist.php?" class="t_nav2">Moving Checklist</a>'
		menu2[4]='<a href="/company/title.php?" class="t_nav2">Title & Escrow</a>'
		menu2[5]='<a href="/company/warranty.php?" class="t_nav2">Home Warranty</a>'
		
		//Contents for menu 3
		var menu3=new Array()
		menu3[0]='<a href="/company/sellers.php?" class="t_nav2">Information for Home Sellers</a>'
		menu3[1]='<a href="/listings/VMA.php?" class="t_nav2">FREE Virtual Market Analysis</a>'
		menu3[2]='<a href="/company/relocation.php?" class="t_nav2">Relocation</a>'
		
		//Contents for menu 4
		var menu4=new Array()
		menu4[0]='<a href="/company/about.php?" class="t_nav2">About Monument GMAC Real Estate</a>'
		menu4[1]='<a href="/getagent/Pages.php?Page=0000487050" class="t_nav2">Premier Service</a>'
		//menu4[]='<a href="/company/propmgmt.php?" class="t_nav2">Property Management</a>'
		menu4[2]='<a href="/company/homerewards.php?" class="t_nav2">Home Rewards</a>'
		menu4[3]='<a href="/company/eleganthomes.php?" class="t_nav2">Elegant Homes</a>'
		menu4[4]='<a href="/getagent/Pages.php?Page=0000487048" class="t_nav2">Financing Your Home</a>'
		//menu4[5]='<a href="/company/familyfirst.php?" class="t_nav2">GM Family First</a>'
		//menu4[6]='<a href="/company/greatmoves.php?" class="t_nav2">Great Moves by GMAC</a>'
		menu4[5]='<a href="/company/homeprotection.php?" class="t_nav2">Home Protection Plan</a>'
		menu4[6]='<a href="/calculators/?" class="t_nav2">Mortgage Calculators</a>'
		menu4[7]='<a href="/company/buyers.php?" class="t_nav2">Information for Home Buyers</a>'
		menu4[8]='<a href="/company/sellers.php?" class="t_nav2">Information for Home Sellers</a>'
		menu4[9]='<a href="/company/relocation.php?" class="t_nav2">Relocation</a>'
		menu4[10]='<a href="/getagent/Pages.php?Page=0000487049" class="t_nav2">Careers</a>'
		
		//Contents for menu 5
		var menu5=new Array()
		menu5[0]='<a href="/company/comm_GJ.php?" class="t_nav2">Grand Junction</a>'
		menu5[1]='<a href="/company/comm_neighborhoods.php?" class="t_nav2">Neighborhoods</a>'
		menu5[2]='<a href="/company/comm_community.php?" class="t_nav2">Community Resources</a>'
		menu5[3]='<a href="/company/comm_recreation.php?" class="t_nav2">Recreation</a>'
		menu5[4]='<a href="/company/comm_climate.php?" class="t_nav2">Climate</a>'
		//menu5[5]='<a href="/company/comm_theknolls.php?" class="t_nav2">The Knolls</a>'
		menu5[6]='<a href="/company/comm_resources.php?" class="t_nav2">Resources</a>'
		
		
		var menuwidth='200px' //default menu width
		var menubgcolor='#005BAA'  //menu bgcolor
		var menubackground='#005BAA'  //menu background
		var disappeardelay=200  //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