/* [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','1201',jdecode('Home'),jdecode(''), jdecode('%2F1201%2Findex.html'), 'true',[ 
		['PAGE','147001',jdecode('Site+Map'),jdecode(''), jdecode('%2F1201%2F147001.html'), 'true',[],'','']
	],'',''],
	['PAGE','1252',jdecode('ABOUT+SSI'),jdecode(''), jdecode('%2F1252%2Findex.html'), 'true',[ 
		['PAGE','13601',jdecode('Our+Team'),jdecode(''), jdecode('%2F1252%2F13601.html'), 'true',[],'',''],
		['PAGE','14201',jdecode('Our+Services'),jdecode(''), jdecode('%2F1252%2F14201.html'), 'true',[],'',''],
		['PAGE','22201',jdecode('Types+of+Programs'),jdecode(''), jdecode('%2F1252%2F22201.html'), 'true',[],'',''],
		['PAGE','19001',jdecode('Terms+%26+Rates'),jdecode(''), jdecode('%2F1252%2F19001.html'), 'true',[],'',''],
		['PAGE','22901',jdecode('Contract+Work'),jdecode(''), jdecode('%2F1252%2F22901.html'), 'true',[],'','']
	],'',''],
	['PAGE','12301',jdecode('PLANNING'),jdecode(''), jdecode('%2F12301%2Findex.html'), 'true',[ 
		['PAGE','19022',jdecode('Strategic+Planning'),jdecode(''), jdecode('%2F12301%2F19022.html'), 'true',[],'',''],
		['PAGE','19043',jdecode('OD'),jdecode(''), jdecode('%2F12301%2F19043.html'), 'true',[],'',''],
		['PAGE','19085',jdecode('Board+Assist'),jdecode(''), jdecode('%2F12301%2F19085.html'), 'true',[],'',''],
		['PAGE','20301',jdecode('Benchmarking'),jdecode(''), jdecode('%2F12301%2F20301.html'), 'true',[],'',''],
		['PAGE','19064',jdecode('KM'),jdecode(''), jdecode('%2F12301%2F19064.html'), 'true',[],'',''],
		['PAGE','50801',jdecode('Training+%26+TA'),jdecode(''), jdecode('%2F12301%2F50801.html'), 'true',[],'','']
	],'',''],
	['PAGE','1315',jdecode('RESEARCH'),jdecode(''), jdecode('%2F1315%2Findex.html'), 'true',[ 
		['PAGE','98501',jdecode('Working+with+SSI'),jdecode(''), jdecode('%2F1315%2F98501.html'), 'true',[],'',''],
		['PAGE','14222',jdecode('Research+Design'),jdecode(''), jdecode('%2F1315%2F14222.html'), 'true',[],'',''],
		['PAGE','14243',jdecode('Research+Studies'),jdecode(''), jdecode('%2F1315%2F14243.html'), 'true',[],'',''],
		['PAGE','14264',jdecode('Data+Collection'),jdecode(''), jdecode('%2F1315%2F14264.html'), 'true',[],'',''],
		['PAGE','14285',jdecode('Instrumentation'),jdecode(''), jdecode('%2F1315%2F14285.html'), 'true',[],'',''],
		['PAGE','14306',jdecode('Data+Analysis'),jdecode(''), jdecode('%2F1315%2F14306.html'), 'true',[],'',''],
		['PAGE','14327',jdecode('Reporting'),jdecode(''), jdecode('%2F1315%2F14327.html'), 'true',[],'','']
	],'',''],
	['PAGE','1336',jdecode('COMMUNICATION'),jdecode(''), jdecode('%2F1336%2Findex.html'), 'true',[ 
		['PAGE','36701',jdecode('Content'),jdecode(''), jdecode('%2F1336%2F36701.html'), 'true',[],'',''],
		['PAGE','36722',jdecode('Communications'),jdecode(''), jdecode('%2F1336%2F36722.html'), 'true',[],'',''],
		['PAGE','36743',jdecode('Marketing'),jdecode(''), jdecode('%2F1336%2F36743.html'), 'true',[],'','']
	],'',''],
	['PAGE','1357',jdecode('FUNDING'),jdecode(''), jdecode('%2F1357%2Findex.html'), 'true',[ 
		['PAGE','35343',jdecode('Development'),jdecode(''), jdecode('%2F1357%2F35343.html'), 'true',[],'',''],
		['PAGE','44201',jdecode('Writing'),jdecode(''), jdecode('%2F1357%2F44201.html'), 'true',[],'',''],
		['PAGE','141601',jdecode('Reviewing'),jdecode(''), jdecode('%2F1357%2F141601.html'), 'true',[],'',''],
		['PAGE','35801',jdecode('Training'),jdecode(''), jdecode('%2F1357%2F35801.html'), 'true',[],'',''],
		['PAGE','39001',jdecode('Awards'),jdecode(''), jdecode('%2F1357%2F39001.html'), 'true',[],'',''],
		['PAGE','39022',jdecode('Sponsors'),jdecode(''), jdecode('%2F1357%2F39022.html'), 'true',[],'',''],
		['PAGE','143801',jdecode('Commissions'),jdecode(''), jdecode('%2F1357%2F143801.html'), 'true',[],'','']
	],'',''],
	['PAGE','10722',jdecode('CLIENTS'),jdecode(''), jdecode('%2F10722%2Findex.html'), 'true',[ 
		['PAGE','21722',jdecode('Who+Clients+Serve'),jdecode(''), jdecode('%2F10722%2F21722.html'), 'true',[],'',''],
		['PAGE','47801',jdecode('Testimonials'),jdecode(''), jdecode('%2F10722%2F47801.html'), 'true',[],'','']
	],'',''],
	['PAGE','1399',jdecode('CONTACT'),jdecode(''), jdecode('%2F1399.html'), 'true',[],'','']];
var siteelementCount=39;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='1243CC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10562';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'endurance',
  product: 'WSCSYSSSSLY0XRN4'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circulation',
				paletteFamily: 	'1243CC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10562',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1201',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-880']={
webappId:    '7008',
documentId:  '1399',
internalId:  '880',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1201',
internalId:  '',
customField: '20110602-152345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1357',
internalId:  '',
customField: '20080610-123040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39001',
internalId:  '',
customField: '20120126-092206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1252',
internalId:  '',
customField: '20110602-152420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10722',
internalId:  '',
customField: '20120127-085532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13601',
internalId:  '',
customField: '20120126-204103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20080603-172349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20090928-123834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20091026-152105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20090426-114002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12301',
internalId:  '',
customField: '20080603-172533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19022',
internalId:  '',
customField: '20080603-172557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19043',
internalId:  '',
customField: '20080603-172616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19085',
internalId:  '',
customField: '20080603-172634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20301',
internalId:  '',
customField: '20080603-172657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19064',
internalId:  '',
customField: '20080603-172716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50801',
internalId:  '',
customField: '20080603-172738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1315',
internalId:  '',
customField: '20080603-172808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98501',
internalId:  '',
customField: '20080603-172842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14222',
internalId:  '',
customField: '20080603-172903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14243',
internalId:  '',
customField: '20080603-172933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14264',
internalId:  '',
customField: '20080603-173001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14285',
internalId:  '',
customField: '20080603-173025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14306',
internalId:  '',
customField: '20080603-173051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14327',
internalId:  '',
customField: '20080603-173126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1336',
internalId:  '',
customField: '20080603-173139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36701',
internalId:  '',
customField: '20100618-174725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36722',
internalId:  '',
customField: '20081112-104331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36743',
internalId:  '',
customField: '20081112-104414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35343',
internalId:  '',
customField: '20080603-173415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20100806-120841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35801',
internalId:  '',
customField: '20080610-122231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39022',
internalId:  '',
customField: '20080603-173615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21722',
internalId:  '',
customField: '20080603-173735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47801',
internalId:  '',
customField: '20120126-125953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1399',
internalId:  '',
customField: '20090426-113922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141601',
internalId:  '',
customField: '20080610-123435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143801',
internalId:  '',
customField: '20100306-151150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147001',
internalId:  '',
customField: '20080630-181905'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0INX34C';
var companyName   = 'Strategic+Solutions%2C+Inc.';
var htmlTitle	  = 'Strategic+Solutions%2C+Inc.';
var metaKeywords  = 'Strategic+Solutions%2C+Strategic+Solutions%2C+Inc.%2C+Evaluation%2C+Funding%2C+Research%2C+Communications%2C+Strategic+Planning%2C+Grant+Writing%2C+Training%2C+Marketing%2C+Grants%2C+SSI%2C+Donna+Doty%2C+Donna+L.+Doty%2C+Organizational+Development%2C+Nonprofit+Management+Consulting%2C+Consulting+';
var metaContents  = 'Strategic+Solutions%2C+Inc.+%28SSI%29+is+a+full-service+consulting+firm+offering+a+broad+range+of+services+to+diversity+of+sectors%2C+industries+and+programs.++Our+goal+is+to+support+public+and+private+organizations%2C+both+for-profit+and+nonprofit%2C+to+achieve+their+mission+and+realize+their+vision.++We+help+clients+establish+organizational+viability%2C+visibility+and+fiscal+solvency+by+finding+innovative+ways+to+demonstrate+the+unique+value+of+their+programs%2C+services+and%2For+products.++';
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();
};

