/* [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','2725',jdecode('Home'),jdecode(''), jdecode('%2F2725.html'), 'true',[],'',''],
	['PAGE','74112',jdecode('OHS+Employer+Rights'),jdecode(''), jdecode('%2F74112.html'), 'false',[],'',''],
	['PAGE','61412',jdecode('MHS+Organigram'),jdecode(''), jdecode('%2F61412.html'), 'false',[],'',''],
	['PAGE','15901',jdecode('Section+10'),jdecode(''), jdecode('%2F15901.html'), 'false',[],'',''],
	['PAGE','4101',jdecode('About+us'),jdecode(''), jdecode('%2F4101.html'), 'true',[],'',''],
	['PAGE','4401',jdecode('Contact'),jdecode(''), jdecode('%2F4401.html'), 'true',[],'',''],
	['PAGE','5701',jdecode('Order+Subscriptions'),jdecode(''), jdecode('%2F5701%2Findex.html'), 'true',[ 
		['PAGE','10101',jdecode('Gold+Subscribers'),jdecode(''), jdecode('%2F5701%2F10101.html'), 'true',[],'',''],
		['PAGE','9501',jdecode('Bronze+Subscribers'),jdecode(''), jdecode('%2F5701%2F9501.html'), 'true',[],'',''],
		['PAGE','9701',jdecode('Silver+Subscription'),jdecode(''), jdecode('%2F5701%2F9701.html'), 'true',[],'','']
	],'',''],
	['PAGE','5201',jdecode('Services'),jdecode(''), jdecode('%2F5201%2Findex.html'), 'true',[ 
		['PAGE','65712',jdecode('Legal+Representation'),jdecode(''), jdecode('%2F5201%2F65712.html'), 'true',[],'',''],
		['PAGE','8601',jdecode('OHS+Inquiries'),jdecode(''), jdecode('%2F5201%2F8601.html'), 'true',[],'',''],
		['PAGE','8201',jdecode('OHS+Investigations'),jdecode(''), jdecode('%2F5201%2F8201.html'), 'true',[],'',''],
		['PAGE','67112',jdecode('MHS+Investigations'),jdecode(''), jdecode('%2F5201%2F67112.html'), 'true',[],'',''],
		['PAGE','66112',jdecode('MHS+Inquiries'),jdecode(''), jdecode('%2F5201%2F66112.html'), 'true',[],'',''],
		['PAGE','67612',jdecode('OHS+Trials'),jdecode(''), jdecode('%2F5201%2F67612.html'), 'true',[],'',''],
		['PAGE','68212',jdecode('Legal+Advice'),jdecode(''), jdecode('%2F5201%2F68212.html'), 'true',[],'',''],
		['PAGE','12201',jdecode('In+House+Workshops'),jdecode(''), jdecode('%2F5201%2F12201.html'), 'true',[],'',''],
		['PAGE','13001',jdecode('Open+Workshops'),jdecode(''), jdecode('%2F5201%2F13001.html'), 'true',[],'','']
	],'',''],
	['PAGE','47201',jdecode('Subscriber+Blog'),jdecode(''), jdecode('%2F47201.html'), 'true',[],'',''],
	['PAGE','43601',jdecode('OHS+Forum'),jdecode(''), jdecode('%2F43601.html'), 'true',[],'',''],
	['PAGE','92812',jdecode('Sec+31+MHS+Act'),jdecode(''), jdecode('%2F92812.html'), 'false',[],'',''],
	['PAGE','6201',jdecode('Newsletters'),jdecode(''), jdecode('%2F6201%2Findex.html'), 'true',[ 
		['PAGE','36601',jdecode('MHS+Act+sec+5+to+8'),jdecode(''), jdecode('%2F6201%2F36601.html'), 'false',[],'',''],
		['PAGE','14801',jdecode('Section+8'),jdecode(''), jdecode('%2F6201%2F14801.html'), 'false',[],'',''],
		['PAGE','42901',jdecode('Subscriber'),jdecode(''), jdecode('%2F6201%2F42901.html'), 'true',[],'',''],
		['PAGE','6243',jdecode('OHS+Practitioner'),jdecode(''), jdecode('%2F6201%2F6243.html'), 'true',[],'',''],
		['PAGE','132912',jdecode('OHS+Pract+Oct+2009'),jdecode(''), jdecode('%2F6201%2F132912.html'), 'false',[],'',''],
		['PAGE','35401',jdecode('ohs_pract_feb_09'),jdecode(''), jdecode('%2F6201%2F35401.html'), 'false',[],'',''],
		['PAGE','6264',jdecode('Chat+%26+Skinner'),jdecode(''), jdecode('%2F6201%2F6264.html'), 'true',[],'',''],
		['PAGE','129912',jdecode('OHS+CS+Condoms'),jdecode(''), jdecode('%2F6201%2F129912.html'), 'false',[],'',''],
		['PAGE','125112',jdecode('CS+Oct+2009'),jdecode(''), jdecode('%2F6201%2F125112.html'), 'false',[],'',''],
		['PAGE','29501',jdecode('Heads+of+Argument'),jdecode(''), jdecode('%2F6201%2F29501.html'), 'true',[],'',''],
		['PAGE','24701',jdecode('The+CEO+%26+Team'),jdecode(''), jdecode('%2F6201%2F24701.html'), 'true',[],'',''],
		['PAGE','24722',jdecode('Contractors'),jdecode(''), jdecode('%2F6201%2F24722.html'), 'true',[],'','']
	],'',''],
	['PAGE','6064',jdecode('OHS+Court+Cases'),jdecode(''), jdecode('%2F6064.html'), 'true',[],'',''],
	['PAGE','160523',jdecode('Fry+v+Huletts+aluminium'),jdecode(''), jdecode('%2F160523.html'), 'false',[],'',''],
	['PAGE','6085',jdecode('OHS+News'),jdecode(''), jdecode('%2F6085.html'), 'true',[],'',''],
	['PAGE','150512',jdecode('EMR+15'),jdecode(''), jdecode('%2F150512.html'), 'false',[],'',''],
	['PAGE','145912',jdecode('Disclaimer'),jdecode(''), jdecode('%2F145912.html'), 'true',[],'',''],
	['PAGE','144512',jdecode('ERW+9'),jdecode(''), jdecode('%2F144512.html'), 'false',[],'',''],
	['PAGE','140112',jdecode('Cotswold+Geotechnical+Holdings'),jdecode(''), jdecode('%2F140112.html'), 'false',[],'',''],
	['PAGE','134812',jdecode('MHS+Act+Sec+22'),jdecode(''), jdecode('%2F134812.html'), 'false',[],'',''],
	['PAGE','126512',jdecode('OHS+Act+Sec+37+Employees'),jdecode(''), jdecode('%2F126512.html'), 'false',[],'',''],
	['PAGE','109812',jdecode('CR+11+Excavation'),jdecode(''), jdecode('%2F109812.html'), 'false',[],'',''],
	['PAGE','15401',jdecode('Section+13'),jdecode(''), jdecode('%2F15401.html'), 'false',[],'',''],
	['PAGE','15701',jdecode('Section+9'),jdecode(''), jdecode('%2F15701.html'), 'false',[],'',''],
	['PAGE','15801',jdecode('Section+14'),jdecode(''), jdecode('%2F15801.html'), 'false',[],'',''],
	['PAGE','26801',jdecode('paarl_fire_pics'),jdecode(''), jdecode('%2F26801.html'), 'false',[],'',''],
	['PAGE','56212',jdecode('OHS_consistent_precautionary_measures'),jdecode(''), jdecode('%2F56212.html'), 'false',[],'',''],
	['PAGE','56912',jdecode('cs+sex+at+the+workplace'),jdecode(''), jdecode('%2F56912.html'), 'false',[],'',''],
	['PAGE','57912',jdecode('Charge+Sheet'),jdecode(''), jdecode('%2F57912.html'), 'false',[],'',''],
	['PAGE','78212',jdecode('Legislation+'),jdecode(''), jdecode('%2F78212%2Findex.html'), 'true',[ 
		['PAGE','63812',jdecode('OHS+Amendments'),jdecode(''), jdecode('%2F78212%2F63812.html'), 'true',[],'',''],
		['PAGE','64712',jdecode('MHS+Amendments'),jdecode(''), jdecode('%2F78212%2F64712.html'), 'true',[],'',''],
		['PAGE','108212',jdecode('MHS+Act+sec+21'),jdecode(''), jdecode('%2F78212%2F108212.html'), 'true',[],'',''],
		['PAGE','108512',jdecode('OHS+Act+sec+10'),jdecode(''), jdecode('%2F78212%2F108512.html'), 'true',[],'',''],
		['PAGE','108912',jdecode('MHS+Act+Sec+86A'),jdecode(''), jdecode('%2F78212%2F108912.html'), 'true',[],'','']
	],'',''],
	['PAGE','64912',jdecode('Manager+Danger+Pay'),jdecode(''), jdecode('%2F64912.html'), 'false',[],'',''],
	['PAGE','74312',jdecode('MHS+Employer+Rights'),jdecode(''), jdecode('%2F74312.html'), 'false',[],'',''],
	['PAGE','79612',jdecode('Subscriber+Notification'),jdecode(''), jdecode('%2F79612.html'), 'false',[],'',''],
	['PAGE','87512',jdecode('MHS+Sec+86A+'),jdecode(''), jdecode('%2F87512.html'), 'false',[],'',''],
	['PAGE','91912',jdecode('MHS+Sec+86A+M+%26+G'),jdecode(''), jdecode('%2F91912.html'), 'false',[],'',''],
	['PAGE','97712',jdecode('Corporate+Homicide'),jdecode(''), jdecode('%2F97712.html'), 'false',[],'',''],
	['PAGE','97312',jdecode('MHS+Sec+86A+articles'),jdecode(''), jdecode('%2F97312.html'), 'false',[],'',''],
	['PAGE','98312',jdecode('Turnaround'),jdecode(''), jdecode('%2F98312.html'), 'false',[],'',''],
	['PAGE','99912',jdecode('MHS+Sect+86A+cont'),jdecode(''), jdecode('%2F99912.html'), 'false',[],'',''],
	['PAGE','103712',jdecode('CS_Blame_Game'),jdecode(''), jdecode('%2F103712.html'), 'false',[],'',''],
	['PAGE','106412',jdecode('Section+22+COID+Act'),jdecode(''), jdecode('%2F106412.html'), 'false',[],'',''],
	['PAGE','107412',jdecode('CR+12'),jdecode(''), jdecode('%2F107412.html'), 'false',[],'',''],
	['PAGE','109312',jdecode('OHS+Practioner+Suppliers'),jdecode(''), jdecode('%2F109312.html'), 'false',[],'',''],
	['PAGE','111112',jdecode('Crown+Chickens'),jdecode(''), jdecode('%2F111112.html'), 'false',[],'',''],
	['PAGE','117912',jdecode('Inspector+Powers'),jdecode(''), jdecode('%2F117912.html'), 'false',[],'',''],
	['PAGE','111512',jdecode('CS+Labour+Brokers+Aug+09'),jdecode(''), jdecode('%2F111512.html'), 'false',[],'',''],
	['PAGE','118712',jdecode('Roodepoort+Collapse'),jdecode(''), jdecode('%2F118712.html'), 'false',[],'',''],
	['PAGE','120612',jdecode('GSR+5'),jdecode(''), jdecode('%2F120612.html'), 'false',[],'',''],
	['PAGE','122012',jdecode('Sensless+Undermining'),jdecode(''), jdecode('%2F122012.html'), 'false',[],'',''],
	['PAGE','123612',jdecode('OHS+Act+Section+30'),jdecode(''), jdecode('%2F123612.html'), 'false',[],'',''],
	['PAGE','124712',jdecode('OHS+Act+HCS+3'),jdecode(''), jdecode('%2F124712.html'), 'false',[],'',''],
	['PAGE','126912',jdecode('CR+New+Client+Duties'),jdecode(''), jdecode('%2F126912.html'), 'false',[],'',''],
	['PAGE','128512',jdecode('Labour+Brokers+Acts'),jdecode(''), jdecode('%2F128512.html'), 'false',[],'',''],
	['PAGE','129312',jdecode('COID+Act+Sec+35'),jdecode(''), jdecode('%2F129312.html'), 'false',[],'',''],
	['PAGE','132212',jdecode('Cape+Times+Sec+10'),jdecode(''), jdecode('%2F132212.html'), 'false',[],'',''],
	['PAGE','135512',jdecode('Chartaprop'),jdecode(''), jdecode('%2F135512.html'), 'false',[],'',''],
	['PAGE','140412',jdecode('JHB+Country+Club+v+Stott'),jdecode(''), jdecode('%2F140412.html'), 'false',[],'',''],
	['PAGE','140712',jdecode('ECSA+v+Tshwane'),jdecode(''), jdecode('%2F140712.html'), 'false',[],'',''],
	['PAGE','141512',jdecode('ECSA+v+Tshwane+2'),jdecode(''), jdecode('%2F141512.html'), 'false',[],'',''],
	['PAGE','140912',jdecode('Sec26+OHS+Act'),jdecode(''), jdecode('%2F140912.html'), 'false',[],'',''],
	['PAGE','143712',jdecode('Mankayi+challenge'),jdecode(''), jdecode('%2F143712.html'), 'false',[],'',''],
	['PAGE','144612',jdecode('ERW+9'),jdecode(''), jdecode('%2F144612.html'), 'false',[],'',''],
	['PAGE','152512',jdecode('Draft+articles'),jdecode(''), jdecode('%2F152512.html'), 'false',[],'',''],
	['PAGE','165323',jdecode('Section+24'),jdecode(''), jdecode('%2F165323.html'), 'false',[],'','']];
var siteelementCount=93;
theSitetree.topTemplateName='Dispose';
theSitetree.paletteFamily='E99C2E';
theSitetree.keyvisualId='9699';
theSitetree.keyvisualName='kv_9699.gif';
theSitetree.fontsetId='10658';
theSitetree.graphicsetId='11182';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCACA';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hetzner',
  product: 'WSCSYSSSSLY0XKDS'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dispose',
				paletteFamily: 	'E99C2E',
				keyvisualId: 	'9699',
				keyvisualName: 	'kv_9699.gif',
				fontsetId: 		'10658',
				graphicsetId: 	'11182',
				contentColor: 	'000000',
				contentBGColor: 'CCCACA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2725',
internalId:  '',
customField: '20120124-151255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4101',
internalId:  '',
customField: '20101027-134920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4401',
internalId:  '',
customField: '20090522-175410'
};
webappMappings['7008']=webappMappings['7008-1793']={
webappId:    '7008',
documentId:  '4401',
internalId:  '1793',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20090521-123537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160523',
internalId:  '',
customField: '20100917-120444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5701',
internalId:  '',
customField: '20090515-202419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6243',
internalId:  '',
customField: '20100820-141057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6201',
internalId:  '',
customField: '20100423-085746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6064',
internalId:  '',
customField: '20101028-074750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6085',
internalId:  '',
customField: '20120202-133935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6264',
internalId:  '',
customField: '20091009-110430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111112',
internalId:  '',
customField: '20090831-190727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8201',
internalId:  '',
customField: '20090521-155541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20090521-155207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9501',
internalId:  '',
customField: '20100223-113240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9701',
internalId:  '',
customField: '20100223-113331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20100223-113131'
};
webappMappings['7008']=webappMappings['7008-1798']={
webappId:    '7008',
documentId:  '5701',
internalId:  '1798',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12201',
internalId:  '',
customField: '20100325-073056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20090508-072220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20090415-121706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15401',
internalId:  '',
customField: '20090415-124355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20090415-122954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20090415-123236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15901',
internalId:  '',
customField: '20090415-124916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24722',
internalId:  '',
customField: '20090417-071700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20120124-115759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152512',
internalId:  '',
customField: '20100506-085052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26801',
internalId:  '',
customField: '20091020-054203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42901',
internalId:  '',
customField: '20120124-121411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56212',
internalId:  '',
customField: '20090518-120618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36601',
internalId:  '',
customField: '20090522-082023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35401',
internalId:  '',
customField: '20090518-103139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29501',
internalId:  '',
customField: '20090419-070244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87512',
internalId:  '',
customField: '20090529-125533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140412',
internalId:  '',
customField: '20100215-154928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134812',
internalId:  '',
customField: '20091123-073455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135512',
internalId:  '',
customField: '20091126-080335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20090518-205534'
};
webappMappings['7050']=webappMappings['7050-405']={
webappId:    '7050',
documentId:  '47201',
internalId:  '405',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140112',
internalId:  '',
customField: '20100216-160419'
};
webappMappings['1003']=webappMappings['1003-ahtz10in2c5q12138df353d']={
webappId:    '1003',
documentId:  '43601',
internalId:  'ahtz10in2c5q12138df353d',
customField: 'en:US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20101014-130834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132912',
internalId:  '',
customField: '20091021-155208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132212',
internalId:  '',
customField: '20091021-145145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145912',
internalId:  '',
customField: '20100316-101909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144512',
internalId:  '',
customField: '20100309-132108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140912',
internalId:  '',
customField: '20100216-075617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140712',
internalId:  '',
customField: '20100216-075728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56912',
internalId:  '',
customField: '20090518-123400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57912',
internalId:  '',
customField: '20090518-144527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61412',
internalId:  '',
customField: '20090520-121904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144612',
internalId:  '',
customField: '20100309-132333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63812',
internalId:  '',
customField: '20090529-132334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64712',
internalId:  '',
customField: '20090529-132258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64912',
internalId:  '',
customField: '20090521-093039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65712',
internalId:  '',
customField: '20090521-150418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66112',
internalId:  '',
customField: '20090521-155952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67112',
internalId:  '',
customField: '20090521-155803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67612',
internalId:  '',
customField: '20090521-160951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68212',
internalId:  '',
customField: '20090521-150240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74112',
internalId:  '',
customField: '20090522-090502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74312',
internalId:  '',
customField: '20090522-090658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78212',
internalId:  '',
customField: '20090523-074907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79612',
internalId:  '',
customField: '20090523-110910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165323',
internalId:  '',
customField: '20110203-061107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150512',
internalId:  '',
customField: '20100428-093603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91912',
internalId:  '',
customField: '20090611-180939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92812',
internalId:  '',
customField: '20090610-093842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97312',
internalId:  '',
customField: '20090611-180340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97712',
internalId:  '',
customField: '20090611-182459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98312',
internalId:  '',
customField: '20090611-194219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99912',
internalId:  '',
customField: '20090623-091650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103712',
internalId:  '',
customField: '20090729-085034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106412',
internalId:  '',
customField: '20090814-105237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107412',
internalId:  '',
customField: '20090818-072244'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2725',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108212',
internalId:  '',
customField: '20090818-123130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108512',
internalId:  '',
customField: '20090818-130239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108912',
internalId:  '',
customField: '20090818-145317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109312',
internalId:  '',
customField: '20090818-204711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109812',
internalId:  '',
customField: '20090819-162747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122012',
internalId:  '',
customField: '20090928-094502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111512',
internalId:  '',
customField: '20090901-123358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141512',
internalId:  '',
customField: '20100216-081619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117912',
internalId:  '',
customField: '20090914-113458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143712',
internalId:  '',
customField: '20100309-114816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118712',
internalId:  '',
customField: '20090916-190312'
};
webappMappings['1501']=webappMappings['1501-5635640']={
webappId:    '1501',
documentId:  '2725',
internalId:  '5635640',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120612',
internalId:  '',
customField: '20090922-115127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123612',
internalId:  '',
customField: '20090929-143541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124712',
internalId:  '',
customField: '20090930-205944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125112',
internalId:  '',
customField: '20091001-085241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126512',
internalId:  '',
customField: '20091001-082032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126912',
internalId:  '',
customField: '20091001-084848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128512',
internalId:  '',
customField: '20091005-073843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129312',
internalId:  '',
customField: '20091009-102143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129912',
internalId:  '',
customField: '20091009-110342'
};
var webAppHostname = 'sitebuilder.host-h.net:80';
var canonHostname = 'sitebuilder1.jnb2.host-h.net';
var accountId     = 'AHTZ10IN2C5Q';
var companyName   = 'Klass+Looch+Associates+';
var htmlTitle	  = 'Klass+Looch+Associates+Employer+OHS+Champion';
var metaKeywords  = 'occupational+health+occupational+safety+OHS+Act+MHS+Act+occupational+health+and+safety+act+mine+health+and+safety+act+OHS+compliance+occupational+health+and+safety+legislation+consultants+occupational+health+and+safety+legal+advice+occupational+health+and+safety+legislation+workshops+Raynard+Looch+Klass+Looch+OHS';
var metaContents  = 'occupational+health+and+safety+legislation+consultants';
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();
};

