/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','2401',jdecode('Home'),jdecode(''),'/2401.html','true',[],'',''],
	['PAGE','3943',jdecode('News'),jdecode(''),'/3943.html','true',[],'',''],
	['PAGE','3901',jdecode('Properties'),jdecode(''),'/3901/index.html','true',[ 
		['PAGE','4801',jdecode('Acadia+on+the+Green'),jdecode(''),'/3901/4801.html','true',[],'',''],
		['PAGE','31401',jdecode('Acadia+on+the+Green+II'),jdecode(''),'/3901/31401.html','true',[],'',''],
		['PAGE','5001',jdecode('Ashbury+Woods'),jdecode(''),'/3901/5001.html','true',[],'',''],
		['PAGE','5022',jdecode('Brook+Forest'),jdecode(''),'/3901/5022.html','true',[],'',''],
		['PAGE','5064',jdecode('Chambord'),jdecode(''),'/3901/5064.html','true',[],'',''],
		['PAGE','5085',jdecode('Chestnut+Hills'),jdecode(''),'/3901/5085.html','true',[],'',''],
		['PAGE','5043',jdecode('Covington+Courts'),jdecode(''),'/3901/5043.html','true',[],'',''],
		['PAGE','5106',jdecode('Forest+Gate'),jdecode(''),'/3901/5106.html','true',[],'',''],
		['PAGE','5127',jdecode('Ginger+Creek'),jdecode(''),'/3901/5127.html','true',[],'',''],
		['PAGE','5148',jdecode('Graue+Mill'),jdecode(''),'/3901/5148.html','true',[],'',''],
		['PAGE','5169',jdecode('Heritage+Oaks'),jdecode(''),'/3901/5169.html','true',[],'',''],
		['PAGE','5190',jdecode('Hunter+Trails'),jdecode(''),'/3901/5190.html','true',[],'',''],
		['PAGE','5211',jdecode('Indian+Woods'),jdecode(''),'/3901/5211.html','true',[],'',''],
		['PAGE','5253',jdecode('Lake+Ridge+Club'),jdecode(''),'/3901/5253.html','true',[],'',''],
		['PAGE','5274',jdecode('Madison+Club'),jdecode(''),'/3901/5274.html','true',[],'',''],
		['PAGE','5295',jdecode('Maple+Grove+Condominiums'),jdecode(''),'/3901/5295.html','true',[],'',''],
		['PAGE','5316',jdecode('Reserve+of+Clarendon+Hills'),jdecode(''),'/3901/5316.html','true',[],'',''],
		['PAGE','31422',jdecode('Residences+of+Oak+Brook+Hills'),jdecode(''),'/3901/31422.html','true',[],'',''],
		['PAGE','5337',jdecode('Rivermist'),jdecode(''),'/3901/5337.html','true',[],'',''],
		['PAGE','5358',jdecode('Ruth+Lake+Woods'),jdecode(''),'/3901/5358.html','true',[],'',''],
		['PAGE','5379',jdecode('Saddle+Brook'),jdecode(''),'/3901/5379.html','true',[],'',''],
		['PAGE','5400',jdecode('Sutton+Place'),jdecode(''),'/3901/5400.html','true',[],'',''],
		['PAGE','5421',jdecode('Tartan+Lakes'),jdecode(''),'/3901/5421.html','true',[],'',''],
		['PAGE','5442',jdecode('Tartan+Ridge'),jdecode(''),'/3901/5442.html','true',[],'',''],
		['PAGE','5463',jdecode('Westchester+Club'),jdecode(''),'/3901/5463.html','true',[],'',''],
		['PAGE','5484',jdecode('Woods+of+Hobson+Greene'),jdecode(''),'/3901/5484.html','true',[],'',''],
		['PAGE','5505',jdecode('Woods+of+Rivermist'),jdecode(''),'/3901/5505.html','true',[],'','']
	],'',''],
	['PAGE','3964',jdecode('About+us'),jdecode(''),'/3964.html','true',[],'',''],
	['PAGE','3985',jdecode('Staff'),jdecode(''),'/3985.html','true',[],'',''],
	['PAGE','3922',jdecode('Contact'),jdecode(''),'/3922.html','true',[],'','']];
var siteelementCount=33;
theSitetree.topTemplateName='Tendril';
theSitetree.paletteFamily='D9F4D5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33093';
theSitetree.graphicsetId='14058';
theSitetree.contentColor='3B8030';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Tendril',
				paletteFamily: 	'D9F4D5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33093',
				graphicsetId: 	'14058',
				contentColor: 	'3B8030',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2401',
internalId:  '',
customField: '20090527-160020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3901',
internalId:  '',
customField: '20090527-170058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3922',
internalId:  '',
customField: '20090527-164255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3943',
internalId:  '',
customField: '20090526-160011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3964',
internalId:  '',
customField: '20090527-161136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3985',
internalId:  '',
customField: '20090527-164956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4801',
internalId:  '',
customField: '20090616-105757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5505',
internalId:  '',
customField: '20090616-122651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5484',
internalId:  '',
customField: '20090616-122533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5022',
internalId:  '',
customField: '20090616-121015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5442',
internalId:  '',
customField: '20090616-122303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5001',
internalId:  '',
customField: '20090616-120726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5085',
internalId:  '',
customField: '20090616-121041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5043',
internalId:  '',
customField: '20090616-121131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5106',
internalId:  '',
customField: '20090616-121242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5127',
internalId:  '',
customField: '20090616-121338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5148',
internalId:  '',
customField: '20090528-165909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5169',
internalId:  '',
customField: '20090616-121504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5190',
internalId:  '',
customField: '20090616-121547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5211',
internalId:  '',
customField: '20090616-115455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5337',
internalId:  '',
customField: '20090616-122006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5379',
internalId:  '',
customField: '20090616-122123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5400',
internalId:  '',
customField: '20090616-115639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5421',
internalId:  '',
customField: '20090616-122223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5064',
internalId:  '',
customField: '20090526-164118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5253',
internalId:  '',
customField: '20090616-121717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5274',
internalId:  '',
customField: '20090616-121755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5295',
internalId:  '',
customField: '20090616-121836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5316',
internalId:  '',
customField: '20090616-115354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5358',
internalId:  '',
customField: '20090616-115616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5463',
internalId:  '',
customField: '20090616-122419'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INP30H';
var companyName   = 'Oak+and+Dale+Properties';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
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();
};
