/* [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','401',jdecode('Home'),jdecode(''), jdecode('%2F401.html'), 'true',[],'',''],
	['PAGE','3201',jdecode('Qui+sommes-nous+%2F+das+sind+wir+'),jdecode(''), jdecode('%2F3201%2Findex.html'), 'true',[ 
		['PAGE','3222',jdecode('Nos+missions+%2F+Mission'),jdecode(''), jdecode('%2F3201%2F3222.html'), 'true',[],'',''],
		['PAGE','3243',jdecode('Notre+philosophie+%2F+Unsere+Philosophie+'),jdecode(''), jdecode('%2F3201%2F3243.html'), 'true',[],'',''],
		['PAGE','32401',jdecode('Base+l%C3%A9gale+%2F+Rechtsgrundlage'),jdecode(''), jdecode('%2F3201%2F32401.html'), 'true',[],'','']
	],'',''],
	['PAGE','4185',jdecode('Formation+%2F++Ausbildung'),jdecode(''), jdecode('%2F4185%2Findex.html'), 'true',[ 
		['PAGE','4206',jdecode('Cours+cible+1er+secours'),jdecode(''), jdecode('%2F4185%2F4206.html'), 'true',[],'',''],
		['PAGE','7201',jdecode('Sanitaire+d%26%23x27%3Bentreprise+1'),jdecode(''), jdecode('%2F4185%2F7201.html'), 'true',[],'',''],
		['PAGE','7222',jdecode('Sanitaire+d%26%23x27%3Bentreprise+2'),jdecode(''), jdecode('%2F4185%2F7222.html'), 'true',[],'',''],
		['PAGE','7243',jdecode('R%C3%A9animation+CPR+DEA'),jdecode(''), jdecode('%2F4185%2F7243.html'), 'true',[],'',''],
		['PAGE','7264',jdecode('Formation+Accident'),jdecode(''), jdecode('%2F4185%2F7264.html'), 'true',[],'',''],
		['PAGE','9101',jdecode('Formation+Terrain'),jdecode(''), jdecode('%2F4185%2F9101.html'), 'true',[],'',''],
		['PAGE','9122',jdecode('Formation++Maladies'),jdecode(''), jdecode('%2F4185%2F9122.html'), 'true',[],'',''],
		['PAGE','9143',jdecode('Formation++Atelier'),jdecode(''), jdecode('%2F4185%2F9143.html'), 'true',[],'',''],
		['PAGE','9164',jdecode('Formation+continue+Tout+est+possible'),jdecode(''), jdecode('%2F4185%2F9164.html'), 'true',[],'',''],
		['PAGE','7285',jdecode('Recyclage+a+la+r%C3%A9animation'),jdecode(''), jdecode('%2F4185%2F7285.html'), 'true',[],'',''],
		['PAGE','4227',jdecode('D%C3%A9compensation+PSY'),jdecode(''), jdecode('%2F4185%2F4227.html'), 'true',[],'',''],
		['PAGE','4248',jdecode('Formation+sp%C3%A9cialis%C3%A9e'),jdecode(''), jdecode('%2F4185%2F4248.html'), 'true',[],'','']
	],'',''],
	['PAGE','4353',jdecode('Inscription+%2F+Kursanmeldung'),jdecode(''), jdecode('%2F4353%2Findex.html'), 'true',[ 
		['PAGE','4374',jdecode('inscription+%2F+anmeldung'),jdecode(''), jdecode('%2F4353%2F4374.html'), 'true',[],'',''],
		['PAGE','4395',jdecode('Programme+%2F+Kursprogramm'),jdecode(''), jdecode('%2F4353%2F4395.html'), 'true',[],'',''],
		['PAGE','43601',jdecode('Nos+sites+de+formation++%2F+Ausbildungcentrum'),jdecode(''), jdecode('%2F4353%2F43601.html'), 'true',[],'','']
	],'',''],
	['PAGE','86101',jdecode('Conditions+g%C3%A9n%C3%A9rales'),jdecode(''), jdecode('%2F86101.html'), 'true',[],'',''],
	['PAGE','68201',jdecode('Certification+%2F+Zertifizierungen'),jdecode(''), jdecode('%2F68201.html'), 'true',[],'',''],
	['PAGE','4101',jdecode('Photos+%2F+Bilder'),jdecode(''), jdecode('%2F4101.html'), 'true',[],'',''],
	['PAGE','12701',jdecode('Emplois+%2F+Stellenangebote'),jdecode(''), jdecode('%2F12701.html'), 'true',[],'',''],
	['PAGE','32422',jdecode('Intervention+%2F+Einsatz'),jdecode(''), jdecode('%2F32422%2Findex.html'), 'true',[ 
		['PAGE','32443',jdecode('Formation+secourisme'),jdecode(''), jdecode('%2F32422%2F32443.html'), 'true',[],'',''],
		['PAGE','32464',jdecode('Gestion+de+crises+en+entreprises'),jdecode(''), jdecode('%2F32422%2F32464.html'), 'true',[],'',''],
		['PAGE','32485',jdecode('EFT'),jdecode(''), jdecode('%2F32422%2F32485.html'), 'true',[],'','']
	],'',''],
	['PAGE','32527',jdecode('Actualit%C3%A9s++%2F+Aktualit%C3%A4t'),jdecode(''), jdecode('%2F32527.html'), 'true',[],'',''],
	['PAGE','35901',jdecode('Comment+nous+trouver'),jdecode(''), jdecode('%2F35901.html'), 'true',[],'',''],
	['PAGE','12722',jdecode('Contact+%2F+Kontakt'),jdecode(''), jdecode('%2F12722%2Findex.html'), 'true',[ 
		['PAGE','12743',jdecode('Adresse+%2F+Adressen'),jdecode(''), jdecode('%2F12722%2F12743.html'), 'true',[],'','']
	],'',''],
	['PAGE','44901',jdecode('Acc%C3%A8s'),jdecode(''), jdecode('%2F44901.html'), 'true',[],'',''],
	['PAGE','14801',jdecode('Mentions+L%C3%A9gales'),jdecode(''), jdecode('%2F14801.html'), 'true',[],'',''],
	['PAGE','81201',jdecode('Medecin+%2F+Arzt+'),jdecode(''), jdecode('%2F81201.html'), 'true',[],'',''],
	['PAGE','89001',jdecode('Philosophie'),jdecode(''), jdecode('%2F89001.html'), 'true',[],'','']];
var siteelementCount=38;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='555454';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10461';
theSitetree.graphicsetId='10892';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var prodDef={
  wl_name: 'bluewin',
  product: 'WSCBLUSSSLYTC2MX'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'555454',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10461',
				graphicsetId: 	'10892',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'555454',
				e_color: 		'555454',
				f_color: 		'555454',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-8565214']={
webappId:    '1501',
documentId:  '401',
internalId:  '8565214',
customField: '1501'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '35901',
internalId:  'routing',
customField: 'fr_FR'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20091119-201705'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44901',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['7008']=webappMappings['7008-4179']={
webappId:    '7008',
documentId:  '12722',
internalId:  '4179',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4353',
internalId:  '',
customField: '20111024-114931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4374',
internalId:  '',
customField: '20111125-084926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4395',
internalId:  '',
customField: '20111024-115034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3201',
internalId:  '',
customField: '20101213-181528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3222',
internalId:  '',
customField: '20091119-141436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3243',
internalId:  '',
customField: '20091119-141725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32401',
internalId:  '',
customField: '20091119-142906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4185',
internalId:  '',
customField: '20091119-143227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4206',
internalId:  '',
customField: '20091119-143530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7201',
internalId:  '',
customField: '20091119-143811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7222',
internalId:  '',
customField: '20091119-144012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7243',
internalId:  '',
customField: '20091119-144219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7264',
internalId:  '',
customField: '20091119-144255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20091119-144319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9122',
internalId:  '',
customField: '20091119-144345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9143',
internalId:  '',
customField: '20091119-144422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9164',
internalId:  '',
customField: '20091119-144447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7285',
internalId:  '',
customField: '20091119-144700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89001',
internalId:  '',
customField: '20091119-160710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4227',
internalId:  '',
customField: '20091119-144748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4248',
internalId:  '',
customField: '20091119-145030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20091119-150008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4101',
internalId:  '',
customField: '20091119-150508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12701',
internalId:  '',
customField: '20091119-150641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32422',
internalId:  '',
customField: '20091119-150724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32443',
internalId:  '',
customField: '20091119-150827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32464',
internalId:  '',
customField: '20091119-150936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32485',
internalId:  '',
customField: '20091119-151056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12722',
internalId:  '',
customField: '20091119-151419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12743',
internalId:  '',
customField: '20091119-151456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32527',
internalId:  '',
customField: '20091119-151123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35901',
internalId:  '',
customField: '20091119-151147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44901',
internalId:  '',
customField: '20091119-151533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20091119-151752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68201',
internalId:  '',
customField: '20091119-150424'
};
webappMappings['7060']=webappMappings['7060-0c2b939cb0bde73d8ffa3b2994251b0b']={
webappId:    '7060',
documentId:  '81201',
internalId:  '0c2b939cb0bde73d8ffa3b2994251b0b',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81201',
internalId:  '',
customField: '20090409-192207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86101',
internalId:  '',
customField: '20091119-161617'
};
var webAppHostname = 'cgi.hpt001.bluewin.ch:80';
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXPEQ';
var companyName   = 'Swissan.com';
var htmlTitle	  = '';
var metaKeywords  = '%0D%0Asecours%2C+secourisme%2Csant%C3%A9%2C1er+secours%2C+cfst%2Cmsst%2C+aed%2C+bls%2C+aed-bls%2C+medecin%2C+resq%2C+src';
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();
};

