/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','5701',jdecode('Castle+Home+Page'),jdecode(''),'/5701.html','true',[],''],
	['PAGE','7901',jdecode('Castle+Info'),jdecode(''),'/7901.html','true',[],''],
	['PAGE','7922',jdecode('Room+Rates'),jdecode(''),'/7922.html','true',[],''],
	['PAGE','9101',jdecode('Reservation+Policies'),jdecode(''),'/9101.html','true',[],''],
	['PAGE','9501',jdecode('Guest+Reservation+Calendar+'),jdecode(''),'/9501.html','true',[],''],
	['PAGE','14801',jdecode('Local+Activities'),jdecode(''),'/14801.html','true',[],''],
	['PAGE','10701',jdecode('Links'),jdecode(''),'/10701.html','true',[],''],
	['PAGE','17201',jdecode('Castle+Pictures'),jdecode(''),'/17201.html','true',[],''],
	['PAGE','25601',jdecode('Contact'),jdecode(''),'/25601.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5701',
internalId:  '',
customField: '20100530-092632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7922',
internalId:  '',
customField: '20100322-115923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7901',
internalId:  '',
customField: '20100327-080137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20100324-132251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9501',
internalId:  '',
customField: '20100727-140707'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '5701',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '7901',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '7922',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '9101',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '9501',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20100609-093805'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '10701',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20100313-164719'
};
webappMappings['7060']=webappMappings['7060-287d5d6d6288b6ef1978026cf39683f1']={
webappId:    '7060',
documentId:  '17201',
internalId:  '287d5d6d6288b6ef1978026cf39683f1',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17201',
internalId:  '',
customField: '20100322-063046'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '14801',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '17201',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-27620']={
webappId:    '7008',
documentId:  '25601',
internalId:  '27620',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20100424-171314'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '25601',
internalId:  '',
customField: 'language:en;country:US;'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0INL1LA';
var companyName   = 'Bruce+Goff++Castle+Dwelling+B%26B';
var htmlTitle	  = 'Bruce+Goff+-+Duncan%2FEtzkorn+Castle+Dwelling+B%26B';
var metaKeywords  = 'Organic+architecture.+Cobden+Carbondale+Southern+Illinois+University+carbondale+campus+morel+mushroom+rockclimbing+hunting+fishing+canoeing+bed+breakfast+southern+illinois+cliffshistorical+vacation+chamber+commerce+anna+alto+pass+cobden+wolf+lakejonesboro+dongola+mental+health+rural+america+golf+tourism+barns+antiquesshawnee+heartland+deer+goose+turkey+farmland+great+river+road+trail+shawnee+wine+trail+tears+national+forest+state+getaway+boating+go-cart+mud+racing+colorfestfairs+historic+homes+lincoln+douglas+hiking+biking+trails+pine+hillsapples+peaches+orchards+bird+watching+cache+creek+wildlife+flea+market+vineyardsagriculture+bald+knob+cross+wetlands+duck+real+estate++wineries+churches++horseback+swamps+recreation+natural+resources+restaurants+campgrounds+little+egypt+wilderness+picnic+outdoorsman+nature+waterfowl+lakes+whitetail+bas+sbluegill+crappie+catfish+mississippi+flyway+refuge+library+r+v+camping+trees+mushroom+herb+festival+swamp+cookout+indians+conservation+ozark+hospitality+bow+outfitter+quail+eagle+murphysboro+Shawnee+wine+trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Knob+section+River+River+Trail+American+Discovery+Trail+Shawnee+Hills+Scenic+Byway+Eastern+Southern+Illinois+Trails+hiking%2C+mountain+biking%2C+bicycling%2C+bouldering%2C+bird+watching++rock+climbing+Fish+swim+hike+picnic+lake+overlooks+boulders+canyons+Rim+Rock+Recreational+trail+Cave+in+Rock+Garden+of+the+Gods+free+ferry+to+Kentucky+Hog+Rock+Iron+Furnace+Little+Sturgis+Ohio+River+Tower+Rock+Shawnee+Queen+River+Taxi+Dixon+Springs%2C+Bell+Smith+Springs+Paducah+River+Front+Fort+Massac+Paducah+Quilt+Show+riverboat+gambling+Kentucky+Amish+country+Metropolis+Tunnel+Hill+biking+trail+Golconda+Old+Shawneetown+Saline+County+Wildlife+Area+Lusk+Creek+One+Horse+Gap+Burden+Falls+Cache+River+Refuge+Giant+City+State+Park+Mermet+Springs+scuba+diving+Knob+section+River+River+Trail+American+Discovery+Trail+Shawnee+Hills+Scenic+Byway+Eastern+Southern+Illinois+Trails+hiking%2C+mountain+biking%2C+bicycling%2C+bouldering%2C+bird+watching++rock+climbing+Fish+swim+hike+picnic+lake+overlooks+boulders+canyons+Rim+Rock+Recreational+trail+Cave+in+Rock+Garden+of+the+Gods+free+ferry+to+Kentucky+Hog+Rock+Iron+Furnace+Little+Sturgis+Ohio+River+Tower+Rock+Shawnee+Queen+River+Taxi+Dixon+Springs%2C+Bell+Smith+Springs+Paducah+River+Front+Fort+Massac+Paducah+Quilt+Show+riverboat+gambling+Kentucky+Amish+country+Metropolis+Tunnel+Hill+biking+trail+Golconda+Old+Shawneetown+Saline+County+Wildlife+Area+Lusk+Creek+One+Horse+Gap+Burden+Falls+Cache+River+Refuge+Giant+City+State+Park+Mermet+Springs+scuba+diving+Knob+section+River+River+Trail+American+Discovery+Trail+Shawnee+Hills+Scenic+Byway+Eastern+Southern+Illinois+Trails+hiking%2C+mountain+biking%2C+bicycling%2C+bouldering%2C+bird+watching++rock+climbing+Fish+swim+hike+picnic+lake+overlooks+boulders+canyons+Rim+Rock+Recreational+trail+Cave+in+Rock+Garden+of+the+Gods+free+ferry+to+Kentucky+Hog+Rock+Iron+Furnace+Little+Sturgis+Ohio+River+Tower+Rock+Shawnee+Queen+River+Taxi+Dixon+Springs%2C+Bell+Smith+Springs+Paducah+River+Front+Fort+Massac+Paducah+Quilt+Show+riverboat+gambling+Kentucky+Amish+country+Metropolis+Tunnel+Hill+biking+trail+Golconda+Old+Shawneetown+Saline+County+Wildlife+Area+Lusk+Creek+One+Horse+Gap+Burden+Falls+Cache+River+Refuge+Giant+City+State+Park+Mermet+Springs+scuba+diving+Knob+section+River+River+Trail+American+Discovery+Trail+Shawnee+Hills+Scenic+Byway+Eastern+Southern+Illinois+Trails+hiking%2C+mountain+biking%2C+bicycling%2C+bouldering%2C+bird+watching++rock+climbing+Fish+swim+hike+picnic+lake+overlooks+boulders+canyons+Rim+Rock+Recreational+trail+Cave+in+Rock+Garden+of+the+Gods+free+ferry+to+Kentucky+Hog+Rock+Iron+Furnace+Little+Sturgis+Ohio+River+Tower+Rock+Shawnee+Queen+River+Taxi+Dixon+Springs%2C+Bell+Smith+Springs+Paducah+River+Front+Fort+Massac+Paducah+Quilt+Show+riverboat+gambling+Kentucky+Amish+country+Metropolis+Tunnel+Hill+biking+trail+Golconda+Old+Shawneetown+Saline+County+Wildlife+Area+Lusk+Creek+One+Horse+Gap+Burden+Falls+Cache+River+Refuge+Giant+City+State+Park+Mermet+Springs+scuba+diving+Knob+section+River+River+Trail+American+Discovery+Trail+Shawnee+Hills+Scenic+Byway+Eastern+Southern+Illinois+Trails+hiking%2C+mountain+biking%2C+bicycling%2C+bouldering%2C+bird+watching++rock+climbing+Fish+swim+hike+picnic+lake+overlooks+boulders+canyons+Rim+Rock+Recreational+trail+Cave+in+Rock+Garden+of+the+Gods+free+ferry+to+Kentucky+Hog+Rock+Iron+Furnace+Little+Sturgis+Ohio+River+Tower+Rock+Shawnee+Queen+River+Taxi+Dixon+Springs%2C+Bell+Smith+Springs+Paducah+River+Front+Fort+Massac+Paducah+Quilt+Show+riverboat+gambling+Kentucky+Amish+country+Metropolis+Tunnel+Hill+biking+trail+Golconda+Old+Shawneetown+Saline+County+Wildlife+Area+Lusk+Creek+One+Horse+Gap+Burden+Falls+Cache+River+Refuge+Giant+City+State+Park+Mermet+Springs+scuba+diving++Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail%2Cmorel+mushroom+rock+climbing+hunting+fishing+canoeing+bed+breakfast+southern+illinois+cliffshistorical+vacation+chamber+commerce+anna+alto+pass+cobden+wolf+lakejonesboro+dongola+mental+health+rural+america+golf+tourism+barns+antiques+shawnee+heartland+deer+goose+turkey+farmland+great+river+road+trail+tears+national+forest+state+getaway+boating+go-cart+mud+racing+colorfestfairs+historic+homes+lincoln+douglas+hiking+biking+trails+pine+hillsapples+peaches+orchards+bird+watching+cache+creek+wildlife+flea+market+vineyards+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Trail%2CShawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfastTrail%2CShawnee+hills+bed+and+breakfast+agriculture+bald+knob+cross+wetlands+duck+real+estate+wineries+churches+horseback+swamps+recreation+natural+resources+restaurants+campgrounds+little+egypt+wilderness+picnic+outdoorsman+nature+waterfowl+lakes+whitetail+bassbluegill+crappie+catfish+mississippi+flyway+refuge+library+r+v+camping+trees+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfastTrail%2CShawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Trail%2CShawnee+hills+bed+and+breakfastmushroom+herb+festival+swamp+cookout+indians+conservation+ozark+hospitality+bow+carbondale+southern+Illinois+university+carbondale+southern+Illinois+university+carbondale+southern+Illinois+university+carbondale+southern+Illinois+university+carbondale+southern+Illinois+university+mountain+glen+mountain+glen+mountain+glen+cabinsoutfitter+quail+eagle+carbondale+southern+Illinois+university+carbondale+campus+Shawne+National+forest+Shawne+National+forest+Shawne+National+forest+Shawnee+National+forest+makanda+makanda+arts+festival+festival+festival+shawnee+hills+why+waste+your+time+wine+trail+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Trail%2CShawnee+hills+bed+and+breakfast+Shawneee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawne+National+forest+mountain+glen+mountain+glen+cabins+mountain+glen+cabins+mountain+glen+Shawne+National+forest+Makanda+makanda+makanda+Makanda+Makanda+Giant+City+lodge+giant+city+lodge+Wing+Hill+Moutain+Wing+Hill+Moutain+Cobden+Cobden+Cobden+Cobden+Cobden+Yellow+Moon+Cafe+Alto+pass+Wing+hill+Moutain+top+Mountain+Wing+Hill+Moutain+top+Shawnee+national+park+Forest+Cliffs+Repelling++Overhang+Mountain+Glen+Shawnee+national+park+Shawnee+Hills+Wine+trail+Architecture+ARchitectural+Art+Makanda+Festival+Festivals+Festivals+Bed+and+breakfast+BB+BB+Vacation+Cobden+Illinois+Illinois+Southern+Southern+ST.+Louis+St%2Clouis+Memphis+Paducah+Paducah+Shawnee+National+Park+Cypress+Swamp+Canoeing+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+Cobden+Illinois+bed+and+breakfast+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+centerShawnee+National+forest+Giant+City+lodge+Giant+City+lodge+Giant+City+lodge+Giant+City+lodge+Giant+City+lodge+Giant+City+lodge+Shawnee+National+forest+Lodging+Lodging+Lodging+Lodging+Lodging+Lodging+Lodging+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Shawnee++Hills+Wine+Shawnee+hills+bed+and+breakfast+Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee+National+forest+mountain+glen+mountain+glen+cabins+mountain+glen+cabins+mountain+glen+Shawnee+National+forest+Cobden+cobden+cobden+university+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+cache+river+wetland+center+Shawnee+National+forest+Makanda+Makanda+Makanda+Makanda+Makanda+Makanda+Makanda+Makanda+Makanda+Makanda+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Tunnel+Hill+sTate+park+Shawnee+National+forest+Giant+City+lodge+Shawnee+National+forest+Giant+City+lodge+Shawnee+National+forest+Giant+City+lodge+Shawnee+National+forest+Giant+City+lodge+Shawnee+National+forest+Giant+City+lodge+Shawnee+National+forest+Giant+City+lodgeShawnee+National+forest+Giant+City+lodge+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+suites+lodging+lodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+innbb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentals+lodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+Shawnee+National+forest+Giant+City+lodge+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+suites+lodgingl+odging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+inn+bb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentalslodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+Shawnee+National+forest+Giant+City+lodge+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+suites+lodging+lodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+innbb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentalslodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+Shawnee+National+forest+Giant+City+lodge+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+suites+lodginglodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+innbb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentals+lodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+Shawnee+National+forest+Giant+City+lodge+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+Cobden+festival+suites+lodging+lodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+inn+bb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentalslodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+camp+lodge+vacations+cabins+summer+cabins+retreat+cabins+rentals+cabins+private+cabins+cabins+resorts+cabins+Illinois+cabins+in+Cobden+vacation+rentals+Southern+Illinoisvacation+lake+rental+lodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+innbb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentals+lodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+camp+lodge+vacations+cabins+summer+cabins+retreat+cabins+rentals+cabins+private+cabins+cabins+resorts+cabins+Illinois+cabins+in+Cobden+vacation+rentals+Southern+Illinoisvacation+lake+rentallodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+inn+bb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentals+lodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+camp+lodge+vacations+cabins+summer+cabins+retreat+cabins+rentals+cabins+private+cabins+cabins+resorts+cabins+Illinois+cabins+in+Cobden+vacation+rentals+Southern+Illinois+vacation+lake+renta+llodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+innbb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentalslodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+camp+lodge+vacations+cabins+summer+cabins+retreat+cabins+rentals+cabins+private+cabins+cabins+resorts+cabins+Illinois+cabins+in+Cobden+vacation+rentals+Southern+Illinois+vacation+lake+rental+lodging+inn+room+inn+resorts+inn+inn+rooms+inn+rate+inn+house+bed+inn+bb+inn+suite+inn+resorts+inn+inn+rate+resort+lodge+lodge+rentals+lodge+rental+lodge+inns+bed+and+breakfast+Cobden+bed+and+breakfast+resort+mountain+guest+house+camp+lodge+vacations+cabins+summer+cabins+retreat+cabins+rentals+cabins+private+cabins+cabins+resorts+cabins+Illinois+cabins+in+Cobden+vacation+rentals+Southern+Illinois+vacation+lake+rental+bed+and+breadfast+bed+and+breakfast+bed+and+breakfast+bed+and+breadfast+bed+and+breakfast+bed+and+breakfast+BB+BB+BB+BB+BB+BB+BB+++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast++Hills+Wine+Trail%2C+Shawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail+Shawnee++Hills+Wine+Trail%2CShawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+shawnee+National+Forest+parks+park+hills+trail+retreat+artist+southern+Illinois+eastern+Western+cobden+101+top+artist+sites+visit+Mountain+top+rustic+cabins+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forestShawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forestShawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forestShawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forestShawnee+hills+bed+and+breakfast+Shawnee+National+forest+Shawnee++Hills+Wine+Trail++Trail%2CShawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+hills+bed+and+breakfast+Shawnee+National+forest+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge+Bruce+Goff+architect+architecture+modern+organic+colorfest+Makanda+Giant+City+Lodge';
var metaContents  = 'Bruce+Goffs+-+Duncan+Etzkorn+Castle+Dwelling+Bed+and+Breakfast+atop+a+foot+hill+mountain+top+in+the+Shawnee+National+Forest+area+of+Southern+Illinois.+Explore+organic+architecture+in+a+vigorous+natural+setting+including+overlooks%2C+overhangs%2C+great+rock+formations+tossed+about+by+the+last+Ice+Age+melt+down+that+sent+a+huge+volume+of+water+over+the+top+of+the+mountain.';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};
