/* [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','42322',jdecode('Willkommen'),jdecode(''),'/42322.html','true',[],''],
	['PAGE','72601',jdecode('Aktionen'),jdecode(''),'/72601.html','false',[],''],
	['PAGE','48701',jdecode('Aktuelle+Angebote'),jdecode(''),'/48701.html','true',[],''],
	['PAGE','42340',jdecode('Keramikshop'),jdecode(''),'/42340/home.html','true',[ 
		['PAGE','43873',jdecode('1.Das+ganze+Jahr'),jdecode(''),'/42340/43873.html','true',[],''],
		['PAGE','76701',jdecode('Vasen'),jdecode(''),'/42340/76701.html','false',[],''],
		['PAGE','76722',jdecode('Tiere'),jdecode(''),'/42340/76722.html','false',[],''],
		['PAGE','76743',jdecode('Kr%C3%BCge'),jdecode(''),'/42340/76743.html','false',[],''],
		['PAGE','42959',jdecode('2.Ostern'),jdecode(''),'/42340/42959.html','true',[],''],
		['PAGE','42674',jdecode('3.Weihnachten'),jdecode(''),'/42340/42674.html','true',[],''],
		['PAGE','42467',jdecode('Sortimentskatalog'),jdecode(''),'/42340/42467.html','false',[],'']
	],''],
	['PAGE','42349',jdecode('Bastelshop'),jdecode(''),'/42349/home.html','true',[ 
		['PAGE','66501',jdecode('Bastelhefte+'),jdecode(''),'/42349/66501.html','true',[],''],
		['PAGE','42476',jdecode('3D-Stanzb%C3%B6gen'),jdecode(''),'/42349/42476.html','true',[],''],
		['PAGE','98501',jdecode('3D+Postkarten'),jdecode(''),'/42349/98501.html','true',[],''],
		['PAGE','98601',jdecode('Karten+f%C3%BCr+jeden+Anla%C3%9F'),jdecode(''),'/42349/98601.html','true',[],'']
	],''],
	['PAGE','42358',jdecode('Kontakt'),jdecode(''),'/42358/home.html','true',[ 
		['PAGE','42492',jdecode('Impressum+%2FAGB%60s'),jdecode(''),'/42358/42492.html','true',[],''],
		['PAGE','42624',jdecode('Bestellung'),jdecode(''),'/42358/42624.html','true',[],'']
	],''],
	['PAGE','42634',jdecode('G%C3%A4stebuch'),jdecode(''),'/42634/home.html','true',[ 
		['PAGE','42633',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42634/42633.html','true',[],'']
	],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Transluszent';
theSitetree.paletteFamily='660000';
theSitetree.keyvisualId='9239';
theSitetree.keyvisualName='kv1.swf';
theSitetree.fontsetId='17363';
theSitetree.graphicsetId='12763';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Transluszent',
				paletteFamily: 	'660000',
				keyvisualId: 	'9239',
				keyvisualName: 	'kv1.swf',
				fontsetId: 		'17363',
				graphicsetId: 	'12763',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, 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: '20090131-133318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42322',
internalId:  '',
customField: '20090126-172137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42340',
internalId:  '',
customField: '20090126-172520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42349',
internalId:  '',
customField: '20090128-085141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42624',
internalId:  '',
customField: '20090125-150633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42358',
internalId:  '',
customField: '20090125-144143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42467',
internalId:  '',
customField: '20090125-133531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42476',
internalId:  '',
customField: '20081005-192741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42492',
internalId:  '',
customField: '20100503-105545'
};
webappMappings['1002']=webappMappings['1002-42634atoix0i7fntu']={
webappId:    '1002',
documentId:  '42634',
internalId:  '42634atoix0i7fntu',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42634atoix0i7fntu']={
webappId:    '1002',
documentId:  '42633',
internalId:  '42634atoix0i7fntu',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42634',
internalId:  '',
customField: '20090125-150708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42633',
internalId:  '',
customField: '20071019-164151'
};
webappMappings['1008']=webappMappings['1008-41295910']={
webappId:    '1008',
documentId:  '42624',
internalId:  '41295910',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42674',
internalId:  '',
customField: '20090125-151104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43873',
internalId:  '',
customField: '20090309-193909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42959',
internalId:  '',
customField: '20090308-114800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66501',
internalId:  '',
customField: '20090125-150550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20090513-200646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72601',
internalId:  '',
customField: '20100306-160521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76701',
internalId:  '',
customField: '20080921-145539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76722',
internalId:  '',
customField: '20080921-145539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76743',
internalId:  '',
customField: '20080921-145539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98501',
internalId:  '',
customField: '20090128-090016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98601',
internalId:  '',
customField: '20090128-090734'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7FNTU';
var companyName   = '';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

