/* [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','62063',jdecode('SPECIALS'),jdecode(''), jdecode('%2F62063.html'), 'true',[],'',''],
	['PAGE','42861',jdecode('New%21%21+Viera+office+NOW+OPEN%211'),jdecode(''), jdecode('%2F42861.html'), 'true',[],'',''],
	['PAGE','3350',jdecode('Why+Choose+Aquatic+Health+and+Rehab%3F'),jdecode(''), jdecode('%2F3350%2Findex.html'), 'true',[ 
		['PAGE','12650',jdecode('Why+Warm+Water%3F'),jdecode(''), jdecode('%2F3350%2F12650.html'), 'true',[],'','']
	],'',''],
	['PAGE','6981',jdecode('NEW+PATIENTS'),jdecode(''), jdecode('%2F6981.html'), 'true',[],'',''],
	['PAGE','7044',jdecode('Our+Locations+and+Staff'),jdecode(''), jdecode('%2F7044%2Findex.html'), 'true',[ 
		['PAGE','9750',jdecode('Merritt+Island'),jdecode(''), jdecode('%2F7044%2F9750.html'), 'true',[],'',''],
		['PAGE','9792',jdecode('Administrative+Staff'),jdecode(''), jdecode('%2F7044%2F9792.html'), 'true',[],'',''],
		['PAGE','58784',jdecode('Cocoa+Beach'),jdecode(''), jdecode('%2F7044%2F58784.html'), 'true',[],'',''],
		['PAGE','58805',jdecode('Viera'),jdecode(''), jdecode('%2F7044%2F58805.html'), 'true',[],'','']
	],'',''],
	['PAGE','6750',jdecode('Clinic+Hours'),jdecode(''), jdecode('%2F6750.html'), 'true',[],'',''],
	['PAGE','32761',jdecode('Referring+Physicians'),jdecode(''), jdecode('%2F32761.html'), 'true',[],'',''],
	['PAGE','57563',jdecode('Quality+Control+Survey'),jdecode(''), jdecode('%2F57563.html'), 'true',[],'',''],
	['PAGE','6771',jdecode('Services+Offered'),jdecode(''), jdecode('%2F6771%2Findex.html'), 'true',[ 
		['PAGE','36761',jdecode('LYMPHEDEMA'),jdecode(''), jdecode('%2F6771%2F36761.html'), 'true',[],'',''],
		['PAGE','6792',jdecode('Physical+Therapy'),jdecode(''), jdecode('%2F6771%2F6792.html'), 'true',[],'',''],
		['PAGE','6834',jdecode('Occupational+Therapy'),jdecode(''), jdecode('%2F6771%2F6834.html'), 'true',[],'',''],
		['PAGE','6855',jdecode('Speech+Therapy'),jdecode(''), jdecode('%2F6771%2F6855.html'), 'true',[],'',''],
		['PAGE','6813',jdecode('Massage+Therapy'),jdecode(''), jdecode('%2F6771%2F6813.html'), 'true',[],'',''],
		['PAGE','9223',jdecode('ETPS'),jdecode(''), jdecode('%2F6771%2F9223.html'), 'true',[],'',''],
		['PAGE','9244',jdecode('McKenzie+'),jdecode(''), jdecode('%2F6771%2F9244.html'), 'true',[],'',''],
		['PAGE','8971',jdecode('Strain%2F+Counterstrain'),jdecode(''), jdecode('%2F6771%2F8971.html'), 'true',[],'',''],
		['PAGE','9055',jdecode('Myofascial+Techniques'),jdecode(''), jdecode('%2F6771%2F9055.html'), 'true',[],'',''],
		['PAGE','8950',jdecode('Foot+Orthotics'),jdecode(''), jdecode('%2F6771%2F8950.html'), 'true',[],'',''],
		['PAGE','8992',jdecode('Splints'),jdecode(''), jdecode('%2F6771%2F8992.html'), 'true',[],'',''],
		['PAGE','9013',jdecode('Total+Joint+Rehabilitation'),jdecode(''), jdecode('%2F6771%2F9013.html'), 'true',[],'',''],
		['PAGE','9181',jdecode('Hand+Therapy'),jdecode(''), jdecode('%2F6771%2F9181.html'), 'true',[],'',''],
		['PAGE','9034',jdecode('Rotator+Cuff+Rehabilitation'),jdecode(''), jdecode('%2F6771%2F9034.html'), 'true',[],'',''],
		['PAGE','9076',jdecode('Sports+Acceleration+Program'),jdecode(''), jdecode('%2F6771%2F9076.html'), 'true',[],'',''],
		['PAGE','9097',jdecode('Golf+Mechanic+Evaluation+'),jdecode(''), jdecode('%2F6771%2F9097.html'), 'true',[],'',''],
		['PAGE','9139',jdecode('McConnell+Taping'),jdecode(''), jdecode('%2F6771%2F9139.html'), 'true',[],'',''],
		['PAGE','9202',jdecode('Wii+Hab'),jdecode(''), jdecode('%2F6771%2F9202.html'), 'true',[],'',''],
		['PAGE','9160',jdecode('Ergonomics+Assessments+and+Work+Site+Evaluation'),jdecode(''), jdecode('%2F6771%2F9160.html'), 'true',[],'',''],
		['PAGE','9118',jdecode('FCE-+Functional+Capacity+Evaluation'),jdecode(''), jdecode('%2F6771%2F9118.html'), 'true',[],'',''],
		['PAGE','6876',jdecode('Other+Programs+'),jdecode(''), jdecode('%2F6771%2F6876.html'), 'true',[],'','']
	],'',''],
	['PAGE','52461',jdecode('Follow+us%21'),jdecode(''), jdecode('%2F52461.html'), 'true',[],'',''],
	['PAGE','6918',jdecode('AquaMoves'),jdecode(''), jdecode('%2F6918%2Findex.html'), 'true',[ 
		['PAGE','12150',jdecode('Prices'),jdecode(''), jdecode('%2F6918%2F12150.html'), 'true',[],'','']
	],'',''],
	['PAGE','7002',jdecode('About+us'),jdecode(''), jdecode('%2F7002%2Findex.html'), 'true',[ 
		['PAGE','7950',jdecode('Mission+Statement'),jdecode(''), jdecode('%2F7002%2F7950.html'), 'true',[],'',''],
		['PAGE','26050',jdecode('Success+Stories'),jdecode(''), jdecode('%2F7002%2F26050.html'), 'true',[],'','']
	],'',''],
	['PAGE','14750',jdecode('Continuing+Education'),jdecode(''), jdecode('%2F14750.html'), 'true',[],'',''],
	['PAGE','14771',jdecode('Community+Talks'),jdecode(''), jdecode('%2F14771.html'), 'true',[],'',''],
	['PAGE','49061',jdecode('Prices'),jdecode(''), jdecode('%2F49061.html'), 'true',[],'',''],
	['PAGE','6960',jdecode('Interesting+links'),jdecode(''), jdecode('%2F6960.html'), 'true',[],'',''],
	['PAGE','49082',jdecode('Aquatic+Shop'),jdecode(''), jdecode('%2F49082.html'), 'true',[],'','']];
var siteelementCount=46;
theSitetree.topTemplateName='Jakarta';
theSitetree.paletteFamily='6176B2';
theSitetree.keyvisualId='7859';
theSitetree.keyvisualName='kv_7859.jpg';
theSitetree.fontsetId='16854';
theSitetree.graphicsetId='12296';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='ABBBE8';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'wl_enom',
  product: 'WSCENOSSSLYTC210'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'true',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Jakarta',
				paletteFamily: 	'6176B2',
				keyvisualId: 	'7859',
				keyvisualName: 	'kv_7859.jpg',
				fontsetId: 		'16854',
				graphicsetId: 	'12296',
				contentColor: 	'000000',
				contentBGColor: 'ABBBE8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'6176B2',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3350',
internalId:  '',
customField: '20101027-130857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7002',
internalId:  '',
customField: '20101027-123246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6750',
internalId:  '',
customField: '20120109-085510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62063',
internalId:  '',
customField: '20120106-111535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7044',
internalId:  '',
customField: '20091030-101740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6771',
internalId:  '',
customField: '20091106-061435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6792',
internalId:  '',
customField: '20091030-103559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6834',
internalId:  '',
customField: '20091030-090317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6855',
internalId:  '',
customField: '20091029-115926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6813',
internalId:  '',
customField: '20091102-120814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9750',
internalId:  '',
customField: '20120106-105834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9792',
internalId:  '',
customField: '20110810-105105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8950',
internalId:  '',
customField: '20091030-085128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6876',
internalId:  '',
customField: '20091030-093901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6918',
internalId:  '',
customField: '20091106-061532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6960',
internalId:  '',
customField: '20110202-130932'
};
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-104750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8992',
internalId:  '',
customField: '20091030-104946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9013',
internalId:  '',
customField: '20091030-105055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9034',
internalId:  '',
customField: '20091030-091040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9055',
internalId:  '',
customField: '20091030-092646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9076',
internalId:  '',
customField: '20091030-100411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9097',
internalId:  '',
customField: '20091208-062930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9118',
internalId:  '',
customField: '20091030-100520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9139',
internalId:  '',
customField: '20091109-135548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9160',
internalId:  '',
customField: '20091030-093755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9181',
internalId:  '',
customField: '20091102-122357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9202',
internalId:  '',
customField: '20091030-094946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9223',
internalId:  '',
customField: '20091030-095632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9244',
internalId:  '',
customField: '20091030-100016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6981',
internalId:  '',
customField: '20110202-120729'
};
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: '20110202-120037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14771',
internalId:  '',
customField: '20110810-112413'
};
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: '20100413-042256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49082',
internalId:  '',
customField: '20100715-085655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32761',
internalId:  '',
customField: '20110202-133340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36761',
internalId:  '',
customField: '20100715-083005'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '62063',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42861',
internalId:  '',
customField: '20110203-091926'
};
webappMappings['4001']=webappMappings['4001-25359210']={
webappId:    '4001',
documentId:  '49082',
internalId:  '25359210',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49061',
internalId:  '',
customField: '20100715-085655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52461',
internalId:  '',
customField: '20110202-131131'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '62063',
internalId:  '1501',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-4630']={
webappId:    '7008',
documentId:  '57563',
internalId:  '4630',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57563',
internalId:  '',
customField: '20110516-134522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58784',
internalId:  '',
customField: '20110810-115639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58805',
internalId:  '',
customField: '20110810-115555'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '58805',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:true;'
};
var webAppHostname = 'wsc.ehost-services.com:80';
var canonHostname = 'wscwrk02.ehost-services.com';
var accountId     = 'AEN330INFN1I';
var companyName   = 'Aquatic+Health+And+Rehabilitation';
var htmlTitle	  = 'Aquatic+Health+And+Rehabilitation+321-453-8484';
var metaKeywords  = 'Back+pain+cocoa+beach%2CSI+joint+pain+%2C+therapy+for+kids%2C+Cocoa+Beach%2C+back%2C+neck%2C+shoulder%2C+knee%2C+ankle%2C+Workers+camp%2C++childrens+therapy%2C+back+pain+Merritt+Island%2C+Back+pain+Brevard+county%2C+Knee+pain%2C+neck+pain%2C+shoulder+pain%2C+knee+rehab.+shoulder+rehab%2C+tennis+elbow%2C+lymphedema%2C+massage%2C+Massage+insurance%2C+wellness%2C+loos+weight%2C+fitness+program%2C+Therapy%2C+Water+therapy%2CAquatic+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%2Caquatic%2Clymphedema%2CPT%2CRehab%2Cknee+pain%2C+back+pain%2C+shoulder+pain%2C+pilates%2Cwomen%27s+health%2CETPS%2Cmedicare%2Cpersonal+trainers%2CTerry+Shepherd%2C+Dr.+Terry+Shepherd%2C+Terry+Shepherd+physical+therapist%2C+Monica+James+physical+therapist%2C+Rene+Wickam+physical+therapist%2C+Cocoa+Beach+physical+therapist%2C+Viera+Physical+therapists%2C+Merritt+Island+physical+therapists%2C+Florida+physical+therapists%2C+Brevard+county+physical+therapists%2C+';
var metaContents  = 'Back+pain+cocoa+beach%2C+back+pain+Merritt+Island%2C+therapy+for+kids%2C+Cocoa+Beach%2C+back%2C+neck%2C+shoulder%2C+knee%2C+ankle%2C+Workers+camp%2C+Back+pain+Brevard+county%2C+Knee+pain%2C+neck+pain%2C+shoulder+pain%2C+knee+rehab.+shoulder+rehab%2C+tennis+elbow%2C+lymphedema%2C+massage%2C+Massage+insurance%2C+wellness%2C+loos+weight%2C+fitness+program%2C+Aquatic+Health+and+Rehab+offers+a+variety+of+services%2C+to+include+Physical+Therapy%2C+Land++and+Water+Based+therapy%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%2C+Terry+Shepherd%2C+Dr.+Terry+Shepherd%2C+Terry+Shepherd+physical+therapist%2C+Monica+James+physical+therapist%2C+Rene+Wickam+physical+therapist%2C+Cocoa+Beach+physical+therapist%2C+Viera+Physical+therapists%2C+Merritt+Island+physical+therapists%2C+Florida+physical+therapists%2C+Brevard+county+physical+therapists%2C+SI+joint+pain';
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();
};

