/* [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','41274',jdecode('Produkte'),jdecode(''),'/41274/home.html','true',[ 
		['PAGE','41283',jdecode('Einzelm%C3%B6bel'),jdecode(''),'/41274/41283.html','true',[],''],
		['PAGE','41292',jdecode('Einbaum%C3%B6bel'),jdecode(''),'/41274/41292.html','true',[],''],
		['PAGE','41310',jdecode('K%C3%BCche%2FBad'),jdecode(''),'/41274/41310.html','true',[],''],
		['PAGE','41328',jdecode('B%C3%BCro+und+Praxis'),jdecode(''),'/41274/41328.html','true',[],''],
		['PAGE','41337',jdecode('Ladenbau'),jdecode(''),'/41274/41337.html','true',[],''],
		['PAGE','41301',jdecode('T%C3%BCren'),jdecode(''),'/41274/41301.html','true',[],''],
		['PAGE','41319',jdecode('Holzfenster'),jdecode(''),'/41274/41319.html','true',[],'']
	],''],
	['PAGE','41265',jdecode('So+finden+Sie+uns'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41346',jdecode('Kontakt'),jdecode(''),'/41346/home.html','true',[ 
		['PAGE','41488',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/41346/41488.html','false',[],'']
	],''],
	['PAGE','41355',jdecode('Soziale+Standards%2F%C3%96kologie'),jdecode(''),'/41355/home.html','true',[ 
		['PAGE','41364',jdecode('Unser+Team'),jdecode(''),'/41355/41364.html','true',[],'']
	],''],
	['PAGE','41373',jdecode('Impressum'),jdecode(''),'/41373.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='TOI_Smoothsurface';
theSitetree.paletteFamily='D85959';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33402';
theSitetree.graphicsetId='14267';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Smoothsurface',
				paletteFamily: 	'D85959',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33402',
				graphicsetId: 	'14267',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				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['1001']=webappMappings['1001-atoix0i71ltn109117daca2']={
webappId:    '1001',
documentId:  '41346',
internalId:  'atoix0i71ltn109117daca2',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i71ltn109117daca2']={
webappId:    '1001',
documentId:  '41488',
internalId:  'atoix0i71ltn109117daca2',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20101024-195527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20100609-005528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20100614-003312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20100614-005056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20100614-004425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20100614-010103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41328',
internalId:  '',
customField: '20100527-224253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41337',
internalId:  '',
customField: '20100614-010532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20100601-003755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20100601-003518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41355',
internalId:  '',
customField: '20100527-233316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41364',
internalId:  '',
customField: '20101103-001957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41346',
internalId:  '',
customField: '20060128-155102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41488',
internalId:  '',
customField: '20060128-154942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41373',
internalId:  '',
customField: '20060128-131821'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I71LTN';
var companyName   = 'Sch%C3%B6ne+M%C3%B6bel+%C3%B6kologisch';
var htmlTitle	  = 'Stockburger+%26+Partner+Sch%C3%B6ne+M%C3%B6bel+okologisch';
var metaKeywords  = 'Ihr+Name%2C+Tischlerei%2C+Innenausbau%2C++M%C3%B6bel%2C++%C3%B6kologische+Oberfl%C3%A4chenbehandllung%2C++K%C3%BCchen+Berlin+cuvrystra%C3%9Fe+23+Cuvrystr.23+Tischlerei+Kreuzberg+Holzfenster+Berlin+Tischlerei+Berlin+kollektiv+selbstverwaltet+cuvrystra%C3%9Fe+stockburger+springer+tertilt+1984+M%C3%B6beldesign+Berlin+EINRICHTUNGEN+Tischlereikollektiv+%C3%B6kologische+M%C3%B6bel+sch%C3%B6ne+M%C3%B6bel%2C+individuelle+M%C3%B6bel%2C++Tischlereikollektiv+Selbstverwaltung+sch%C3%B6ne+M%C3%B6bel+sch%C3%B6ne+M%C3%B6bel+Berlin+';
var metaContents  = 'Willkommen+bei++Stockburger++Partner+Tischlerei+GmbH+';
					                                                                    
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 */					                                                            

