/* [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','40213',jdecode('Produkte'),jdecode(''),'/40213/home.html','true',[ 
		['PAGE','41556',jdecode('M%C3%B6bel'),jdecode(''),'/40213/41556.html','true',[],''],
		['PAGE','41611',jdecode('Lichtobjekte'),jdecode(''),'/40213/41611.html','true',[],''],
		['PAGE','41629',jdecode('Rahmen'),jdecode(''),'/40213/41629.html','true',[],''],
		['PAGE','41645',jdecode('Interieur'),jdecode(''),'/40213/41645.html','true',[],''],
		['PAGE','41730',jdecode('Spielzeug+%26+Accesoires'),jdecode(''),'/40213/41730.html','true',[],'']
	],''],
	['PAGE','40233',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40233.html','false',[],''],
	['PAGE','41766',jdecode('Kontakt%2FImpressum'),jdecode(''),'/41766.html','true',[],''],
	['PAGE','40791',jdecode('G%C3%A4stebuch'),jdecode(''),'/40791/home.html','true',[ 
		['PAGE','40790',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40791/40790.html','true',[],'']
	],''],
	['PAGE','41819',jdecode('Multimedia+Show+1'),jdecode(''),'/41819.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Flat';
theSitetree.paletteFamily='669999';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16703';
theSitetree.graphicsetId='12238';
theSitetree.contentColor='366161';
theSitetree.contentBGColor='9ABABA';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flat',
				paletteFamily: 	'669999',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16703',
				graphicsetId: 	'12238',
				contentColor: 	'366161',
				contentBGColor: '9ABABA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40213',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40213',
internalId:  '',
customField: '20090712-081816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41556',
internalId:  '',
customField: '20080126-143337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40233',
internalId:  '',
customField: '20070320-152127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41611',
internalId:  '',
customField: '20080126-143312'
};
webappMappings['1002']=webappMappings['1002-40791atoix0i76ii8']={
webappId:    '1002',
documentId:  '40791',
internalId:  '40791atoix0i76ii8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40791atoix0i76ii8']={
webappId:    '1002',
documentId:  '40790',
internalId:  '40791atoix0i76ii8',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40791',
internalId:  '',
customField: '20070223-195041'
};
webappMappings['1007']=webappMappings['1007-117b644e8bd']={
webappId:    '1007',
documentId:  '41645',
internalId:  '117b644e8bd',
customField: 'g.12ur3jtka.bia9p194vg.1s'
};
webappMappings['1007']=webappMappings['1007-117b63954dd']={
webappId:    '1007',
documentId:  '41629',
internalId:  '117b63954dd',
customField: 'g.12ur3fdkt.1tolhd02ao.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40790',
internalId:  '',
customField: '20070223-195041'
};
webappMappings['1007']=webappMappings['1007-117b62efe70']={
webappId:    '1007',
documentId:  '41611',
internalId:  '117b62efe70',
customField: 'g.12ur2au14.4hlcfe32cd5.1s'
};
webappMappings['1007']=webappMappings['1007-117b5b8d2a7']={
webappId:    '1007',
documentId:  '41556',
internalId:  '117b5b8d2a7',
customField: 'g.12uqres0s.l50r0qgo3d.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41629',
internalId:  '',
customField: '20080604-220736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41645',
internalId:  '',
customField: '20080126-142902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41730',
internalId:  '',
customField: '20090221-130056'
};
webappMappings['7060']=webappMappings['7060-dbdc850d2bab13afe8081257823449c2']={
webappId:    '7060',
documentId:  '41819',
internalId:  'dbdc850d2bab13afe8081257823449c2',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41766',
internalId:  '',
customField: '20081026-121253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41819',
internalId:  '',
customField: '20100722-113032'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0I76II8';
var companyName   = 'designs+by+ONE2TREE...';
var htmlTitle	  = 'Design+und+Ausf%C3%BChrung+nach+Mass';
var metaKeywords  = 'Jean-Marc+Mathy%2C+M%C3%B6bel%2C+Kristina+G%C3%B6dicke%2C+Mosaik%2C+Wohnmoebel%2C+Bleiverglasung%2C+Rahmen%2C+Tische%2C+Schrank%2C+Vergoldung%2C+Lampen%2C+Einrichtung%2C+Badezimmermoebel%2C+Kreatif%2C++Entwurf%2C+design%2C+originell%2C++tree%2C+Mathy%2C+G%C3%B6dicke%2C+restaurierung%2C+Ausf%C3%BChrung%2C+Blei+in+Glas%2C+Jean-marc%2C+Kristina%2C+one2tree%2C+onetwotree%2C+12tree%2C+123%2C+lampen%2C+design%2C+lichtobjekt%2C+';
var metaContents  = 'Willkommen+bei+one2tree.+Von+Inneneinrichtung%2C+%C3%BCber+Rahmen%2C+Vergoldung%2C+Mosaik%2C+Bleiverglasung%2C+bis+hin+zu+M%C3%B6belrestaurierung.+Schauen+sie+bei+uns+vorbei.+';
					                                                                    
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 */					                                                            

