/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40569',jdecode('Schneidebretter'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','90243',jdecode('Bilder'),jdecode(''),'/90243.html','true',[],''],
	['PAGE','89501',jdecode('WC+Sitze'),jdecode(''),'/89501.html','true',[],''],
	['PAGE','89701',jdecode('T%C3%BCr+und+Stallschilder'),jdecode(''),'/89701.html','true',[],''],
	['PAGE','90201',jdecode('Garderoben+Leinenhalter+B%C3%BCrsten'),jdecode(''),'/90201.html','true',[],''],
	['PAGE','90222',jdecode('Spiegel'),jdecode(''),'/90222.html','true',[],''],
	['PAGE','91301',jdecode('Holzk%C3%A4stchen'),jdecode(''),'/91301.html','true',[],''],
	['PAGE','40605',jdecode('Uhren+%2B+Drehteller'),jdecode(''),'/40605.html','true',[],''],
	['PAGE','91322',jdecode('Schl%C3%BCsselkasten'),jdecode(''),'/91322.html','true',[],''],
	['PAGE','94401',jdecode('Saunazubeh%C3%B6r'),jdecode(''),'/94401.html','true',[],''],
	['PAGE','41042',jdecode('Untersetzer'),jdecode(''),'/41042.html','true',[],''],
	['PAGE','92322',jdecode('Pinw%C3%A4nde'),jdecode(''),'/92322.html','true',[],''],
	['PAGE','92343',jdecode('Tischsets'),jdecode(''),'/92343.html','true',[],''],
	['PAGE','40578',jdecode('Sonderanfertigungen'),jdecode(''),'/40578.html','true',[],''],
	['PAGE','61101',jdecode('Antikes+'),jdecode(''),'/61101.html','true',[],''],
	['PAGE','40587',jdecode('Kuschelecke'),jdecode(''),'/40587.html','true',[],''],
	['PAGE','40596',jdecode('K%C3%A4figzubeh%C3%B6r+f%C3%BCr+Kleintiere'),jdecode(''),'/40596.html','true',[],''],
	['PAGE','40704',jdecode('AGB+%26+Widerrufsbelehrung'),jdecode(''),'/40704.html','true',[],''],
	['PAGE','40614',jdecode('Impressum+%26+Haftungsausschluss'),jdecode(''),'/40614.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Bombay';
theSitetree.paletteFamily='395987';
theSitetree.keyvisualId='7526';
theSitetree.keyvisualName='kv_7526.jpg';
theSitetree.fontsetId='16583';
theSitetree.graphicsetId='12202';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C0B89D';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Bombay',
				paletteFamily: 	'395987',
				keyvisualId: 	'7526',
				keyvisualName: 	'kv_7526.jpg',
				fontsetId: 		'16583',
				graphicsetId: 	'12202',
				contentColor: 	'000000',
				contentBGColor: 'C0B89D',
				a_color: 		'395987',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111105-072805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40614',
internalId:  '',
customField: '20110320-172020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40704',
internalId:  '',
customField: '20110314-150923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40605',
internalId:  '',
customField: '20111115-071935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40596',
internalId:  '',
customField: '20110325-163356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20110314-150231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20111111-065207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61101',
internalId:  '',
customField: '20081228-090551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20110504-071152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41042',
internalId:  '',
customField: '20110314-142815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89501',
internalId:  '',
customField: '20111115-065541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89701',
internalId:  '',
customField: '20110504-085320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90201',
internalId:  '',
customField: '20110713-112433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90222',
internalId:  '',
customField: '20110314-142404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90243',
internalId:  '',
customField: '20111120-120514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91301',
internalId:  '',
customField: '20110504-083731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91322',
internalId:  '',
customField: '20111120-121021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92343',
internalId:  '',
customField: '20110224-143709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92322',
internalId:  '',
customField: '20111120-122534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94401',
internalId:  '',
customField: '20100904-063832'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRWTSO';
var companyName   = 'BRANDKUNST';
var htmlTitle	  = 'Brandmalerei+Brandkunst+Pyrographie';
var metaKeywords  = 'Brandkunst+Brandmalerei+Holz+Holzkunst+Holzbrandkunst+Kunst+Malerei+Dortmund+Sonderanfertigung+Bilder+Stallschilder+T%C3%BCrschilder+Fr%C3%BChst%C3%BCcksbretter+Schatzkiste+Holzkiste+Hochzeichtsgeschenk+Geburtstagsgeschenk+Geschenke+Geschenkartikel+Sch%C3%BCtzenscheibe+Geburtsteller+Pferde+Giraffen+Seel%C3%B6wen+Wellensittiche+Nymphensittiche+Frettchen+Hasen+Kaninchen+Zwergkaninchen+Delphine+Katzen+Hunde+Tiger+L%C3%B6wen+Elefanten+Seepferdchen+Pinguine+Meerschweinchen+Meerschweinchenzucht++American+Crested+Rosetten+Lesezeichen+Kalender++Gl%C3%A4ser+Tassen+WC+Sitz+Adler+Wei%C3%9Fkopfseeadler';
var metaContents  = 'Brandkunst+Brandmalerei+Pyrographie+';
					                                                                    
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 */					                                                            

