﻿// Author      : Daniel Ng
// Organization: Corporation of Lambton County
// Last Updated: Tuesday September 16, 2008

// HTML Element to update. This element must exist on a page.
var textElementID = 'aoiinfo';
var closebutton = '<div style="float:right"><img src="../PublishingImages/close.png" alt="Close" onclick="hideDiv();" style="cursor: hand" /></div>';

// Message to display when clicked on a point of interest on map.

// St. Clair's points of interest
var sc1 = "<img src='../PublishingImages/mooremuseum_thumbnail.png' alt='Moore Museum' class=css-map-regionphoto /><span class=css-poi-heading>Moore Museum</span><br /><span class=css-poi-subheading>94 Moore Line " + addMapIt(380489,4744073) + "</span><br /><br /><span class=css-poi-body>Explore the life of the past in our heritage community, which includes a one-room schoolhouse, historic church, blacksmith shop, log cabin, Victorian cottage, railroad station, fire hall and caboose. Discover the work of the land in the agricultural implement building and the lakes with a marine exhibit room and 1890 range light. Special events include a Victorian Tea, Strawberry Social and Craft Sale. Curriculum-based school programs and motor coach tour packages are also offered.</span>";
var sc2 = "<img src='../PublishingImages/brigdenfair_thumbnail.png' alt='Brigden Fair' class=css-map-regionphoto /><span class=css-poi-heading>Brigden Fairgrounds</span><br /><span class=css-poi-subheading>2976 Brigden Road " + addMapIt(395109,4740492) + "</span><br /><br /><span class=css-poi-body>This year, 2008, is the 158th year of the Brigden Fair. It's interesting to note that Lambton County came into existence in 1849 and Moore Township (now known as St. Clair Township) was created in 1850. The Brigden Fair also was established in 1850 for the promotion of agriculture through community involvement. Over the next 157 years the Moore Agricultural Society has continued to serve the community and maintain tradition. Many of the traditions of our forefathers remain in our livestock and home craft competitions.The first fair, in 1850, was held by the early area settlers on Reilly's farm on Moore Township (today St. Clair Township) Lot 26, Concession 8 (now known as Rokeby Line). The fair initially moved from one community to another, throughout the township, until finally settling in Brigden.</span>";
var sc3 = "<span class=css-poi-heading>Moore Habitat Management Area</span><br /><span class=css-poi-subheading>On Bickford Line, 1km East of Kimball Road " + addMapIt(390587,4735496) + "</span><br /><br /><span class=css-poi-body>On the Bickford Line is a conservation area (SCRCA) about 1 km east of the Kimball Road. A creek runs through its valley, with old oxbows evident. There are a significant number of uncommon trees (eg. Hackberry). It is home to a number of birds including Tufted Titmouse, Chickadees, and Red-bellied Woodpecker. Every winter at least one Yellow-rumped Warbler resides in the woods feeding on poison ivy berries.</span>";
var sc4 = "<img src='../PublishingImages/wilkesportcentre_thumbnail.png' alt='Wilkesport Community Centre' class=css-map-regionphoto /><span class=css-poi-heading>Wilkesport Community Centre</span><br /><span class=css-poi-subheading>1622 Baby Road " + addMapIt(388315,4731798) + "</span><br /><br /><span class=css-poi-body>The community Centre is a hub of activity throughout the year.</span>";
var sc5 = "<img src='../PublishingImages/sombracustoms_thumbnail.png' alt='Sombra Customs' class=css-map-regionphoto /><span class=css-poi-heading>The Blue Water Ferry (Sombra)</span><br /><span class=css-poi-subheading>3490 King Street " + addMapIt(378642,4729838) + "</span><br /><br /><span class=css-poi-body>Border crossing.</span>";
var sc6 = "<span class=css-poi-heading>McKeough Dam and Diversion Conservation Area</span><br /><span class=css-poi-subheading>On Holt Line, between Hwy 40 and Kimball Road " + addMapIt(385141,4727726) + "</span><br /><br /><span class=css-poi-body>The dam and diversion are a flood protection system for the town of Wallaceburg. It follows the 10th concession to the St. Clair River, and occupies about 220 ha of land. Near the dam are woodlots providing nesting and feeding sites for a wide variety of birds. Some nesting birds include chickadees, thrashers, hawks, owls and woodpeckers. Throughout the dam area are ungroomed trails that wind through a variety of habitat. Some uncommon trees such as Blue Ash are found within. On the southwest side of the dam, a small area has been set aside for 'Carolinian-type' trees. Several trees, complete with sign plates, were planted as a project of the SFN.</span>";
var sc7 = "<img src='../PublishingImages/stclairparkway_thumbnail.jpg' alt='St. Clair River' class=css-map-regionphoto /><span class=css-poi-heading>St. Clair River Trail</span><br /><br /><span class=css-poi-body>Approximately 30km long, St. Clair River trail is designed to connect communities and conservation areas along with cultural and historical points of interest.</span>";
// Warwick's points of interest
var ww1 = "<span class=css-poi-heading>Birnam Orchards</span><br /><span class=css-poi-subheading>6749 Nauvoo Road, Arkona " + addMapIt(428326,4765276) + "</span><br /><br /><span class=css-poi-body>Pick your own or ready picked sweet cherries, peaches, apples, sweet corn, and vegetables.</span>";
var ww2 = "<img src='../PublishingImages/warwickca_thumbnail.png' alt='Warwick Conservation Area' class=css-map-regionphoto /><span class=css-poi-heading>Warwick Conservation Area</span><br /><span class=css-poi-subheading>20 minutes East of Sarnia on County Road 22 " + addMapIt(422768,4761209) + "</span><br /><br /><span class=css-poi-body>Warwick Conservation Area is approximately 73 hectares (180 acres) in size, has 181 serviced campsites, three modern washroom buildings, nature trails, laundry facilities and a 25 ft. x 50 ft. in ground pool. All campsites are serviced with hydro and water.</span>";
var ww3 = "<span class=css-poi-heading>Watford Centennial Park</span><br /><span class=css-poi-subheading>101 Centennial Avenue, Watford " + addMapIt(428585,4756100) + "</span>";
// Brooke-Alvinston's points of interest
var ba1 = "<img src='../PublishingImages/awcampbell_thumbnail.jpg' alt='A.W. Campbell Conservation Area' class=css-map-regionphoto /><span class=css-poi-heading>A.W. Campbell Conservation Area</span><br /><span class=css-poi-subheading>8477 Shiloh Line " + addMapIt(431649,4741898) + "</span>";
var ba2 = "<span class=css-poi-heading>Munro Honey and Munro's Meadery</span><br /><span class=css-poi-subheading>3115 River Street, Alvinston " + addMapIt(429877,4740348) + "</span><br /><br /><span class=css-poi-body>Since 1914, Munro Honey has grown to one of the largest producers, packers, and exporters of Canadian no.1 honey and hive products in Ontario. In 1999 Munro’s Meadery was added to the company, and are proud to be the first and only Meadery in the province of Ontario.</span>";
// Plympton-Wyoming's points of interest
var pw1 = "<img src='../PublishingImages/highlandglen_thumbnail.jpg' alt='Highland Glen Conservation Area' class=css-map-regionphoto /><span class=css-poi-heading>Highland Glen Conservation Area</span><br /><span class=css-poi-subheading>5046 Lakeshore Road " + addMapIt(409027,4772528) + "</span>";
var pw2 = "<img src='../PublishingImages/sawmillcreek_thumbnail.png' alt='Sawmill Creek' class=css-map-regionphoto /><span class=css-poi-heading>Sawmill Creek Golf Resort & Spa</span><br /><span class=css-poi-subheading>3790 Lakeshore Road, Camlachie " + addMapIt(404890,4765915) + "</span><br /><br /><span class=css-poi-body>Lambton County's Only Championship Links-Style Course Sawmill Creek boasts an exceptionally-conditioned par 71 'Links-style' 6,427 yard championship layout featuring bent grass on tees, fairways and greens. Spa Retreat offers personalized service and a variety of treatments from body therapy, to face care, to hand and foot treatments.</span>";
var pw3 = "<img src='../PublishingImages/countyadmin_thumbnail.jpg' alt='County Administration Building' class=css-map-regionphoto /><span class=css-poi-heading>County of Lambton Administration Building</span><br /><span class=css-poi-subheading>787 Broadway Street, Wyoming " + addMapIt(408847,4757018) + "</span>";
// Enniskillen's points of interest
var ek1 = "<span class=css-poi-heading>Marthaville Habitat Management Area</span><br /><span class=css-poi-subheading>1 km north of the village of Marthaville " + addMapIt(404643,4752152) + "</span><br /><br /><span class=css-poi-body>A conservation area located 1 km north of the village of Marthaville on the west side of Marthaville Road. This is a former gravel pit area near Petrolia converted into a wetland. There is a trail around the perimeter that goes through some wooded area on the south, and has good views of the wetland.</span>";
// Oil Springs's points of interest
var os1 = "<span class=css-poi-heading>Oil Museum of Canada</span><br /><span class=css-poi-subheading>2423 Kelly Road " + addMapIt(408303,4736248) + "</span><br /><br /><span class=css-poi-body>This National Historic Site is the home of the well that changed the world. On this site, James Miller Williams dug an oil well. In 1858, he created North America's first commercial oil business and a new global oil industry burst into being. Visit the museum and find out how the Black Gold of the Oil Springs boom was first celebrated as lamp oil and used to make asphalt. The story of Canada's first gusher of 1862 is featured and a great deal more.</span>";
var os2 = "<span class=css-poi-heading>Fairbank Oil Properties</span><br /><span class=css-poi-subheading>Gum Bed Line, Oil Spring " + addMapIt(408403,4736038) + "</span><br /><br /><span class=css-poi-body>National Historic Site.</span>";
// Dawn-Euphemia's points of interest
var de1 = "<span class=css-poi-heading>Shetland Conservation Area</span><br /><span class=css-poi-subheading>6632 Bentpath Line " + addMapIt(420204,4728948) + "</span><br /><br /><span class=css-poi-body></span>";
var de2 = "<img src='../PublishingImages/florencelibrary_thumbnail.png' alt='Florence Library' class=css-map-regionphoto /><span class=css-poi-heading>Florence Library</span><br /><span class=css-poi-subheading>531 Florence Road " + addMapIt(417319,4722751) + "</span><br /><br /><span class=css-poi-body>Public library provides access to information and resources for individual enrichment, education, recreation and entertainment and provides a wide range of programs for all ages. The library has an extensive selection of bestsellers, CDs, videos, CD-ROMs and DVDs. Children services include story times and regular weekly programs.</span>";
var de3 = "<span class=css-poi-heading>Florence & District Community Centre</span><br /><span class=css-poi-subheading>6213 Mill Street " + addMapIt(417491,4723100) + "</span><br /><br /><span class=css-poi-body></span>";
var de4 = "<img src='../PublishingImages/shetlandlibrary_thumbnail.png' alt='Shetland Library' class=css-map-regionphoto /><span class=css-poi-heading>Shetland Library</span><br /><span class=css-poi-subheading>1279 Shetland Road " + addMapIt(419722,4728032) + "</span><br /><br /><span class=css-poi-body>Public library provides access to information and resources for individual enrichment, education, recreation and entertainment and provides a wide range of programs for all ages. The library has an extensive selection of bestsellers, CDs, videos, CD-ROMs and DVDs. Children services include story times and regular weekly programs.</span>";
// Walpole Island's points of interest
var wi1 = "<img src='../PublishingImages/walpolebandcouncil_thumbnail.png' alt='Walpole Island Heritage Centre' class=css-map-regionphoto /><span class=css-poi-heading>Walpole Island Heritage Centre</span><br /><span class=css-poi-subheading>R.R. 3, Walpole Island " + addMapIt(377013,4721378) + "</span><br /><br /><span class=css-poi-body>Walpole Island (inc. surrounding islands) is a First Nation's Territory near Wallaceburg in the St. Clair River delta. The island has examples of Carolinian forest, tall-grass prairie, oak savannah and prime marshland. Very rare plants exist there, some of which are found nowhere else in Canada. It contains over 700 species of plants, 90 of which are provincially rare. Rare birds are also found on the island and in its surrounding marshes. Many birds such as grebe, coot, duck (inc. Redhead and Canvasback) nest in the marshes. It hosts the last stronghold of Northern Bobwhite in Canada, but the species is severely declining. The island can be toured by special arrangements through the Band Council. The land is privately owned, so permission must be obtained.</span>";
var wi2 = "<span class=css-poi-heading>Walpole - Algonac Ferry</span><br /><span class=css-poi-subheading>" + addMapIt(375768,4719198) + "</span><br /><br /><span class=css-poi-body>Border crossing.</span>";
// Kettle Stony Point's points of interest
var ks1 = "<span class=css-poi-heading>Chippewas of Kettle & Stony Point First Nation</span><br /><span class=css-poi-subheading>6247 Indian Lane " + addMapIt(418881,4781098) + "</span>";
var ks2 = "<span class=css-poi-heading>Kettles</span><br /><span class=css-poi-subheading>" + addMapIt(417502,4785345) + "<br /><br /><span class=css-poi-body>Kettle Point is named for the unusual spherical boulders which erode from the underlying Devonian shale beds along the shores of Lake Huron. These boulders or 'kettles' are not found at any other Canadian location and have always been considered a natural wonder. They are actually concretions of calcite crystals which literally 'grow' over the centuries around a nucleus of marcasite or organic matter.</span>";
// Aamjiwnaang's points of interest
var aj1 = "<img src='../PublishingImages/maawndooshgumig_thumbnail.png' alt='Maawn Doosh Gumig' class=css-map-regionphoto /><span class=css-poi-heading>Maawn Doosh Gumig - Community Centre</span><br /><span class=css-poi-subheading>1972 Virgil Avenue " + addMapIt(381486,4752277) + "</span>";
// Lambton Shores's points of interest
var ls1 = "<img src='../PublishingImages/grandbend_thumbnail.png' alt='Grand Bend Strip' class=css-map-regionphoto /><span class=css-poi-heading>Grand Bend Beach</span><br /><span class=css-poi-subheading>" + addMapIt(438054,4796126) + "</span><br /><br /><span class=css-poi-body>The popular Grand Bend Beach welcomes thousands of visitors each year, and offers a selection of restaurants, small shops and night life destinations along the town's main strip.</span>";
var ls2 = "<img src='../PublishingImages/pinery_thumbnail.png' alt='Pinery Park' class=css-map-regionphoto /><span class=css-poi-heading>Pinery Provincial Park</span><br /><span class=css-poi-subheading>Highway 21 " + addMapIt(433138,4788729) + "</span><br /><br /><span class=css-poi-body>Located on the eastern shore of Lake Huron, rare habitats, outstanding wildlife viewing opportunities, year round recreation and interpretation programs are to be found at the Pinery Provincial Park. The Pinery Provincial Park offers not only 10km of beaches, but plenty of activities including camping canoeing, hiking, biking and more.</span>";
var ls3 = "<img src='../PublishingImages/heritagemuseum_thumbnail.png' alt='Lambton Heritage Museum' class=css-map-regionphoto /><span class=css-poi-heading>Lambton Heritage Museum</span><br /><span class=css-poi-subheading>10035 Museum Road " + addMapIt(433863,4789048) + "</span><br /><br /><span class=css-poi-body>Discover the history of Sarnia-Lambton at the Lambton Heritage Museum, south of Grand Bend. The museum includes a modern exhibit centre plus a slaughterhouse, blacksmith shop, schoolhouse, 1867 church, a fascinating assortment of agricultural implements, as well as Canada's largest display of pressed glass, a priceless collection of 'Currier and Ives' prints, and a gift shop with intriguing books on the local area.</span>";
var ls4 = "<span class=css-poi-heading>Thedford Bosanquet Arena and Community Centre</span><br /><span class=css-poi-subheading>16 Allen Street " + addMapIt(429989,4779503) + "</span><br /><br /><span class=css-poi-body>The Thedford Bosanquet Community Centre is an indoor rink and open seasonally from September 1st to March 31st and offers ice hockey, figure skating and public skate. Other facilities are also available to you birthday parties, holiday parties or corporate events.</span>";
var ls5 = "<img src='../PublishingImages/shoresreccentre_thumbnail.png' alt='The Shores Recreation Centre' class=css-map-regionphoto /><span class=css-poi-heading>The Shores Recreation Centre</span><br /><span class=css-poi-subheading>7883 Amtelecom Parkway " + addMapIt(419458,4772941) + "</span><br /><br /><span class=css-poi-body>The Shores Recreation Centre is a gathering place where communities can come together for social, leisure and business functions. The Centre has amenities suitable for small or large gatherings.</span>";
var ls6 = "<img src='../PublishingImages/rockglen_thumbnail.jpg' alt='Rock Glen Conservation Area' class=css-map-regionphoto /><span class=css-poi-heading>Rock Glen Conservation Area</span><br /><span class=css-poi-subheading> 8680 Rock Glen Road " + addMapIt(433129,4770519) + "</span><br /><br /><span class=css-poi-body>Rock Glen Conservation Area is a 60-acre park near Arkona. Due to its scenic beauty, picturesque waterfalls and Devonian Era fossils attracts at least 15,000 visitors a year from Ontario and the United States. Also located at the Conservation Area is the Arkona Lions Museum and Information Centre.</span>";
// Sarnia's points of interest
var sn1 = "<img src='../PublishingImages/animalfarm_thumbnail.jpg' alt='Animal Farm at Canatara Park' class=css-map-regionphoto /><span class=css-poi-heading>Canatara Park</span><br /><span class=css-poi-subheading>" + addMapIt(386197,4762021) + "<br /><br /><span class=css-poi-body>Canatara Park is located on the shores of Lake Huron and covers 200 acres of land with more than 3000 feet of Lake Huron shoreline. A number of annual events including 'Easter in the Park' and 'Christmas on the Farm' take place at Canatara as well as a number of organized charity events. Activities from bicycling and picnicking to a visit to the Children's Farm are highlights of anyone's visit to Canatara.</span>";
var sn2 = "<img src='../PublishingImages/sarniabaymarina_thumbnail.jpg' alt='Sarnia Bay Marina' class=css-map-regionphoto /><span class=css-poi-heading>Sarnia Bay Marina</span><br /><span class=css-poi-subheading>Centennial Park " + addMapIt(385139,4759633) + "</span><br /><br /><span class=css-poi-body>With over 30 beautifully landscaped acres and spectacular views of the Blue Water Bridges, Sarnia Bay Marina offers boaters a full service 'lifestyle' marina that includes over 300 boat slips for both seasonal members and tourist (transient) boaters. The up-to-date facility and staff offer an endless array of amenities and services to all guests.</span>";
var sn3 = "<span class=css-poi-heading>Gallery Lambton</span><br /><span class=css-poi-subheading>150 Christina Street North " + addMapIt(385256,4758693) + "</span><br /><br /><span class=css-poi-body>Discover the vitality of Canadian art in an exciting range of exhibitions including everything from contemporary art, to delving into the past through historical exhibitions. The Gallery's collection of art contains paintings by the Group of Seven, and others, considered national treasures. Gallery Lambton offers tours, art classes, bus trips, lectures, films and video screenings that inspire interest in the visual arts for people of all ages.</span>";
var sn4 = "<span class=css-poi-heading>Sarnia Sports and Entertainment Centre</span><br /><span class=css-poi-subheading>1455 London Road " + addMapIt(390107,4759176) + "</span><br /><br /><span class=css-poi-body>The Sarnia Sports and Entertainment Centre opened its doors in September 1998 and serves as one of the region's major sites for sporting, entertainment and consumer show industries. The facility features two OHL sized ice pads, a full service restaurant over looking two ice rinks, 43 corporate suites and seats up to 5,500 people.</span>";
var sn5 = "<span class=css-poi-heading>The University of Western Ontario Research & Development Park</span><br /><span class=css-poi-subheading>1086 Modeland Road " + addMapIt(390689,4759058) + "</span><br /><br /><span class=css-poi-body>The University of Western Ontario Research & Development Park (Sarnia-Lambton Campus) originated from a joint venture development project initiated by the Sarnia-Lambton Economic Partnership (SLEP), the County of Lambton, the City of Sarnia and The University of Western Ontario in November 2003.</span>";
var sn6 = "<span class=css-poi-heading>Hiawatha Horse Park and Slots</span><br /><span class=css-poi-subheading>1730 London Road " + addMapIt(391809,4760281) + "</span><br /><br /><span class=css-poi-body>Less than 10 minutes from the U.S. border, in the heart of bustling Sarnia, the hub of Lake Huron, OLG Slots at Hiawatha Horse Park offers the ultimate in entertainment. There are over 450 slot machines to play and take in the horse racing season from May to October.</span>";
var sn7 = "<span class=css-poi-heading>Sarnia Chris Hadfield Airport</span><br /><span class=css-poi-subheading>1500 Airport Road " + addMapIt(393522,4760894) + "</span><br /><br /><span class=css-poi-body>The Sarnia Chris Hadfied Airport (CYZR) is a certified facility. The hours of operation are 6:00 a.m. to 11:00 p.m. The airport is located 3 miles east of the city core with direct access to Highway 402 and the City of Sarnia Business Park. The airport has been in operation for over 40 years serving the people of Sarnia-Lambton and Southeastern Michigan.</span>";
var sn8 = "<span class=css-poi-heading>Gallery in the Grove</span><br /><span class=css-poi-subheading>2700 Hamilton Road " + addMapIt(397234,4764970) + "</span><br /><br /><span class=css-poi-body>Gallery in the Grove is situated in Wildwood Park, among a grove of trees, in the historic and stately Faethorne House that was built in 1875. Then in 1980, a small group of people interested in establishing an art gallery were given permission to use part of the property and it became Gallery in the Grove.</span>";
// Petrolia's points of interest
var pl1 = "<img src='../PublishingImages/victoriahall_thumbnail.jpg' alt='Victoria Playhouse' class=css-map-regionphoto /><span class=css-poi-heading>Victoria Playhouse Petrolia</span><br /><span class=css-poi-subheading>411 Greenfield Street " + addMapIt(406354,4748249) + "</span><br /><br /><span class=css-poi-body>The Victoria Playhouse has provided a venue for theatre productions for over 100 years. Victoria Playhouse is now a modern, fully equipped, state-of-the-art, 425 seats, air-conditioned facility.</span>";
var pl2 = "<span class=css-poi-heading>Petrolia Discovery</span><br /><span class=css-poi-subheading>4381 Discovery Line " + addMapIt(407397,4749308) + "</span><br /><br /><span class=css-poi-body>A living museum this 60 acre property in Petrolia is a major historic site offering recreational and education exhibits on the Oil Industry of yesterday and today.</span>";
var pl3 = "<img src='../PublishingImages/petrolialibrary_thumbnail.jpg' alt='Petrolia Library' class=css-map-regionphoto /><span class=css-poi-heading>Petrolia Library</span><br /><span class=css-poi-subheading>4200 Petrolia Line " + addMapIt(406385,4748353) + "</span><br /><br /><span class=css-poi-body>Located in the heart of the Petrolia the Library has existed in its present location since 1937. Named a heritage location this building was originally a station on the Grand Trunk Railway built in 1903.</span>";
var pl4 = "<img src='../PublishingImages/oilheritagecommunitycentre_thumbnail.jpg' alt='Oil Heritage District Community Centre' class=css-map-regionphoto /><span class=css-poi-heading>Oil Heritage District Community Centre</span><br /><span class=css-poi-subheading>360 Tank Street " + addMapIt(406629,4748687) + "</span><br /><br /><span class=css-poi-body>The Oil Heritage District Community Centre was opened in 2006 and is a multi-use facility featuring a swimming pool, weight room and gymnasium.</span>";
var pl5 = "<span class=css-poi-heading>Charlotte Eleanor Englehart (CEE) Hospital</span><br /><span class=css-poi-subheading>450 Blanche Street " + addMapIt(406299,4747932) + "</span><br /><br /><span class=css-poi-body>The Charlotte Eleanor Englehart (CEE) Hospital of Bluewater Health is one of 3 sites that make up the corporation of Bluewater Health in Lambton County. The CEE hospital is partially housed in a stately Victorian mansion built in 1891, offers 23 acute care beds and 20 complex continuing care beds. It is also the site of a brand new cataract clinic.</span>";
var pl6 = "<span class=css-poi-heading>Greenwood Recreation Centre</span><br /><span class=css-poi-subheading>4065 Dufferin Avenue " + addMapIt(405634,4747983) + "</span><br /><br /><span class=css-poi-body>The Greenwood Recreation Centre includes a 85ft x 200ft sized ice rink. Petrolia Minor Hockey Association and the Petrolia & District Figure Skating Club both operate out of this facility. It is also home to the Petrolia Squires Senior AAA hockey Team.</span>";
var pl7 = "<span class=css-poi-heading>Heritage Heights Golf & Curling Club</span><br /><span class=css-poi-subheading>4300 Garden Crescent " + addMapIt(406580,4747366) + "</span><br /><br /><span class=css-poi-body>Heritage Heights is a challenging 18 hole golf course, open for green fee and tournament play, located in Petrolia. In Winter, it boasts a popular 4-sheet Curling rink.</span>";
// Point Edward's points of interest
var pe1 = "<img src='../PublishingImages/bridge_thumbnail.jpg' alt='Bridge' class=css-map-regionphoto /><span class=css-poi-heading>Blue Water Bridges</span><br /><span class=css-poi-subheading>Highway 402 " + addMapIt(384085,4761612) + "</span><br /><br /><span class=css-poi-body>The twin Blue Water Bridges spans the St Clair River between Point Edward and Port Huron. This international entry point between the United States and Canada provides vital trade and transportation links for our two countries and is the second busiest border crossing in North America.</span>";
var pe2 = "<span class=css-poi-heading>The Waterfront Park</span><br /><span class=css-poi-subheading>" + addMapIt(384290,4761691) + "<br /><br /><span class=css-poi-body>The Waterfront Park overlooks the St. Clair River and is situated under the Bluewater Bridges and has something for people of all ages: leisurely watching the boats go by, soccer pitch, baseball diamond, playground equipment, French Fry truck, gazebo, pergola and the Bluewater Anglers Fish Hatchery.</span>";
var pe3 = "<span class=css-poi-heading>Point Edward Library</span><br /><span class=css-poi-subheading>220 Michigan Avenue " + addMapIt(384771,4761580) + "</span><br /><br /><span class=css-poi-body>Our public libraries provide access to information and resources for individual enrichment, education, recreation and entertainment and provides a wide range of programs for all ages. These libraries have an extensive selection of bestsellers, CDs, videos, CD-ROMs and DVDs. Children services include story times and regular weekly programs.</span>";
var pe4 = "<span class=css-poi-heading>The Point Edward Arena</span><br /><span class=css-poi-subheading>210 Monk Street " + addMapIt(384708,4761333) + "</span><br /><br /><span class=css-poi-body>The Point Edward Arena is active year-long with ice in from the end of September to mid-April of each year and in-line hockey taking place on the specialized flooring for the summer months.</span>";
var pe5 = "<span class=css-poi-heading>Bridgeview Marina</span><br /><span class=css-poi-subheading>1 Marina Road " + addMapIt(384551,4760783) + "</span><br /><br /><span class=css-poi-body>Point Edward is home to the Bridgeview Marina, which provides excellent service for all aspects of your recreational boating. It is the third largest, fully serviced marina in the Great Lakes.</span>";
var pe6 = "<span class=css-poi-heading>Ontario Travel Information Centre</span><br /><span class=css-poi-subheading>1455 Venetian Blvd. " + addMapIt(384952,4760926) + "</span><br /><br /><span class=css-poi-body>The Ontario Travel Information Centre was opened to the public on July 14, 2005 at the cost of $4.5 million. The new site will house information for visitors so that they can find just the right accommodations, restaurants and events. The centre will also house a foreign currency exchange along with the Aamjiwnaang First Nation Craft Store and Art Gallery.</span>";
var pe7 = "<img src='../PublishingImages/pointedwardcasino_thumbnail.jpg' alt='Point Edward Casino' class=css-map-regionphoto /><span class=css-poi-heading>Point Edward Casino</span><br /><span class=css-poi-subheading>2000 Venetian Blvd. " + addMapIt(384106,4761050) + "</span><br /><br /><span class=css-poi-body>Overlooking the St. Clair River, at the foot of the Bluewater Bridge, OLG Casino Point Edward offers you gaming thrills since opening in April 2000. There are 490 exciting slot machines. Enjoy a leisurely meal and a spectacular riverside view at The Boathouse Restaurant & Patio, which is fully licensed.</span>";

// Main public method to call to display POI info.
// "e" is the event and "variable" refers to those variables declared above.
function displayinfo(e, variable){
    if (e && variable!='') {updateElements(e.clientX, e.clientY , closebutton + variable);}
}

// Actual method to update a targeted DIV element on page.
function updateElements(x, y, message){
    try
    {
        var el = document.getElementById(textElementID);
        if (el && message!=''){
            el.innerHTML = message;
            el.style.position = 'absolute';
            el.style.width = '270px';
            el.style.left = ((x-300)<0 ? '0px' : (x-300)+'px');
            el.style.height = 'auto';
            el.style.top = y + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + 'px';
            el.style.display = 'block';
            el.style.zindex = 99;
        };
     } catch(err) {};
}

// Hide a targeted DIV element.
function hideDiv(){
    try
    {
        var el = document.getElementById(textElementID);
        if (el){el.style.display = 'none';};
     } catch(err) {};
}

// Add a MapIt hyperlink
function addMapIt(x,y) {
    return (isNaN(x)||isNaN(y)) ? "" : "<a href=\"http://www.lambtongis.ca/localservicesfinder/Default.aspx?x="+x+"&y="+y+"&level=6&icon=1\" target=\"_blank\">[Map it]</a>";
}