
<!--
/*
This code is from Dynamic Web Coding 
www.dyn-web.com 
Copyright 2001 by Sharon Paine 
Permission granted to use this code as long as this 
entire notice is included.
*/

/* IMPORTANT: Put script after tooltip div or 
	 put tooltip div just before </BODY>. */

var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

// resize fix for ns4
var origWidth, origHeight;
if (ns4) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}

// avoid error of passing event object in older browsers
if (nodyn) event = "nope";

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip 
// Do you want tip to move with mouse movement along link?
var tipFollowMouse	= false;	
var tipWidth 			 	= 205;
var offX					 	= 20;	// how far from mouse to show tip
var offY					 	= 3; 
var tipFontFamily 	= "georgia, helvetica, sans-serif";
var tipFontSize			= "8pt";
var tipFontColor		= "#000000";
var tipBgColor 			= "#ffffff";
var tipBorderColor 	= "#666666";
var tipBorderWidth 	= 1;
var tipBorderStyle 	= "solid";
var tipPadding		 	= 1;

// preload images to be placed in tooltip
//var img1 = new Image(100,100);	// (width,height)
// img1.src = "your.gif";


// variables for tooltip content 
var tip0 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>ARVADA</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Arvada is located just to the northwest of Denver and and is an easy commute to downtown.  Arvada is primarily a residential area, sporting a population of around 104,000.</font></td></tr><tr></tr></table>'
var tip1 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>BRIGHTON</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Brighton has the small town atmosphere that many families seek, but all of the advantages and amenities of Denver are available just down the road.</font></td></tr></table>'
var tip2 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>BROOMFIELD</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Large and small manufacturing, high technology businesses and wide variety of national/ local retailers thrive in the Broomfield. Your business will find a highly educated and skilled work force, and an economic climate that welcomes business.</font></td></tr><tr></tr></table>'
var tip3 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>BOULDER</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Boulder has earned a well-deserved reputation for a great quality of life. From a dynamic arts community to the many cultural events offered throughout the year, to the educational endeavors taking place at The University of Colorado and in our public schools, Boulder sets and maintains a high standard of living.</font></td></tr><tr></tr></table>'
var tip4 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CASTLE ROCK</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Castle Rock is the location of the Douglas County government offices, approximately fifteen miles south of the DTC, and one of the older cities in Douglas County.</font></td></tr></table>'
var tip5 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CHERRY HILLS</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">The “Village” allows only three types of building.  Homes on a minimum of one-half acre, schools, and churches. Cherry Hills Village is immediately adjacent to the south boundary of Denver and in Arapahoe County. It is a convenient commute to both downtown Denver and the DTC.</font></td></tr></table>'
var tip6 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>COMMERCE CITY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">It is a very exciting time for both residents and business owners. The City of Commerce City is a place of great recreational and business opportunities. Excellent business opportunities are due to the continuing growth, proximity to the Denver International Airport and an established industrial base.</font></td></tr><tr></table>'
var tip8 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="arial" size=3 color=#ffffff><b>ENGLEWOOD</b></font></td></tr><tr><td><font size="1" face="georgia" color="#000000">The city is in the process of some significant redevelopment and benefits from being on the increasingly popular light rail line that runs along the west side of Denver and through Englewood.</font></td></tr></table>'
var tip9 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>EVERGREEN</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Evergreen is both beautiful and vibrant. Residents can enjoy the theater, musical entertainment, shopping, outdoor recreation, senior activities and fabulous dining.  The center of Evergreen is just 45 minutes from downtown Denver, 50 minutes from the Denver Tech Center and 70 minutes from Denver International Airport.</font></td></tr></table>'
var tip10 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>GREENWOOD VILLAGE</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Greenwood Village was once a primarily rural community, but now has developed into a dynamic blend of urban and rural areas, which include nationally recognized business parks and thirty select neighborhood associations.</font></td></tr></table>'
var tip11 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>GOLDEN</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">According to Golden’s welcome sign, this is where “the West lives.” It’s also where Coors “taps the Rockies,” and you might guess it from the faint smell of hops and barley in the air.</font></td></tr></table>'
var tip12 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>HIGHLANDS RANCH</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Highlands Ranch is the very best of Colorado, rolled up into one amazing package. Highlands Ranch has inspiring homes and neighborhoods, miles of beautiful trails, an abundance of parks, state-of-the-art recreation facilities, a thriving business community, award-winning Douglas County schools, and much more.</font></td></tr></table>'
var tip13 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>BOULDER COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Nestled at the heart of the Rocky Mountains, Boulder County has a special beauty complemented by successful companies and rich cultural amenities.</font></td></tr></table>'
var tip14 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>JEFFERSON COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Jefferson County is a place where the great plains meet the Rocky  Mountains — with some of the most magnificent scenery in the country, from  rolling grasslands and craggy rock formations to natural foothills, rugged mountains and  tumbling mountain streams.</font></td></tr></table>'
var tip15 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>LITTLETON</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Littleton neighborhoods range from older well maintained residences to single and multi-family residences from custom to semi-custom designs. Also available are condominiums, town homes and apartments.</font></td></tr></table>'
var tip16 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>LOUISVILLE</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Located on the growing technology corridor between Denver and Boulder, Louisville is a modern community offset by a historic downtown. The community is a successful example of how Colorado is blending the old and the new.</font></td></tr></table>'
var tip17 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>MORRISON</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">In the easternmost area of Morrison are the foothills overlooking the Denver metroplex. Homeowners wanting a significant view choose homes here. Other mountain communities of Morrison have homes ranging from summer cabins to log homes with million dollar views.</font></td></tr></table>'
var tip18 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>DOUGLAS COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Boasting the “Greatest Views in Colorado”, great schools and proximity to the Denver Tech Center, Douglas is considered the fourth best county in the USA by the American City Business Journal.</font></td></tr></table>'
var tip19 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>PARKER</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">A relatively new community, Parker is a city suburb with easy access to the growing commercial centers in far south Denver.  Parker’s Main Street houses a couple of local restaurants, including a bar and grill and a Mexican hacienda, but a plethora of sit-down chain restaurants are also available throughout the community.</font></td></tr></table>'
var tip20 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>THORNTON</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Thornton, which is located just north of Denver, began in the 1950\s as a moderately priced community giving young couples a chance to own their own homes. Current home prices, however, range from moderate to expensive with many developers taking advantage of the panoramic views available in this community.</font></td></tr></table>'
var tip21 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>WESTMINSTER</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Westminster provides wide range of housing types and prices, and when it comes to community amenities, it has it all, including 2,000 acres of open space, more than 40 miles of multi-purpose, outdoor trails, 50 developed parks, several recreation facilities, award-winning golf courses, and hundreds of restaurants.</font></td></tr></table>'
var tip22 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>KEN CARYL</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Passing through the hogback to Ken Caryl Ranch is a site to behold.  The setting of Ken Caryl Ranch was purposefully chosen for peace and tranquility, set apart from the rest of the metroplex.</font></td></tr></table>'
var tip23 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>LONE TREE</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">The city’s motto, “It’s a great day to be in Lone Tree,” encompasses the overall sense of pride community members share with the city and with one another.  Residents and visitors of all ages enjoy a diverse range of activities and facilities.</font></td></tr></table>'
var tip24 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CENTENNIAL</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Centennial is Colorado\'s newest city with a population of around 102,000.  It is located in the southern Denver metropolitan area, entirely within  Arapahoe County. There is significant employment in the eastern areas and drive times can be as short as a few minutes.</font></td></tr></table>'
var tip25 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CONIFER</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">In the late 1800s, roads were carved further into the foothills, opening up Conifer and surrounding areas to those in search of adventure and wealth. Today, a mix of rustic cabins and brand-new homes in this growing community are neatly tucked behind expanses of blue spruce, pine, fir and aspen trees.</font></td></tr></table>'
var tip26 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>DENVER</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Denver, the capital city, is the economic and cultural center for Colorado and the Rockies. Urban lofts, historic neighborhoods, great resaurants and many cultural resources make living in downtown an exciting experience.</font></td></tr></table>'
var tip27 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>AURORA</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Aurora borders Denver on the east with a population of around 275,000, and is second in population to Denver itself in the metro area. There is some employment base but Aurora is primarily a suburb with a large range of housing.</font></td></tr></table>'
var tip28 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>ADAMS COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Adams County offers major residential growth opportunities with 34 business parks ranging from 100 to 6,300 acres, unsurpassed transportation advantages, and a diverse business and industry base throughout its nine cities.</font></td></tr></table>'
var tip29 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>ARAPAHOE COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Arapahoe County offers a variety of attractive residential choices and a moderate cost of living. Residents enjoy excellent parks, greenbelts and trail systems, superior public services, and an inviting quality of life.</font></td></tr></table>'
var tip30 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CASTLE PINES</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Castle Pines Village is convenient to good neighborhood shopping and just a few minutes to the Park Meadows Mall. For  “power” shoppers, one of the largest factory outlet malls is just a few minutes away.</font></td></tr></table>'
var tip31 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>CHERRY CREEK</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">The Cherry Creek area is most unique; it combines top-tier residential demographics, with exciting shopping districts and progressive community organizations.  One of the two top visitor destinations in Denver, Cherry Creek is anchored by the Cherry Creek Shopping Center, simply one of the finest malls in the Country.</font></td></tr></table>'
var tip32 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>ELBERT COUNTY</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Elbert County is a lovely, sparsely populated area located in central Colorado, just south east of Denver. Many of Elbert County\'s residents work in Denver or the suburbs and make a short commute. The area is made up primarily of ranch land and farms, with gently rolling grasslands and plenty of wild life.</font></td></tr></table>'
var tip33 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>WHEATRIDGE</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Located near the western edge of Denver, Wheat Ridge is an interesting mix of old and new. Primarily a residential city, Wheat Ridge also features five retail centers and more than 20 parks. Tucked in the curve of I-70 as it heads west into the mountains, Wheat Ridge is an expansive community with a rich mix of cultural and shopping centers.</font></td></tr></table>'
var tip34 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>WASHINGTON PARK</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">A mix of home styles surround Washington Park,  the largest park in this district and is over 100 years old. It hosts over 250 picnic permits per year and has many unique features such as a 2.6-mile jogging path, the busiest recreation center in Denver and 2 of the most flamboyant flower gardens in Denver.</font></td></tr></table>'
var tip35 = '<table width="205" cellpadding=2 cellspacing=0 border=0><tr><td bgcolor=#033C81><font face="georgia" size=3 color=#ffffff><b>GENESEE</b></font></td></tr><tr><td><font size="1" face="arial" color="#000000">Genesee allows you to have two lifestyles, urban and mountain.  Only a short drive to Denver, views of the Colorado foothills surround your brief commute, while allowing you to be close to the Colorado Ski Country.</font></td></tr></table>'

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles for all but ns4. 
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ns4)? document.tipDiv.document: (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = (ns4)? document.tipDiv: tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = trackMouse;
	}
}
window.onload = initTip;

/////////////////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes it to tipDiv.
//			Call positionTip function from here if tipFollowMouse
//			is set to false.
//////////////////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,txt) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	if (ns4) {
		tip = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + tipBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td><span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + tipFontColor + ';">' + txt  + '</span></td></tr></table></td></tr></table>';
		tooltip.write(tip);
		tooltip.close();
	} else if (ie4||ie5||ns5) {
		tip = txt;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
}

var mouseX, mouseY;
function trackMouse(evt) {
	mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (tipOn) positionTip(evt);
}

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
	if (!tipFollowMouse) {
		mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
		mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ns4)? tooltip.width: (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ns4)? tooltip.height: (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
	var winHt = (ns4||ns5)? window.innerHeight+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = (ns4)? mouseX-(tpWd+offX): mouseX-(tpWd+offX)+"px";
	else tipcss.left = (ns4)? mouseX+offX: mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = (ns4)? mouseY-(tpHt+offY): mouseY-(tpHt+offY)+"px";
	else tipcss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
//	tipcss.visibility = "hidden";
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

//-->
