/* [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','4606',jdecode('Home'),jdecode(''),'/4606.html','true',[],'',''],
	['PAGE','12828',jdecode('Ueber+uns+...'),jdecode(''),'/12828.html','true',[],'',''],
	['PAGE','4663',jdecode('Ferien+und+Reisemobile'),jdecode(''),'/4663.html','true',[],'',''],
	['PAGE','6128',jdecode('Vermietung+Womo%26%23x27%3Bs'),jdecode(''),'/6128.html','true',[],'',''],
	['PAGE','115101',jdecode('Aktionen+%2F+News'),jdecode(''),'/115101.html','true',[],'',''],
	['PAGE','24229',jdecode('Verkauf++Neufahrzeuge'),jdecode(''),'/24229.html','true',[],'',''],
	['PAGE','47454',jdecode('Innovativ++-%3E+CHAUSSON'),jdecode(''),'/47454/index.html','true',[ 
		['PAGE','84401',jdecode('-+Fotogallerie+CHAUSSON'),jdecode(''),'/47454/84401.html','true',[],'','']
	],'',''],
	['PAGE','152001',jdecode('Attraktiv+-%3E+BAVARIA'),jdecode(''),'/152001/index.html','true',[ 
		['PAGE','161601',jdecode('-+ARCTIC'),jdecode(''),'/152001/161601.html','true',[],'',''],
		['PAGE','161622',jdecode('-+BALTIC'),jdecode(''),'/152001/161622.html','true',[],'',''],
		['PAGE','161643',jdecode('-+FJORD'),jdecode(''),'/152001/161643.html','true',[],'',''],
		['PAGE','157901',jdecode('-+Fotogallerie+BAVARIA'),jdecode(''),'/152001/157901.html','true',[],'','']
	],'',''],
	['PAGE','143201',jdecode('F%C3%BCr+%22Junge%22+-%3E+MOOVEO'),jdecode(''),'/143201.html','true',[],'',''],
	['PAGE','90301',jdecode('Individuell+-%3E+BUROW'),jdecode(''),'/90301/index.html','true',[ 
		['PAGE','139001',jdecode('-+Fotos+Burow+VIP+600+L'),jdecode(''),'/90301/139001.html','true',[],'','']
	],'',''],
	['PAGE','47399',jdecode('Integriert+-%3E+ITINEO'),jdecode(''),'/47399.html','true',[],'',''],
	['PAGE','8345',jdecode('Verkauf++Occasionen'),jdecode(''),'/8345.html','true',[],'',''],
	['PAGE','130701',jdecode('Werkstatt'),jdecode(''),'/130701.html','true',[],'',''],
	['PAGE','122901',jdecode('Partner+%2F+Links'),jdecode(''),'/122901.html','true',[],'',''],
	['PAGE','108101',jdecode('Anfrage'),jdecode(''),'/108101.html','true',[],'',''],
	['PAGE','88901',jdecode('Wo+finden+Sie+uns+%3F'),jdecode(''),'/88901.html','true',[],'','']];
var siteelementCount=22;
theSitetree.topTemplateName='Delphi';
theSitetree.paletteFamily='652825';
theSitetree.keyvisualId='7552';
theSitetree.keyvisualName='kv_7552.jpg';
theSitetree.fontsetId='16660';
theSitetree.graphicsetId='12223';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='818181';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Delphi',
				paletteFamily: 	'652825',
				keyvisualId: 	'7552',
				keyvisualName: 	'kv_7552.jpg',
				fontsetId: 		'16660',
				graphicsetId: 	'12223',
				contentColor: 	'FFFFFF',
				contentBGColor: '818181',
				a_color: 		'424242',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4606',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-dc863d0583162e0e980469cf874cab3b']={
webappId:    '7060',
documentId:  '84401',
internalId:  'dc863d0583162e0e980469cf874cab3b',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115101',
internalId:  '',
customField: '20100215-234505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12828',
internalId:  '',
customField: '20100802-174358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4606',
internalId:  '',
customField: '20100810-140023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161643',
internalId:  '',
customField: '20100802-173739'
};
webappMappings['1501']=webappMappings['1501-12888675']={
webappId:    '1501',
documentId:  '4606',
internalId:  '12888675',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161601',
internalId:  '',
customField: '20100802-160632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4663',
internalId:  '',
customField: '20100729-144845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6128',
internalId:  '',
customField: '20100802-225031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24229',
internalId:  '',
customField: '20100806-222044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47454',
internalId:  '',
customField: '20100729-143006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84401',
internalId:  '',
customField: '20090718-172530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47399',
internalId:  '',
customField: '20100803-220335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90301',
internalId:  '',
customField: '20100805-090601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8345',
internalId:  '',
customField: '20100812-164206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161622',
internalId:  '',
customField: '20100802-160929'
};
webappMappings['7008']=webappMappings['7008-578']={
webappId:    '7008',
documentId:  '108101',
internalId:  '578',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88901',
internalId:  '',
customField: '20100804-173655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108101',
internalId:  '',
customField: '20091115-144611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157901',
internalId:  '',
customField: '20100711-201221'
};
webappMappings['7060']=webappMappings['7060-50d5bbaf0672969b825d1a8a4ad18b1f']={
webappId:    '7060',
documentId:  '157901',
internalId:  '50d5bbaf0672969b825d1a8a4ad18b1f',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152001',
internalId:  '',
customField: '20100805-090747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143201',
internalId:  '',
customField: '20100806-174333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139001',
internalId:  '',
customField: '20100221-230602'
};
webappMappings['7060']=webappMappings['7060-ac90bb6c75cc443acb9c8aaf3807a29b']={
webappId:    '7060',
documentId:  '139001',
internalId:  'ac90bb6c75cc443acb9c8aaf3807a29b',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130701',
internalId:  '',
customField: '20100204-152722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122901',
internalId:  '',
customField: '20091230-180501'
};
var canonHostname = 'webomat02.hostpoint.ch';
var accountId     = 'AHOPT0IN3OQZ';
var companyName   = 'FORSTER-Wohnmobile+GmbH';
var htmlTitle	  = 'Verkauf+und+Vermietung+von+Chausson%2C+Bavaria%2C+Mooveo+und+Burow-Wohnmobilen';
var metaKeywords  = 'Wohnmobile%2C+Reisemobile%2C+Camper%2C+Wohnmobil%2C+Reisemobil%2C+Verkauf%2C+mieten%2C+vermieten%2C+Vermietung%2C+Wohnmobil-Vermietung%2C+Wohnmobilanbieter%2C+Forster%2C+Holidays%2C+Itineo%2C+Mooveo%2C+Bavaria%2C+Pilote%2C+Rapido%2C+Rimor%2C+XGO%2C+Campingbus%2C+Camping-Car%2C+Mietcamper%2C+Camper-Pool%2C+Mietbedingungen%2C+Langzeitmieten%2C+Kompakt-Camper%2C+Compact-Camper%2C+Compact-Reisemobil%2C+Occasionen%2C+gebrauchte+Wohnmobile%2C+gebrauchte+Camper%2C+Schweiz%2C+Ostschweiz%2C+Winterthur%2C+Z%C3%BCrich%2C+Neftenbach%2C+Alkoven%2C+Teilintegrierte%2C+Integrierte%2C+Vollintegrierte%2C+Camping-Car%2C+Euro-Kurs%2C+Chausson%2C+Flash%2C+Welcome%2C+Allegro%2C+Twist%2C+Hub-Bett.+Hubbetten%2C+Artic%2C+Batic%2C+Fjord%2C+Elektroscooter%2C+Ruf-Scooter%2C+Campingbus%2C+Werkstatt%2C+Service%2C+Einbauten%2C+Reparaturen';
var metaContents  = 'Verkauf+und+Vermietung+f%C3%BCr+Wohnmobile%2C+Reisemobile%2C+Camper%2C+Verkauf+von+Neufahrzeugen+und+Gebrauchten+%28Occasionen%29%3B+Fahrzeuge+von+Chausson%2C+Bavaria%2C+Mooveo+und+Burow%3B+Werkstatt+f%C3%BCr+Einbauten%2C+Reparaturen+und+Service%2C+Dichtigkeits-Kontrolle%2C+Zubeh%C3%B6r%2C+SAT-Anlage%2C+Elektroscooter%2C+Ruf-Scooter%2C+Elektro-Bikes%2C+Campingbus%2C+Schweiz%2C';
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();
};
