/* [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','701',jdecode('Home'),jdecode(''), jdecode('%2F701.html'), 'true',[],'',''],
	['PAGE','962',jdecode('About+us'),jdecode(''), jdecode('%2F962%2Findex.html'), 'true',[ 
		['PAGE','6201',jdecode('Meet+the+Doctor'),jdecode(''), jdecode('%2F962%2F6201.html'), 'true',[],'',''],
		['PAGE','6222',jdecode('Map+to+our+office'),jdecode(''), jdecode('%2F962%2F6222.html'), 'true',[],'','']
	],'',''],
	['PAGE','815',jdecode('Our+Services'),jdecode(''), jdecode('%2F815%2Findex.html'), 'true',[ 
		['PAGE','6243',jdecode('The+Adjustment'),jdecode(''), jdecode('%2F815%2F6243.html'), 'true',[],'',''],
		['PAGE','6264',jdecode('X-Ray'),jdecode(''), jdecode('%2F815%2F6264.html'), 'true',[],'',''],
		['PAGE','6285',jdecode('Interferential%2C+EMS'),jdecode(''), jdecode('%2F815%2F6285.html'), 'true',[],'',''],
		['PAGE','26101',jdecode('Ultrasound+Therapy'),jdecode(''), jdecode('%2F815%2F26101.html'), 'true',[],'',''],
		['PAGE','6306',jdecode('Intersegmental+Traction'),jdecode(''), jdecode('%2F815%2F6306.html'), 'true',[],'',''],
		['PAGE','42401',jdecode('Diathermy'),jdecode(''), jdecode('%2F815%2F42401.html'), 'true',[],'',''],
		['PAGE','6348',jdecode('Ion+Cleanse'),jdecode(''), jdecode('%2F815%2F6348.html'), 'true',[],'',''],
		['PAGE','58901',jdecode('Paraffin+Wax+Therapy'),jdecode(''), jdecode('%2F815%2F58901.html'), 'true',[],'','']
	],'',''],
	['PAGE','6369',jdecode('New+Patients'),jdecode(''), jdecode('%2F6369%2Findex.html'), 'true',[ 
		['PAGE','6390',jdecode('New+Patient+Forms'),jdecode(''), jdecode('%2F6369%2F6390.html'), 'true',[],'',''],
		['PAGE','6411',jdecode('My+Fist+Visit'),jdecode(''), jdecode('%2F6369%2F6411.html'), 'true',[],'','']
	],'',''],
	['PAGE','6432',jdecode('Products'),jdecode(''), jdecode('%2F6432%2Findex.html'), 'true',[ 
		['PAGE','6453',jdecode('Nature%26%23x27%3Bs+Gel'),jdecode(''), jdecode('%2F6432%2F6453.html'), 'true',[],'',''],
		['PAGE','6495',jdecode('Perfect+Acai'),jdecode(''), jdecode('%2F6432%2F6495.html'), 'true',[],'',''],
		['PAGE','44601',jdecode('Biofreeze+Gel'),jdecode(''), jdecode('%2F6432%2F44601.html'), 'true',[],'',''],
		['PAGE','54922',jdecode('Chiropractic+Pillows'),jdecode(''), jdecode('%2F6432%2F54922.html'), 'true',[],'',''],
		['PAGE','60801',jdecode('Shoe+Orthotics'),jdecode(''), jdecode('%2F6432%2F60801.html'), 'true',[],'',''],
		['PAGE','63301',jdecode('TENS+Units'),jdecode(''), jdecode('%2F6432%2F63301.html'), 'true',[],'','']
	],'',''],
	['PAGE','27001',jdecode('FAQs'),jdecode(''), jdecode('%2F27001.html'), 'true',[],'',''],
	['PAGE','899',jdecode('Interesting+links'),jdecode(''), jdecode('%2F899.html'), 'true',[],'',''],
	['PAGE','920',jdecode('Contact+Us'),jdecode(''), jdecode('%2F920.html'), 'true',[],'',''],
	['PAGE','24701',jdecode('Site+Map'),jdecode(''), jdecode('%2F24701.html'), 'true',[],'','']];
var siteelementCount=27;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='336699';
theSitetree.keyvisualId='1233';
theSitetree.keyvisualName='fitness.jpg';
theSitetree.fontsetId='193';
theSitetree.graphicsetId='230';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp35-attweb',
  product: 'WSCSYSSSSLY0X9RC'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'336699',
				keyvisualId: 	'1233',
				keyvisualName: 	'fitness.jpg',
				fontsetId: 		'193',
				graphicsetId: 	'230',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'336699',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-9605569']={
webappId:    '1501',
documentId:  '701',
internalId:  '9605569',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '962',
internalId:  '',
customField: '20081004-131238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20110824-115209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6201',
internalId:  '',
customField: '20080924-161944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6222',
internalId:  '',
customField: '20080924-161856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '815',
internalId:  '',
customField: '20080924-162328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6243',
internalId:  '',
customField: '20081025-090315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6264',
internalId:  '',
customField: '20081025-092343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6285',
internalId:  '',
customField: '20081025-093245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26101',
internalId:  '',
customField: '20080120-005514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6306',
internalId:  '',
customField: '20080127-214753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42401',
internalId:  '',
customField: '20080127-215709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6348',
internalId:  '',
customField: '20081004-193912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58901',
internalId:  '',
customField: '20080924-172602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6369',
internalId:  '',
customField: '20080120-010316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6390',
internalId:  '',
customField: '20080924-165626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6411',
internalId:  '',
customField: '20080119-235145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6432',
internalId:  '',
customField: '20081025-093440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6453',
internalId:  '',
customField: '20080127-210702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6495',
internalId:  '',
customField: '20081004-193614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20080821-094451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54922',
internalId:  '',
customField: '20081004-193700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60801',
internalId:  '',
customField: '20081002-102741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63301',
internalId:  '',
customField: '20081025-095322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27001',
internalId:  '',
customField: '20080724-155804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '899',
internalId:  '',
customField: '20080924-174024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '920',
internalId:  '',
customField: '20081025-095457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20081025-095550'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INZ3GS';
var companyName   = 'Natural+Choice+Chiropractic+';
var htmlTitle	  = 'Natural+Choice+Chiropractic';
var metaKeywords  = 'Chiropractic%2C+Chiropractor%2C+Clinic%2C+Mullins%2C+Cushing%2C+Oklahoma%2C+Natural%2C+Health%2C+Chiro%2C+Healthy%2C+naturally%2C+drugless%2C+alternative%2C+medicine%2C+alternative+medicine%2C+alternative+health%2C+CAM%2C+IonCleanse%2C+footbath%2C+detox%2C+biofreeze%2C+Nature%27s+gel%2C+Nature%2C+gel%2C+jel%2C+Helios%2C+';
var metaContents  = 'Natural+Choice+Chiropractic+Clinic';
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();
};
Natural Choice Chiropractic Clinic - 2008
