/* [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','1346',jdecode('Hier+startet+gute+ServiceQualit%C3%A4t'),jdecode(''),'/1346.html','true',[],'',''],
	['PAGE','2601',jdecode('%C3%9Cber+ATAX'),jdecode(''),'/2601.html','true',[],'',''],
	['PAGE','4101',jdecode('Fassadenreinigung+in+ZH+%2B+AG'),jdecode(''),'/4101.html','true',[],'',''],
	['PAGE','33301',jdecode('Fassadenreinigung+mit+PuraQleen'),jdecode(''),'/33301.html','true',[],'',''],
	['PAGE','34601',jdecode('Fassadenreinigung+mit+Teleskopstange'),jdecode(''),'/34601.html','true',[],'',''],
	['PAGE','36301',jdecode('Fassadenreinigung+mit+Arbeitsb%C3%BChne'),jdecode(''),'/36301.html','true',[],'',''],
	['PAGE','38301',jdecode('Jalousienreinigung+in+ZH+%2B+AG'),jdecode(''),'/38301.html','true',[],'',''],
	['PAGE','39401',jdecode('Fensterladenreinigung+in+ZH+%2B+AG'),jdecode(''),'/39401.html','true',[],'',''],
	['PAGE','40901',jdecode('Rolladenreinigung+in+ZH+%2B+AG'),jdecode(''),'/40901.html','true',[],'',''],
	['PAGE','41301',jdecode('Markiesenreinigung%2C+Sonnenstorenreinigung'),jdecode(''),'/41301.html','true',[],'',''],
	['PAGE','30501',jdecode('Dachreinigung+in+ZH+%2B+AG'),jdecode(''),'/30501.html','true',[],'',''],
	['PAGE','4301',jdecode('Dachrinnen-Reinigung'),jdecode(''),'/4301.html','true',[],'',''],
	['PAGE','27101',jdecode('Solarreinigung%2C+Photovoltaik-Reinigung'),jdecode(''),'/27101.html','true',[],'',''],
	['PAGE','2643',jdecode('Wintergarten-Reinigung'),jdecode(''),'/2643.html','true',[],'',''],
	['PAGE','2901',jdecode('Glasreinigung+in+ZH+%2B+AG'),jdecode(''),'/2901.html','true',[],'',''],
	['PAGE','2622',jdecode('Fensterreinigung+in+ZH+%2B+AG'),jdecode(''),'/2622.html','true',[],'',''],
	['PAGE','3401',jdecode('Fr%C3%BChlings-Putzete+und+-R%C3%A4umung'),jdecode(''),'/3401.html','true',[],'',''],
	['PAGE','4001',jdecode('Seilunterst%C3%BCtzte+Arbeitstechnik'),jdecode(''),'/4001.html','true',[],'',''],
	['PAGE','4501',jdecode('Unsere+Arbeits-Techniken'),jdecode(''),'/4501.html','true',[],'',''],
	['PAGE','4522',jdecode('Unsere+Arbeits-Verfahren'),jdecode(''),'/4522.html','true',[],'',''],
	['PAGE','19001',jdecode('Unsere+weitere+Webseiten'),jdecode(''),'/19001.html','true',[],'',''],
	['PAGE','19022',jdecode('Unsere+Einsatzgebiete'),jdecode(''),'/19022.html','true',[],'',''],
	['PAGE','1441',jdecode('So+kontaktieren+Sie+uns'),jdecode(''),'/1441.html','true',[],'','']];
var siteelementCount=23;
theSitetree.topTemplateName='Pastel';
theSitetree.paletteFamily='D3F9AA';
theSitetree.keyvisualId='11250';
theSitetree.keyvisualName='kv_11250.jpg';
theSitetree.fontsetId='32128';
theSitetree.graphicsetId='13921';
theSitetree.contentColor='403f3f';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Pastel',
				paletteFamily: 	'D3F9AA',
				keyvisualId: 	'11250',
				keyvisualName: 	'kv_11250.jpg',
				fontsetId: 		'32128',
				graphicsetId: 	'13921',
				contentColor: 	'403f3f',
				contentBGColor: 'FFFFFF',
				a_color: 		'D3F9AA',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4101',
internalId:  '',
customField: '20100719-065724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2901',
internalId:  '',
customField: '20100719-083155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3401',
internalId:  '',
customField: '20100719-084406'
};
webappMappings['7008']=webappMappings['7008-4912']={
webappId:    '7008',
documentId:  '1441',
internalId:  '4912',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1346',
internalId:  '',
customField: '20100719-065255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4301',
internalId:  '',
customField: '20100719-082822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2622',
internalId:  '',
customField: '20100719-083402'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1346',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2601',
internalId:  '',
customField: '20100719-065451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1441',
internalId:  '',
customField: '20100720-175507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4001',
internalId:  '',
customField: '20100719-084449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4501',
internalId:  '',
customField: '20100719-084654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4522',
internalId:  '',
customField: '20100719-120722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2643',
internalId:  '',
customField: '20100719-083040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20101102-123404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19022',
internalId:  '',
customField: '20100719-121028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20100719-082939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30501',
internalId:  '',
customField: '20100719-082734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33301',
internalId:  '',
customField: '20100719-070149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34601',
internalId:  '',
customField: '20100719-070306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36301',
internalId:  '',
customField: '20100719-070431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38301',
internalId:  '',
customField: '20100719-072554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39401',
internalId:  '',
customField: '20100719-082431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20100719-082520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20100719-082627'
};
var canonHostname = 'wsc02.webland.ch';
var accountId     = 'AWB010IN2WCR';
var companyName   = 'www.Fassadenreinigung-Fensterreinigung-in-Zuerich-und-Aargau.ch+++++++++++++++++++++++++++++++++atax.suisse%40gmail.com';
var htmlTitle	  = 'Fassadenreinigung%2C+Fensterreinigung%2C+Glasreinigung++in+Z%C3%BCrich+und+Aargau+CH';
var metaKeywords  = 'Reinigung+von+Fenster+Fassade+Glas+Fassaden+Fassadenreinigung+Fensterreinigung+Lamellen+Rollladen+Fensterstoren+Fensterladen+Fassade+Alusfassade+Klinkerfassade+Steinfassade+Putzfassade+Glassfassade+Glassreinigung+Dachrinnen+Reinigung+Jalousien+Gardinen+Markisen+Wintergarten+Fensterrahmen+reinigen+putzen+waschen+abstauben+Hochdruck+reinigen+Trockeneis+Aargau+Aarau+Winterthur+Pf%C3%A4ffikon+Solothurn+Basel+Baselland+Basel-Landschaft+Basel-Stadt+Bern+Luzern+Schwyz+Glarus+Graub%C3%BCnden+Zug+St.Gallen+Solothurn+Schaffhausen+Thurgau+Cham+Baar+Lenzburg+Brugg+Baden+Spreitenbach+Z%C3%BCrich+ZH+AG+TG+ZG+SH+SZ+SG+BL+BS+BE+SO+GR+GL+';
var metaContents  = 'Fassadenreinigung%2C+Fensterreinigung+in+Z%C3%BCrich+und+Aargau.+ATAX+reinigt+professionell+Ihre+Lamellen+Markisen+Fensterladen+Jalousien+Rolladen+B%C3%BCrofenster+Dachrinnen+Wintergarten+Glas+Fenster+Fassade+Reinigung+Aargau+Aarau+Winterthur+Pf%C3%A4ffikon+Solothurn+Basel+Baselland+Basel-Landschaft+Basel-Stadt+Bern+Luzern+Schwyz+Glarus+Graub%C3%BCnden+Zug+St.Gallen+Solothurn+Schaffhausen+Thurgau+Cham+Baar+Lenzburg+Brugg+Baden+Spreitenbach+Z%C3%BCrich+ZH+AG+TG+ZG+SH+SZ+SG+BL+BS+BE+SO+GR+GL+';
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();
};

