/* [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','9401',jdecode('Home'),jdecode(''),'/9401.html','true',[],''],
	['PAGE','42502',jdecode('CANDY+U+JETTE..'),jdecode(''),'/42502.html','true',[],''],
	['PAGE','204140',jdecode('A-Wurf'),jdecode(''),'/204140.html','true',[],''],
	['PAGE','119340',jdecode('B-Wurf'),jdecode(''),'/119340.html','true',[],''],
	['PAGE','247340',jdecode('C-Wurf'),jdecode(''),'/247340.html','true',[],''],
	['PAGE','98740',jdecode('Treffen'),jdecode(''),'/98740.html','true',[],''],
	['PAGE','29302',jdecode('Urlaubsbilder'),jdecode(''),'/29302.html','true',[],''],
	['PAGE','382940',jdecode('Urlaubsbilder+ab+2010'),jdecode(''),'/382940.html','true',[],''],
	['PAGE','32601',jdecode('Links'),jdecode(''),'/32601.html','true',[],''],
	['PAGE','19803',jdecode('G%C3%A4stebuch'),jdecode(''),'/19803/home.html','true',[ 
		['PAGE','19804',jdecode('Eintr%C3%A4ge'),jdecode(''),'/19803/19804.html','true',[],'']
	],''],
	['PAGE','25706',jdecode('Kontakt'),jdecode(''),'/25706.html','true',[],''],
	['PAGE','10002',jdecode('..'),jdecode(''),'/10002.html','true',[],''],
	['PAGE','398140',jdecode('Anfahrt'),jdecode(''),'/398140.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='FFCC66';
theSitetree.keyvisualId='1685';
theSitetree.keyvisualName='abendstimmung.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='343';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFCC66';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'FFCC66',
				keyvisualId: 	'1685',
				keyvisualName: 	'abendstimmung.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'343',
				contentColor: 	'000066',
				contentBGColor: 'FFCC66',
				a_color: 		'FFCC66',
				b_color: 		'CC6600',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '9401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-1019acdf838']={
webappId:    '1007',
documentId:  '29302',
internalId:  '1019acdf838',
customField: 'g.106dcdk3k.cg7vkuo59fi.1s'
};
webappMappings['1002']=webappMappings['1002-19803atoix0ine0d0']={
webappId:    '1002',
documentId:  '19803',
internalId:  '19803atoix0ine0d0',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-19803atoix0ine0d0']={
webappId:    '1002',
documentId:  '19804',
internalId:  '19803atoix0ine0d0',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-7624906']={
webappId:    '1501',
documentId:  '9401',
internalId:  '7624906',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '382940',
internalId:  '',
customField: '20100725-211446'
};
webappMappings['1007']=webappMappings['1007-1033cf53ec5']={
webappId:    '1007',
documentId:  '42502',
internalId:  '1033cf53ec5',
customField: 'g.10cuerf6r.1ba3vf7278.3o'
};
webappMappings['1007']=webappMappings['1007-10b7f3196b0']={
webappId:    '1007',
documentId:  '98740',
internalId:  '10b7f3196b0',
customField: 'g.11dviqhes.fmbfoen1du.3o'
};
webappMappings['1007']=webappMappings['1007-10eeb4ae9a3']={
webappId:    '1007',
documentId:  '119340',
internalId:  '10eeb4ae9a3',
customField: 'g.11rljul2u.2sfeut24vg.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9401',
internalId:  '',
customField: '20110420-195754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42502',
internalId:  '',
customField: '20080317-122304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '204140',
internalId:  '',
customField: '20091129-202351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119340',
internalId:  '',
customField: '20100919-230304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29302',
internalId:  '',
customField: '20060518-145222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '247340',
internalId:  '',
customField: '20110114-190717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98740',
internalId:  '',
customField: '20110223-212615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32601',
internalId:  '',
customField: '20110223-212928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19803',
internalId:  '',
customField: '20050107-141555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19804',
internalId:  '',
customField: '20050107-141555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25706',
internalId:  '',
customField: '20090821-172950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10002',
internalId:  '',
customField: '20051204-100153'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '398140',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '398140',
internalId:  '',
customField: '20101006-143922'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INE0D0';
var companyName   = '%22++Eurasierzucht++vom++Darrhof++%22';
var htmlTitle	  = 'www.eurasiervomdarrhof.de';
var metaKeywords  = 'Eurasier%2C+Welpen%2C+Eurasierwelpen%2C+Eurasierzucht%2C+Familienhund%2C';
var metaContents  = 'private+Homepage%2C+Eurasierzucht%2C+Welpen%2C+Eurasierwelpen%2C+Familienhund%2CRassen%2CHunde+';
					                                                                    
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 */					                                                            

