/* [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','129601',jdecode('Zuchtst%C3%A4tte'),jdecode(''),'/129601.html','true',[],''],
	['PAGE','43888',jdecode('Aktuelles'),jdecode(''),'/43888.html','true',[],''],
	['PAGE','101001',jdecode('Wurfplanung'),jdecode(''),'/101001.html','true',[],''],
	['PAGE','40555',jdecode('Tessy'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','69101',jdecode('Aennie'),jdecode(''),'/69101.html','true',[],''],
	['PAGE','43897',jdecode('A+-+Wurf'),jdecode(''),'/43897/home.html','true',[ 
		['PAGE','130401',jdecode('Fotoshooting+A+-+Wurf+'),jdecode(''),'/43897/130401.html','true',[],''],
		['PAGE','80001',jdecode('A+-+Wurf+Entwicklung'),jdecode(''),'/43897/80001.html','true',[],'']
	],''],
	['PAGE','198701',jdecode('B+-+Wurf'),jdecode(''),'/198701/home.html','true',[ 
		['PAGE','213001',jdecode('Fotoshooting+B+-+Wurf+'),jdecode(''),'/198701/213001.html','true',[],''],
		['PAGE','222901',jdecode('B+-+Wurf+Entwicklung'),jdecode(''),'/198701/222901.html','true',[],'']
	],''],
	['PAGE','142901',jdecode('Nachzuchterfolge'),jdecode(''),'/142901.html','true',[],''],
	['PAGE','187101',jdecode('Champions'),jdecode(''),'/187101.html','true',[],''],
	['PAGE','241801',jdecode('Deckr%C3%BCden'),jdecode(''),'/241801.html','true',[],''],
	['PAGE','274301',jdecode('Bildergalerie'),jdecode(''),'/274301/home.html','true',[ 
		['PAGE','183001',jdecode('Bilder+2011'),jdecode(''),'/274301/183001.html','true',[],''],
		['PAGE','113901',jdecode('Bilder+2010'),jdecode(''),'/274301/113901.html','true',[],''],
		['PAGE','69701',jdecode('Bilder+2008+%2F+2009'),jdecode(''),'/274301/69701.html','true',[],'']
	],''],
	['PAGE','167201',jdecode('Impressum+%2F+Links+'),jdecode(''),'/167201.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='E2C4A0';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12985';
theSitetree.contentColor='6C2E16';
theSitetree.contentBGColor='F0E1CF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'E2C4A0',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12985',
				contentColor: 	'6C2E16',
				contentBGColor: 'F0E1CF',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183001',
internalId:  '',
customField: '20111228-164015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130401',
internalId:  '',
customField: '20110527-183355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20111212-200130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69701',
internalId:  '',
customField: '20110103-104403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43888',
internalId:  '',
customField: '20120209-134003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43897',
internalId:  '',
customField: '20100325-152931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69101',
internalId:  '',
customField: '20110925-110925'
};
webappMappings['1501']=webappMappings['1501-62123924']={
webappId:    '1501',
documentId:  '129601',
internalId:  '62123924',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80001',
internalId:  '',
customField: '20120206-102705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113901',
internalId:  '',
customField: '20110103-103830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101001',
internalId:  '',
customField: '20120209-134102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129601',
internalId:  '',
customField: '20120209-201606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142901',
internalId:  '',
customField: '20120209-134210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167201',
internalId:  '',
customField: '20120206-095807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '187101',
internalId:  '',
customField: '20110228-090637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198701',
internalId:  '',
customField: '20110623-190852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213001',
internalId:  '',
customField: '20110627-115928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '222901',
internalId:  '',
customField: '20120206-100227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '241801',
internalId:  '',
customField: '20111217-210504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '274301',
internalId:  '',
customField: '20120206-095125'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRQ00G';
var companyName   = 'Kooikerhondje+von+der+Spessartrose';
var htmlTitle	  = 'Kooikerhondje+von+der+Spessartrose';
var metaKeywords  = 'Kooikerhondje+von+der+Spessartrose%2C++Kooikerhondje+Z%C3%BCchter%2C+Kooikerhondje+Welpen%2C+Spessartrose%2C+Kooiker%2C+Kooikerwelpen%2C+Kooikerhondje%2C';
var metaContents  = '++Die+Zuchtst%C3%A4tte+Spessartrose+ist+eine+kleine+Hobbyzucht+in+Bad+Orb%2C+einer+kleinen+Kurstadt+im+Naturpark+Hess.+Spessart.Unser+Ziel+ist+es+wesensfeste%2C+gut+gepr%C3%A4gte++und+sozialisierte+Familienhunde+zu+z%C3%BCchten.+Nat%C3%BCrlich+nach+den+Richtlinien+des+DCK%2C+VDH+und+FCI.+';
					                                                                    
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 */					                                                            

