var property = {
	mouseX:0, mouseY:0, updown:0, imageX:0, imageY:0, selectImg:0, currentString:0, currentSplit:0,
	currentX:0, currentY:0, windowX:0,windowY:0,scrolledX:0, scrolledY:0,bodyHeight:0, divBorder:5,
	trackMouse:function(e) {
		var yep = document.getElementById("pm_map");
		property.selectImg = 0;
		if (e.pageX || e.pageY) { // Firefox, Opera, Safari, etc.
			property.mouseX = e.pageX;
			property.mouseY = e.pageY;
		} else if (e.clientX) { // IE 7/8
			property.mouseX = e.clientX;
			property.mouseY = e.clientY;
		} else {
			return false;
		}
		
		if (property.updown == 1) {
			if (document.getElementById("WzBoDy")) { tt_HideInit();}
			if (property.mouseX - property.imageX < -500) {
				yep.style.backgroundPosition = "-500px "+(property.mouseY - property.imageY)+"px";
					if (property.mouseY - property.imageY > 0) {
						yep.style.backgroundPosition = "-500px 0px";
					} else if (property.mouseY - property.imageY < -885) {
						yep.style.backgroundPosition = "-500px -885px";
					}
			} else if (property.mouseX - property.imageX > 0) {
				yep.style.backgroundPosition = "0px "+(property.mouseY - property.imageY)+"px";
					if (property.mouseY - property.imageY > 0) {
						yep.style.backgroundPosition = "0px 0px";
					} else if (property.mouseY - property.imageY < -885) {
						yep.style.backgroundPosition = "0px -885px";
					}
			} else if (property.mouseY - property.imageY < -885) {
				yep.style.backgroundPosition = (property.mouseX - property.imageX)+"px -885px";
			} else if (property.mouseY - property.imageY > 0) {
				yep.style.backgroundPosition = (property.mouseX - property.imageX)+"px 0px";
			} else {
				yep.style.backgroundPosition = (property.mouseX - property.imageX)+"px "+(property.mouseY - property.imageY)+"px";
			}
		}
	},
	checkRO:function(e) {
		var yep = document.getElementById("pm_map");
		property.currentString = yep.style.backgroundPosition;
		property.currentSplit = property.currentString.split(" ");
		property.currentX = property.currentSplit[0];
		property.currentY = property.currentSplit[1];
		property.currentX = parseInt(property.currentX.substr(0, property.currentX.length-2));
		property.currentY = parseInt(property.currentY.substr(0, property.currentY.length-2));
		if(e.pageX) { // Firefox, Opera, Safari, etc.
			property.imageX = e.pageX - property.currentX;
			property.imageY = e.pageY - property.currentY;
		} else if(e.clientX) { // IE 7/8
			property.imageX = e.clientX - property.currentX;
			property.imageY = e.clientY - property.currentY;
		}

		var bodyY, bodyXOffset, divXOffset, finalXOffset, elementDistanceY, parentEl, finalYOffset;
		bodyY = (document.all)?document.documentElement.scrollTop:0;
		if (window.innerHeight) { // Firefox, Opera, Safari, etc.
			bodyXOffset = document.body.offsetLeft;
			divXOffset = yep.offsetLeft;
			finalXOffset = bodyXOffset + divXOffset + property.divBorder;
			elementDistanceY = yep.offsetTop;
			parentEl = yep.offsetParent;
			while (parentEl!=null) {
				elementDistanceY += parentEl.offsetTop;
				parentEl = parentEl.offsetParent;
			}
			finalYOffset = elementDistanceY - bodyY + property.divBorder;
		} else if (document.all) { // IE 7/8
			bodyXOffset = document.body.offsetLeft;
			divXOffset = yep.offsetLeft;
			finalXOffset = bodyXOffset + divXOffset + property.divBorder;
			elementDistanceY = yep.offsetTop;
			parentEl = yep.offsetParent;
			while (parentEl!=null) {
				elementDistanceY = elementDistanceY + parentEl.offsetTop;
				parentEl = parentEl.offsetParent;
			}
			finalYOffset = elementDistanceY - bodyY + property.divBorder;
		}
		property.checkCoords(finalXOffset, finalYOffset, "ro");
	},
	checkProperty:function(e) {
		var yep = document.getElementById("pm_map");
		property.currentString = yep.style.backgroundPosition;
		property.currentSplit = property.currentString.split(" ");
		property.currentX = property.currentSplit[0];
		property.currentY = property.currentSplit[1];
		property.currentX = parseInt(property.currentX.substr(0, property.currentX.length-2));
		property.currentY = parseInt(property.currentY.substr(0, property.currentY.length-2));
		if(e.pageX) { // Firefox, Opera, Safari, etc.
			property.imageX = e.pageX - property.currentX;
			property.imageY = e.pageY - property.currentY;
		} else if(e.clientX) { // IE 7/8
			property.imageX = e.clientX - property.currentX;
			property.imageY = e.clientY - property.currentY;
		}
		property.updown = 1;
		property.selectImg = 1;
	},
	checkLink:function() {
		var yep = document.getElementById("pm_map");
		var bodyY, bodyXOffset, divXOffset, finalXOffset, elementDistanceY, parentEl, finalYOffset;
		bodyY = (document.all)?document.documentElement.scrollTop:0;
		if (window.innerHeight) { // Firefox, Opera, Safari, etc.
			bodyXOffset = document.body.offsetLeft;
			divXOffset = yep.offsetLeft;
			finalXOffset = bodyXOffset + divXOffset + property.divBorder;
			elementDistanceY = yep.offsetTop;
			parentEl = yep.offsetParent;
			while (parentEl!=null) {
				elementDistanceY += parentEl.offsetTop;
				parentEl = parentEl.offsetParent;
			}
			finalYOffset = elementDistanceY - bodyY + property.divBorder;
		} else if (document.all) { // IE 7/8
			bodyXOffset = document.body.offsetLeft;
			divXOffset = yep.offsetLeft;
			finalXOffset = bodyXOffset + divXOffset + property.divBorder;
			elementDistanceY = yep.offsetTop;
			parentEl = yep.offsetParent;
			while (parentEl!=null) {
				elementDistanceY = elementDistanceY + parentEl.offsetTop;
				parentEl = parentEl.offsetParent;
			}
			finalYOffset = elementDistanceY - bodyY + property.divBorder;
		}
		var stuff = property.checkCoords(finalXOffset, finalYOffset, "link");
		if (stuff) {
			document.body.style.cursor = 'wait';
			property.getBrowserDimensions();
			property.overlayGreyframe();
			property.setData(stuff);
		}
	},
	checkCoords:function(finalXOffset,finalYOffset,type) {
		var yep = document.getElementById("pm_map");
		if (property.imageX >= 227 + finalXOffset && property.imageX <= 248 + finalXOffset && property.imageY >= 1074 + finalYOffset && property.imageY <= 1097 + finalYOffset) {
				// The Vineyards
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img src="images/vineyards.jpg" style="float: left; padding-right: 4px;">';
content += 'Approximately 75 acres are currently planted in Vinifera French and French-American ';
content += 'hybrid grapes. Among 22 varietals produced are Merlot, Cabernet Sauvignon, Chambourcin, ';
content += 'Sangiovese, Pinot Noir, Sauvignon Blanc, Chardonnay, Riesling, Viognier and several popular ';
content += 'Muscadine wines. <a href="http://www.chateauelan.com/epicurean/winery/wine-list.php" onclick="tt_HideInit();return GB_showCenter(\'Wine List\', this.href, 600, 800)">View the complete Wine List</a>.';					
					Tip(content, SHADOW, property.isIE, TITLE, 'The Vineyards', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
				}
		} else if (property.imageX >= 298 + finalXOffset && property.imageX <= 320 + finalXOffset && property.imageY >= 1014 + finalYOffset && property.imageY <= 1037 + finalYOffset) {
				// The Winery
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {			
content = '<img id="wI" src="images/winery/1.jpg" style="float: left; padding-right: 4px;">';
content += '<span><strong>Wine Tasting & Tours</strong><br />Enjoy a public tour of our winery giving insightful information into the wine making process. <a href="/epicurean/winery">Visit the winery home page.</a></span>';
content += '<span><br /><br /><strong>Café Élan</strong><br />Capturing the cooking and tastes of the Mediterranean; located across from the Wine Market. <a href="/epicurean/restaurant/cafe-elan/">Visit the Café Élan home page.</a></span>';
content += '<span><br /><br /><strong>Culinary Studio</strong><br />A beautiful 1,600 sq. ft. teaching kitchen located inside the Winery next to the Wine Market. <a href="/epicurean/culinary-studio/">Visit the culinary studio home page.</a></span>';
content += '<span><br /><br /><strong>Wine Market</strong><br />The Wine Market is located inside the Château Élan Winery and features a wide variety of wine and culinary gift items. Open 10 a.m. to 9 p.m. Daily. <a href="/epicurean/winery/">Visit the winery home page.</a></span>';
content += '<span><br /><br /><strong>Art Gallery</strong><br />The Art Gallery showcases bi-monthly, local, regional, and nationally recognized artists whose creative works span a wide range of techniques and mediums.<br /><a href="http://www.chateauelan.com/epicurean/winery/art-gallery.php" onclick="tt_HideInit();return GB_showCenter(\'The Art Gallery\', this.href, 600, 800)">Click here for details.</a></span>';
					Tip(content, SHADOW, property.isIE, TITLE, 'The Winery', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('winery', 4);
				}
		} else if (property.imageX >= 389 + finalXOffset && property.imageX <= 411 + finalXOffset && property.imageY >= 1023 + finalYOffset && property.imageY <= 1046 + finalYOffset) {
				// Paddy's Pub
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img src="images/paddys.jpg" style="float: left; padding-right: 4px;">';					
content += 'Paddy’s Irish Pub was officially commissioned in Dublin in 1997 by Château Élan founders, Dr. Donald and Nancy ';
content += 'Panoz. Cantrell & Crowley, a Dublin based architectural and interior design firm designed and built the pub. ';
content += 'The Panoz’s who lived and worked in Ireland for 20 years commissioned Paddy’s as a reminder of their fond ';
content += 'experiences in the auld sod. <br /><br />Completely authentic, all of Paddy’s furnishings and fixtures were ';
content += 'created in Ireland. The pub was then shipped to Château Élan in Braselton, Georgia, reassembled here, and ';
content += 'opened in July of 1997. Paddy’s is a spirited pub serving up traditional Irish food, beverage, and live music.';
content += '<br /><br /><a href="http://www.chateauelan.com/epicurean/restaurant/paddys-irish-pub/menus/dinner.php" onclick="tt_HideInit();return GB_showCenter(\'Paddys Dinner Menu\', this.href, 600, 800)">View Dinner Menu</a>';
					Tip(content, SHADOW, property.isIE, TITLE, 'Paddy\'s Pub', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					// property.imageRotate('winery', 4);
				}
		} else if (property.imageX >= 362 + finalXOffset && property.imageX <= 384 + finalXOffset && property.imageY >= 1135 + finalYOffset && property.imageY <= 1158 + finalYOffset) {
				// Inn & Conference Center
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {			
content = '<img id="wI" src="images/inn/1.jpg" style="float: left; padding-right: 4px;">';
content += '<strong>The Inn</strong><br />The Inn offers 275 deluxe guest rooms, including 22 suites and 17 ADA accessible rooms, 1 hospitality suite, a 1,832 square foot Presidential suite and 1,333 square foot Governor\'s suite. <a href="/escape/inn/">Visit the Inn home page.</a><br /><br />';
content += '<strong>Conference Center</strong><br />The 25,000 sq. ft. conference center has two ballrooms, 19 conference rooms, two boardrooms, and a tiered auditorium. Outdoor settings include the lush vineyards and a full-production winery providing a creative background for meetings, banquets and receptions. <a href="/events/meeting/">Visit the meetings home page.</a><br /><br />';
content += '<b>Versailles</b><br />Versailles is an open air restaurant beneath a soaring 45 foot glass Atrium located at the heart of the Château Élan Inn. Open seven days a week. <a href="http://www.chateauelan.com/epicurean/restaurant/versailles/">Visit the Versailles home page.</a><br /><br />';
content += '<b>L\'Auberge</b><br />L’Auberge overlooks the Atrium at the Inn serving light snacks and dinner items. It has a relaxing sports-bar atmosphere with large televisions and pool tables. Full bar available. <a href="http://www.chateauelan.com/epicurean/restaurant/lauberge/">Visit the L\'auberge home page.</a>';
					Tip(content, SHADOW, property.isIE, TITLE, 'Inn & Conference Center', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('inn', 5);
				}
		} else if (property.imageX >= 481 + finalXOffset && property.imageX <= 503 + finalXOffset && property.imageY >= 1073 + finalYOffset && property.imageY <= 1096 + finalYOffset) {
				// Nature Trail
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {			
content = '<img id="wI" src="images/nature/1.jpg" style="float: left; padding-right: 4px;">';
content += 'Pedal or hike your way throughout our beautiful 3,500 acre property. Enjoy the private roads of our estate ';
content += 'or off-the-beaten path trails through canopied forests of trees, quiet nature trails surrounding our ';
content += 'equestrian center, and past acres of vineyards. <br /><br />Mountain Comfort model bicycles can be ';
content += 'rented and picked up at the Front Desk of the Inn. Guests are welcome to ride their own bicycles, ';
content += 'however all riders will need to sign in at the Front Desk. Helmets are required for all riders and are ';
content += 'available upon request.<br /><br /><b>Château Élan Front Desk:</b> 678-425-0900 x 42<br /><b>Rental Cost:</b> $20 Per Bike';
					Tip(content, SHADOW, property.isIE, TITLE, 'Nature Trail', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('nature', 2);
				}
		} else if (property.imageX >= 493 + finalXOffset && property.imageX <= 515 + finalXOffset && property.imageY >= 1186 + finalYOffset && property.imageY <= 1209 + finalYOffset) {
				// Spa
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {			
content = '<img id="wI" src="images/spa/1.jpg" style="float: left; padding-right: 4px;">';
content += '<b>The Spa</b><br/>Embark on a personal journey that begins the moment you enter the Spa at Chateau Élan and remains long after you leave. Our expert spa therapists aim to give you the ultimate personalized spa experience, transcending you to a deeper level of Euphoria. <a href="http://www.chateauelan.com/euphoria/spa/">Visit the spa home page.</a><br /><br />';
content += '<b>Spa Groups</b><br/>The Spa at Chateau Elan is Atlanta’s only destination Spa and the perfect location for your next Spa Event! The 33,000 square foot Chateau Elan Spa is well suited for handling an array of Spa Group Events. <a href="http://www.chateauelan.com/euphoria/spa-groups/">Visit the spa group home page.</a><br /><br />';
content += '<b>Fleur-de-Lis</b><br />Fleur-de-Lis is a lovely, sunny, dining room overlooking the lake and gazebo at the Château Élan Spa. Here, the Spa Chef beautifully prepares gourmet breakfasts and lunch dishes served using the choicest of healthy ingredients. <a href="http://www.chateauelan.com/epicurean/restaurant/fleur-de-lis/">Visit the Fleur-de-Lis home page.</a><br /><br />';
content += '<b>Euphoria Packages</b><br/>A sanctuary for mind and body. Château Élan Euphoria Packages include complimentary access to the Spa\'s whirlpool, sauna, locker room, fitness classes and afternoon tea (served 4 - 5 pm). <a href="http://www.chateauelan.com/packages/euphoria.php">Click for a list of all Euphoria packages.</a>';
					Tip(content, SHADOW, property.isIE, TITLE, 'The Spa', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('spa', 4);
				}
		} else if (property.imageX >= 472 + finalXOffset && property.imageX <= 494 + finalXOffset && property.imageY >= 913 + finalYOffset && property.imageY <= 936 + finalYOffset) {
				// Tennis & Bike Center
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img src="images/tennis.jpg" style="float:left; padding-right: 4px;">';
content += 'In the Château Élan tradition, the Stan Smith designed Tennis Center offers only first class programs and service for your enjoyment.<br /><br />The Tennis Center boasts three clay courts and four hard courts lighted for night play. This includes a stadium court with spectator grandstands. <a href="http://www.chateauelan.com/energize/tennis-swim/">Visit the tennis home page</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Tennis & Bike Center', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
				}
		} else if (property.imageX >= 667 + finalXOffset && property.imageX <= 689 + finalXOffset && property.imageY >= 1181 + finalYOffset && property.imageY <= 1204 + finalYOffset) {
				// Par-3 Course
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/par3/1.jpg" style="float: left; padding-right: 4px;">';
content += '<strong>Par-3 Course</strong><br />This 9 hole, par 3, Executive walking course provides a perfect venue for the golf enthusiast when time does not allow a full round. Holes vary in length from under 100 yards to more than 200 making it an ideal place for beginners, or to brush-up on your mid and short game.<br /><br />';
content += '<strong>Dave Pelz Golf School</strong><br />The Dave Pelz Scoring Game Golf School applies a practical, scientific approach to golf instruction, honed through years of research and providing golf lessons to many of the game’s top professionals. <a href="http://www.chateauelan.com/energize/pelz-golf-school/">Visit the Dave Pelz home page</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Executive Par-3 Course', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('par3', 3);
				}
		} else if (property.imageX >= 153 + finalXOffset && property.imageX <= 175 + finalXOffset && property.imageY >= 874 + finalYOffset && property.imageY <= 897 + finalYOffset) {
				// Equestrian Center
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/equestrian.jpg" style="float: left; padding-right: 4px;">';
content += 'Since its completion in June 1994, the Equestrian Center has become the premiere facility in Georgia for all ';
content += 'types of equestrian and canine activities to include hunter / jumper, dressage, combined training, all breed ';
content += 'and pony club shows. <a href="http://www.chateauelan.com/events/equestrian/">Visit the equestrian center home page</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Equestrian Center', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
				}
		} else if (property.imageX >= 1138 + finalXOffset && property.imageX <= 1160 + finalXOffset && property.imageY >= 961 + finalYOffset && property.imageY <= 984 + finalYOffset) {
				// Golf Villas
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/villa/1.jpg" style="float: left; padding-right: 4px;">';
content += 'The Villas at Château Élan are located on the 15th fairway of The Château Course. The Villas are within ';
content += 'walking distance of the Pro Shop and Clubhouse Grille and are a perfect overnight option for up to 6 ';
content += 'golfers in a single Villa. <a href="http://www.chateauelan.com/energize/golf/golf-villas.php" onclick="tt_HideInit();return GB_showCenter(\'Golf Villas\', this.href, 600, 800)">View photos and details</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Golf Villas', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('villa', 3);
				}
		} else if (property.imageX >= 962 + finalXOffset && property.imageX <= 984 + finalXOffset && property.imageY >= 927 + finalYOffset && property.imageY <= 950 + finalYOffset) {
				// Golf Clubhouse
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/clubhouse/1.jpg" style="float: left; padding-right: 4px;">';				
content += '<strong>Tournaments</strong><br />Château Élan, the former host of The Sarazen World Open, specializes in professional planning of corporate golf outings. Our staff will organize all the details including formats, scoring, cart signs, and even tournament prizes and gifts. <a href="http://www.chateauelan.com/events/golf-tournament/">Visit the golf tournament home page</a>.<br /><br />';
content += '<strong>Lessons</strong><br />Château Élan\'s own qualified golfing professionals can offer you hourly golf instruction at the esteemed Château Élan golf facility. No matter what your level, any golfer can reap the benefits of a PGA certified pro to assess and improve your golf abilities. <a href="http://www.chateauelan.com/energize/golf-school-atlanta/">Visit the golf lessons home page</a>.<br /><br />';
content += '<strong>The Golf Grille</strong><br />Located inside the clubhouse, the Golf Grille combines a great view of the golf course with an All-American menu featuring grilled meats, chicken, and salads. The Golf Grille also maintains a stocked bar, big screen TV, and great personal service. <a href="http://www.chateauelan.com/epicurean/restaurant/golf-grille/">Visit the Golf Grille home page</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Golf Clubhouse', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('clubhouse', 3);
				}
		} else if (property.imageX >= 818 + finalXOffset && property.imageX <= 840 + finalXOffset && property.imageY >= 796 + finalYOffset && property.imageY <= 819 + finalYOffset) {
				// The Chateau Course
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/chateau/1.jpg" style="float: left; padding-right: 4px;">';				
content += 'This beautiful championship course with contoured fairways, thick Bermuda roughs, and strategically ';
content += 'placed lakes and ponds opened in July 1989. Built on 170 acres of the finest terrain, the 7,030 yard layout ';
content += 'of the Chateau Course, designed by Denis Griffiths, plays to a par 71. Winding along three lakes and two ';
content += 'creeks, water comes into play on ten of the eighteen holes while 87 bunkers give definition and character ';
content += 'to the course.';
					Tip(content, SHADOW, property.isIE, TITLE, 'The Chateau Course', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					property.imageRotate('chateau', 3);
				}
		} else if (property.imageX >= 931 + finalXOffset && property.imageX <= 953 + finalXOffset && property.imageY >= 389 + finalYOffset && property.imageY <= 412 + finalYOffset) {
				// The Woodlands Course
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/woodlands.jpg" style="float: left; padding-right: 4px;">';
content += 'The Woodlands, also designed by Griffiths opened in 1996. Many consider this course to be the most ';
content += 'picturesque of the three championship layouts. The stunning 6,735 yard, par 72 course has numerous ';
content += 'elevations presenting memorable views of sparkling lakes and tree-lined holes to give players a blissful ';
content += 'feeling of solitude.';
					Tip(content, SHADOW, property.isIE, TITLE, 'The Woodlands Course', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					// property.imageRotate('winery', 4);
				}
		} else if (property.imageX >= 187 + finalXOffset && property.imageX <= 209 + finalXOffset && property.imageY >= 340 + finalYOffset && property.imageY <= 363 + finalYOffset) {
				// The Legends Course
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img id="wI" src="images/legends.jpg" style="float: left; padding-right: 4px;">';
content += 'Unique by design, The Legends at Château Élan is crafted from the worldly experience of three great ';
content += 'champions: Gene Sarazen, Sam Snead, and Kathy Whitworth. Each was asked to select six of their all-time ';
content += 'favorite holes, and the result is a classic 18, bearing certain design elements from the legends\' selections. ';
content += 'Certainly noticeable at The Legends is the tribute to traditional golf course architecture of the early 1900\'s. ';
content += 'The Legends has membership options for both residents and non-residents. The membership program ';
content += 'features fully refundable deposits, full family privileges, and no capital or operating assessments.<br /><br />';
content += 'For membership and other information, <a href="http://www.chateauelan.net">click here</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'The Legends Course', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					// property.imageRotate('winery', 4);
				}
		} else if (property.imageX >= 350 + finalXOffset && property.imageX <= 372 + finalXOffset && property.imageY >= 41 + finalYOffset && property.imageY <= 64 + finalYOffset) {
				// Legends Clubhouse
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {
content = '<img src="images/legends-clubhouse.jpg" style="float: left; padding-right: 4px;">';
content += 'The Legends Clubhouse is situated behind the 18th hole of the Legends golf course at Chateau Elan. Offering an attractive venue for weddings and meetings, the clubhouse has a full service bar and restaurant for any occasion. <a href="http://www.chateauelan.net/golf/clubhouse.php">Visit the Legends Clubhouse website</a>.';
					Tip(content, SHADOW, property.isIE, TITLE, 'Legends Clubhouse', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					// property.imageRotate('winery', 4);
				}
		} else if (property.imageX >= 501 + finalXOffset && property.imageX <= 524 + finalXOffset && property.imageY >= 66 + finalYOffset && property.imageY <= 89 + finalYOffset) {
				// Legends Cottages
				if (type == "ro") {
					yep.style.cursor = 'pointer';
				} else {			
content = 'Legends Cottages';
					Tip(content, SHADOW, property.isIE, TITLE, 'Legends Cottages', BGIMG, 'graphics/bg-final3.gif', BGCOLOR, '#FFFFFF', BORDERCOLOR, '#49250f', FADEIN, 400, DELAY, 0, CLICKSTICKY, true, CLOSEBTN, true);
					// property.imageRotate('winery', 4);
				}																																												
		} else {
			UnTip();
			yep.style.cursor = 'move';
		}
	},
	checkLoc:function() {
		if (property.selectImg == 1) {
			property.updown = 0;
			property.checkLink();
		} else {
			property.updown = 0;
		}
	},
	// Image Rotation function that handles in/out fading automatically ...
	imageRotate:function(x, num) {
		var folder = "images/"+x+"/";
		var i=1, t, jpg=1;
		setTimeout(function() { rotateTT(jpg, 90, 'out') }, 5000);
		var yep = document.getElementById("wI");
		
		function rotateTT(jpg, o, dir) {
			if (dir == "out") {
				yep.style.filter = 'alpha(opacity = '+ o +')';
				yep.style.opacity = o/100;
				o -= 10;
				if (o == -10) {
					jpg++;
					o = 10;
					yep.src = folder+jpg+".jpg";
					t = setTimeout(function() { rotateTT(jpg,o,'in') }, 50);
				} else {
					t = setTimeout(function() { rotateTT(jpg,o,'out')} ,20);
				}
			} else if (dir == "in") {
				yep.style.filter = 'alpha(opacity = '+ o +')';
				yep.style.opacity = o/100;
				o += 10;
				if (o == 110) {
					o = 90;
					if (jpg != num) {
						t = setTimeout(function() { rotateTT(jpg,o,'out') }, 9000);
					} // else { jpeg = 0; }
				} else {
					t = setTimeout(function() { rotateTT(jpg,o,'in') }, 20);				
				}
			}
		}
	},
	// window loader method that checks for the navAgent and does corrective positioning
	// and adds event listeners for mouse movement on the document
	setStuff:function() {
		document.getElementById("pm_mapLoader").style.display = "none";
		document.getElementById("pm_map").style.display = "block";
		document.getElementById("pm_map").style.backgroundPosition='0px -885px';
		if (document.body.addEventListener) {
			document.addEventListener('mousemove', property.trackMouse, true);
			document.addEventListener('mousemove', property.checkRO, true);
		} else if (document.body.attachEvent) {
			document.body.attachEvent("onmousemove", function() { property.trackMouse(event); property.checkRO(event); });
		} else {
			alert("Your browser does not support event handling. Please use a compliant browser such as Internet Explorer 7/8, Mozilla Firefox, Safari, Opera or Chrome.");
		}
		var userNav = navigator.userAgent;
		if (userNav.indexOf("MSIE") >= 0) {
			property.isIE = true;
		}
	},
	globalRoom:'test',
	globalPhoto:'no',
	isIE:false,
	pIR:'yep',
	// Checks for IE7, hides active selected image
	closeRoom:function() {
		if (navigator.userAgent.indexOf("MSIE 7.0") >= 0) {
			var roomType = document.getElementById("propertyImg").src.substr(document.getElementById("propertyImg").src.length - 6, 2);
			var thisDiv = roomType + "Sel";
			document.getElementById(thisDiv).style.display = "none";
		}
		property.animateElement(80,"out");
	},
	getXMLRequest:function() {
		var ajax;
		try {
			// Opera 8.0+, Firefox, Safari
			ajax = new XMLHttpRequest();
		} catch (e){
			// Internet Explorer Browsers
			try{
				ajax = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try{
					ajax = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (e){
					alert("Your browser broke!");
					return false;
				}
				}
		}
		return ajax;
	},
	// Gets browser dimensions for all major browsers (IE7, IE8, Firefox, Chrome, Safari)
	getBrowserDimensions:function() {
		if (window.innerHeight) {
			property.windowY = window.innerHeight;
			property.windowX = window.innerWidth;
			property.scrolledY = window.pageYOffset;
			property.scrolledX = window.pageXOffset;
			property.bodyHeight = document.body.clientHeight;
		} else if (document.body) {
			property.bodyHeight = document.body.clientHeight;
			property.windowY = document.documentElement.clientHeight;
			property.windowX = document.documentElement.clientWidth;
			property.scrolledY = document.documentElement.scrollTop;
			property.scrolledX = document.documentElement.scrollLeft;
		} else {
				alert("Browser compatibility check failed. Aborting process... Please email bknezevic@chateauelan.com."); return;
		}
	}
} // End plan object