/* [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','32',jdecode('Overview'),jdecode(''), jdecode('%2F32.html'), 'true',[],'',''],
	['PAGE','1536',jdecode('About+us'),jdecode(''), jdecode('%2F1536.html'), 'true',[],'',''],
	['PAGE','1545',jdecode('Services'),jdecode(''), jdecode('%2F1545%2Findex.html'), 'true',[ 
		['PAGE','1554',jdecode('Partnerships'),jdecode(''), jdecode('%2F1545%2F1554.html'), 'true',[],'','']
	],'',''],
	['PAGE','1572',jdecode('News'),jdecode(''), jdecode('%2F1572.html'), 'true',[],'',''],
	['PAGE','1454',jdecode('Career+Opportunities'),jdecode(''), jdecode('%2F1454.html'), 'true',[],'',''],
	['PAGE','62',jdecode('Comments%2FContact+Us'),jdecode(''), jdecode('%2F62.html'), 'true',[],'','']];
var siteelementCount=7;
theSitetree.topTemplateName='Art';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1770';
theSitetree.keyvisualName='anwalt.jpg';
theSitetree.fontsetId='283';
theSitetree.graphicsetId='350';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hps_testtown',
  product: 'WSCSYSSSSLYTC241'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Art',
				paletteFamily: 	'000000',
				keyvisualId: 	'1770',
				keyvisualName: 	'anwalt.jpg',
				fontsetId: 		'283',
				graphicsetId: 	'350',
				contentColor: 	'DDDDDD',
				contentBGColor: '000000',
				a_color: 		'000000',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20091130-101424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1536',
internalId:  '',
customField: '20100512-152131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1545',
internalId:  '',
customField: '20091022-114301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1554',
internalId:  '',
customField: '20091022-115233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1572',
internalId:  '',
customField: '20111123-105224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1454',
internalId:  '',
customField: '20071202-131521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62',
internalId:  '',
customField: '20111123-104940'
};
webappMappings['7008']=webappMappings['7008-8050']={
webappId:    '7008',
documentId:  '62',
internalId:  '8050',
customField: 'language:en;country:US;'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050IN338Y';
var companyName   = 'Hire+CIO%2C+Inc.';
var htmlTitle	  = 'Hire+CIO%2C+Inc.';
var metaKeywords  = 'Hire+CIO%2C+GSA%2C+STS%2C+State+of+Ohio+State+term+schedule%2C+Top+Cat%2C+Tech+Columbus%2C+CIOHIO%2C+Top+Cat.CEO+for+hire%2C+CIO+for+hire%2C+COO+for+Hire%2C+CTO+for+hire%2C+hire+me%2C+chief+information+officer%2C+CIO%2C+management%2C+oversite%2C+small+business+consultants%2C+columbus%2C+ohio+powell%2C+ohio%2C+central+ohio%2C+CIO+for+hire%2C+how+to+hire+a+CIO%2C+project+management%2C+application+development%2C+systems+architecture%2C+PMI%2C+mid-size+business%2C+large+business%2C+cost+effective%2C+change+management%2C+mergers%2C+acquisitions%2C+assessments%2C+proprietary%2C+healthcare%2C+insurance%2C+restaurant%2C+integration%2C+hosting%2C+outsourcing%2C+insourcing%2C+call+center%2C+performance+improvement%2C+consulting%2C+consulting+support%2C+services+consulting+services%2C+IT+management%2C+Operation+Consulting%2C+Operations+Management+Consulting%2C+GSA%2C+STS%2C+EDGE%2C+Management+consulting%2C+Executive+Consulting%2C+Executive%2C+%0D%0A%0D%0Ajobs%2C+jobs%2C+jobs%2C+change+management%2C+project+management%2C+great+compensation%2C+quality+assurance%2C+QA%2C+testing%2C+transformation%2C+.NET%2C+JAVA%2C+opportunities';
var metaContents  = 'Hire+CIO%2C+Inc.%2C+is+a+niche+consulting+organization+which+provides+Operational+and+Technical+Leadership+and+the+support+system+to+create+high+performing+organizations%2C+Healthcare%2C+Insurance%2C+government%2C+Provides+Chief+Information+Officer+%28CIO%29+and+%28COO%29+support%2C+project+management+expertise%2Foversite%2C+business+consulting+support%2C+application+development%2C+systems+architecture%2C+PMI%2C+mid-size+business%2C+large+business%2C+cost+effective%2C+change+management%2C+mergers%2C+acquisitions%2C+assessments%2C+proprietary%2C+healthcare%2C+insurance%2C+restaurant%2C+integration%2C+hosting%2C+outsourcing%2C+insourcing%2C+call+center%2C+performance+improvement%2C+GSA%2C+STS%2C+State+of+Ohio+State+term+schedule%2C+Top+Cat%2C+Tech+Columbus%2C+CIOHIO%2C+Top+Cat.+IT+management%2C+Operation+Consulting%2C+Operations+Management+Consulting%2C+GSA%2C+STS%2C+EDGE%2C+Management+consulting%2C+Executive+Consulting%2C+Executive%2C%0D%0A';
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();
};

