/* [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','44',jdecode('Indien'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41133',jdecode('Impressum'),jdecode(''),'/41133.html','true',[],''],
	['PAGE','41440',jdecode('Leseprobe'),jdecode(''),'/41440.html','true',[],''],
	['PAGE','41036',jdecode('Diaschau+und+Buch'),jdecode(''),'/41036.html','true',[],''],
	['PAGE','41027',jdecode('Wunder+Indien'),jdecode(''),'/41027/home.html','true',[ 
		['PAGE','41045',jdecode('Technik'),jdecode(''),'/41027/41045.html','true',[],''],
		['PAGE','41063',jdecode('Gebrauchtger%C3%A4te'),jdecode(''),'/41027/41063.html','true',[],'']
	],''],
	['PAGE','41018',jdecode('Naturgeschichte'),jdecode(''),'/41018/home.html','true',[ 
		['PAGE','41072',jdecode('Angebot'),jdecode(''),'/41018/41072.html','true',[],'']
	],''],
	['PAGE','41054',jdecode('Inhaltsangabe'),jdecode(''),'/41054.html','true',[],''],
	['PAGE','41093',jdecode('G%C3%A4stebuch'),jdecode(''),'/41093/home.html','true',[ 
		['PAGE','41092',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41093/41092.html','true',[],'']
	],''],
	['PAGE','41142',jdecode('Kontakt'),jdecode(''),'/41142/home.html','true',[ 
		['PAGE','41275',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/41142/41275.html','false',[],'']
	],''],
	['PAGE','41634',jdecode('Links'),jdecode(''),'/41634/home.html','true',[ 
		['PAGE','60993',jdecode('PartnerSeiten'),jdecode(''),'/41634/60993.html','true',[],'']
	],''],
	['PAGE','41850',jdecode('Indian+Railways'),jdecode(''),'/41850/home.html','true',[ 
		['PAGE','41905',jdecode('Bahngeschichte'),jdecode(''),'/41850/41905.html','true',[],''],
		['PAGE','41923',jdecode('Bahn-Reisetipps'),jdecode(''),'/41850/41923.html','true',[],'']
	],''],
	['PAGE','46493',jdecode('Rundreise+Indien'),jdecode(''),'/46493.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='FF9F21';
theSitetree.keyvisualId='2224';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='364';
theSitetree.graphicsetId='418';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FF9F21';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'FF9F21',
				keyvisualId: 	'2224',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'364',
				graphicsetId: 	'418',
				contentColor: 	'000000',
				contentBGColor: 'FF9F21',
				a_color: 		'FF9F21',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41093atoix0inv598']={
webappId:    '1002',
documentId:  '41093',
internalId:  '41093atoix0inv598',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41093atoix0inv598']={
webappId:    '1002',
documentId:  '41092',
internalId:  '41093atoix0inv598',
customField: 'action=list'
};
webappMappings['1001']=webappMappings['1001-atoix0inv598105a5e600df']={
webappId:    '1001',
documentId:  '41142',
internalId:  'atoix0inv598105a5e600df',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv598105a5e600df']={
webappId:    '1001',
documentId:  '41275',
internalId:  'atoix0inv598105a5e600df',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090509-063900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41133',
internalId:  '',
customField: '20090310-115956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41440',
internalId:  '',
customField: '20110401-131507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41036',
internalId:  '',
customField: '20110401-132016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41027',
internalId:  '',
customField: '20100319-083956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41018',
internalId:  '',
customField: '20100405-183824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20110401-132659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41054',
internalId:  '',
customField: '20110401-132737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41093',
internalId:  '',
customField: '20050813-113616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41142',
internalId:  '',
customField: '20090318-152243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41634',
internalId:  '',
customField: '20110401-133118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41850',
internalId:  '',
customField: '20110401-133250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41923',
internalId:  '',
customField: '20100404-102124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41905',
internalId:  '',
customField: '20110401-133512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41092',
internalId:  '',
customField: '20050809-104255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41045',
internalId:  '',
customField: '20091015-131014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41063',
internalId:  '',
customField: '20110401-144222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20050811-161625'
};
webappMappings['1007']=webappMappings['1007-113cd775b8e']={
webappId:    '1007',
documentId:  '46493',
internalId:  '113cd775b8e',
customField: 'g.12f6mkla0.937b5us2lj.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46493',
internalId:  '',
customField: '20100102-144058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60993',
internalId:  '',
customField: '20100822-083338'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INV598';
var companyName   = 'Friedrich+Kelm';
var htmlTitle	  = 'Naturgeschichte+Indiens+-+Indische+Eisenbahn+-+Wunder+Indien+Diaschau';
var metaKeywords  = 'Friedrich+Kelm+Indien+Natur+Naturgeschichte+Indiens+indische+Eisenbahn+Indian+Railways+Wunder+Indien+Rundreise+mit+der+Eisenbahn+Diaschau+Live-Dia-Show+Diashow+Dia-Multivision+Reisebericht+Bahnreise-Tipps+Monsun+Taj+Mahal+Tiger';
var metaContents  = 'Diplom-Biologe+Friedrich+Kelm+bereist+seit+1986+Indien%2C+erhielt+dort+die+Idee+zum+Buch+NATURGESCHICHTE+INDIENS%2C+Leseprobe%3A+GEBURT+des+modernen+MONSUN+sowie+Motive+zur+WUNDER+INDIEN+DIASCHAU.';
					                                                                    
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) {														 
    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();
}
/* EOF */					                                                            

