/* [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','4614',jdecode('Home'),jdecode(''),'/4614.html','true',[],'',''],
	['PAGE','4902',jdecode('G%C3%A4stebuch'),jdecode(''),'/4902/index.html','true',[ 
		['PAGE','4903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/4902/4903.html','false',[],'','']
	],'',''],
	['PAGE','14903',jdecode('Was+ist+CF%3F'),jdecode(''),'/14903/index.html','true',[ 
		['PAGE','14930',jdecode('B%C3%BCcher-Tip'),jdecode(''),'/14903/14930.html','true',[],'',''],
		['PAGE','14957',jdecode('Spenden%2FInfozeitschrift'),jdecode(''),'/14903/14957.html','true',[],'',''],
		['PAGE','15011',jdecode('Erfahrungsbericht'),jdecode(''),'/14903/15011.html','true',[],'','']
	],'',''],
	['PAGE','15038',jdecode('Forschung'),jdecode(''),'/15038.html','true',[],'',''],
	['PAGE','80909',jdecode('Aktuell-NEWS%21'),jdecode(''),'/80909.html','true',[],'',''],
	['PAGE','69522',jdecode('Video%28CF%29'),jdecode(''),'/69522.html','true',[],'',''],
	['PAGE','15065',jdecode('Links'),jdecode(''),'/15065.html','true',[],'',''],
	['PAGE','15092',jdecode('Kontakt%2FE-mail'),jdecode(''),'/15092/index.html','true',[ 
		['PAGE','15802',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/15092/15802.html','false',[],'',''],
		['PAGE','15119',jdecode('Impressum'),jdecode(''),'/15092/15119.html','true',[],'','']
	],'',''],
	['PAGE','15146',jdecode('%C3%9Cber+mich%21'),jdecode(''),'/15146/index.html','true',[ 
		['PAGE','15200',jdecode('Mein+Therapietag'),jdecode(''),'/15146/15200.html','true',[],'','']
	],'','']];
var siteelementCount=16;
theSitetree.topTemplateName='Flyer';
theSitetree.paletteFamily='003333';
theSitetree.keyvisualId='19';
theSitetree.keyvisualName='computer.jpg';
theSitetree.fontsetId='69';
theSitetree.graphicsetId='66';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='507979';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flyer',
				paletteFamily: 	'003333',
				keyvisualId: 	'19',
				keyvisualName: 	'computer.jpg',
				fontsetId: 		'69',
				graphicsetId: 	'66',
				contentColor: 	'FFFFFF',
				contentBGColor: '507979',
				a_color: 		'003333',
				b_color: 		'CCCCCC',
				c_color: 		'000000',
				d_color: 		'507979',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4614',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4902',
internalId:  '',
customField: '20040430-112642'
};
webappMappings['1002']=webappMappings['1002-4902ABW0X0INXXFO']={
webappId:    '1002',
documentId:  '4902',
internalId:  '4902ABW0X0INXXFO',
customField: 'icq=false'
};
webappMappings['1501']=webappMappings['1501-928000']={
webappId:    '1501',
documentId:  '4614',
internalId:  '928000',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4614',
internalId:  '',
customField: '20100419-153931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4903',
internalId:  '',
customField: '20040429-170957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14903',
internalId:  '',
customField: '20100123-172734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14930',
internalId:  '',
customField: '20041209-102317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14957',
internalId:  '',
customField: '20100124-175823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15011',
internalId:  '',
customField: '20100124-163238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15038',
internalId:  '',
customField: '20051002-125404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80909',
internalId:  '',
customField: '20091012-142336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69522',
internalId:  '',
customField: '20100714-175040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15065',
internalId:  '',
customField: '20100729-161008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15092',
internalId:  '',
customField: '20100419-154306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15802',
internalId:  '',
customField: '20040913-141354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15119',
internalId:  '',
customField: '20081006-162724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15146',
internalId:  '',
customField: '20080217-193729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15200',
internalId:  '',
customField: '20080627-103303'
};
webappMappings['7008']=webappMappings['7008-4926']={
webappId:    '7008',
documentId:  '15092',
internalId:  '4926',
customField: 'language:de;country:CH;'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXXFO';
var companyName   = 'www.muko-life.ch';
var htmlTitle	  = 'Leben+mit+Mukoviszidose-Cystische+Fibrose-Willkommen+auf++www.muko-life.ch';
var metaKeywords  = 'cystische+fibrose%2CGenkrankheit%2Cmukoviszidose%2CGentherapie%2CErbkrankheit%2CCystische+Fibrose%2CTobi%2CInselspital-Bern%2CTiefenauspital%2CDNA%2CGenforschung%2CLuzern%2CDNA%2Ccfch.ch%2CDF508%2CLumarel%2CPulmozyme%2Ctobramycin%2CRoche%2CNovartis%2C+Genentech%2CAKITA%2Cgensuisse.ch%2Cmillionaer%2Ce-Flow%2Cwww.pari.de%2Cmuko-life.ch%2Cwww.zueriwalkt.ch%2Cwww.bbbiotech.com%2Cwww.bbmedtech.com%2Cwww.bellevue.ch%2Cwww.mukoland.de%2Crnainterferenz%2Clungentransplantation%2Cgenvektor%2Cstammzellenforschung%2Cchromosom7%2Csabina+gallati%2Csomatische+gentherapie%2Ctherapeutisches+klonen%2Cwww.eflow.pari.de%2Cgenvektor%2Cnanotechnologie%2Clomucin%2Cmoli1901%2Cuhrglasn%C3%A4gel%2Ctrommelschlegelfinger%2Ckinderspital+luzern%2Cinhalation%2Cwww.ksl.ch%2Cazetronam%2Cazithromycin%2Ccf%2CCF%2Ccompound-heterozygot%2C405%2B1G-A%2Cspleissmutation%2Cmutation405%2B1G-A%2CTGFb1%2Cgentage.ch%2C';
var metaContents  = 'HEAD+TITLELeben+mit+Mukoviszidose%2FTITLE+META+NAME%3DAUTHOR+CONTENT%3DGuido+Felber+META+NAME%3DCOPYRIGHT+CONTENT%3DGuido+Felber+META+NAME%3DPUBLISHER-EMAIL+CONTENT%3Dmodemann%40yahoo.de+META+NAME%3DROBOTS+CONTENT%3Dindex%2Cfollow+META+NAME%3DDESCRIPTION+CONTENT%3DMukoviszidose%2CCystische+Fibrose%2CGentherapie%2CInselspital%2CKinderkrankheit%2CMukoland%2CErbkrankheit%2Cmultimillion%C3%A4r%2CTobi%2Cgensuisse%2Ce-flow%2CDF508%2Cwww.muko.info%2C405%2B1G-A%2CmutationdF508%2Cwww.zueriwalkt.ch%2Cguido+felber%2Cwww.bbbiotech.ch%2C+META+NAME%3DKEYWORDS+CONTENT%3Dcystische+fibrose%2FGenkrankheit%2Fmukoviszidose%2FGentherapie%2F+Erbkrankheit%2FCystische+Fibrose%2FTobi%2FInselspital-Bern%2FTiefenauspital%2CDNA%2FGenforschung%2FLuzern%2FDNA%2Fcfch.ch%2FDF508%2FLumarel%2FPulmozyme%2FTobramycin%2FRoche%2FNovartis%2F+Genentech%2FAKITA%2Fgensuisse.ch%2Fe-Flow%2Fwww.pari.de%2Fmuko-life.ch%2Fwww.zueriwalkt.ch%2Fwww.eFlow.pari.de%2Fwww.bbbiotech.com%2Fwww.gentage.ch%2Fwww.bbmedtech.com%2Fwww.bellevue.ch%2Flomucin%2Fwww.mukoland.de%2F+META+NAME%3DIDENTIFIER-URL+CONTENT%3Dwww.muko-life.ch+META+NAME%3DLanguage+CONTENT%3Dde+%21';
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();
};
