/* [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','41386',jdecode('Fenster'),jdecode(''),'/41386/home.html','true',[ 
		['PAGE','43059',jdecode('Typen+%2F+Muster'),jdecode(''),'/41386/43059.html','true',[],''],
		['PAGE','43050',jdecode('S8000+Anschlagsystem'),jdecode(''),'/41386/43050.html','true',[],''],
		['PAGE','43068',jdecode('S+7000+Mitteldichdung'),jdecode(''),'/41386/43068.html','true',[],''],
		['PAGE','43077',jdecode('Bel%C3%BCftung+Gecco'),jdecode(''),'/41386/43077.html','true',[],'']
	],''],
	['PAGE','41395',jdecode('T%C3%BCren'),jdecode(''),'/41395/home.html','true',[ 
		['PAGE','42986',jdecode('Haust%C3%BCren'),jdecode(''),'/41395/42986.html','true',[],'']
	],''],
	['PAGE','43941',jdecode('Insektenschutz'),jdecode(''),'/43941.html','true',[],''],
	['PAGE','42995',jdecode('Sonnenschutz'),jdecode(''),'/42995.html','true',[],''],
	['PAGE','43004',jdecode('Winterg%C3%A4rten'),jdecode(''),'/43004.html','true',[],''],
	['PAGE','41466',jdecode('Ger%C3%BCstbau'),jdecode(''),'/41466.html','true',[],''],
	['PAGE','43013',jdecode('Service'),jdecode(''),'/43013.html','true',[],''],
	['PAGE','41300',jdecode('Preis+%26+Leistung'),jdecode(''),'/41300.html','true',[],''],
	['PAGE','41309',jdecode('Referenzen'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','41327',jdecode('Kontakt'),jdecode(''),'/41327.html','true',[],''],
	['PAGE','41336',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41336.html','true',[],''],
	['PAGE','43022',jdecode('AGBs'),jdecode(''),'/43022.html','true',[],''],
	['PAGE','41363',jdecode('Impressum'),jdecode(''),'/41363.html','true',[],''],
	['PAGE','41531',jdecode('Anfahrt'),jdecode(''),'/41531.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10733';
theSitetree.keyvisualName='kv_10733.jpg';
theSitetree.fontsetId='31817';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10733',
				keyvisualName: 	'kv_10733.jpg',
				fontsetId: 		'31817',
				graphicsetId: 	'13589',
				contentColor: 	'8E8C8C',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41531',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090313-154533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41386',
internalId:  '',
customField: '20090311-174211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20070419-201948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41466',
internalId:  '',
customField: '20070319-221058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41300',
internalId:  '',
customField: '20090313-155113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20070416-232937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41327',
internalId:  '',
customField: '20061226-190122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41336',
internalId:  '',
customField: '20061217-011053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41531',
internalId:  '',
customField: '20061209-232332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41363',
internalId:  '',
customField: '20070127-195716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42986',
internalId:  '',
customField: '20070414-121028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42995',
internalId:  '',
customField: '20090309-002030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43022',
internalId:  '',
customField: '20070127-195445'
};
webappMappings['1501']=webappMappings['1501-27880450']={
webappId:    '1501',
documentId:  '44',
internalId:  '27880450',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43941',
internalId:  '',
customField: '20090309-002115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43004',
internalId:  '',
customField: '20070414-131906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43013',
internalId:  '',
customField: '20090313-154901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43050',
internalId:  '',
customField: '20070414-114632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43059',
internalId:  '',
customField: '20070416-233319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43077',
internalId:  '',
customField: '20070414-114256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43068',
internalId:  '',
customField: '20070317-195339'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I7IKHU';
var companyName   = 'Reino-Vertriebs+GmbH';
var htmlTitle	  = 'Reino-Vertriebs+GmbH%2C+L%C3%BCbeck';
var metaKeywords  = 'Reino%2C+Reino-Vertreibs+GmbH%2C+Reino-Vertriebs-GmbH%2C+T%C3%BCr%2C+T%C3%BCren%2C+Fenster%2C+Wintergarten%2C+Winterg%C3%A4rten%2C+Ger%C3%BCst%2C+Ger%C3%BCstbau%2C+Haus%2C+Garten%2C+Anbau%2C+Neubau%2C+Schlo%C3%9F%2C+Schl%C3%B6sser%2CL%C3%BCbeck%2CFenterbau+in+L%C3%BCbeck%2C+Moisling%2C+Hilde+Noack%2C+Niendorfer+Str.%2C+23560';
var metaContents  = 'Willkommen+bei+Reino-Vertriebs+GmbH.++Auf+den+folgenden+Seiten+finden+Sie+alle+Dienstleistungenund+Produkte+der+Reino-Vertreibs+GmbH.Fenter%2C++T%C3%BCren%2C+Winterg%C3%A4rten%2C+sowie+Ger%C3%BCstbau.';
					                                                                    
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 */					                                                            

