/* [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','32',jdecode('Home'),jdecode(''),'/32.html','true',[],''],
	['PAGE','760',jdecode('About+Us'),jdecode(''),'/760/index.html','true',[ 
		['PAGE','5360',jdecode('Who+We+Are'),jdecode(''),'/760/5360.html','true',[],''],
		['PAGE','1529',jdecode('We+Win+in+the+End'),jdecode(''),'/760/1529.html','true',[],''],
		['PAGE','2248',jdecode('Mission+%26+Values'),jdecode(''),'/760/2248.html','true',[],'']
	],''],
	['PAGE','12456',jdecode('Strategy+%26+Projects'),jdecode(''),'/12456/index.html','true',[ 
		['PAGE','12465',jdecode('Medical+Research'),jdecode(''),'/12456/12465.html','true',[],''],
		['PAGE','12474',jdecode('Family+Support'),jdecode(''),'/12456/12474.html','true',[],''],
		['PAGE','12798',jdecode('Newborn+Screening'),jdecode(''),'/12456/12798.html','true',[],'']
	],''],
	['PAGE','1267',jdecode('What+Is+MLD%3F'),jdecode(''),'/1267.html','true',[],''],
	['PAGE','3071',jdecode('MLD+Treatment'),jdecode(''),'/3071/index.html','true',[ 
		['PAGE','69597',jdecode('In+Utero+Treatment'),jdecode(''),'/3071/69597.html','true',[],''],
		['PAGE','15835',jdecode('Transplant+Complications'),jdecode(''),'/3071/15835.html','true',[],'']
	],''],
	['PAGE','12501',jdecode('MLD+Care'),jdecode(''),'/12501/index.html','true',[ 
		['PAGE','13147',jdecode('Nutrition'),jdecode(''),'/12501/13147.html','true',[],''],
		['PAGE','13156',jdecode('Symptom+Management'),jdecode(''),'/12501/13156.html','true',[],''],
		['PAGE','13165',jdecode('Medical+Equipment'),jdecode(''),'/12501/13165.html','true',[],''],
		['PAGE','13174',jdecode('Medical+Team+%26+Insurance'),jdecode(''),'/12501/13174.html','true',[],''],
		['PAGE','13183',jdecode('Education'),jdecode(''),'/12501/13183.html','true',[],''],
		['PAGE','13192',jdecode('Other+Resources'),jdecode(''),'/12501/13192.html','true',[],'']
	],''],
	['PAGE','12528',jdecode('MLD+Research'),jdecode(''),'/12528/index.html','true',[ 
		['PAGE','12510',jdecode('Natural+History+and+ERT'),jdecode(''),'/12528/12510.html','true',[],'']
	],''],
	['PAGE','71497',jdecode('Other+Research'),jdecode(''),'/71497/index.html','true',[ 
		['PAGE','71518',jdecode('Krabbe'),jdecode(''),'/71497/71518.html','true',[],'']
	],''],
	['PAGE','25101',jdecode('MLD+PEP'),jdecode(''),'/25101.html','true',[],''],
	['PAGE','7083',jdecode('Newborn+Screening'),jdecode(''),'/7083/index.html','true',[ 
		['PAGE','48897',jdecode('MO+HB716'),jdecode(''),'/7083/48897.html','true',[],''],
		['PAGE','5020',jdecode('IL+SB1566'),jdecode(''),'/7083/5020.html','true',[],''],
		['PAGE','7696',jdecode('LSD+Fact+Sheet'),jdecode(''),'/7083/7696.html','true',[],'']
	],''],
	['PAGE','12807',jdecode('Family+Support'),jdecode(''),'/12807/index.html','true',[ 
		['PAGE','2025',jdecode('Jack%26%23x27%3Bs+Library'),jdecode(''),'/12807/2025.html','true',[],''],
		['PAGE','5496',jdecode('Equipment+Donations'),jdecode(''),'/12807/5496.html','true',[],''],
		['PAGE','14432',jdecode('Grants+to+Families'),jdecode(''),'/12807/14432.html','true',[],''],
		['PAGE','14441',jdecode('Matching+Grants+Program'),jdecode(''),'/12807/14441.html','true',[],'']
	],''],
	['PAGE','12537',jdecode('Current+Fundraisers'),jdecode(''),'/12537/index.html','true',[ 
		['PAGE','1600',jdecode('Chicago+Marathon'),jdecode(''),'/12537/1600.html','true',[],''],
		['PAGE','12546',jdecode('Jewelry+Showings'),jdecode(''),'/12537/12546.html','true',[],'']
	],''],
	['PAGE','12483',jdecode('House+of+Hope'),jdecode(''),'/12483/index.html','true',[ 
		['PAGE','36985',jdecode('House+of+Hope+Photos'),jdecode(''),'/12483/36985.html','true',[],'']
	],''],
	['PAGE','787',jdecode('News+%26+Past+Events'),jdecode(''),'/787.html','true',[],''],
	['PAGE','8238',jdecode('CaringBridge+Site'),jdecode(''),'/8238.html','true',[],''],
	['PAGE','3340',jdecode('Guestbook'),jdecode(''),'/3340/index.html','true',[ 
		['PAGE','3339',jdecode('Read+Guestbook'),jdecode(''),'/3340/3339.html','false',[],'']
	],''],
	['PAGE','2341',jdecode('Donate+or+Help'),jdecode(''),'/2341/index.html','true',[ 
		['PAGE','1276',jdecode('How+You+Can+Help'),jdecode(''),'/2341/1276.html','true',[],''],
		['PAGE','6422',jdecode('Shop+%26+Search'),jdecode(''),'/2341/6422.html','true',[],''],
		['PAGE','6535',jdecode('eBay+Sales'),jdecode(''),'/2341/6535.html','true',[],''],
		['PAGE','34301',jdecode('Vehicle+Donation'),jdecode(''),'/2341/34301.html','true',[],'']
	],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Contrast';
theSitetree.paletteFamily='363C95';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16627';
theSitetree.graphicsetId='12215';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Contrast',
				paletteFamily: 	'363C95',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16627',
				graphicsetId: 	'12215',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3071',
internalId:  '',
customField: '20100203-054051'
};
webappMappings['1002']=webappMappings['1002-3340AHW050INXS6M']={
webappId:    '1002',
documentId:  '3340',
internalId:  '3340AHW050INXS6M',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20100122-191133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12537',
internalId:  '',
customField: '20100208-131654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12546',
internalId:  '',
customField: '20100118-104443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12807',
internalId:  '',
customField: '20090530-155047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12483',
internalId:  '',
customField: '20100113-125523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25101',
internalId:  '',
customField: '20100105-130023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5496',
internalId:  '',
customField: '20081104-124554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2341',
internalId:  '',
customField: '20090908-124811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '760',
internalId:  '',
customField: '20090111-162431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5360',
internalId:  '',
customField: '20080726-154805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1529',
internalId:  '',
customField: '20060226-154807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2248',
internalId:  '',
customField: '20091207-171558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12456',
internalId:  '',
customField: '20100113-125723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12465',
internalId:  '',
customField: '20091207-171902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12474',
internalId:  '',
customField: '20091207-172236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12798',
internalId:  '',
customField: '20091207-172908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1267',
internalId:  '',
customField: '20081106-092326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15835',
internalId:  '',
customField: '20100216-143918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20081020-124855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13147',
internalId:  '',
customField: '20090211-132115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13156',
internalId:  '',
customField: '20080429-200059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13165',
internalId:  '',
customField: '20080403-185307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13174',
internalId:  '',
customField: '20080928-153932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13183',
internalId:  '',
customField: '20090211-131639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13192',
internalId:  '',
customField: '20090211-131357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12528',
internalId:  '',
customField: '20091228-162019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12510',
internalId:  '',
customField: '20080905-161741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7083',
internalId:  '',
customField: '20091228-170412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5020',
internalId:  '',
customField: '20091228-163727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7696',
internalId:  '',
customField: '20071025-034915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2025',
internalId:  '',
customField: '20081020-125115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14432',
internalId:  '',
customField: '20081104-131114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14441',
internalId:  '',
customField: '20081104-125836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1600',
internalId:  '',
customField: '20100208-131932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '787',
internalId:  '',
customField: '20100116-113809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8238',
internalId:  '',
customField: '20070220-034258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3340',
internalId:  '',
customField: '20060310-042648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3339',
internalId:  '',
customField: '20060310-042339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1276',
internalId:  '',
customField: '20100113-125646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6422',
internalId:  '',
customField: '20080822-214449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6535',
internalId:  '',
customField: '20061031-193555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34301',
internalId:  '',
customField: '20081120-144919'
};
webappMappings['7060']=webappMappings['7060-3fe359183b6bbf9ce28a355732cf69a3']={
webappId:    '7060',
documentId:  '36985',
internalId:  '3fe359183b6bbf9ce28a355732cf69a3',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36985',
internalId:  '',
customField: '20090416-145624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48897',
internalId:  '',
customField: '20090712-151828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69597',
internalId:  '',
customField: '20091228-161552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71497',
internalId:  '',
customField: '20100105-132004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71518',
internalId:  '',
customField: '20100115-144423'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INXS6M';
var companyName   = 'The+Evanosky+Foundation+';
var htmlTitle	  = 'The+Evanosky+Foundation+-+Fighting+MLD+and+Leukodystrophies';
var metaKeywords  = 'MLD%2C+metachromatic+leukodystrophy%2C+leukodystrophy%2C+stem+cell+transplant%2C+Duke+University%2C+metabolic+disorder%2C+stem+cell%2C+Bank+of+America+Chicago+Marathon%2C+Dr.+Joanne+Kurtzberg%2C+Dr.+Suhag+Parikh%2C+MLD+research%2C+metachromatic+leukodystrophy+research%2C+Evanosky%2C+SCT%2C+MLD+treatment%2C+genetic%2C+leukodystrophy%2C+leukodystrophies%2C+ARSA%2C+myelin%2C+arylsulfatase+A+deficiency%2C+neurological+disorder%2C+rare+disorder%2C+lysosomal+storage+disorder%2C+autosomal+recessive+trait%2C+demyelinating+disease%2C+NINDS%2C+Rock+n+Roll+Chicago+Half+Marathon%2C+House+of+Hope+Durham%2C+Chicago+Marathon%2C+Chicago+Distance+Classic';
var metaContents  = 'The+Evanosky+Foundation+-+Fighting+MLD+and+Leukodystrophies';
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();
};
