/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','43985',jdecode('News'),jdecode(''),'/43985.html','true',[],''],
	['PAGE','43747',jdecode('Wie+es+begann'),jdecode(''),'/43747.html','true',[],''],
	['PAGE','43690',jdecode('W%C3%BCrfe'),jdecode(''),'/43690.html','true',[],''],
	['PAGE','43819',jdecode('Neu+bei+den+Jawo-Sha%60s'),jdecode(''),'/43819.html','false',[],''],
	['PAGE','44054',jdecode('CH+Ibn+Ben+Kismet'),jdecode(''),'/44054.html','true',[],''],
	['PAGE','44045',jdecode('Jgd.CH+Inamee'),jdecode(''),'/44045.html','true',[],''],
	['PAGE','43596',jdecode('MCH+Jabal+'),jdecode(''),'/43596.html','true',[],''],
	['PAGE','43605',jdecode('MCH+Jashan+'),jdecode(''),'/43605.html','true',[],''],
	['PAGE','43913',jdecode('CH+Jawo-Khan+'),jdecode(''),'/43913.html','true',[],''],
	['PAGE','43587',jdecode('CH+Inika+'),jdecode(''),'/43587.html','true',[],''],
	['PAGE','43578',jdecode('CH+Isphahan+'),jdecode(''),'/43578.html','true',[],''],
	['PAGE','42354',jdecode('Fotoalbum'),jdecode(''),'/42354.html','false',[],''],
	['PAGE','43892',jdecode('Fotos'),jdecode(''),'/43892.html','true',[],''],
	['PAGE','43790',jdecode('G%C3%A4stebuch'),jdecode(''),'/43790/home.html','true',[ 
		['PAGE','43789',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43790/43789.html','true',[],'']
	],''],
	['PAGE','43345',jdecode('Kontakt'),jdecode(''),'/43345.html','true',[],''],
	['PAGE','44132',jdecode('Multimedia+Show+2'),jdecode(''),'/44132.html','false',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='E4E4E4';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33407';
theSitetree.graphicsetId='14270';
theSitetree.contentColor='F4F4F4';
theSitetree.contentBGColor='4B301E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'E4E4E4',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33407',
				graphicsetId: 	'14270',
				contentColor: 	'F4F4F4',
				contentBGColor: '4B301E',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120102-180117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43596',
internalId:  '',
customField: '20110717-213952'
};
webappMappings['1007']=webappMappings['1007-1139cca4121']={
webappId:    '1007',
documentId:  '42354',
internalId:  '1139cca4121',
customField: 'g.12eebjs3k.15oe96bd0j.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42354',
internalId:  '',
customField: '20081009-185537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43819',
internalId:  '',
customField: '20090525-222730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43747',
internalId:  '',
customField: '20090805-160807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43345',
internalId:  '',
customField: '20090125-194940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43578',
internalId:  '',
customField: '20100109-210841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43605',
internalId:  '',
customField: '20090725-103155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43587',
internalId:  '',
customField: '20090112-210208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43913',
internalId:  '',
customField: '20100509-172351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43690',
internalId:  '',
customField: '20090805-155409'
};
webappMappings['1002']=webappMappings['1002-43790atoix0i7vcyq']={
webappId:    '1002',
documentId:  '43790',
internalId:  '43790atoix0i7vcyq',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43790atoix0i7vcyq']={
webappId:    '1002',
documentId:  '43789',
internalId:  '43790atoix0i7vcyq',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43790',
internalId:  '',
customField: '20081120-215621'
};
webappMappings['7060']=webappMappings['7060-c860042474eec887e87c6c15c910fe29']={
webappId:    '7060',
documentId:  '43892',
internalId:  'c860042474eec887e87c6c15c910fe29',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43892',
internalId:  '',
customField: '20081225-163842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43789',
internalId:  '',
customField: '20081120-215621'
};
webappMappings['7060']=webappMappings['7060-0cff6096f1428101d781ac643f2cb5d5']={
webappId:    '7060',
documentId:  '44132',
internalId:  '0cff6096f1428101d781ac643f2cb5d5',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43985',
internalId:  '',
customField: '20110910-230416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44054',
internalId:  '',
customField: '20110718-184019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44045',
internalId:  '',
customField: '20091223-204924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44132',
internalId:  '',
customField: '20091213-154102'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7VCYQ';
var companyName   = 'AFGHANEN+DE+JAWO-SHA';
var htmlTitle	  = 'AFGHANEN+DE+JAWO-SHA';
var metaKeywords  = '++';
var metaContents  = '++';
					                                                                    
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 */					                                                            

