/* [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','3350',jdecode('Home'),jdecode(''),'/3350/index.html','true',[ 
		['PAGE','36761',jdecode('LYMPHEDEMA'),jdecode(''),'/3350/36761.html','true',[],'',''],
		['PAGE','12650',jdecode('Why+Warm+Water%3F'),jdecode(''),'/3350/12650.html','true',[],'','']
	],'',''],
	['PAGE','6750',jdecode('Clinic+Hours'),jdecode(''),'/6750.html','true',[],'',''],
	['PAGE','32761',jdecode('Referring+Physicians'),jdecode(''),'/32761.html','true',[],'',''],
	['PAGE','6771',jdecode('Services+Offered'),jdecode(''),'/6771/index.html','true',[ 
		['PAGE','6792',jdecode('Physical+Therapy'),jdecode(''),'/6771/6792.html','true',[],'',''],
		['PAGE','6834',jdecode('Occupational+Therapy'),jdecode(''),'/6771/6834.html','true',[],'',''],
		['PAGE','6855',jdecode('Speech+Therapy'),jdecode(''),'/6771/6855.html','true',[],'',''],
		['PAGE','6813',jdecode('Massage+Therapy'),jdecode(''),'/6771/6813.html','true',[],'',''],
		['PAGE','9223',jdecode('ETPS'),jdecode(''),'/6771/9223.html','true',[],'',''],
		['PAGE','9244',jdecode('McKenzie+'),jdecode(''),'/6771/9244.html','true',[],'',''],
		['PAGE','8971',jdecode('Strain%2F+Counterstrain'),jdecode(''),'/6771/8971.html','true',[],'',''],
		['PAGE','9055',jdecode('Myofascial+Techniques'),jdecode(''),'/6771/9055.html','true',[],'',''],
		['PAGE','8950',jdecode('Foot+Orthotics'),jdecode(''),'/6771/8950.html','true',[],'',''],
		['PAGE','8992',jdecode('Splints'),jdecode(''),'/6771/8992.html','true',[],'',''],
		['PAGE','9013',jdecode('Total+Joint+Rehabilitation'),jdecode(''),'/6771/9013.html','true',[],'',''],
		['PAGE','9181',jdecode('Hand+Therapy'),jdecode(''),'/6771/9181.html','true',[],'',''],
		['PAGE','9034',jdecode('Rotator+Cuff+Rehabilitation'),jdecode(''),'/6771/9034.html','true',[],'',''],
		['PAGE','9076',jdecode('Sports+Acceleration+Program'),jdecode(''),'/6771/9076.html','true',[],'',''],
		['PAGE','9097',jdecode('Golf+Mechanic+Evaluation+'),jdecode(''),'/6771/9097.html','true',[],'',''],
		['PAGE','9139',jdecode('McConnell+Taping'),jdecode(''),'/6771/9139.html','true',[],'',''],
		['PAGE','9202',jdecode('Wii+Hab'),jdecode(''),'/6771/9202.html','true',[],'',''],
		['PAGE','9160',jdecode('Ergonomics+Assessments+and+Work+Site+Evaluation'),jdecode(''),'/6771/9160.html','true',[],'',''],
		['PAGE','9118',jdecode('FCE-+Functional+Capacity+Evaluation'),jdecode(''),'/6771/9118.html','true',[],'',''],
		['PAGE','6876',jdecode('Other+Programs+'),jdecode(''),'/6771/6876.html','true',[],'','']
	],'',''],
	['PAGE','6918',jdecode('AquaMoves'),jdecode(''),'/6918/index.html','true',[ 
		['PAGE','12150',jdecode('Prices'),jdecode(''),'/6918/12150.html','true',[],'','']
	],'',''],
	['PAGE','6981',jdecode('Schedule+Appointment'),jdecode(''),'/6981.html','true',[],'',''],
	['PAGE','7002',jdecode('About+us'),jdecode(''),'/7002/index.html','true',[ 
		['PAGE','7950',jdecode('Mission+Statement'),jdecode(''),'/7002/7950.html','true',[],'',''],
		['PAGE','26050',jdecode('Success+Stories'),jdecode(''),'/7002/26050.html','true',[],'','']
	],'',''],
	['PAGE','7044',jdecode('Our+team'),jdecode(''),'/7044/index.html','true',[ 
		['PAGE','9750',jdecode('Therapists'),jdecode(''),'/7044/9750.html','true',[],'',''],
		['PAGE','9771',jdecode('Techs'),jdecode(''),'/7044/9771.html','true',[],'',''],
		['PAGE','9792',jdecode('Support+Staff'),jdecode(''),'/7044/9792.html','true',[],'','']
	],'',''],
	['PAGE','7023',jdecode('How+to+find+us'),jdecode(''),'/7023.html','true',[],'',''],
	['PAGE','14750',jdecode('Continuing+Education'),jdecode(''),'/14750.html','true',[],'',''],
	['PAGE','14771',jdecode('Community+Talks'),jdecode(''),'/14771.html','true',[],'',''],
	['PAGE','26071',jdecode('Products+for+purchase'),jdecode(''),'/26071.html','true',[],'',''],
	['PAGE','6960',jdecode('Interesting+links'),jdecode(''),'/6960.html','true',[],'','']];
var siteelementCount=41;
theSitetree.topTemplateName='Nebula';
theSitetree.paletteFamily='245298';
theSitetree.keyvisualId='8809';
theSitetree.keyvisualName='kv_8809.jpg';
theSitetree.fontsetId='17095';
theSitetree.graphicsetId='12475';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='6D93CC';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Nebula',
				paletteFamily: 	'245298',
				keyvisualId: 	'8809',
				keyvisualName: 	'kv_8809.jpg',
				fontsetId: 		'17095',
				graphicsetId: 	'12475',
				contentColor: 	'000000',
				contentBGColor: '6D93CC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3350',
internalId:  '',
customField: '20100209-060453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7002',
internalId:  '',
customField: '20091208-060010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6750',
internalId:  '',
customField: '20091109-140237'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '3350',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7023',
internalId:  '',
customField: '20091103-134045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7044',
internalId:  '',
customField: '20091030-111740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6771',
internalId:  '',
customField: '20091106-061435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6792',
internalId:  '',
customField: '20091030-113559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6834',
internalId:  '',
customField: '20091030-100317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6855',
internalId:  '',
customField: '20091029-125926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6813',
internalId:  '',
customField: '20091102-120814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9750',
internalId:  '',
customField: '20100209-053407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9771',
internalId:  '',
customField: '20100209-053454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9792',
internalId:  '',
customField: '20091106-071549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8950',
internalId:  '',
customField: '20091030-095128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6876',
internalId:  '',
customField: '20091030-103901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6918',
internalId:  '',
customField: '20091106-061532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6960',
internalId:  '',
customField: '20091106-071803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12150',
internalId:  '',
customField: '20091208-060223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12650',
internalId:  '',
customField: '20091103-083914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8971',
internalId:  '',
customField: '20091030-114750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8992',
internalId:  '',
customField: '20091030-114946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9013',
internalId:  '',
customField: '20091030-115055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9034',
internalId:  '',
customField: '20091030-101040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9055',
internalId:  '',
customField: '20091030-102646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9076',
internalId:  '',
customField: '20091030-110411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9097',
internalId:  '',
customField: '20091208-062930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9118',
internalId:  '',
customField: '20091030-110520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9139',
internalId:  '',
customField: '20091109-135548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9160',
internalId:  '',
customField: '20091030-103755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9181',
internalId:  '',
customField: '20091102-122357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9202',
internalId:  '',
customField: '20091030-104946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9223',
internalId:  '',
customField: '20091030-105632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9244',
internalId:  '',
customField: '20091030-110016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6981',
internalId:  '',
customField: '20100209-070905'
};
webappMappings['7008']=webappMappings['7008-2683']={
webappId:    '7008',
documentId:  '6981',
internalId:  '2683',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14750',
internalId:  '',
customField: '20100108-073550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14771',
internalId:  '',
customField: '20100209-053706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7950',
internalId:  '',
customField: '20091106-063004'
};
webappMappings['7008']=webappMappings['7008-2691']={
webappId:    '7008',
documentId:  '14750',
internalId:  '2691',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26050',
internalId:  '',
customField: '20091106-070323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26071',
internalId:  '',
customField: '20091103-142534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32761',
internalId:  '',
customField: '20100209-055913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36761',
internalId:  '',
customField: '20100303-060910'
};
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN330INFN1I';
var companyName   = 'Aquatic+Health+And+Rehabilitation';
var htmlTitle	  = 'Aquatic+Health+And+Rehabilitation+321-453-8484';
var metaKeywords  = 'Aquatic+Therapy%2C+Physical+Therapy%2C+Rehabilitation%2C+Occupational+Therapy%2C+Brain+Injury%2C+Stroke%2C+Pediatrics%2C+Massage%2C+Mckenzie%2C+Speech+Therapy%2C+Pediatrics%2C+FCE%2C+Strain%2F+Counterstrain';
var metaContents  = 'Aquatic+Health+and+Rehab+offers+a+variety+of+services%2C+to+include+Physical+Therapy%2C+Land++and+Water+Based%2C+Occupational+Therapy%2C+Speech+Therapy+and+Massage+Therapy.++We+specialize+in+pediatrics+and+orthopedics.++Alternative+therapies+also+used+such+as+ETPS%2C+strain%2F+counterstrain%2C+Mckenzie%2C+and+many+others.++We+are+one+of+the+only+heated+Theraputic+pools+in+Brevard+county%2C+and+offer+aquatic+trained+therapists.';
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();
};
