/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','56001',jdecode('News'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','41449',jdecode('Ginger'),jdecode(''),'/41449.html','true',[],''],
	['PAGE','43709',jdecode('Lilifay'),jdecode(''),'/43709.html','true',[],''],
	['PAGE','90401',jdecode('Lughnasadh'),jdecode(''),'/90401.html','true',[],''],
	['PAGE','75322',jdecode('Kodiak'),jdecode(''),'/75322.html','true',[],''],
	['PAGE','41458',jdecode('Montanna'),jdecode(''),'/41458.html','true',[],''],
	['PAGE','76901',jdecode('Welpen+Aktuell'),jdecode(''),'/76901.html','true',[],''],
	['PAGE','51801',jdecode('Welpen+++Planung'),jdecode(''),'/51801.html','true',[],''],
	['PAGE','75301',jdecode('Nachzucht'),jdecode(''),'/75301.html','true',[],''],
	['PAGE','43766',jdecode('Aufzucht+'),jdecode(''),'/43766.html','true',[],''],
	['PAGE','104001',jdecode('Gesundheit'),jdecode(''),'/104001.html','true',[],''],
	['PAGE','42996',jdecode('Aussie+Bilder'),jdecode(''),'/42996.html','true',[],''],
	['PAGE','41431',jdecode('%C3%9Cber+uns+'),jdecode(''),'/41431.html','true',[],''],
	['PAGE','41476',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/41476.html','true',[],''],
	['PAGE','41485',jdecode('Links'),jdecode(''),'/41485.html','true',[],''],
	['PAGE','140306',jdecode('G%C3%A4stebuch'),jdecode(''),'/140306/home.html','true',[ 
		['PAGE','140301',jdecode('Eintr%C3%A4ge'),jdecode(''),'/140306/140301.html','true',[],'']
	],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='136F83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='157';
theSitetree.graphicsetId='170';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'136F83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'157',
				graphicsetId: 	'170',
				contentColor: 	'000000',
				contentBGColor: 'FCFCF4',
				a_color: 		'136F83',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				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: '20120220-192526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42996',
internalId:  '',
customField: '20120205-170329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41458',
internalId:  '',
customField: '20120131-185706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41476',
internalId:  '',
customField: '20120131-191955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41431',
internalId:  '',
customField: '20110822-124520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41449',
internalId:  '',
customField: '20120201-144730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75322',
internalId:  '',
customField: '20120207-133601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41485',
internalId:  '',
customField: '20120221-092907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43709',
internalId:  '',
customField: '20111230-142929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43766',
internalId:  '',
customField: '20111030-182437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76901',
internalId:  '',
customField: '20120220-223044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75301',
internalId:  '',
customField: '20120202-142751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51801',
internalId:  '',
customField: '20120211-152329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20120216-174543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90401',
internalId:  '',
customField: '20120205-165006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104001',
internalId:  '',
customField: '20111101-211059'
};
webappMappings['1002']=webappMappings['1002-140306atoix0iroskt']={
webappId:    '1002',
documentId:  '140306',
internalId:  '140306atoix0iroskt',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-140306atoix0iroskt']={
webappId:    '1002',
documentId:  '140301',
internalId:  '140306atoix0iroskt',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140306',
internalId:  '',
customField: '20120201-145749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140301',
internalId:  '',
customField: '20120201-172658'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IROSKT';
var companyName   = '++++B+a+l+t+i+c+++S+e+a+++S+p+i+r+i+t++++++++++++++Mini+%26+Toy++Aussies';
var htmlTitle	  = 'Baltic+Sea+Spirit+++Mini+%26+Toy+Aussies';
var metaKeywords  = '++Mini+Toy+Aussie+Australian+Shepherd+Welpen+Z%C3%BCchter';
var metaContents  = '++';
					                                                                    
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 */					                                                            

