/* [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('Willkommen'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40643',jdecode('%C3%9CBER+MICH'),jdecode(''),'/40643.html','true',[],''],
	['PAGE','40578',jdecode('STUBENTIGER'),jdecode(''),'/40578.html','true',[],''],
	['PAGE','40634',jdecode('UNSER+REICH'),jdecode(''),'/40634.html','true',[],''],
	['PAGE','40569',jdecode('BILDERGALERIE'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','40652',jdecode('ZU+VERMITTELN'),jdecode(''),'/40652.html','true',[],''],
	['PAGE','43374',jdecode('Zuhause+gefunden'),jdecode(''),'/43374.html','true',[],''],
	['PAGE','42742',jdecode('MEINE+BUNNYS'),jdecode(''),'/42742.html','true',[],''],
	['PAGE','42812',jdecode('IM+HERZEN'),jdecode(''),'/42812.html','true',[],''],
	['PAGE','40670',jdecode('Kontakt+%26+Links'),jdecode(''),'/40670.html','true',[],''],
	['PAGE','44575',jdecode('G%C3%A4stebuch'),jdecode(''),'/44575/home.html','true',[ 
		['PAGE','44574',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44575/44574.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'B5D3B5',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110125-141050'
};
webappMappings['1002']=webappMappings['1002-44575atoix0irwlas']={
webappId:    '1002',
documentId:  '44575',
internalId:  '44575atoix0irwlas',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20100616-074137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20101120-112740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42742',
internalId:  '',
customField: '20100616-075050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42812',
internalId:  '',
customField: '20100616-081328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40670',
internalId:  '',
customField: '20110504-131607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40643',
internalId:  '',
customField: '20100209-112756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43374',
internalId:  '',
customField: '20110504-125334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40652',
internalId:  '',
customField: '20110504-120416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40634',
internalId:  '',
customField: '20100530-132540'
};
webappMappings['1002']=webappMappings['1002-44575atoix0irwlas']={
webappId:    '1002',
documentId:  '44574',
internalId:  '44575atoix0irwlas',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-67970975']={
webappId:    '1501',
documentId:  '39994',
internalId:  '67970975',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44575',
internalId:  '',
customField: '20110504-131956'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRWLAS';
var companyName   = 'Edels+kleine+Tiger';
var htmlTitle	  = 'Katzenhomepage';
var metaKeywords  = 'Katzen%2C+Kater%2C+Miezen%2C+Kitten%2C+K%C3%A4tzchen%2C+Perserkatze%2C+Fundkatzen%2C+vermitteln%2C+Katzenmilch%2C+Katzenfutter%2C+Katzenpension%2C+Katzenhaus%2C+Katzengarten%2C+Katzenheim%2C+Katzennetz%2C+Freig%C3%A4nger%2C+Wohnungskatze%2C+kleine+Tiger%2C+Samtpfoten%2C+Stubentiger%2C+Flaschenaufzucht%2C+Kastrieren%2C+Katz+und+Maus%2C+Katzenbaum%2C+Katzenkeller%2C+Kimba%2C+Pups%2C+Tiger%2C+Lady%2C+Schnurri%2C+Suse%2C+Liebling%2C+Edel%2C+Edeltraud%2C+Schriften+Michl%2C+Beschriftungen%2C+Fahrzeugbeschriftung%2C+Digitaldruck%2C+Plotter%2C+Ellwangen%2C+Eigenzell%2C+Dinkelsb%C3%BChl%2C+Husky%2C+Boxer%2C+Schlittenhundefahrten%2C+Bunnys%2C+Hasen%2C+MC+Ellwangen%2C+Uwe+M%C3%B6ller%2C+Edeltraud+Michl%2C+Maxi%2C+';
var metaContents  = 'Hier+m%C3%B6chte+ich+euch+meine+Stubentiger+vorstellen.+Fast+alles+Findelkinder+und+Abgabetiere%2C+bei+mir+haben+sie+alle+ein+neues+Zuhause+gefunden.+Viel+Freude+w%C3%BCnsche+ich+euch+beim+durqueren+unseres+Samtpfotenreviers.';
					                                                                    
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 */					                                                            

