/* [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','1501',jdecode('Home'),jdecode(''),'/1501.html','true',[],'',''],
	['PAGE','2601',jdecode('About+Us'),jdecode(''),'/2601/index.html','true',[ 
		['PAGE','2622',jdecode('Our+Team'),jdecode(''),'/2601/2622.html','true',[],'',''],
		['PAGE','2643',jdecode('Locations'),jdecode(''),'/2601/2643.html','true',[],'','']
	],'',''],
	['PAGE','3201',jdecode('Benefits'),jdecode(''),'/3201.html','true',[],'',''],
	['PAGE','2664',jdecode('Jobs'),jdecode(''),'/2664.html','true',[],'',''],
	['PAGE','6712',jdecode('Services+and+Clients'),jdecode(''),'/6712.html','true',[],'',''],
	['PAGE','6912',jdecode('Staff+Augmentation'),jdecode(''),'/6912.html','true',[],'',''],
	['PAGE','8512',jdecode('Contact+Us'),jdecode(''),'/8512.html','true',[],'','']];
var siteelementCount=9;
theSitetree.topTemplateName='Disco';
theSitetree.paletteFamily='3D5465';
theSitetree.keyvisualId='1873';
theSitetree.keyvisualName='business.jpg';
theSitetree.fontsetId='307';
theSitetree.graphicsetId='364';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3D5465';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Disco',
				paletteFamily: 	'3D5465',
				keyvisualId: 	'1873',
				keyvisualName: 	'business.jpg',
				fontsetId: 		'307',
				graphicsetId: 	'364',
				contentColor: 	'FFFFFF',
				contentBGColor: '3D5465',
				a_color: 		'3D5465',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3201',
internalId:  '',
customField: '20100125-230754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1501',
internalId:  '',
customField: '20100201-183132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2601',
internalId:  '',
customField: '20100125-230956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2622',
internalId:  '',
customField: '20100125-231050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2643',
internalId:  '',
customField: '20100125-231215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2664',
internalId:  '',
customField: '20100215-134547'
};
webappMappings['7008']=webappMappings['7008-14400']={
webappId:    '7008',
documentId:  '8512',
internalId:  '14400',
customField: 'language:en;country:US;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8512',
internalId:  '',
customField: '20100210-200539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6712',
internalId:  '',
customField: '20100126-173227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6912',
internalId:  '',
customField: '20100125-230319'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7C98S';
var companyName   = 'JUSTALENT';
var htmlTitle	  = 'ERP+Consulting+Practice';
var metaKeywords  = 'Staff+Augmentation%2C+Jobs%2C+Careers%2C+IT+Recruitment%2C+Technical+Consulting%2C+IT%2C+Staffing%2C+Project+Management%2C++State+Governments%2C+State+of+Florida+Approved+Contractor%2C+Miami+Dade+County+Approved+Vendor%2C+Information+Technology%2C+Peoplesoft%2C+Oracle%2C+Database+Administrators%2C+Software+Developer%2C+Software+Development%2C+PeopleSoft%2C+Oracel%2C+ERP%2C+SAP%2C+Enterprise%2C+Network+Secruity%2C+Java%2C+C%2B%2B%2C+SQL%2C+JD+Edwards%2C+CRM+Packages%2C+SCM+Systems+and+tools.+%0D%0A%0D%0AProgramming+tools%3A+C%2C+C%2B%2B%2C+Java%2C+XML%2C+EJB%2FJSP%2C+Visual+Basic%2C+ABAP%2F4%2C+COBOL%2C+RPG%2C+SQL%2C+QMF%2C+JCL+and+Groupware+including+Lotus+Notes+Development+and+Administration.+%0D%0A%0D%0AApplication+Servers%3A+WebSphere%2C+Cold+Fusion%2C+BEA+WebLogic%2C+Jrun%2C+ATG+Dynamo+and+Netscape.+%0D%0A%0D%0AWeb+Servers%3A+Apache%2C+Domino%2C+MS+IIS+and+iPlanet.+%0D%0A%0D%0ADatabase+Management+Systems%3A+DB2%2C+Oracle%2C+SQL+Server%2C+Sybase%2C+etc.+%0D%0A%0D%0AOperating+Systems%3A+Unix%2C+Windows+NT%2C+Linux%2C+HP%2C+AIX%2C+';
var metaContents  = 'Justalent+is+a+technical+consulting+and+staff+augmentation+company+providing+qualified+and+experienced+Information+Technology+%28IT%29+professionals+to+leading+Corporations%2C+Federal+and+State+governments.++We+are+a+diverse%2C+equal+opportunity+workforce+with+a+passion+for+excellence+and+unparalleled+commitment+to+service%0D%0A%0D%0AWe+hire+quality+talent+globally%2C+provide+continuous+training+and+support%2C+and+offer+an+exceptional+work+environment+and+opportunities+for+personnel+growth.++We+are+a+mature%2C+technology+enabled+organization+that+is+agile%2C+quick+and+dependable+offering+proven+IT+consulting+services%2C+focused+on+placing+the+right+person%2C+in+the+right+assignment%2C+in+the+right+location.++%0D%0A%0D%0AOur+business+model+allows+us+to+operate+in+all+regions+allowing+you+greater+access+to+our+highly+trained+team.++%0D%0A%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();
};
