/* [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','1701',jdecode('Home'),jdecode(''), jdecode('%2F1701.html'), 'true',[],'',''],
	['PAGE','1752',jdecode('Mission+Statement'),jdecode(''), jdecode('%2F1752.html'), 'true',[],'',''],
	['PAGE','1920',jdecode('Alumni+Page'),jdecode(''), jdecode('%2F1920%2Findex.html'), 'true',[ 
		['PAGE','4322',jdecode('Forms+Packets'),jdecode(''), jdecode('%2F1920%2F4322.html'), 'true',[],'',''],
		['PAGE','4301',jdecode('Certificate+Replacement'),jdecode(''), jdecode('%2F1920%2F4301.html'), 'true',[],'',''],
		['PAGE','38301',jdecode('Investigative+Tips'),jdecode(''), jdecode('%2F1920%2F38301.html'), 'true',[],'',''],
		['PAGE','4801',jdecode('Transcripts'),jdecode(''), jdecode('%2F1920%2F4801.html'), 'true',[],'',''],
		['PAGE','52128',jdecode('Sample+Report'),jdecode(''), jdecode('%2F1920%2F52128.html'), 'true',[],'',''],
		['PAGE','11201',jdecode('Suggested+Reading'),jdecode(''), jdecode('%2F1920%2F11201.html'), 'true',[],'','']
	],'',''],
	['PAGE','1857',jdecode('Course+Calendar'),jdecode(''), jdecode('%2F1857.html'), 'true',[],'',''],
	['PAGE','1773',jdecode('Course+Information'),jdecode(''), jdecode('%2F1773.html'), 'true',[],'',''],
	['PAGE','56128',jdecode('Required+Reading'),jdecode(''), jdecode('%2F56128%2Findex.html'), 'true',[ 
		['PAGE','10101',jdecode('Corrections'),jdecode(''), jdecode('%2F56128%2F10101.html'), 'true',[],'',''],
		['PAGE','10122',jdecode('Fire%2FArson'),jdecode(''), jdecode('%2F56128%2F10122.html'), 'true',[],'',''],
		['PAGE','10143',jdecode('Law+Enforcement'),jdecode(''), jdecode('%2F56128%2F10143.html'), 'true',[],'',''],
		['PAGE','10164',jdecode('Private+Enterprise'),jdecode(''), jdecode('%2F56128%2F10164.html'), 'true',[],'',''],
		['PAGE','10185',jdecode('Regulatory'),jdecode(''), jdecode('%2F56128%2F10185.html'), 'true',[],'','']
	],'',''],
	['PAGE','53928',jdecode('Testimonials'),jdecode(''), jdecode('%2F53928.html'), 'true',[],'',''],
	['PAGE','10901',jdecode('Additional+Services'),jdecode(''), jdecode('%2F10901.html'), 'true',[],'',''],
	['PAGE','1878',jdecode('How+to+Register'),jdecode(''), jdecode('%2F1878%2Findex.html'), 'true',[ 
		['PAGE','6901',jdecode('Registration+Form'),jdecode(''), jdecode('%2F1878%2F6901.html'), 'true',[],'','']
	],'',''],
	['PAGE','10601',jdecode('How+to+Host+a+class'),jdecode(''), jdecode('%2F10601.html'), 'true',[],'',''],
	['PAGE','1899',jdecode('Meet+Our+Staff'),jdecode(''), jdecode('%2F1899.html'), 'true',[],'',''],
	['PAGE','1962',jdecode('Favorite+Links'),jdecode(''), jdecode('%2F1962.html'), 'true',[],'',''],
	['PAGE','9801',jdecode('Contact+Us'),jdecode(''), jdecode('%2F9801.html'), 'true',[],'','']];
var siteelementCount=25;
theSitetree.topTemplateName='Mazy';
theSitetree.paletteFamily='934644';
theSitetree.keyvisualId='11326';
theSitetree.keyvisualName='kv_11326.jpg';
theSitetree.fontsetId='31988';
theSitetree.graphicsetId='13822';
theSitetree.contentColor='3C3D3C';
theSitetree.contentBGColor='FFFFFF';
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: 			'Mazy',
				paletteFamily: 	'934644',
				keyvisualId: 	'11326',
				keyvisualName: 	'kv_11326.jpg',
				fontsetId: 		'31988',
				graphicsetId: 	'13822',
				contentColor: 	'3C3D3C',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1701',
internalId:  '',
customField: '20110201-220057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1752',
internalId:  '',
customField: '20090214-201735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1773',
internalId:  '',
customField: '20090217-193229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52128',
internalId:  '',
customField: '20101231-174141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53928',
internalId:  '',
customField: '20110129-203156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38301',
internalId:  '',
customField: '20090309-165826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1857',
internalId:  '',
customField: '20120105-191629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1878',
internalId:  '',
customField: '20090215-022345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1899',
internalId:  '',
customField: '20111124-155027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1920',
internalId:  '',
customField: '20100515-032506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56128',
internalId:  '',
customField: '20110401-203157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1962',
internalId:  '',
customField: '20090214-211612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6901',
internalId:  '',
customField: '20090215-014525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4322',
internalId:  '',
customField: '20101231-181309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4301',
internalId:  '',
customField: '20090214-212610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4801',
internalId:  '',
customField: '20090214-213011'
};
webappMappings['7008']=webappMappings['7008-13583']={
webappId:    '7008',
documentId:  '6901',
internalId:  '13583',
customField: 'language:en;country:US;'
};
webappMappings['1501']=webappMappings['1501-15657504']={
webappId:    '1501',
documentId:  '1701',
internalId:  '15657504',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9801',
internalId:  '',
customField: '20090217-190550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20090217-232818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10122',
internalId:  '',
customField: '20090217-233020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10143',
internalId:  '',
customField: '20090613-172049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10164',
internalId:  '',
customField: '20090217-233226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10185',
internalId:  '',
customField: '20090217-233513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10601',
internalId:  '',
customField: '20090217-191320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10901',
internalId:  '',
customField: '20090311-192626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20090217-195526'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0IN3C5Q';
var companyName   = 'Interviews+%26+Interrogations+Institute';
var htmlTitle	  = 'Interviews+and+Interrogations+Institute';
var metaKeywords  = 'interrogation+training%2C+interrogatioin+courses%2C+interview+and+interrogation%2C+interviews+and+interrogations%2C+interview++interrogation+training%2C+interrogations+training%2C+admissions+and+confessions%2C+detection+of+deception%2C+statement+analysis%2C+suspect+statements%2C+get+confessions%2C+art+of+deception%2C+art+of+interrogation%2C++behavior+analysis%2C+behavioalr+analysis%2C+behavior+analysis+training+institute%2C+forensic+interrogations%2C+forensic+interviews%2C+forensic+interrogation%2C+forensic+interview%2C+body+language%2C+california+post+certified+training%2C+cognitive+interview+technique%2C+cognitive+interview+training%2C+cognitive+interviewing%2C+confession+analysis%2C+confession+expert+witness%2C+Miranda+warning%2C+confessions%2C+cop+training%2C+cops%2C+criminal+profiling%2C+cvsa%2C+deceit%2C+deception%2C+deception+detection%2C+deputy+sheriff%2C+deputy+training%2C+detecting+deception%2C+detection+of+deception%2C+detective+training%2C+forensic+interrogation+training%2C+forensic+interview+and+interrogation+techniques+training%2C+forensic+interview+training%2C+forensic+law+enforcement+interview+and+interrogation+techniques+training%2C+forensic+psycholinguistics%2C+forensic+statement+analysis%2C+identifying+lies+in+disguise%2C+iii%2C+interrogation%2C+interrogation+skills%2C+interrogation+training%2C+interrogations%2C+interview+skills%2C+interview+training%2C+interviewing%2C+interviews%2C+investigation+training%2C+investigative+interrogation%2C+investigative+interview+and+interrogation+techniques%2C+investigative+interviewing%2C+joe+buckley%2C+reid+and+associates%2C+kinesic+interrogation%2C+kinesic+interview%2C+kinesic+interview+and+interrogation%2C+kinesics%2C+laboratory+for+scientific+interrogation%2C+law+enforcement+consulting%2C+law+enforcement+training%2C+lie+catcher%2C+Skip+Rogers%2C+Carl+Stincelli%2C+lie+detection%2C+lie+guy%2C+linguistics%2C+mendacious%2C+nonverbal+communication%2C+nonverbal+communication+techniques%2C+nonverbal+communication+training%2C+offender+profiling%2C+paul+ekman%2C+persuasion%2C+phases+of+interrogation%2C+police+interrogating%2C+police+interrogation%2C+police+interrogators%2C+police+interview+and+interrogation%2C+police+interviewers%2C+police+interviewing%2C+police+interviews%2C+police+investigations%2C+police+training%2C+polygraph%2C+polygraph+examinations%2C+polygraph+examiner%2C+polygraph+training%2C+principles+of+kinesic+interview+and+interrogation%2C+profiling+suspects%2C+psycholinguistics%2C+reid+interrogation%2C+reid+interview+and+interrogation%2C+reid+interview+method%2C+reid+method%2C+scan%2C+scientific+content+analysis%2C+scientific+interrogation%2C+stan+walters%2C+statement+analysis%2C+statement+analysis+techniques%2C+steps+to+interrogation%2C+suppress+confession+evidence%2C+suspect+interrogation%2C+suspect+interview%2C+suspect+interview+and+interrogation%2C+tactical+communication%2C+tactical+communication+training%2C+veracity%2C+verbal+behavior%2C+w+z+interview+and+interrogation+techniques%2C+web+of+deception%2C+wicklander+and+zulawski%2C+bati+arrogance%2C+why+cops+dislike+bati';
var metaContents  = 'Interrogation+training+courses+for+law+enforcement+personnel.++Rated+%231+consistently+since+1990.++Find+out+why.';
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();
};

