/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','58249',jdecode('Anfahrt'),jdecode(''),'/58249.html','true',[],''],
	['PAGE','24802',jdecode('G%C3%A4stebuch'),jdecode(''),'/24802.html','true',[],''],
	['PAGE','24803',jdecode('-+Eintr%C3%A4ge'),jdecode(''),'/24803.html','true',[],''],
	['PAGE','68740',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/68740.html','true',[],''],
	['PAGE','68761',jdecode('Links'),jdecode(''),'/68761.html','true',[],''],
	['PAGE','68940',jdecode('Ferienpassaktion'),jdecode(''),'/68940.html','true',[],''],
	['PAGE','69040',jdecode('Ferienpass'),jdecode(''),'/69040.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FDE2E3';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10386';
theSitetree.graphicsetId='10581';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FDE2E3';
var theTemplate={
				name: 			'Abstract',
				paletteFamily: 	'FDE2E3',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10386',
				graphicsetId: 	'10581',
				contentColor: 	'000000',
				contentBGColor: 'FDE2E3',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				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'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20070401-004947'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68740',
internalId:  '',
customField: '20070602-185504'
};
webappMappings['1002']=webappMappings['1002-24802atoix0inek93']={
webappId:    '1002',
documentId:  '24802',
internalId:  '24802atoix0inek93',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-24802atoix0inek93']={
webappId:    '1002',
documentId:  '24803',
internalId:  '24802atoix0inek93',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58249',
internalId:  '',
customField: '20051118-203508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24802',
internalId:  '',
customField: '20041230-211015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24803',
internalId:  '',
customField: '20041230-211015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68761',
internalId:  '',
customField: '20080223-130410'
};
webappMappings['7060']=webappMappings['7060-8e3007328ab05da65129b8fec14a275e']={
webappId:    '7060',
documentId:  '68940',
internalId:  '8e3007328ab05da65129b8fec14a275e',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-114ef5c7754']={
webappId:    '1007',
documentId:  '69040',
internalId:  '114ef5c7754',
customField: 'g.12jnll7eo.rhv927hv3.3o'
};
webappMappings['1003']=webappMappings['1003-atoix0inek931184621b861']={
webappId:    '1003',
documentId:  '13801',
internalId:  'atoix0inek931184621b861',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1003']=webappMappings['1003-atoix0inek93118486c9ef6']={
webappId:    '1003',
documentId:  '68761',
internalId:  'atoix0inek93118486c9ef6',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68940',
internalId:  '',
customField: '20070910-140623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69040',
internalId:  '',
customField: '20070910-141948'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0INEK93';
var companyName   = 'Wolle+vom+Wollkisterl+und+Stricken+macht+Spa%C3%9F+%21';
var htmlTitle	  = 'Wolle+vom+Wollkisterl+und+Stricken+macht+Spass';
var metaKeywords  = 'wollkisterl%2C+stricken%2C+wolle%2C+socken+wolle%2C+garne%2C+schachenmayr%2C+online+wolle%2C+fussel+wolle%2C+sabrina+stricken%2C+regia%2C+socken+stricken%2C+hotsocks%2C+grundl+wolle%2C+wolle+versand%2C+wolle+online%2C+nadeln%2C+poncho%2C+handarbeit%2C+hobby%2C+basteln%2C++strick+socken%2C+schmuck+stricken%2C+trachten+wolle';
var metaContents  = 'Stricken+und++Wolle%2C+Socken+wolle+stricken+Zubehoer+wie+Nadeln%2C+Strickanleitungen+++Wolle+von+Schachenmayr%2C+Regia%2C+Online%2C+Stahl%2C+Gr%C3%BCndl%2C+Stricken+mit+Sabrina%2C+Wolle+vom+Wollkisterl+und+Stricken+macht+Spass';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

