/* [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','4579',jdecode('Willkommen'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13701',jdecode('Der+Mann+am+Stift'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13706',jdecode('Geschichtsstunde'),jdecode(''),'/13706.html','true',[],''],
	['PAGE','24123',jdecode('M%C3%B6ppels+Bildergalerie'),jdecode(''),'/24123.html','true',[],''],
	['PAGE','24128',jdecode('Vangers+World'),jdecode(''),'/24128.html','true',[],''],
	['PAGE','24133',jdecode('Dar%C3%BCber+lacht+der+M%C3%B6ppel'),jdecode(''),'/24133.html','true',[],''],
	['PAGE','143801',jdecode('M%C3%B6ppels+Spielh%C3%B6lle'),jdecode(''),'/143801.html','true',[],''],
	['PAGE','24138',jdecode('Downloads'),jdecode(''),'/24138.html','true',[],''],
	['PAGE','64606',jdecode('G%C3%A4stebuch'),jdecode(''),'/64606/home.html','true',[ 
		['PAGE','64601',jdecode('Eintr%C3%A4ge'),jdecode(''),'/64606/64601.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Puzzle02';
theSitetree.paletteFamily='5E7ABF';
theSitetree.keyvisualId='10856';
theSitetree.keyvisualName='kv_10856.jpg';
theSitetree.fontsetId='31865';
theSitetree.graphicsetId='13664';
theSitetree.contentColor='DCE5FC';
theSitetree.contentBGColor='5E7ABF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Puzzle02',
				paletteFamily: 	'5E7ABF',
				keyvisualId: 	'10856',
				keyvisualName: 	'kv_10856.jpg',
				fontsetId: 		'31865',
				graphicsetId: 	'13664',
				contentColor: 	'DCE5FC',
				contentBGColor: '5E7ABF',
				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['1002']=webappMappings['1002-64606atoix0in2muz']={
webappId:    '1002',
documentId:  '64601',
internalId:  '64606atoix0in2muz',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20090104-023015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100117-183234'
};
webappMappings['1002']=webappMappings['1002-64606atoix0in2muz']={
webappId:    '1002',
documentId:  '64606',
internalId:  '64606atoix0in2muz',
customField: 'action=form&icq=false'
};
webappMappings['1501']=webappMappings['1501-11234441']={
webappId:    '1501',
documentId:  '4579',
internalId:  '11234441',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13706',
internalId:  '',
customField: '20090924-112258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24123',
internalId:  '',
customField: '20100117-183422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24128',
internalId:  '',
customField: '20090104-130159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24133',
internalId:  '',
customField: '20100117-183553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24138',
internalId:  '',
customField: '20091025-211444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143801',
internalId:  '',
customField: '20090924-115757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64606',
internalId:  '',
customField: '20081014-224324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64601',
internalId:  '',
customField: '20060911-233148'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2MUZ';
var companyName   = 'Willkommen+auf+M%C3%B6ppelmania';
var htmlTitle	  = 'M%C3%B6ppelmania';
var metaKeywords  = 'Moeppel%2C+M%C3%B6ppel%2C+M%C3%B6ppelmania+%2C+Moeppelmania+%2C+Der+M%C3%B6ppel+%2C+Der+Moeppel+%2C+Vanger+%2C+hawque+%2C+dj+hawque+%2C+Steckbrief+%2C+gratis+downloads+%2C+downloads+%2C++funny%2C+M%C3%B6ppel+%2C+Comic%2C+Funpics+%2C+Free+%2C+Moeppel+%2C+Horrorfilme+%2C+Gedanken+%2C+Dj+Hawque+%2C+Tod+%2C+Weihnachten+%2C+Kaputt+%2C+Schr%C3%A4g+%2C+Witzig+%2C+neue+Bilder+%2C+Verr%C3%BCckt+%2C+Crazy+%2C+Radio+%2C+Webradio+%2C++beifreunden.com+%2C+Vangers+M%C3%B6ppel%2C+bei+Freunden+%2C+abgedreht%2C+Gratis+Downloads%2C+Gnom%2C+Blauer+Gnom%2C+Gnomshow%2C+verr%C3%BCckt+%2C+Ideen+%2C+1993+%2C+Erfunden+%2C+Sch%C3%B6pfer+%2C+cool+%2C+Funvideo+%2C+Filmintro+%2C+Schwanz+%2C+bekloppt+%2C+Comics+%2C+unver%C3%B6ffentlicht+%2C+brandneu+%2C+zeichnungen+%2C+Batm%C3%B6ppel+%2C+Schwanz-robin+%2C+Erste+Schritte+%2C+geschichte+%2C+Anf%C3%A4nge+%2C+Maskottchen';
var metaContents  = 'Die+ganze+Welt+des+M%C3%B6ppels+gebunden+in+den+unendlichen+Weiten+des+Internets.+Wer+den+Vanger+mochte%2C+wird+den+M%C3%B6ppel+lieben+%21';
					                                                                    
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 */					                                                            
