/* [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','501',jdecode('Home'),jdecode(''), jdecode('%2F501.html'), 'true',[],'',''],
	['PAGE','552',jdecode('About+us'),jdecode(''), jdecode('%2F552%2Findex.html'), 'true',[ 
		['PAGE','573',jdecode('The+team'),jdecode(''), jdecode('%2F552%2F573.html'), 'true',[],'',''],
		['PAGE','3301',jdecode('+News'),jdecode(''), jdecode('%2F552%2F3301.html'), 'true',[],'','']
	],'',''],
	['PAGE','29901',jdecode('Core+Company+Values'),jdecode(''), jdecode('%2F29901.html'), 'true',[],'',''],
	['PAGE','594',jdecode('Services'),jdecode(''), jdecode('%2F594%2Findex.html'), 'true',[ 
		['PAGE','615',jdecode('Management+Consulting+'),jdecode(''), jdecode('%2F594%2F615.html'), 'true',[],'',''],
		['PAGE','23301',jdecode('Business+Transformation+'),jdecode(''), jdecode('%2F594%2F23301.html'), 'true',[],'',''],
		['PAGE','657',jdecode('Program+Management'),jdecode(''), jdecode('%2F594%2F657.html'), 'true',[],'',''],
		['PAGE','3322',jdecode('Performance+Improvement'),jdecode(''), jdecode('%2F594%2F3322.html'), 'true',[],'',''],
		['PAGE','23322',jdecode('Change+Management'),jdecode(''), jdecode('%2F594%2F23322.html'), 'true',[],'',''],
		['PAGE','636',jdecode('IT+Strategy'),jdecode(''), jdecode('%2F594%2F636.html'), 'true',[],'',''],
		['PAGE','27522',jdecode('IT+Market+Assessment'),jdecode(''), jdecode('%2F594%2F27522.html'), 'true',[],'',''],
		['PAGE','27543',jdecode('Information+Assurance'),jdecode(''), jdecode('%2F594%2F27543.html'), 'true',[],'',''],
		['PAGE','23343',jdecode('Enterprise+Architecuture+'),jdecode(''), jdecode('%2F594%2F23343.html'), 'true',[],'',''],
		['PAGE','3343',jdecode('CIO+Strategic+Services'),jdecode(''), jdecode('%2F594%2F3343.html'), 'true',[],'','']
	],'',''],
	['PAGE','699',jdecode('Contract+Opportunities'),jdecode(''), jdecode('%2F699.html'), 'true',[],'',''],
	['PAGE','804',jdecode('Contract+Vehicles'),jdecode(''), jdecode('%2F804.html'), 'true',[],'',''],
	['PAGE','8701',jdecode('Customers'),jdecode(''), jdecode('%2F8701.html'), 'true',[],'',''],
	['PAGE','28401',jdecode('Partnership+Relations'),jdecode(''), jdecode('%2F28401.html'), 'true',[],'',''],
	['PAGE','75501',jdecode('Consultant+Login'),jdecode(''), jdecode('%2F75501.html'), 'true',[],'',''],
	['PAGE','75522',jdecode('Partner+Login'),jdecode(''), jdecode('%2F75522.html'), 'true',[],'',''],
	['PAGE','720',jdecode('Contact'),jdecode(''), jdecode('%2F720%2Findex.html'), 'true',[ 
		['PAGE','741',jdecode('Adresses'),jdecode(''), jdecode('%2F720%2F741.html'), 'true',[],'','']
	],'','']];
var siteelementCount=24;
theSitetree.topTemplateName='Medium';
theSitetree.paletteFamily='F8F2E6';
theSitetree.keyvisualId='2152';
theSitetree.keyvisualName='architektur.jpg';
theSitetree.fontsetId='360';
theSitetree.graphicsetId='410';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F8F2E6';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp11-veriow',
  product: 'WSCSYSSSSLYTCPI5'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Medium',
				paletteFamily: 	'F8F2E6',
				keyvisualId: 	'2152',
				keyvisualName: 	'architektur.jpg',
				fontsetId: 		'360',
				graphicsetId: 	'410',
				contentColor: 	'000000',
				contentBGColor: 'F8F2E6',
				a_color: 		'F8F2E6',
				b_color: 		'8EBFC6',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-5764494']={
webappId:    '1501',
documentId:  '501',
internalId:  '5764494',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20080130-225328'
};
webappMappings['7008']=webappMappings['7008-6931']={
webappId:    '7008',
documentId:  '720',
internalId:  '6931',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20090810-095050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20080114-212939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3301',
internalId:  '',
customField: '20080114-213117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29901',
internalId:  '',
customField: '20080114-195806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20080114-193055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '615',
internalId:  '',
customField: '20080114-204436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23301',
internalId:  '',
customField: '20080114-204801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '657',
internalId:  '',
customField: '20080118-114503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3322',
internalId:  '',
customField: '20080118-114611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23322',
internalId:  '',
customField: '20080114-210955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '636',
internalId:  '',
customField: '20080114-212048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27522',
internalId:  '',
customField: '20080114-212350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27543',
internalId:  '',
customField: '20080118-122147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23343',
internalId:  '',
customField: '20080127-085830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3343',
internalId:  '',
customField: '20080127-084736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '699',
internalId:  '',
customField: '20101001-081551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '804',
internalId:  '',
customField: '20101001-081308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8701',
internalId:  '',
customField: '20071101-173710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28401',
internalId:  '',
customField: '20101001-081159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75501',
internalId:  '',
customField: '20080130-225635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75522',
internalId:  '',
customField: '20080129-225930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '720',
internalId:  '',
customField: '20101024-212824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20080114-191736'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INVSVC';
var companyName   = 'Ashtel+Global+Information+Systems%2C+LLC';
var htmlTitle	  = 'Ashtel+Global+Information+Systems%2C+LLC%2C+Management+Consulting+and+Performance+Improvement+';
var metaKeywords  = 'Management+Consulting%2C+Performance+Improvement%2C+Program+management%2C+Certified+Management+Consultant%2C+CMC%2C+Technology+Management%2C+Enterprise+Architecture%2C+Business+Process+engineering+%2CBest+Value+%2C+Project%2C+Task+Management%2C+Operational+Quality%2C+Interim+Executive%2C+CIO%2C+Critical+Task%2C+Achievement%2C+Customer+Value%2C+General+Management+Consulting%2C+Sr.+Consultant%2C++Project+Management%2C+Government+contracting%2C+Problem+Resolution%2C+Information+Strategy%2C+ITIL%2C+Governance%2C+Control%2C+Results%2C+Interactive+Business+Technology+Design+Consulting%2C+Trading+Risk+Management%2C+TRM%2C+IT+Strategy%2C+%3B+Buying%2C+Marketing+Technologies%2C+Strategy%2C+Non+Profit+Technology+';
var metaContents  = '++meta+name%3Drobots+content%3DALL+meta+name%3Ddescription+content%3DAshtel+Global+Information+Systems%2C+LLC+is+a+global+management+consulting+firm+focused+on+improving+business+process+and+optimizing+technology++meta+name%3Dkeywords+content%3DManagement+Consulting+Performance%2C+Program+Management%2C+Interim+Executive%2C+Nonprofit+Technology%2C+ITIL%2C+Best+in+class%2C+Operational+Improvement%2C+Staff+mentoring%2C+Infrastructure%2C+Networking%2C+IT+Security++meta+name%3Dclassification+content%3DBusiness+and+Economy+meta+name%3Drating+content%3DGeneral+meta+name%3Dcopyright+content%3Dcopyright+2007-2009+title+Ashtel+Global+Information+Systems%2C+LLC%2Ftitle';
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();
};

