/* [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','13765',jdecode('Home'),jdecode(''),'/13765.html','true',[],''],
	['PAGE','13771',jdecode('%C3%9Cber+uns'),jdecode(''),'/13771.html','true',[],''],
	['PAGE','50301',jdecode('Wurfplanung'),jdecode(''),'/50301.html','true',[],''],
	['PAGE','49101',jdecode('Gina+die+Katze'),jdecode(''),'/49101.html','true',[],''],
	['PAGE','13776',jdecode('Gale'),jdecode(''),'/13776.html','true',[],''],
	['PAGE','21101',jdecode('Vision'),jdecode(''),'/21101.html','true',[],''],
	['PAGE','32501',jdecode('Ayla'),jdecode(''),'/32501.html','true',[],''],
	['PAGE','46401',jdecode('Balu'),jdecode(''),'/46401.html','true',[],''],
	['PAGE','13781',jdecode('A-Wurf'),jdecode(''),'/13781/home.html','true',[ 
		['PAGE','27801',jdecode('Welpen'),jdecode(''),'/13781/27801.html','true',[],''],
		['PAGE','34701',jdecode('A-Wurf+1+Jahr'),jdecode(''),'/13781/34701.html','true',[],'']
	],''],
	['PAGE','37101',jdecode('B-Wurf+'),jdecode(''),'/37101/home.html','true',[ 
		['PAGE','38901',jdecode('Blue+Balu'),jdecode(''),'/37101/38901.html','true',[],''],
		['PAGE','40701',jdecode('Black+Jack'),jdecode(''),'/37101/40701.html','true',[],''],
		['PAGE','40722',jdecode('Black+Sweetie'),jdecode(''),'/37101/40722.html','true',[],''],
		['PAGE','40743',jdecode('Bandit'),jdecode(''),'/37101/40743.html','true',[],''],
		['PAGE','40764',jdecode('Blue+Vision'),jdecode(''),'/37101/40764.html','true',[],'']
	],''],
	['PAGE','13791',jdecode('Kontakt'),jdecode(''),'/13791.html','true',[],''],
	['PAGE','17808',jdecode('G%C3%A4stebuch'),jdecode(''),'/17808/home.html','true',[ 
		['PAGE','17809',jdecode('Eintr%C3%A4ge'),jdecode(''),'/17808/17809.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='333D5C';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12986';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='939DC0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'333D5C',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12986',
				contentColor: 	'FFFFFF',
				contentBGColor: '939DC0',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-17808atoix0in2hsc']={
webappId:    '1002',
documentId:  '17808',
internalId:  '17808atoix0in2hsc',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37101',
internalId:  '',
customField: '20100908-134457'
};
webappMappings['1002']=webappMappings['1002-17808atoix0in2hsc']={
webappId:    '1002',
documentId:  '17809',
internalId:  '17808atoix0in2hsc',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13765',
internalId:  '',
customField: '20110310-214211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13781',
internalId:  '',
customField: '20081225-143059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13776',
internalId:  '',
customField: '20090410-174617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34701',
internalId:  '',
customField: '20100102-235639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21101',
internalId:  '',
customField: '20110310-162047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13771',
internalId:  '',
customField: '20110826-144417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27801',
internalId:  '',
customField: '20090217-160504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13791',
internalId:  '',
customField: '20041211-211417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17808',
internalId:  '',
customField: '20041213-201645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17809',
internalId:  '',
customField: '20041213-201645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32501',
internalId:  '',
customField: '20110826-144916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50301',
internalId:  '',
customField: '20120201-104830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38901',
internalId:  '',
customField: '20101022-124045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40764',
internalId:  '',
customField: '20101022-124945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40701',
internalId:  '',
customField: '20101214-203910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40722',
internalId:  '',
customField: '20101206-163138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40743',
internalId:  '',
customField: '20110310-161824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49101',
internalId:  '',
customField: '20110310-163205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46401',
internalId:  '',
customField: '20110310-162319'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13765',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-6103537']={
webappId:    '1501',
documentId:  '13765',
internalId:  '6103537',
customField: '1501'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2HSC';
var companyName   = 'Border+Collie%27s+%22from+the+heart+of+Bavaria%22';
var htmlTitle	  = 'Border+Collies+from+the+heart+of+bavaria';
var metaKeywords  = 'Border+Collie.+heart+of+bvaria.';
var metaContents  = 'Border+Collie%2C+Gale+with+magic+eyes%2C+M%C3%BCnchen%2C+heart+of+bavaria';
					                                                                    
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 */					                                                            

