/* [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','1401',jdecode('Home'),jdecode(''),'/1401.html','true',[],'',''],
	['PAGE','1851',jdecode('Contact'),jdecode(''),'/1851.html','true',[],'',''],
	['PAGE','1599',jdecode('Jobs'),jdecode(''),'/1599/index.html','true',[ 
		['PAGE','7501',jdecode('Downtown%2FCentral+Area'),jdecode(''),'/1599/7501.html','true',[],'',''],
		['PAGE','1620',jdecode('North'),jdecode(''),'/1599/1620.html','true',[],'',''],
		['PAGE','1641',jdecode('NorthWest'),jdecode(''),'/1599/1641.html','true',[],'',''],
		['PAGE','1662',jdecode('West'),jdecode(''),'/1599/1662.html','true',[],'',''],
		['PAGE','1683',jdecode('SouthWest'),jdecode(''),'/1599/1683.html','true',[],'',''],
		['PAGE','1704',jdecode('South'),jdecode(''),'/1599/1704.html','true',[],'',''],
		['PAGE','1725',jdecode('SouthEast'),jdecode(''),'/1599/1725.html','true',[],'',''],
		['PAGE','1746',jdecode('East'),jdecode(''),'/1599/1746.html','true',[],'',''],
		['PAGE','1767',jdecode('NorthEast'),jdecode(''),'/1599/1767.html','true',[],'',''],
		['PAGE','8801',jdecode('Part-Time%2FTemp+Position'),jdecode(''),'/1599/8801.html','true',[],'',''],
		['PAGE','140934',jdecode('Beaumont'),jdecode(''),'/1599/140934.html','true',[],'','']
	],'',''],
	['PAGE','1788',jdecode('Employers'),jdecode(''),'/1788/index.html','true',[ 
		['PAGE','1809',jdecode('Job+Orders'),jdecode(''),'/1788/1809.html','true',[],'',''],
		['PAGE','1830',jdecode('FAQ'),jdecode(''),'/1788/1830.html','true',[],'','']
	],'',''],
	['PAGE','17301',jdecode('Employees'),jdecode(''),'/17301/index.html','true',[ 
		['PAGE','17322',jdecode('Hourly+Timesheet'),jdecode(''),'/17301/17322.html','true',[],'',''],
		['PAGE','19601',jdecode('Salary+Timesheet'),jdecode(''),'/17301/19601.html','true',[],'','']
	],'',''],
	['PAGE','1452',jdecode('Applicants'),jdecode(''),'/1452/index.html','true',[ 
		['PAGE','1473',jdecode('Application+Document'),jdecode(''),'/1452/1473.html','true',[],'',''],
		['PAGE','24001',jdecode('Adobe+Reader'),jdecode(''),'/1452/24001.html','true',[],'',''],
		['PAGE','1578',jdecode('Common+Questions'),jdecode(''),'/1452/1578.html','true',[],'','']
	],'','']];
var siteelementCount=24;
theSitetree.topTemplateName='Streamline';
theSitetree.paletteFamily='6E88FD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10771';
theSitetree.graphicsetId='10859';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Streamline',
				paletteFamily: 	'6E88FD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10771',
				graphicsetId: 	'10859',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'0A2ECC',
				e_color: 		'ACABAB',
				f_color: 		'626161',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-288']={
webappId:    '7008',
documentId:  '1809',
internalId:  '288',
customField: 'language:en;country:US;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1401',
internalId:  '',
customField: '20100504-140252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1452',
internalId:  '',
customField: '20100813-152729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1473',
internalId:  '',
customField: '20100707-163241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24001',
internalId:  '',
customField: '20100429-145318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1578',
internalId:  '',
customField: '20100712-161440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1599',
internalId:  '',
customField: '20100429-162157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7501',
internalId:  '',
customField: '20100902-132439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1620',
internalId:  '',
customField: '20100902-144519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1641',
internalId:  '',
customField: '20100902-141623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1662',
internalId:  '',
customField: '20100902-104707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1683',
internalId:  '',
customField: '20100902-133226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1704',
internalId:  '',
customField: '20100902-132537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1725',
internalId:  '',
customField: '20100902-141947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1746',
internalId:  '',
customField: '20100902-105110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1767',
internalId:  '',
customField: '20100902-105148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20100902-135408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1788',
internalId:  '',
customField: '20100813-152301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1809',
internalId:  '',
customField: '20100415-160040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1830',
internalId:  '',
customField: '20100813-152336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17301',
internalId:  '',
customField: '20100420-104551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17322',
internalId:  '',
customField: '20100524-161120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20100524-153709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1851',
internalId:  '',
customField: '20100624-124422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140934',
internalId:  '',
customField: '20100902-135512'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INZY80';
var companyName   = 'LPC+Personnel%2C+Inc.+Houston%2C+TX+77007';
var htmlTitle	  = '';
var metaKeywords  = 'lpc%2C+applicants%2C+work%2C+office%2C+employers%2C+resume%2C+interview%2C+company%2C+job%2C+position%2C+personnel%2C+woman+owned+placement%2C+woman+owned+staffing%2C+staffing+and+placement+service%2C+Texas+job%2C+Texas+jobs%2C+post+resumes%2C+jobs%2C+perm+placement%2C+permanent+placement%2C+temporary+staffing%2C+contract+staffing%2C+temp-to-hire%2C+direct+hire+placements%2C+accounting%2C+procurement%2C+administrative+support%2C+clerical%2C+engineering%2C+human+resources%2C+hr%2C+information+technology%2C+it%2C+legal+support%2C+industrial%2C+management%2C+manufacturing%2C+marketing%2C+medial%2C+administrative%2C+executive%2C+procurement%2C+sales%2C+telephone+skills%2C+customer+service%2C+call+center+staffing%2C+call+centers%2C+recruitment+process+out+sourcing%2C+payroll+services%2C+staffing+agency%2C+temporary+agency%2C+temp+agencies%2C+staffing+agencies+in%2C+temp+staffing+agencies+in%2C+employment+agency%2C+Houston%2C+TX%2C+Texas%2C+greater+Houston+area%2C+employment%2C+temp%2C+temporary%2C+direct+hire%2C+staffing+firm%2C+search+firm%2C+help+desk%2C+77007%2C+technology%2C+office%2C+finance%2C+recruiters%2C+full+service+';
var metaContents  = 'LPC+Personnel%2C+Inc.+in+Houston+Texas+is+a+Full+service+Staffing+and+Placement+agency+offering+temporary%2C+temp-to-hire%2C+and+direct+hire+opportunities.+';
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();
};
