/* [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','13902',jdecode('Home'),jdecode(''),'/13902.html','true',[],''],
	['PAGE','26207',jdecode('Tafelbilder'),jdecode(''),'/26207.html','true',[],''],
	['PAGE','26234',jdecode('Coverings'),jdecode(''),'/26234.html','true',[],''],
	['PAGE','26261',jdecode('Objekte'),jdecode(''),'/26261.html','true',[],''],
	['PAGE','26288',jdecode('%22short+stories%22'),jdecode(''),'/26288.html','true',[],''],
	['PAGE','26315',jdecode('Kontakt'),jdecode(''),'/26315.html','true',[],''],
	['PAGE','26373',jdecode('G%C3%A4stebuch'),jdecode(''),'/26373/home.html','true',[ 
		['PAGE','26374',jdecode('Eintr%C3%A4ge'),jdecode(''),'/26373/26374.html','true',[],'']
	],''],
	['PAGE','34069',jdecode('Links'),jdecode(''),'/34069.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='CC0000';
theSitetree.keyvisualId='901';
theSitetree.keyvisualName='auge.jpg';
theSitetree.fontsetId='162';
theSitetree.graphicsetId='188';
theSitetree.contentColor='6699CC';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Neon',
				paletteFamily: 	'CC0000',
				keyvisualId: 	'901',
				keyvisualName: 	'auge.jpg',
				fontsetId: 		'162',
				graphicsetId: 	'188',
				contentColor: 	'6699CC',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13902',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-26373ATOIX0INZO2I']={
webappId:    '1002',
documentId:  '26373',
internalId:  '26373ATOIX0INZO2I',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-26373ATOIX0INZO2I']={
webappId:    '1002',
documentId:  '26374',
internalId:  '26373ATOIX0INZO2I',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13902',
internalId:  '',
customField: '20071101-112646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26234',
internalId:  '',
customField: '20041226-164725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26207',
internalId:  '',
customField: '20041227-142900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26373',
internalId:  '',
customField: '20041219-135728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26315',
internalId:  '',
customField: '20071031-170401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26261',
internalId:  '',
customField: '20050101-174015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26288',
internalId:  '',
customField: '20050220-154728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26374',
internalId:  '',
customField: '20041219-135728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34069',
internalId:  '',
customField: '20060601-124433'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INZO2I';
var companyName   = 'Atelier+enJot+luCas';
var htmlTitle	  = 'Provokante+Erotik';
var metaKeywords  = 'Erotische+Malerei%2Cerotische+Sitzobjekte%2Cerotische+Kurzgeschichten%2CProvokante+erotische+Malerei%2C%22porno+goes+art%22%2CGenusssitze%2C';
var metaContents  = 'Die+hp+beinhaltet+erotische+Malerei+als+Tafelbilder%2Cerotische+Malerei+auf+Dachpfannen%28Coverings%29%2Cerotische+Sitzobjekte%2Cerotische+Kurzgeschichten+%28%22short+stories%22%29';
					                                                                    
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 */					                                                            

