/* [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','4599',jdecode('Home'),jdecode(''),'/4599.html','true',[],'',''],
	['PAGE','4710',jdecode('Pers%C3%B6nliche+Daten'),jdecode(''),'/4710.html','true',[],'',''],
	['PAGE','201412',jdecode('Politik'),jdecode(''),'/201412/index.html','true',[ 
		['PAGE','241212',jdecode('Familien+entlasten'),jdecode(''),'/201412/241212.html','true',[],'',''],
		['PAGE','229812',jdecode('KMU'),jdecode(''),'/201412/229812.html','true',[],'',''],
		['PAGE','23206',jdecode('Gesundheitspolitik'),jdecode(''),'/201412/23206.html','true',[],'',''],
		['PAGE','15602',jdecode('Die+Frau+heute'),jdecode(''),'/201412/15602.html','true',[],'',''],
		['PAGE','242012',jdecode('Elternschaftsurlaub'),jdecode(''),'/201412/242012.html','true',[],'',''],
		['PAGE','166112',jdecode('Kind+und+Internet'),jdecode(''),'/201412/166112.html','true',[],'',''],
		['PAGE','150630',jdecode('Stillen+'),jdecode(''),'/201412/150630.html','true',[],'',''],
		['PAGE','285712',jdecode('Klima'),jdecode(''),'/201412/285712.html','true',[],'',''],
		['PAGE','306912',jdecode('Asyl-+und+Ausl%C3%A4ndergesetz'),jdecode(''),'/201412/306912.html','true',[],'',''],
		['PAGE','388212',jdecode('V%C3%B6lkerrecht'),jdecode(''),'/201412/388212.html','true',[],'',''],
		['PAGE','234812',jdecode('Bildung'),jdecode(''),'/201412/234812.html','true',[],'',''],
		['PAGE','4656',jdecode('CVP'),jdecode(''),'/201412/4656.html','true',[],'','']
	],'',''],
	['PAGE','133642',jdecode('Abstimmungen+%2F+Wahlen'),jdecode(''),'/133642.html','true',[],'',''],
	['PAGE','314833',jdecode('Blog'),jdecode(''),'/314833.html','true',[],'',''],
	['PAGE','31106',jdecode('Soziales+Engagement'),jdecode(''),'/31106/index.html','true',[ 
		['PAGE','248212',jdecode('Kinderhilfe+Bethlehem'),jdecode(''),'/31106/248212.html','true',[],'',''],
		['PAGE','248233',jdecode('IGFM'),jdecode(''),'/31106/248233.html','true',[],'',''],
		['PAGE','372712',jdecode('Sozialcharta'),jdecode(''),'/31106/372712.html','true',[],'','']
	],'',''],
	['PAGE','360912',jdecode('Medien'),jdecode(''),'/360912/index.html','true',[ 
		['PAGE','322612',jdecode('Artikel+%2F+Reden'),jdecode(''),'/360912/322612.html','true',[],'',''],
		['PAGE','317212',jdecode('M%C3%A9dias+%2F+Media'),jdecode(''),'/360912/317212.html','true',[],'','']
	],'',''],
	['PAGE','4764',jdecode('Medien+Archiv'),jdecode(''),'/4764/index.html','true',[ 
		['PAGE','423475',jdecode('2010'),jdecode(''),'/4764/423475.html','true',[],'',''],
		['PAGE','423454',jdecode('2009'),jdecode(''),'/4764/423454.html','true',[],'',''],
		['PAGE','423433',jdecode('2008'),jdecode(''),'/4764/423433.html','true',[],'',''],
		['PAGE','423412',jdecode('2007'),jdecode(''),'/4764/423412.html','true',[],'','']
	],'',''],
	['PAGE','101713',jdecode('Agenda'),jdecode(''),'/101713.html','true',[],'',''],
	['PAGE','270212',jdecode('Links'),jdecode(''),'/270212.html','true',[],'',''],
	['PAGE','290812',jdecode('Downloads'),jdecode(''),'/290812.html','true',[],'',''],
	['PAGE','385512',jdecode('Wahlen+2011'),jdecode(''),'/385512/index.html','true',[ 
		['PAGE','398512',jdecode('Leistungsausweis'),jdecode(''),'/385512/398512.html','true',[],'',''],
		['PAGE','398533',jdecode('Spendenkonto'),jdecode(''),'/385512/398533.html','true',[],'','']
	],'',''],
	['PAGE','314812',jdecode('Suchen'),jdecode(''),'/314812.html','true',[],'',''],
	['PAGE','136760',jdecode('Kontakt'),jdecode(''),'/136760.html','true',[],'','']];
var siteelementCount=37;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='726C60';
theSitetree.keyvisualId='2287';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='370';
theSitetree.graphicsetId='421';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='726C60';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Steps',
				paletteFamily: 	'726C60',
				keyvisualId: 	'2287',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'370',
				graphicsetId: 	'421',
				contentColor: 	'FFFFFF',
				contentBGColor: '726C60',
				a_color: 		'726C60',
				b_color: 		'888173',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372712',
internalId:  '',
customField: '20100113-130857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20100904-151703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4710',
internalId:  '',
customField: '20100901-082348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '201412',
internalId:  '',
customField: '20100819-094647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4656',
internalId:  '',
customField: '20100531-094603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4764',
internalId:  '',
customField: '20100810-211346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '241212',
internalId:  '',
customField: '20100715-113508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '385512',
internalId:  '',
customField: '20100803-170028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '229812',
internalId:  '',
customField: '20100715-113600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23206',
internalId:  '',
customField: '20100715-120149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15602',
internalId:  '',
customField: '20100302-093044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '242012',
internalId:  '',
customField: '20100214-141948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '166112',
internalId:  '',
customField: '20100531-155759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '285712',
internalId:  '',
customField: '20091005-131437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '234812',
internalId:  '',
customField: '20081102-133212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150630',
internalId:  '',
customField: '20091119-104515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133642',
internalId:  '',
customField: '20100625-100715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31106',
internalId:  '',
customField: '20100601-090337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '248212',
internalId:  '',
customField: '20100601-121457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '248233',
internalId:  '',
customField: '20100111-102454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101713',
internalId:  '',
customField: '20100903-064903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '270212',
internalId:  '',
customField: '20100616-112117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136760',
internalId:  '',
customField: '20100519-152603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '290812',
internalId:  '',
customField: '20100428-091036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '306912',
internalId:  '',
customField: '20100119-074558'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '314812',
internalId:  'search',
customField: 'language:de;country:CH;'
};
webappMappings['7050']=webappMappings['7050-812']={
webappId:    '7050',
documentId:  '314833',
internalId:  '812',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314812',
internalId:  '',
customField: '20090521-131533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314833',
internalId:  '',
customField: '20090609-151354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '317212',
internalId:  '',
customField: '20100822-083349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '322612',
internalId:  '',
customField: '20100802-114753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '360912',
internalId:  '',
customField: '20100902-092645'
};
webappMappings['1501']=webappMappings['1501-27847343']={
webappId:    '1501',
documentId:  '4599',
internalId:  '27847343',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '388212',
internalId:  '',
customField: '20100303-141116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '398512',
internalId:  '',
customField: '20100417-111607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '398533',
internalId:  '',
customField: '20100417-112428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '423454',
internalId:  '',
customField: '20100831-203738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '423412',
internalId:  '',
customField: '20100717-184908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '423433',
internalId:  '',
customField: '20100831-212945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '423475',
internalId:  '',
customField: '20100717-184908'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXX81';
var companyName   = 'Barbara+Schmid-Federer+++++Nationalr%C3%A4tin';
var htmlTitle	  = 'Barbara+Schmid-Federer%3A+Liberal-Sozial+f%C3%BCr+Z%C3%BCrich+Nationalr%C3%A4tin';
var metaKeywords  = 'Barbara+Schmid-Federer%2C+Nationalrat%2C+CVP%2C+Wahlen%2C+Familienpolitik%2C+Internetkriminalitaet%2C+Elternschaftsurlaub%2C+Chatroom%2C+Kinderhilfe+Bethlehem%2C+Selbstversuch%2C+Chatroom%2C+Chatten%2C+Sexuelle+Uebergriffe%2C+Pornografie+Internet%2C+Mobbing+im+Internet%2C+Schutz+vor+Internetgefahr.+Chat.+Schaugenau.+Cyber-Bullying%2C+Cyberbullying%2C+Cybermobbing%2C+Minarett%2C+Namensrecht%2C+Verdeckte+Ermittlung';
var metaContents  = 'Barbara+Schmid-Federer%3A+Liberal-Sozial+f%C3%BCr+Z%C3%BCrich.+Nationalr%C3%A4tin';
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();
};
