/* [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 theSitetree=[ 
	['PAGE','4599',jdecode('Home'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','4656',jdecode('TextKarriere'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','4683',jdecode('TextBusiness'),jdecode(''),'/4683/index.html','true',[ 
		['PAGE','34385',jdecode('News'),jdecode(''),'/4683/34385.html','true',[],'']
	],''],
	['PAGE','4791',jdecode('Referenzen'),jdecode(''),'/4791/index.html','true',[ 
		['PAGE','26305',jdecode('Auszug+Adaption-Redaktion'),jdecode(''),'/4791/26305.html','true',[],''],
		['PAGE','26964',jdecode('Auszug+Publireportagen'),jdecode(''),'/4791/26964.html','true',[],'']
	],''],
	['PAGE','12317',jdecode('Links'),jdecode(''),'/12317.html','true',[],''],
	['PAGE','15805',jdecode('Jobs'),jdecode(''),'/15805.html','true',[],''],
	['PAGE','20211',jdecode('Kontakt'),jdecode(''),'/20211/index.html','true',[ 
		['PAGE','28006',jdecode('Kontakt+%28Form+followup+page%29'),jdecode(''),'/20211/28006.html','false',[],'']
	],''],
	['PAGE','29405',jdecode('AGB'),jdecode(''),'/29405.html','true',[],''],
	['PAGE','24220',jdecode('EventForum'),jdecode(''),'/24220.html','true',[],''],
	['PAGE','26704',jdecode('G%C3%A4stebuch'),jdecode(''),'/26704/index.html','true',[ 
		['PAGE','26705',jdecode('Eintr%C3%A4ge'),jdecode(''),'/26704/26705.html','false',[],'']
	],''],
	['PAGE','30351',jdecode('News'),jdecode(''),'/30351/index.html','true',[ 
		['PAGE','34080',jdecode('Vorschau'),jdecode(''),'/30351/34080.html','true',[],'']
	],''],
	['PAGE','33646',jdecode('Mitgliedschaften'),jdecode(''),'/33646.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='2472';
theSitetree.keyvisualName='abendschule.jpg';
theSitetree.fontsetId='418';
theSitetree.graphicsetId='463';
theSitetree.contentColor='020E66';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				name: 			'Business',
				paletteFamily: 	'003366',
				keyvisualId: 	'2472',
				keyvisualName: 	'abendschule.jpg',
				fontsetId: 		'418',
				graphicsetId: 	'463',
				contentColor: 	'020E66',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				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['1009']=webappMappings['1009-6600267']={
webappId:    '1009',
documentId:  '28006',
internalId:  '6600267',
customField: 'isFollowupPage:true;documentId:20211;'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxebk10c61e7c4bb']={
webappId:    '1003',
documentId:  '24220',
internalId:  'abw0x0inxebk10c61e7c4bb',
customField: 'de:CH:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4656',
internalId:  '',
customField: '20060716-222459'
};
webappMappings['1002']=webappMappings['1002-26704ABW0X0INXEBK']={
webappId:    '1002',
documentId:  '26704',
internalId:  '26704ABW0X0INXEBK',
customField: 'icq=false'
};
webappMappings['7008']=webappMappings['7008-1526']={
webappId:    '7008',
documentId:  '20211',
internalId:  '1526',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20061021-191844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4683',
internalId:  '',
customField: '20061027-212815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34385',
internalId:  '',
customField: '20061027-215315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4791',
internalId:  '',
customField: '20061022-123627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26305',
internalId:  '',
customField: '20060502-153630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26964',
internalId:  '',
customField: '20060511-093712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12317',
internalId:  '',
customField: '20061104-082407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15805',
internalId:  '',
customField: '20060716-103842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20211',
internalId:  '',
customField: '20060511-095308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28006',
internalId:  '',
customField: '20060510-124632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29405',
internalId:  '',
customField: '20060714-011203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24220',
internalId:  '',
customField: '20060909-134855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26704',
internalId:  '',
customField: '20060502-123728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26705',
internalId:  '',
customField: '20060502-123728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30351',
internalId:  '',
customField: '20060902-133229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34080',
internalId:  '',
customField: '20061022-123933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33646',
internalId:  '',
customField: '20060717-001436'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXEBK';
var companyName   = 'Text+%2B+Konzept+in+Franz%C3%B6sisch';
var htmlTitle	  = 'Textevent+by+Nicole+Suter-Murard%2C+Text+%2B+Konzept+in+Franz%C3%B6sisch';
var metaKeywords  = 'Kommunikation+in+Franz%EF%BF%BDsisch%2CBusiness+Communication%2C+Ticketcorner%2C+Sunflyer%2C+Edelweiss+Air%2C+Energyday%2C+More%2C+Freizeitmagazin%2C+Gesch%EF%BF%BDftskommunikation%2C%EF%BF%BDbersetzungen+Deutsch+in+Franz%EF%BF%BDsisch%2C+Karriere%2C+Business%2C+Rega%2C+BASF+Schweiz%2C+Geberit%2C+Briefe%2C+Marketing%2C+Verkauf%2C+Gesch%EF%BF%BDftsbriefe%2C+Korrespondenz%2C+Werbung%2C+Briefe%2C+Bewerbungsschreiben%2C+Technik%2C+Bewerbungsbriefe%2C+Bewerbungen%2C+Pr%EF%BF%BDsentationen%2C+Arbeitszeugnisse%2C+Technik%2C+Fach%EF%BF%BDbersetzungen+in+Franz%EF%BF%BDsisch+von+technischen+Betriebsanleitungen%2C+Mailings%2C+Arbeitsbewilligungen%2C+Arbeitszeugnisse%2C+H%EF%BF%BDny+AG%2C+Advertising+Art+%2B+Ideas%2C+Adart%2C+franz%EF%BF%BDsische+%EF%BF%BDbersetzungen%2C+Nicole+Suter-Murard%2C+%EF%BF%BDbersetzungen+in+Franz%EF%BF%BDsisch%2C+Nicole+Suter%2C+%EF%BF%BDbersetzungen+in+Franz%EF%BF%BDsisch+von+Werbetexten%2C+Presseartikeln+in+franz%EF%BF%BDsisch%2C+B%EF%BF%BDcher%2C+Literatur%2C+Gutachten%2C+Beglaubigungen%2C+Schweiz%2C+Le+Petit+Larousse%2C+Le+Petit+Robert%2C+Redaktion+in+Franz%EF%BF%BDsisch%2C+Adaption+von+franz%EF%BF%BDsischen+Texten%2C+Schweizer+interkulturelle+Sprachbr%EF%BF%BDcke+zwischen+Deutschschweiz+und+Westschweiz%2C+Romandie%2C+Welschland%2C+Marketing+und+Kommunikation+in+Franz%EF%BF%BDsisch%2C+Verkaufsf%EF%BF%BDrderungsmassnahmen%2C+Marketingkonzepte+f%EF%BF%BDr+franz%EF%BF%BDsisch+sprechende+L%EF%BF%BDnder+in+Europa%2C+Afrika+und+Canada%2C+erfolgreiche+Management+Erfahrung+in+Industrie%2C+Maschinenbau%2C+Anlagenbau%2CSystembau%2CMehrwert%2Cschaffen%2C+Win-Win+Situation+leben%2C+begeisterte+Kunden%2CCRM%2C+Franz%EF%BF%BDsisch-interkulturelle-Br%EF%BF%BDcke-Schweiz%2CMarktpenetration%2C+zuverl%EF%BF%BDssig%2C+schnell%2C+exakt%2C+genau%2CMedien%2CPresse%2Ccostumer+relationship+management%2C+Medien%2C+Schweizer+Presseportal%2C+Schweizer+Werbung%2C+SW%2C+Schweizer+Texterinnen-++und+Texterverband+Script%2CMister+Schweiz%2C+Eventmagement%2C+Fundraising%2C+Filme%2CTixi%2C+Politik.+';
var metaContents  = 'Textevent+Nicole+Suter-Murard+-+Text+%2B+Konzept+in+Franz%EF%BF%BDsisch+-+HighTech+Franz%EF%BF%BDsisch+f%EF%BF%BDr+Karriere+und+Business%3A+%EF%BF%BDbersetzung+-+Redaktion+-+Adaption+-+Kommunikation+in+Franz%EF%BF%BDsisch';
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();
};
