/* [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','44',jdecode('STARTSEITE'),jdecode(''),'/44.html','true',[],''],
	['PAGE','40587',jdecode('GALERIE'),jdecode(''),'/40587.html','true',[],''],
	['PAGE','40529',jdecode('IMPRESSUM'),jdecode(''),'/40529.html','true',[],''],
	['PAGE','45474',jdecode('G%C3%84STEBUCH'),jdecode(''),'/45474/home.html','true',[ 
		['PAGE','45473',jdecode('Eintr%C3%A4ge'),jdecode(''),'/45474/45473.html','true',[],'']
	],''],
	['PAGE','45642',jdecode('INFO'),jdecode(''),'/45642/home.html','true',[ 
		['PAGE','45651',jdecode('AGB'),jdecode(''),'/45642/45651.html','true',[],'']
	],''],
	['PAGE','66401',jdecode('LINKS'),jdecode(''),'/66401.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='CECECE';
theSitetree.keyvisualId='10993';
theSitetree.keyvisualName='kv_10993.jpg';
theSitetree.fontsetId='31926';
theSitetree.graphicsetId='13745';
theSitetree.contentColor='303031';
theSitetree.contentBGColor='CECECE';
var theTemplate={
				name: 			'Wellen',
				paletteFamily: 	'CECECE',
				keyvisualId: 	'10993',
				keyvisualName: 	'kv_10993.jpg',
				fontsetId: 		'31926',
				graphicsetId: 	'13745',
				contentColor: 	'303031',
				contentBGColor: 'CECECE',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10852331050']={
webappId:    '1007',
documentId:  '40587',
internalId:  '10852331050',
customField: 'g.11190rboo.88lu7ep1me0.1s'
};
webappMappings['1002']=webappMappings['1002-45474atoix0inh9in']={
webappId:    '1002',
documentId:  '45474',
internalId:  '45474atoix0inh9in',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-45474atoix0inh9in']={
webappId:    '1002',
documentId:  '45473',
internalId:  '45474atoix0inh9in',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20071019-201112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20070808-221618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45642',
internalId:  '',
customField: '20070808-220536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45651',
internalId:  '',
customField: '20060104-133322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40529',
internalId:  '',
customField: '20070808-220441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45474',
internalId:  '',
customField: '20060104-095142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45473',
internalId:  '',
customField: '20051222-130405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66401',
internalId:  '',
customField: '20070808-220854'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0INH9IN';
var companyName   = 'DEINE+ART+-+KERAMIK';
var htmlTitle	  = 'Deine+Art+-+Keramik+Kunst+Online+Shop';
var metaKeywords  = 'Vase%2C+Vasen%2C+Dose%2C+Dosen%2C+Keramik%2C+Objekte%2C+Objekt%2C+Ton%2C+Keramikarbeiten%2C+Atelier%2C+Galerie%2C+Design%2C+Art%2C+Deine+Art%2C+Deineart%2C+Shop%2C+Onlineshop%2C+G%C3%A4stebuch%2C+Online+Shop%2C+Keramikkunst%2C+Kunstkeramik%2C+Keramikdesign%2C+Keramikart%2C+Keramikgalerie%2C+T%C3%B6pfern%2C+Aufbautechnik+mit+Ton%2C+Brennen%2C+plastisches+Gestalten%2C+Gestalten+mit+Ton%2C+Einkaufen+im+Shop%2C+abstrakte+Objekte+mexikanische+Muster++Muster++Mexiko++Bike+House+24++Bike++House+24+Galerie+Atelier+Fahrr%C3%A4der+Bekleidung+Raffrollos+Plissee+Gardinen+Tischdecke+Jacke+Hose+Schuhe+Helm+Brille+Tischdecke+Fliegenschutzgitter+Flasche+Kerzenst%C3%A4nder+Kerze+Kerzen+Rollo+Mountainbike+Rennrad+Kinderfahrrad+Dreirad+Top+Hose+Jacke+Gore+Tex+Shirt+Tasche+Taschen+Rucksack+Rucks%C3%A4cke+Brillen+Oakley+Scott+Corratec+Cosiflor+Giant+Puky+Roller+Nachl%C3%A4ufer+Giro+Bell+Deuter+Ortlieb+Schwinn++++';
var metaContents  = 'Willkommen+bei+DEINEART.de.Der+Keramik+Kunst+Online+Shop+im+Internet%2C+ich+arbeite+mit+verschiedenen+Tonarten.+Ton+ist+einer+der+sch%C3%B6nsten+Werkstoffe%2C+daraus+kann+man+tolle+Keramikarbeiten+machen%2C+z.B.+Vasen%2C+Krug%2C+Schale%2C+Schalen%2C+Teller%2C+Fliesen%2C+Skulpturen.+Auch+Glasuren+geben+der+Arbeit++aus+Ton+ein+reizvolles+Aussehen.+Mit+Glasuren+kann+man+tolle+Effekte+erzielen.';
					                                                                    
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 */					                                                            

