/* [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','46101',jdecode('Allesedelstahl'),jdecode(''),'/46101.html','true',[],''],
	['PAGE','5888',jdecode('Vord%C3%A4cher'),jdecode(''),'/5888/home.html','true',[ 
		['PAGE','67701',jdecode('Triangel'),jdecode(''),'/5888/67701.html','true',[],''],
		['PAGE','67722',jdecode('Angle'),jdecode(''),'/5888/67722.html','true',[],''],
		['PAGE','67764',jdecode('Vario'),jdecode(''),'/5888/67764.html','true',[],''],
		['PAGE','68101',jdecode('Light'),jdecode(''),'/5888/68101.html','true',[],''],
		['PAGE','69901',jdecode('Seitenteile'),jdecode(''),'/5888/69901.html','true',[],''],
		['PAGE','67743',jdecode('%C3%9Cbers+Eck'),jdecode(''),'/5888/67743.html','true',[],''],
		['PAGE','72101',jdecode('Kellerabgang'),jdecode(''),'/5888/72101.html','true',[],''],
		['PAGE','43101',jdecode('Tipps%26Tricks'),jdecode(''),'/5888/43101.html','true',[],'']
	],''],
	['PAGE','73001',jdecode('Angebote'),jdecode(''),'/73001.html','true',[],''],
	['PAGE','53801',jdecode('Gel%C3%A4nder'),jdecode(''),'/53801.html','true',[],''],
	['PAGE','62301',jdecode('Garten'),jdecode(''),'/62301.html','true',[],''],
	['PAGE','65501',jdecode('Bootsbeschl%C3%A4ge'),jdecode(''),'/65501.html','true',[],''],
	['PAGE','17112',jdecode('Kontakt'),jdecode(''),'/17112/home.html','true',[ 
		['PAGE','17602',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/17112/17602.html','false',[],'']
	],''],
	['PAGE','17220',jdecode('Impressum'),jdecode(''),'/17220.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='9E9E9E';
theSitetree.keyvisualId='770';
theSitetree.keyvisualName='schweisser.jpg';
theSitetree.fontsetId='145';
theSitetree.graphicsetId='155';
theSitetree.contentColor='E8EAEE';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'9E9E9E',
				keyvisualId: 	'770',
				keyvisualName: 	'schweisser.jpg',
				fontsetId: 		'145',
				graphicsetId: 	'155',
				contentColor: 	'E8EAEE',
				contentBGColor: '000000',
				a_color: 		'9E9E9E',
				b_color: 		'E8EAEE',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inlwiqa312bcdce4baa03e']={
webappId:    '1001',
documentId:  '17602',
internalId:  'atoix0inlwiqa312bcdce4baa03e',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0inlwiqa312bcdce4baa03e']={
webappId:    '1001',
documentId:  '17112',
internalId:  'atoix0inlwiqa312bcdce4baa03e',
customField: ''
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5888',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62301',
internalId:  '',
customField: '20111014-085907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5888',
internalId:  '',
customField: '20111125-083644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67722',
internalId:  '',
customField: '20110908-225832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67743',
internalId:  '',
customField: '20110914-231117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67701',
internalId:  '',
customField: '20111125-222359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72101',
internalId:  '',
customField: '20111125-084809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17112',
internalId:  '',
customField: '20101105-085924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17602',
internalId:  '',
customField: '20040120-074105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17220',
internalId:  '',
customField: '20050423-224758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65501',
internalId:  '',
customField: '20110924-074751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20111125-083914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69901',
internalId:  '',
customField: '20111126-180200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67764',
internalId:  '',
customField: '20110910-112738'
};
webappMappings['7050']=webappMappings['7050-19582']={
webappId:    '7050',
documentId:  '43101',
internalId:  '19582',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68101',
internalId:  '',
customField: '20111126-174558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20080429-201927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53801',
internalId:  '',
customField: '20110909-062416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73001',
internalId:  '',
customField: '20111125-082957'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INLWIQ';
var companyName   = 'Allesedelstahl';
var htmlTitle	  = 'Edelstahlglasvordach';
var metaKeywords  = 'Edelstahlglasvordach%2C+Vordach%2C+Haust%C3%BCrvordach%2C+door+canopy%2C+Glasdach%2C++Keller%C3%BCberdachung%2C+%C3%9Cberdachung%2C+Edelstahlvordach%2CTerassen%C3%BCberdachung%2CCarport%2CGel%C3%A4nder%2CTeichbr%C3%BCcken%2C+T%C3%BCr%2C+Tor%2C+Bootsbeschl%C3%A4ge%2C+LED-Leuchten%2C+LKW+-Zubeh%C3%B6r%2C';
var metaContents  = 'Die+Firma+TG+Edelstahlverarbeitung+besch%C3%A4ftigt+sich+mit+der+Konstruktion+und+Fertigung+und+Montage+von+Bauelementen+aus+Stahl%2C++Edelstahl+Rostfrei%2C+Aluminium%2C+Kupfer+und+Messing.+Mein+Maschinenpark+ist+auf+folgende+Bearbeitungsm%C3%B6glichkeiten+spezialisiert.handwerkliche+SchleiftechnikSchwei%C3%9Fkonstruktionen+aus+RohrenRohrbiegen%2C+dornlos%2C+schnell+und+faltenfrei+Schleifen%2CB%C3%BCrsten+und+Polieren+von+Rohren+und+BlechenMiniaturglasperlstrahlenReFit+-+aus+Alt+mach+NeuBeratung+mit+PC+vor+OrtSchwei%C3%9Ftechnik+mit+modernen+transportablen+Ger%C3%A4tenDie+Produkte+werden+konventionell+in+eigener+Werkstatt+hergestellt.+Der+Anteil+der+handwerklichen+Bearbeitung+%C3%BCbersteigt+den+Rahmen+der+%C3%BCblichen+Serienfertigung+bei+weitem+und+gibt+so+jedem+St%C3%BCck+seine+individuelle+Auspr%C3%A4gung.+';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

