/* [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','29501',jdecode('Home'),jdecode(''), jdecode('%2F29501.html'), 'true',[],'',''],
	['PAGE','30101',jdecode('Our+Services+'),jdecode(''), jdecode('%2F30101%2Findex.html'), 'true',[ 
		['PAGE','30343',jdecode('General+Industry'),jdecode(''), jdecode('%2F30101%2F30343.html'), 'true',[],'',''],
		['PAGE','30322',jdecode('Construction'),jdecode(''), jdecode('%2F30101%2F30322.html'), 'true',[],'',''],
		['PAGE','30406',jdecode('Healthcare+Facilities'),jdecode(''), jdecode('%2F30101%2F30406.html'), 'true',[],'',''],
		['PAGE','30364',jdecode('Municipalities'),jdecode(''), jdecode('%2F30101%2F30364.html'), 'true',[],'',''],
		['PAGE','36301',jdecode('Cemeteries'),jdecode(''), jdecode('%2F30101%2F36301.html'), 'true',[],'',''],
		['PAGE','30301',jdecode('Insurance+'),jdecode(''), jdecode('%2F30101%2F30301.html'), 'true',[],'',''],
		['PAGE','30385',jdecode('Hotel+%26+Restaurant'),jdecode(''), jdecode('%2F30101%2F30385.html'), 'true',[],'',''],
		['PAGE','30427',jdecode('Funeral+Homes'),jdecode(''), jdecode('%2F30101%2F30427.html'), 'true',[],'',''],
		['PAGE','58012',jdecode('Code+Rule+59+%26+60'),jdecode(''), jdecode('%2F30101%2F58012.html'), 'true',[],'',''],
		['PAGE','58033',jdecode('Code+Rule+60'),jdecode(''), jdecode('%2F30101%2F58033.html'), 'false',[],'',''],
		['PAGE','57712',jdecode('Code+Rule+59+'),jdecode(''), jdecode('%2F30101%2F57712.html'), 'false',[],'','']
	],'',''],
	['PAGE','30122',jdecode('Training+Programs'),jdecode(''), jdecode('%2F30122%2Findex.html'), 'true',[ 
		['PAGE','57112',jdecode('OSHA+Courses'),jdecode(''), jdecode('%2F30122%2F57112.html'), 'true',[],'',''],
		['PAGE','50354',jdecode('OSHA+10hr+for+Construction'),jdecode(''), jdecode('%2F30122%2F50354.html'), 'true',[],'',''],
		['PAGE','50375',jdecode('OSHA+30hr+for+Construction'),jdecode(''), jdecode('%2F30122%2F50375.html'), 'true',[],'',''],
		['PAGE','50312',jdecode('OSHA+10hr+for+General+Industry'),jdecode(''), jdecode('%2F30122%2F50312.html'), 'true',[],'',''],
		['PAGE','50333',jdecode('OSHA+30hr+for+General+Industry'),jdecode(''), jdecode('%2F30122%2F50333.html'), 'true',[],'',''],
		['PAGE','57512',jdecode('OSHA+8+Hr+Hazardous+Waste+Operations+'),jdecode(''), jdecode('%2F30122%2F57512.html'), 'true',[],'',''],
		['PAGE','57533',jdecode('OSHA+40Hr+Hazardous+Waste+Technician+'),jdecode(''), jdecode('%2F30122%2F57533.html'), 'true',[],'',''],
		['PAGE','36001',jdecode('General+Industry+'),jdecode(''), jdecode('%2F30122%2F36001.html'), 'true',[],'',''],
		['PAGE','36022',jdecode('Construction'),jdecode(''), jdecode('%2F30122%2F36022.html'), 'true',[],'',''],
		['PAGE','36043',jdecode('Healthcare'),jdecode(''), jdecode('%2F30122%2F36043.html'), 'true',[],'',''],
		['PAGE','36322',jdecode('Cemeteries'),jdecode(''), jdecode('%2F30122%2F36322.html'), 'true',[],'',''],
		['PAGE','36343',jdecode('Funeral+Homes'),jdecode(''), jdecode('%2F30122%2F36343.html'), 'true',[],'',''],
		['PAGE','43001',jdecode('Hazard+Communication'),jdecode(''), jdecode('%2F30122%2F43001.html'), 'false',[],'',''],
		['PAGE','45412',jdecode('Lockout+Tagout'),jdecode(''), jdecode('%2F30122%2F45412.html'), 'false',[],'',''],
		['PAGE','45433',jdecode('Fork+Lift'),jdecode(''), jdecode('%2F30122%2F45433.html'), 'false',[],'',''],
		['PAGE','45454',jdecode('Personal+Protective+Equipment'),jdecode(''), jdecode('%2F30122%2F45454.html'), 'false',[],'',''],
		['PAGE','50396',jdecode('Fall+Protection'),jdecode(''), jdecode('%2F30122%2F50396.html'), 'false',[],'','']
	],'',''],
	['PAGE','61412',jdecode('Seminars'),jdecode(''), jdecode('%2F61412.html'), 'true',[],'',''],
	['PAGE','30143',jdecode('News+'),jdecode(''), jdecode('%2F30143.html'), 'true',[],'',''],
	['PAGE','29901',jdecode('About+us'),jdecode(''), jdecode('%2F29901%2Findex.html'), 'true',[ 
		['PAGE','58712',jdecode('Our+Staff'),jdecode(''), jdecode('%2F29901%2F58712.html'), 'true',[],'',''],
		['PAGE','58912',jdecode('Robert+Miata'),jdecode(''), jdecode('%2F29901%2F58912.html'), 'false',[],'','']
	],'',''],
	['PAGE','39601',jdecode('Contact+Us'),jdecode(''), jdecode('%2F39601.html'), 'true',[],'',''],
	['PAGE','30185',jdecode('Links'),jdecode(''), jdecode('%2F30185.html'), 'true',[],'','']];
var siteelementCount=38;
theSitetree.topTemplateName='Jakarta';
theSitetree.paletteFamily='A9A975';
theSitetree.keyvisualId='7884';
theSitetree.keyvisualName='kv_7884.jpg';
theSitetree.fontsetId='16854';
theSitetree.graphicsetId='12294';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCC99';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp11-veriow',
  product: 'WSCSYSSSSLYTCPI5'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'true',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Jakarta',
				paletteFamily: 	'A9A975',
				keyvisualId: 	'7884',
				keyvisualName: 	'kv_7884.jpg',
				fontsetId: 		'16854',
				graphicsetId: 	'12294',
				contentColor: 	'000000',
				contentBGColor: 'CCCC99',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'A9A975',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29501',
internalId:  '',
customField: '20120123-102907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36301',
internalId:  '',
customField: '20091216-112008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29901',
internalId:  '',
customField: '20091216-091617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30101',
internalId:  '',
customField: '20120123-110736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20091216-112032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30122',
internalId:  '',
customField: '20120123-111509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30343',
internalId:  '',
customField: '20120123-110756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30322',
internalId:  '',
customField: '20091216-111800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30406',
internalId:  '',
customField: '20091216-111926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30364',
internalId:  '',
customField: '20110205-214849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30427',
internalId:  '',
customField: '20091216-112115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30385',
internalId:  '',
customField: '20110205-215737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30143',
internalId:  '',
customField: '20110309-130013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57112',
internalId:  '',
customField: '20120123-111547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30185',
internalId:  '',
customField: '20090810-111405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20120123-104415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36022',
internalId:  '',
customField: '20120123-111803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36043',
internalId:  '',
customField: '20120123-104631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36322',
internalId:  '',
customField: '20120123-111838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36343',
internalId:  '',
customField: '20110205-204752'
};
webappMappings['7008']=webappMappings['7008-9916']={
webappId:    '7008',
documentId:  '39601',
internalId:  '9916',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39601',
internalId:  '',
customField: '20110707-102435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43001',
internalId:  '',
customField: '20090804-112000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45412',
internalId:  '',
customField: '20090804-114327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45433',
internalId:  '',
customField: '20090804-115119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45454',
internalId:  '',
customField: '20090804-115510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50312',
internalId:  '',
customField: '20120123-103753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50333',
internalId:  '',
customField: '20120123-111658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50354',
internalId:  '',
customField: '20120123-111606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50375',
internalId:  '',
customField: '20120123-103654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50396',
internalId:  '',
customField: '20090804-141400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57512',
internalId:  '',
customField: '20120123-111713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57712',
internalId:  '',
customField: '20091216-091925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58012',
internalId:  '',
customField: '20110205-215757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58033',
internalId:  '',
customField: '20091216-093852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57533',
internalId:  '',
customField: '20120123-104229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58712',
internalId:  '',
customField: '20110205-214439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58912',
internalId:  '',
customField: '20091214-130352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61412',
internalId:  '',
customField: '20120123-110652'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHU4F';
var companyName   = 'Consolidated+Risk+Management+Inc.';
var htmlTitle	  = 'Consolidated+Risk+Management+Inc.';
var metaKeywords  = 'Safety%2C+Safety+and+Health%2C+Safety++Health%2C+Risk+Management%2C+Loss+Prevention%2C+Safety+Consultants%2C++Insurance%2C+regulations%2C+worker%27s+compensation%2C+Department+of+Health%2C+DEP%2C+EPA%2C+DOH%2C+Safety+Compliance%2C+Regulatory+Agency%2C+OSHA';
var metaContents  = '+';
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();
};

