/* [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','10175',jdecode('Startseite'),jdecode(''),'/10175.html','true',[],''],
	['PAGE','10683',jdecode('Materialpackungen'),jdecode(''),'/10683.html','true',[],''],
	['PAGE','35901',jdecode('NEU+-+B%C3%A4nder+und+Borten'),jdecode(''),'/35901.html','true',[],''],
	['PAGE','40401',jdecode('NEU+-+Spitzen'),jdecode(''),'/40401.html','true',[],''],
	['PAGE','32901',jdecode('Taschenschnitte'),jdecode(''),'/32901.html','true',[],''],
	['PAGE','33801',jdecode('Neu+-+Taschenzubeh%C3%B6r'),jdecode(''),'/33801.html','true',[],''],
	['PAGE','10502',jdecode('Neu+-+Stoffe'),jdecode(''),'/10502/home.html','true',[ 
		['PAGE','41501',jdecode('Free+as+a+Bird'),jdecode(''),'/10502/41501.html','true',[],''],
		['PAGE','10520',jdecode('Rosenstoffe'),jdecode(''),'/10502/10520.html','true',[],''],
		['PAGE','25001',jdecode('Deko+-+u.+%C3%9Cberbreite+Stoffe'),jdecode(''),'/10502/25001.html','true',[],'']
	],''],
	['PAGE','41522',jdecode('Neu+-+Dies+und+Das'),jdecode(''),'/41522.html','true',[],''],
	['PAGE','10511',jdecode('Schn%C3%A4ppchen'),jdecode(''),'/10511.html','true',[],''],
	['PAGE','10585',jdecode('D%C3%A4nische+Webstoffe'),jdecode(''),'/10585/home.html','true',[ 
		['PAGE','18901',jdecode('Blau'),jdecode(''),'/10585/18901.html','true',[],''],
		['PAGE','22901',jdecode('Gr%C3%BCn'),jdecode(''),'/10585/22901.html','true',[],''],
		['PAGE','18922',jdecode('Rot+%2F+Rosa'),jdecode(''),'/10585/18922.html','true',[],''],
		['PAGE','18943',jdecode('Natur+%2F+Braun'),jdecode(''),'/10585/18943.html','true',[],'']
	],''],
	['PAGE','31201',jdecode('Galerie'),jdecode(''),'/31201.html','true',[],''],
	['PAGE','10529',jdecode('Messen%2FTermine'),jdecode(''),'/10529/home.html','true',[ 
		['PAGE','16901',jdecode('Patchworkmarkt+Dillenburg'),jdecode(''),'/10529/16901.html','true',[],''],
		['PAGE','34101',jdecode('Ausstellerliste+Dillenburg'),jdecode(''),'/10529/34101.html','true',[],'']
	],''],
	['PAGE','10547',jdecode('AGB%C2%B4s+%2F+Impressum'),jdecode(''),'/10547.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Flat';
theSitetree.paletteFamily='CC6633';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16705';
theSitetree.graphicsetId='12240';
theSitetree.contentColor='783513';
theSitetree.contentBGColor='EB966C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flat',
				paletteFamily: 	'CC6633',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16705',
				graphicsetId: 	'12240',
				contentColor: 	'783513',
				contentBGColor: 'EB966C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10175',
internalId:  '',
customField: '20100426-195557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10502',
internalId:  '',
customField: '20100427-121959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10511',
internalId:  '',
customField: '20091227-141407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10529',
internalId:  '',
customField: '20100427-201827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10547',
internalId:  '',
customField: '20091227-141312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10520',
internalId:  '',
customField: '20100427-002647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40401',
internalId:  '',
customField: '20100427-121912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10683',
internalId:  '',
customField: '20100427-202138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10585',
internalId:  '',
customField: '20090426-171352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32901',
internalId:  '',
customField: '20100520-202203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41501',
internalId:  '',
customField: '20100607-161519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31201',
internalId:  '',
customField: '20090616-173647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34101',
internalId:  '',
customField: '20100222-130423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33801',
internalId:  '',
customField: '20100622-145559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16901',
internalId:  '',
customField: '20100427-014226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18901',
internalId:  '',
customField: '20090922-162801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18943',
internalId:  '',
customField: '20090426-175846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20090929-130336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18922',
internalId:  '',
customField: '20090615-195019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25001',
internalId:  '',
customField: '20100607-162030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35901',
internalId:  '',
customField: '20100607-161019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41522',
internalId:  '',
customField: '20100427-122045'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0INVA66';
var companyName   = 'STOFFZAUBER';
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 */					                                                            
