/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','401',jdecode('Home'),jdecode(''),'/401/index.html','true',[ 
		['PAGE','35801',jdecode('Firmengeschichte'),jdecode(''),'/401/35801.html','true',[],'']
	],''],
	['PAGE','39101',jdecode('News'),jdecode(''),'/39101.html','true',[],''],
	['PAGE','44701',jdecode('24h-+Notdienst'),jdecode(''),'/44701.html','true',[],''],
	['PAGE','4822',jdecode('Service%2F+Brennertechnik'),jdecode(''),'/4822/index.html','true',[ 
		['PAGE','13701',jdecode('Entst%C3%B6rung%2F+Reparatur'),jdecode(''),'/4822/13701.html','true',[],''],
		['PAGE','14001',jdecode('Wartung'),jdecode(''),'/4822/14001.html','true',[],''],
		['PAGE','14022',jdecode('Erstinbetriebnahme'),jdecode(''),'/4822/14022.html','true',[],''],
		['PAGE','14043',jdecode('Neuger%C3%A4te'),jdecode(''),'/4822/14043.html','true',[],''],
		['PAGE','15701',jdecode('Emissionsmessungen'),jdecode(''),'/4822/15701.html','true',[],''],
		['PAGE','20001',jdecode('dreizler-Werkvertretung'),jdecode(''),'/4822/20001.html','true',[],'']
	],''],
	['PAGE','9001',jdecode('Technisches+B%C3%BCro'),jdecode(''),'/9001.html','true',[],''],
	['PAGE','13001',jdecode('Referenzen'),jdecode(''),'/13001/index.html','true',[ 
		['PAGE','53501',jdecode('Gewerbe%2F+Industrie'),jdecode(''),'/13001/53501.html','true',[],''],
		['PAGE','54301',jdecode('%C3%96ffentlicher+Sektor'),jdecode(''),'/13001/54301.html','true',[],''],
		['PAGE','53522',jdecode('Bundesl%C3%A4nder%2F+Regionen'),jdecode(''),'/13001/53522.html','true',[],''],
		['PAGE','54901',jdecode('Fotos'),jdecode(''),'/13001/54901.html','true',[],'']
	],''],
	['PAGE','39122',jdecode('Downloads'),jdecode(''),'/39122.html','true',[],''],
	['PAGE','515',jdecode('Impressum'),jdecode(''),'/515.html','true',[],''],
	['PAGE','43601',jdecode('AGB'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','56801',jdecode('Radclub+RC+Marathon'),jdecode(''),'/56801.html','true',[],''],
	['PAGE','18501',jdecode('Links'),jdecode(''),'/18501.html','true',[],''],
	['PAGE','63501',jdecode('offene+Stellen'),jdecode(''),'/63501.html','true',[],''],
	['PAGE','473',jdecode('Kontakt'),jdecode(''),'/473/index.html','true',[ 
		['PAGE','16401',jdecode('Ansprechpartner'),jdecode(''),'/473/16401.html','true',[],'']
	],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Clearline';
theSitetree.paletteFamily='B71602';
theSitetree.keyvisualId='3295';
theSitetree.keyvisualName='kv_3295.jpg';
theSitetree.fontsetId='10589';
theSitetree.graphicsetId='10715';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Clearline',
				paletteFamily: 	'B71602',
				keyvisualId: 	'3295',
				keyvisualName: 	'kv_3295.jpg',
				fontsetId: 		'10589',
				graphicsetId: 	'10715',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'B71602',
				e_color: 		'989696',
				f_color: 		'989696',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20120208-093021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4822',
internalId:  '',
customField: '20120208-093045'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20120124-105157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9001',
internalId:  '',
customField: '20100413-161326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20120124-100855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20120124-095958'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20120208-092921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14043',
internalId:  '',
customField: '20120208-093154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14001',
internalId:  '',
customField: '20120124-104310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14022',
internalId:  '',
customField: '20120208-093117'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20120208-093237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20120124-105349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20100413-160332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20001',
internalId:  '',
customField: '20110620-124323'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35801',
internalId:  '',
customField: '20120124-100527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39122',
internalId:  '',
customField: '20120124-115912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39101',
internalId:  '',
customField: '20120208-091330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20100611-174025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44701',
internalId:  '',
customField: '20120124-103721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53501',
internalId:  '',
customField: '20120124-100120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20120124-100143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53522',
internalId:  '',
customField: '20111002-121433'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54901',
internalId:  '',
customField: '20111002-120915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56801',
internalId:  '',
customField: '20120124-115941'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63501',
internalId:  '',
customField: '20120208-094108'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AINOD0INE54V';
var companyName   = 'Hauzendorfer%26+Kober+GmbH';
var htmlTitle	  = 'Feuerungstechnik+Hauzendorfer';
var metaKeywords  = 'Gasbrenner+%C3%96lbrenner+St%C3%B6rdienst+Notdienst+Wartung+Service+Graz+technisches+B%C3%BCro+Emissionen+Sachverst%C3%A4ndiger+NASV+EG-K+';
var metaContents  = 'dreizler-+Werksvertretung+Brenner+Notdienst+Graz+technisches+B%C3%BCro+f%C3%BCr+Feuerungstechnik+Emissionsmessungen';
					                                                                    
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 */					                                                            

