/* [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','3622',jdecode('Home'),jdecode(''),'/3622.html','true',[],'',''],
	['PAGE','3860',jdecode('Studienreisen'),jdecode(''),'/3860/index.html','true',[ 
		['PAGE','13614',jdecode('Indien'),jdecode(''),'/3860/13614.html','true',[],'',''],
		['PAGE','13641',jdecode('Himalaya+-+Tibet'),jdecode(''),'/3860/13641.html','true',[],'',''],
		['PAGE','13668',jdecode('China+-+Seidenstrasse'),jdecode(''),'/3860/13668.html','true',[],'',''],
		['PAGE','128359',jdecode('Mongolei'),jdecode(''),'/3860/128359.html','true',[],'',''],
		['PAGE','13695',jdecode('S%C3%BCdostasien+-+Korea'),jdecode(''),'/3860/13695.html','true',[],'',''],
		['PAGE','14751',jdecode('Zentralasien+-+Kaukasus'),jdecode(''),'/3860/14751.html','true',[],'',''],
		['PAGE','128377',jdecode('Persien+-+T%C3%BCrkei'),jdecode(''),'/3860/128377.html','true',[],'',''],
		['PAGE','128386',jdecode('Marokko+-+Saudi+Arabien+-+Syrien++-+Jordanien'),jdecode(''),'/3860/128386.html','true',[],'',''],
		['PAGE','129607',jdecode('%C3%84thiopien'),jdecode(''),'/3860/129607.html','true',[],'',''],
		['PAGE','135471',jdecode('Istanbul+-+Stopover'),jdecode(''),'/3860/135471.html','true',[],'','']
	],'',''],
	['PAGE','3887',jdecode('Sonderreisen'),jdecode(''),'/3887.html','true',[],'',''],
	['PAGE','3833',jdecode('Individualreisen'),jdecode(''),'/3833/index.html','true',[ 
		['PAGE','159401',jdecode('S%C3%BCdostasien'),jdecode(''),'/3833/159401.html','true',[],'',''],
		['PAGE','161301',jdecode('Himalaya+-+Tibet+-+China'),jdecode(''),'/3833/161301.html','true',[],'',''],
		['PAGE','161322',jdecode('Orient'),jdecode(''),'/3833/161322.html','true',[],'','']
	],'',''],
	['PAGE','157001',jdecode('Reisen+mit+Dr.+Charlotte+Peter'),jdecode(''),'/157001.html','true',[],'',''],
	['PAGE','3914',jdecode('Frauenreisen'),jdecode(''),'/3914/index.html','true',[ 
		['PAGE','135439',jdecode('Kirigisen'),jdecode(''),'/3914/135439.html','true',[],'','']
	],'',''],
	['PAGE','130581',jdecode('Familienstudienreisen'),jdecode(''),'/130581.html','true',[],'',''],
	['PAGE','135609',jdecode('Letzte+Pl%C3%A4tze+-+Jetzt+buchen'),jdecode(''),'/135609.html','true',[],'',''],
	['PAGE','131400',jdecode('Download+Katalog'),jdecode(''),'/131400.html','true',[],'',''],
	['PAGE','3941',jdecode('Vortr%C3%A4ge'),jdecode(''),'/3941.html','true',[],'',''],
	['PAGE','4103',jdecode('Kontakt'),jdecode(''),'/4103/index.html','true',[ 
		['PAGE','82917',jdecode('Kontakt+%28Form+followup+page%29'),jdecode(''),'/4103/82917.html','false',[],'',''],
		['PAGE','4157',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/4103/4157.html','true',[],'',''],
		['PAGE','4184',jdecode('Unser+Team'),jdecode(''),'/4103/4184.html','true',[],'',''],
		['PAGE','77213',jdecode('So+finden+Sie+uns'),jdecode(''),'/4103/77213.html','true',[],'','']
	],'',''],
	['PAGE','36308',jdecode('Links'),jdecode(''),'/36308.html','true',[],'',''],
	['PAGE','120332',jdecode('Ihre+Sicherheit+%26+Gesundheit'),jdecode(''),'/120332/index.html','true',[ 
		['PAGE','4130',jdecode('Reisegarantie'),jdecode(''),'/120332/4130.html','false',[],'',''],
		['PAGE','3995',jdecode('Versicherung'),jdecode(''),'/120332/3995.html','false',[],'',''],
		['PAGE','121136',jdecode('Allg.+%C3%BCber+Impfungen'),jdecode(''),'/120332/121136.html','false',[],'',''],
		['PAGE','121163',jdecode('Malaria-Prophylaxe'),jdecode(''),'/120332/121163.html','false',[],'',''],
		['PAGE','121190',jdecode('W%C3%A4hrend+des+Fluges+zu+beachten'),jdecode(''),'/120332/121190.html','false',[],'',''],
		['PAGE','121217',jdecode('Kleine+Reiseapotheke'),jdecode(''),'/120332/121217.html','false',[],'',''],
		['PAGE','121244',jdecode('Frau+Dr.+Claudia+Sigg-Farner'),jdecode(''),'/120332/121244.html','false',[],'','']
	],'',''],
	['PAGE','130275',jdecode('Blog+Film+Presse'),jdecode(''),'/130275/index.html','true',[ 
		['PAGE','166401',jdecode('Revolution+der+Herzen'),jdecode(''),'/130275/166401.html','false',[],'',''],
		['PAGE','166801',jdecode('TIBET+-+Abenteuer+auf+Schienen'),jdecode(''),'/130275/166801.html','false',[],'',''],
		['PAGE','167401',jdecode('Blog+Tibet'),jdecode(''),'/130275/167401.html','false',[],'',''],
		['PAGE','168001',jdecode('Armenien'),jdecode(''),'/130275/168001.html','false',[],'',''],
		['PAGE','169701',jdecode('Indien+Bangladesch+Pakistan'),jdecode(''),'/130275/169701.html','false',[],'','']
	],'','']];
var siteelementCount=44;
theSitetree.topTemplateName='Process';
theSitetree.paletteFamily='000004';
theSitetree.keyvisualId='12220';
theSitetree.keyvisualName='kv_12220.jpg';
theSitetree.fontsetId='33346';
theSitetree.graphicsetId='14217';
theSitetree.contentColor='AC4445';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Process',
				paletteFamily: 	'000004',
				keyvisualId: 	'12220',
				keyvisualName: 	'kv_12220.jpg',
				fontsetId: 		'33346',
				graphicsetId: 	'14217',
				contentColor: 	'AC4445',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1009']=webappMappings['1009-4951518']={
webappId:    '1009',
documentId:  '82917',
internalId:  '4951518',
customField: 'isFollowupPage:true;documentId:4103;'
};
webappMappings['7008']=webappMappings['7008-1593']={
webappId:    '7008',
documentId:  '4103',
internalId:  '1593',
customField: 'language:de;country:CH;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '3622',
internalId:  '1006',
customField: '1006'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '77213',
internalId:  'routing',
customField: 'de_CH'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '166401',
internalId:  '',
customField: '20100707-164228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3622',
internalId:  '',
customField: '20100316-123759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4157',
internalId:  '',
customField: '20090623-080121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4184',
internalId:  '',
customField: '20100820-133809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3860',
internalId:  '',
customField: '20100224-134055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13614',
internalId:  '',
customField: '20100225-133400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13641',
internalId:  '',
customField: '20100715-125017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13668',
internalId:  '',
customField: '20100226-175149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128359',
internalId:  '',
customField: '20091225-110912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13695',
internalId:  '',
customField: '20100226-175222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14751',
internalId:  '',
customField: '20100719-143340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128377',
internalId:  '',
customField: '20100226-123841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128386',
internalId:  '',
customField: '20100226-124046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129607',
internalId:  '',
customField: '20091225-112627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3887',
internalId:  '',
customField: '20100420-120217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3914',
internalId:  '',
customField: '20091211-120612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3833',
internalId:  '',
customField: '20100226-121735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130581',
internalId:  '',
customField: '20100121-232047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131400',
internalId:  '',
customField: '20091026-171230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3941',
internalId:  '',
customField: '20100116-150812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4103',
internalId:  '',
customField: '20090608-170619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82917',
internalId:  '',
customField: '20050211-214258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77213',
internalId:  '',
customField: '20090723-153727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3995',
internalId:  '',
customField: '20090608-170725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4130',
internalId:  '',
customField: '20090605-151428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36308',
internalId:  '',
customField: '20090703-125330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120332',
internalId:  '',
customField: '20090723-164041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121136',
internalId:  '',
customField: '20090608-171302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121163',
internalId:  '',
customField: '20090605-152305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121190',
internalId:  '',
customField: '20090605-152358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121217',
internalId:  '',
customField: '20090608-171521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121244',
internalId:  '',
customField: '20090605-152724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130275',
internalId:  '',
customField: '20100821-183405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157001',
internalId:  '',
customField: '20100827-120254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '166801',
internalId:  '',
customField: '20100707-133149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135439',
internalId:  '',
customField: '20090723-164827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135471',
internalId:  '',
customField: '20090804-145946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159401',
internalId:  '',
customField: '20100226-174914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161301',
internalId:  '',
customField: '20100825-130719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161322',
internalId:  '',
customField: '20100827-124157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135609',
internalId:  '',
customField: '20100819-140205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167401',
internalId:  '',
customField: '20100709-135439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168001',
internalId:  '',
customField: '20100709-072928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169701',
internalId:  '',
customField: '20100708-210945'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXX1T';
var companyName   = 'INDO+ORIENT+TOURS';
var htmlTitle	  = 'Indo+Orient+Tours+GmbH%2C+Reisen+f%C3%BCr+Anspruchsvolle%2C+Z%C3%BCrich';
var metaKeywords  = 'Tajikistan+Tadschikistan+massgeschneiderte+Reisen+nach+Tajikistan+tailor+made+tours+to+Tajikistan+with+the+tour+operator+of+first+hand+information+Indoculture%2C+Indo+Orient%2C+Reisebuero%2C+Urlaub%2C+Erholung%2C+Sonne%2C+Asien%2C+Afrika%2C+Orient%2C++Kurzreisen%2C+Kultur%2C+Kulturreisen%2C+Abenteuer%2C+Abenteuerreisen%2C+Tibet%2C+China%2C+Indien%2C+Myanmar%2C+Burma%2C+Vietnam%2C+Tuwa%2C+Sibirien%2C+Iran%2C+Syrien%2C+Irak%2C+Sudan%2C+Jordanien%2C+Jemen%2C+Usbekistan%2C+Uzbekistan%2C+Kirgisien%2C+Kyrgistan%2C+Tadschikistan%2C+Turkmenistan%2C+Kasachstan%2C+Mongolei%2C+Mongolia%2C+Kailash%2C+Nepal%2C+India%2C+Uganda%2C+Zanzibar%2C+Gorilla+Trekking%2C+Nepal-Tibet%2C+Lhasa-Bahn%2C+Sikkim-Tibet%2C+Taiwan%2C+Suedkorea%2C+Suedkorea%2C+Korea%2C+Saudi+Arabien%2C+Reisen+nach+Taiwan%2C+China+Reisen%2C+China-Reisen%2C+Familienreisen%2C+Laos%2C+Vietnam%2C+Kambodscha%2C+Cambodia%2C+Minorit%EF%BF%BDten+Reisen%2C+Minoritaeten+Reisen%2C+Heilige+Berge+Chinas%2C+Indien+Reisen%2C+Rajasthan+Reisen%2C+Gujarat+Tribal+Tour%2C+UNESCO%2C+Weltkultur-Erbe%2C+Peter+Thiele+';
var metaContents  = 'Willkommen+beim+Reisebuero+Indo+Orient+%2F+Indoculture.+Ihr+Partner+fuer+die+schoenste+Zeit+des+Jahres.+Individualreisen+Reisen+nach+Mass+Kleingruppen%2C+Reisen+fuer+Anspruchsvolle+Ihre+Reise+massgeschneidert%2C+anspruchsvolle+Filmprojekte%2C+seit+1979+organisieren+wir+Gruppen-+und+Privatreisen%2C+UNESCO%2C+Weltkultur-Erbe';
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();
};
