/* [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','42412',jdecode('ebay'),jdecode(''),'/42412.html','true',[],''],
	['PAGE','41318',jdecode('Kontakt'),jdecode(''),'/41318.html','true',[],''],
	['PAGE','41309',jdecode('Jobs'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','43062',jdecode('Produkte'),jdecode(''),'/43062.html','true',[],''],
	['PAGE','44093',jdecode('Impressum'),jdecode(''),'/44093.html','true',[],''],
	['PAGE','44102',jdecode('Geschichte'),jdecode(''),'/44102.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='055961';
theSitetree.keyvisualId='2487';
theSitetree.keyvisualName='seminar.jpg';
theSitetree.fontsetId='419';
theSitetree.graphicsetId='464';
theSitetree.contentColor='020E66';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Business',
				paletteFamily: 	'055961',
				keyvisualId: 	'2487',
				keyvisualName: 	'seminar.jpg',
				fontsetId: 		'419',
				graphicsetId: 	'464',
				contentColor: 	'020E66',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'055961',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42412',
internalId:  '',
customField: '20070216-154837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20080103-131323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41318',
internalId:  '',
customField: '20070116-094214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20061127-173857'
};
webappMappings['1501']=webappMappings['1501-25022521']={
webappId:    '1501',
documentId:  '44',
internalId:  '25022521',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43062',
internalId:  '',
customField: '20070810-113501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44102',
internalId:  '',
customField: '20071130-180029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44093',
internalId:  '',
customField: '20080103-115354'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0I7YB2F';
var companyName   = 'Profireiniger.EU';
var htmlTitle	  = 'Profireiniger.EU';
var metaKeywords  = 'Profireiniger%2C+Geb%C3%A4udereinigung%2C+Reinigungsmittel%2C+Klarofix%2C+Profix%2C+Richard+K%C3%BChn%2C+Chemische+Reinigung+Hotels+Gastronomie+Industrie+Tankstellen+Pflegemittel+Autoh%C3%A4user+Gewerbe+Grafitti+++Ostdeutsche+Produkte%2C+Sonderl%C3%B6sungen%2C+PKW+PflegeAutopflege+Grundreiniger+Dispersionsreiniger+Autoreiniger+Allzweckreiniger+Desinfektionsreiniger+Hochkonzentrate+K%C3%B6rperpflege+K%C3%BCchenreiniger+Raumduft+Sanit%C3%A4rreiniger+Spezialprodukte+Spezialreiniger+Teppichreiniger+Wischpflege+Textilreiniger+Kundenservice+Sonderanfertigung+Lieferservice+Werkstattreiniger++Betonentferner+Algenentferner+Schimmelentferner+Moosentferner+Zapfs%C3%A4ulenreiniger+Werksverkauf+Gro%C3%9Fhandel+Wiederverk%C3%A4ufer';
var metaContents  = 'Herzlich+Willkommen+bei+Profireiniger.EU+Reinigungs-+u.+Pflegemittel+von+A+bis+Z+direkt+vom+Hersteller';
					                                                                    
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 */					                                                            

