/* [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','133901',jdecode('Startseite'),jdecode(''),'/133901.html','true',[],''],
	['PAGE','246401',jdecode('ein+Tag+bei+uns'),jdecode(''),'/246401.html','true',[],''],
	['PAGE','150701',jdecode('Welpen'),jdecode(''),'/150701.html','true',[],''],
	['PAGE','40612',jdecode('%C3%9Cber+die+Rasse+'),jdecode(''),'/40612.html','true',[],''],
	['PAGE','190501',jdecode('%C3%9Cber+uns'),jdecode(''),'/190501.html','true',[],''],
	['PAGE','80601',jdecode('Steckbrief'),jdecode(''),'/80601.html','true',[],''],
	['PAGE','88401',jdecode('H%C3%BCndinnen%2Fbitch'),jdecode(''),'/88401.html','false',[],''],
	['PAGE','40643',jdecode('Fotos+'),jdecode(''),'/40643.html','true',[],''],
	['PAGE','40546',jdecode('Links'),jdecode(''),'/40546.html','true',[],''],
	['PAGE','40578',jdecode('G%C3%A4stebuch+'),jdecode(''),'/40578/home.html','true',[ 
		['PAGE','40577',jdecode('Eintr%C3%A4ge++%2F++sign'),jdecode(''),'/40578/40577.html','true',[],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Evident';
theSitetree.paletteFamily='D94147';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10631';
theSitetree.graphicsetId='10777';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Evident',
				paletteFamily: 	'D94147',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10631',
				graphicsetId: 	'10777',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D83F45',
				e_color: 		'7C272A',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-40578atoix0i7krg9']={
webappId:    '1002',
documentId:  '40578',
internalId:  '40578atoix0i7krg9',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40578atoix0i7krg9']={
webappId:    '1002',
documentId:  '40577',
internalId:  '40578atoix0i7krg9',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40612',
internalId:  '',
customField: '20090712-160524'
};
webappMappings['1007']=webappMappings['1007-1093fc2dab7']={
webappId:    '1007',
documentId:  '40643',
internalId:  '1093fc2dab7',
customField: 'g.114vr7f6v.1ts6ae35hrh.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80601',
internalId:  '',
customField: '20090607-211056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150701',
internalId:  '',
customField: '20091117-064744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40643',
internalId:  '',
customField: '20090124-140347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88401',
internalId:  '',
customField: '20090724-223142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40546',
internalId:  '',
customField: '20100129-112042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20091128-231848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40577',
internalId:  '',
customField: '20070511-112025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '246401',
internalId:  '',
customField: '20100119-171203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190501',
internalId:  '',
customField: '20090601-103310'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '133901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133901',
internalId:  '',
customField: '20100225-211249'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7KRG9';
var companyName   = '++Simsalachin+VDH%2FFCI+';
var htmlTitle	  = 'Japan+Chin+Hundezucht';
var metaKeywords  = '++Japan+Chin%2C+Chinis%2CBezaubernde+Japan+Chins%2Ckleine+Hobby+Hundezucht%2C+Maximilian+D%60Elicio%2C+Silvia+D%60Elicio.+St.Germanshof.';
var metaContents  = '++Bezaubernde+kleine+Hunde.+Kleine+Hundezucht.+Liebevoll+aufgezogene+Welpen.';
					                                                                    
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 */					                                                            
