/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13741',jdecode('News'),jdecode(''),'/13741.html','true',[],''],
	['PAGE','13660',jdecode('Meine+M%C3%A4dels'),jdecode(''),'/13660.html','true',[],''],
	['PAGE','13687',jdecode('Meine+Deckr%C3%BCden'),jdecode(''),'/13687.html','true',[],''],
	['PAGE','46005',jdecode('Agility'),jdecode(''),'/46005.html','true',[],''],
	['PAGE','60110',jdecode('W%C3%BCrfe'),jdecode(''),'/60110/home.html','true',[ 
		['PAGE','60119',jdecode('A+-+C'),jdecode(''),'/60110/60119.html','true',[],''],
		['PAGE','60128',jdecode('D+-+F'),jdecode(''),'/60110/60128.html','true',[],''],
		['PAGE','13714',jdecode('G+-+I'),jdecode(''),'/60110/13714.html','true',[],''],
		['PAGE','60137',jdecode('J+-+K'),jdecode(''),'/60110/60137.html','true',[],''],
		['PAGE','61983',jdecode('L'),jdecode(''),'/60110/61983.html','true',[],''],
		['PAGE','96201',jdecode('M'),jdecode(''),'/60110/96201.html','true',[],''],
		['PAGE','98701',jdecode('N'),jdecode(''),'/60110/98701.html','true',[],''],
		['PAGE','102801',jdecode('O'),jdecode(''),'/60110/102801.html','true',[],''],
		['PAGE','108101',jdecode('Aktuell%3A+P%21'),jdecode(''),'/60110/108101.html','true',[],'']
	],''],
	['PAGE','60046',jdecode('Memoriam'),jdecode(''),'/60046.html','true',[],''],
	['PAGE','13933',jdecode('G%C3%A4stebuch'),jdecode(''),'/13933/home.html','true',[ 
		['PAGE','13934',jdecode('Eintr%C3%A4ge'),jdecode(''),'/13933/13934.html','true',[],'']
	],''],
	['PAGE','14035',jdecode('Links'),jdecode(''),'/14035.html','true',[],''],
	['PAGE','47320',jdecode('Kontakt'),jdecode(''),'/47320.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Roadsign';
theSitetree.paletteFamily='CFD5F7';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10356';
theSitetree.graphicsetId='10496';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roadsign',
				paletteFamily: 	'CFD5F7',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10356',
				graphicsetId: 	'10496',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'666666',
				e_color: 		'999999',
				f_color: 		'663300',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-13933ATOIX0INVO9R']={
webappId:    '1002',
documentId:  '13933',
internalId:  '13933ATOIX0INVO9R',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-13933ATOIX0INVO9R']={
webappId:    '1002',
documentId:  '13934',
internalId:  '13933ATOIX0INVO9R',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-1025371']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1025371',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20101008-130237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13741',
internalId:  '',
customField: '20100623-141118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13660',
internalId:  '',
customField: '20091028-121359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13687',
internalId:  '',
customField: '20080615-100635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46005',
internalId:  '',
customField: '20040707-232619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60110',
internalId:  '',
customField: '20090608-160355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60119',
internalId:  '',
customField: '20090608-160942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60128',
internalId:  '',
customField: '20080428-195440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13714',
internalId:  '',
customField: '20080428-195809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60137',
internalId:  '',
customField: '20090422-202136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61983',
internalId:  '',
customField: '20090422-192105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60046',
internalId:  '',
customField: '20091028-233423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13933',
internalId:  '',
customField: '20060602-172314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13934',
internalId:  '',
customField: '20040526-165916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14035',
internalId:  '',
customField: '20100608-173749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47320',
internalId:  '',
customField: '20060907-004708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96201',
internalId:  '',
customField: '20090422-184202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98701',
internalId:  '',
customField: '20090622-160706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102801',
internalId:  '',
customField: '20100725-185207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108101',
internalId:  '',
customField: '20101008-132501'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INVO9R';
var companyName   = 'Willkommen+bei+den+Border+Collies+v.++Waltenweiler';
var htmlTitle	  = 'Border+Collies+von+Waltenweiler';
var metaKeywords  = 'Border+Collie+Zucht';
var metaContents  = 'Border+Collie+Zucht%2C+Agility';
					                                                                    
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 */					                                                            

