/* [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','40967',jdecode('Home'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','40976',jdecode('Wir+gehen+auf+Kehle...'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','42217',jdecode('News'),jdecode(''),'/42217.html','true',[],''],
	['PAGE','42231',jdecode('Lese+und+lerne%21'),jdecode(''),'/42231.html','true',[],''],
	['PAGE','42256',jdecode('Frag+Luck'),jdecode(''),'/42256/home.html','true',[ 
		['PAGE','42487',jdecode('Archiv'),jdecode(''),'/42256/42487.html','true',[],'']
	],''],
	['PAGE','42610',jdecode('Comics+%2B+Linkliste'),jdecode(''),'/42610.html','true',[],''],
	['PAGE','42143',jdecode('G%C3%A4stebuch'),jdecode(''),'/42143/home.html','true',[ 
		['PAGE','42142',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42143/42142.html','true',[],'']
	],''],
	['PAGE','40985',jdecode('Impressum'),jdecode(''),'/40985.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Comedy';
theSitetree.paletteFamily='85A246';
theSitetree.keyvisualId='2792';
theSitetree.keyvisualName='wolke.jpg';
theSitetree.fontsetId='10422';
theSitetree.graphicsetId='10719';
theSitetree.contentColor='F2F5EA';
theSitetree.contentBGColor='9EBA61';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Comedy',
				paletteFamily: 	'85A246',
				keyvisualId: 	'2792',
				keyvisualName: 	'wolke.jpg',
				fontsetId: 		'10422',
				graphicsetId: 	'10719',
				contentColor: 	'F2F5EA',
				contentBGColor: '9EBA61',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'647C2F',
				e_color: 		'647C2F',
				f_color: 		'647C2F',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40967',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-42143atoix0i7rjf8']={
webappId:    '1002',
documentId:  '42143',
internalId:  '42143atoix0i7rjf8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42143atoix0i7rjf8']={
webappId:    '1002',
documentId:  '42142',
internalId:  '42143atoix0i7rjf8',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10cd7d4ebbd']={
webappId:    '1007',
documentId:  '42217',
internalId:  '10cd7d4ebbd',
customField: 'g.11jbsru49.12cklhrovvjg.3o'
};
webappMappings['1005']=webappMappings['1005-113f7cb0a5a.ee37b72d']={
webappId:    '1005',
documentId:  '42231',
internalId:  '113f7cb0a5a.ee37b72d',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-10d7343c018']={
webappId:    '1007',
documentId:  '42610',
internalId:  '10d7343c018',
customField: 'g.11lpjh722.1h16d3cij2og.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20070102-115616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42256',
internalId:  '',
customField: '20061220-123510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42487',
internalId:  '',
customField: '20061219-171455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20061220-122242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42217',
internalId:  '',
customField: '20080320-132027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42231',
internalId:  '',
customField: '20070724-134706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42610',
internalId:  '',
customField: '20081010-085731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42143',
internalId:  '',
customField: '20060808-091303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42142',
internalId:  '',
customField: '20060802-082857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20060803-181400'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7RJF8';
var companyName   = 'Lucky+%2B+ihre+Freunde';
var htmlTitle	  = 'Lucky+geht+auf+Kehle';
var metaKeywords  = 'Lucky%2C+Nelly%2C+Moritz%2C+Hunde%2C+Kehle%2C+Tiere%2C+Haustier%2C+Haustiere%2C+Tauchen%2C+freund%2C+lieb%2C+suess%2C+miksch%2C+mroseck%2C+liebe%2C+spass%2C+humor%2C+wuffi%2C+westi%2C+westhighland%2C+terrier%2C+Rambo%2C+kleine+hunde+gehen+auf+kehle%2C+westhiland%2C+withe%2C+cassy%2C+voting%2C+frag+luck%2C+beruehmte+letzte+worte%2C+comic%2C+fun%2C+witzig%2C+spass%2C+lustig';
var metaContents  = 'Willkommen+auf+der+Homepage+von+Lucky+und+ihren+Freunden.+Kleine+Hunde%2C+die+nur+auf+der+Suche+nach+ungeschuetzten+Kehlen+ihrer+potentiellen+Opfern+sind...Natuerlich+ist+diese+Seite+scherzhaft+zu+verstehen+und+soll+allen+Besuchern+nur+viel+Freude+bereiten.+Aktive+Elemente+laden+ein%2C+mitzumachen.+Witziges%2C+Comics%2C+viel+Spass+findet+ihr+auf+der+lustigen+Seite+von+Lucky.';
					                                                                    
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 */					                                                            

