/* [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','40627',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40627/home.html','true',[ 
		['PAGE','41421',jdecode('GWZ+Gem%C3%BCnden'),jdecode(''),'/40627/41421.html','true',[],''],
		['PAGE','41408',jdecode('GWZ+Lohr'),jdecode(''),'/40627/41408.html','true',[],''],
		['PAGE','41175',jdecode('GWZ+Marktheidenfeld'),jdecode(''),'/40627/41175.html','true',[],''],
		['PAGE','40645',jdecode('Unser+Team'),jdecode(''),'/40627/40645.html','true',[],'']
	],''],
	['PAGE','40761',jdecode('Unsere+Ziele'),jdecode(''),'/40761/home.html','true',[ 
		['PAGE','40843',jdecode('Arbeit+%2F+Besch%C3%A4ftigung'),jdecode(''),'/40761/40843.html','true',[],''],
		['PAGE','40852',jdecode('Qualifizierung'),jdecode(''),'/40761/40852.html','true',[],''],
		['PAGE','40861',jdecode('Umwelt'),jdecode(''),'/40761/40861.html','true',[],''],
		['PAGE','41019',jdecode('Kontaktstelle+Bistro'),jdecode(''),'/40761/41019.html','true',[],'']
	],''],
	['PAGE','41037',jdecode('Unser+Service+und+Angebot'),jdecode(''),'/41037/home.html','true',[ 
		['PAGE','41219',jdecode('Gro%C3%9Fm%C3%B6bel'),jdecode(''),'/41037/41219.html','true',[],''],
		['PAGE','41225',jdecode('Kleinm%C3%B6bel'),jdecode(''),'/41037/41225.html','true',[],''],
		['PAGE','41231',jdecode('Bekleidung+und+Heimtextilien'),jdecode(''),'/41037/41231.html','true',[],''],
		['PAGE','43807',jdecode('Hausrat'),jdecode(''),'/41037/43807.html','true',[],''],
		['PAGE','44207',jdecode('Elektroartikel'),jdecode(''),'/41037/44207.html','true',[],''],
		['PAGE','44307',jdecode('Sport+und+Freizeit'),jdecode(''),'/41037/44307.html','true',[],'']
	],''],
	['PAGE','41541',jdecode('Kontakt'),jdecode(''),'/41541.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Presentation_1';
theSitetree.paletteFamily='650202';
theSitetree.keyvisualId='10698';
theSitetree.keyvisualName='kv_10698.jpg';
theSitetree.fontsetId='31803';
theSitetree.graphicsetId='13581';
theSitetree.contentColor='FFFEFE';
theSitetree.contentBGColor='845757';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Presentation_1',
				paletteFamily: 	'650202',
				keyvisualId: 	'10698',
				keyvisualName: 	'kv_10698.jpg',
				fontsetId: 		'31803',
				graphicsetId: 	'13581',
				contentColor: 	'FFFEFE',
				contentBGColor: '845757',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, 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: '20110908-114351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20110214-202802'
};
webappMappings['7060']=webappMappings['7060-9784ab963c52d13f3f7622303e28381a']={
webappId:    '7060',
documentId:  '41231',
internalId:  '9784ab963c52d13f3f7622303e28381a',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40761',
internalId:  '',
customField: '20110211-224440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41037',
internalId:  '',
customField: '20110806-103558'
};
webappMappings['1501']=webappMappings['1501-59199161']={
webappId:    '1501',
documentId:  '39994',
internalId:  '59199161',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41225',
internalId:  '',
customField: '20090506-135220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43807',
internalId:  '',
customField: '20110222-132126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41019',
internalId:  '',
customField: '20090507-170923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40645',
internalId:  '',
customField: '20120206-155018'
};
webappMappings['7060']=webappMappings['7060-81751e53e92132758dfc7a23be41fa1c']={
webappId:    '7060',
documentId:  '43807',
internalId:  '81751e53e92132758dfc7a23be41fa1c',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40843',
internalId:  '',
customField: '20090513-120429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40852',
internalId:  '',
customField: '20090423-174812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40861',
internalId:  '',
customField: '20090507-164404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41219',
internalId:  '',
customField: '20090506-135142'
};
webappMappings['7060']=webappMappings['7060-3e62f5800524caf41f0b26aea6a14557']={
webappId:    '7060',
documentId:  '41225',
internalId:  '3e62f5800524caf41f0b26aea6a14557',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-028ab60031da9d8ba51cf6e0660e6919']={
webappId:    '7060',
documentId:  '41219',
internalId:  '028ab60031da9d8ba51cf6e0660e6919',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-120f2337c8d']={
webappId:    '1007',
documentId:  '41175',
internalId:  '120f2337c8d',
customField: 'g.143p35kla.7qjk4rf2efq.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41175',
internalId:  '',
customField: '20090506-160916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41541',
internalId:  '',
customField: '20110211-224555'
};
webappMappings['1008']=webappMappings['1008-58782185']={
webappId:    '1008',
documentId:  '41541',
internalId:  '58782185',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41231',
internalId:  '',
customField: '20090506-135238'
};
webappMappings['1007']=webappMappings['1007-1211a9154c7']={
webappId:    '1007',
documentId:  '41408',
internalId:  '1211a9154c7',
customField: 'g.144d91kof.jnbj62v1v8.3o'
};
webappMappings['1007']=webappMappings['1007-1211a99601a']={
webappId:    '1007',
documentId:  '41421',
internalId:  '1211a99601a',
customField: 'g.144d9g6rg.8e8nbahnhci.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41421',
internalId:  '',
customField: '20090507-123345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41408',
internalId:  '',
customField: '20090507-123416'
};
webappMappings['7060']=webappMappings['7060-60dd25c76048a3ee7fe6837f4dd2faa6']={
webappId:    '7060',
documentId:  '44207',
internalId:  '60dd25c76048a3ee7fe6837f4dd2faa6',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44307',
internalId:  '',
customField: '20110323-142042'
};
webappMappings['7060']=webappMappings['7060-98043875ae0d14e7cf0e549680f30dbe']={
webappId:    '7060',
documentId:  '44307',
internalId:  '98043875ae0d14e7cf0e549680f30dbe',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44207',
internalId:  '',
customField: '20110323-141957'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRRQUK';
var companyName   = '+++++Gebraucht+Waren+Zentrum+Intakt+MSP';
var htmlTitle	  = 'Gebraucht+Waren+Zentrum+Main-Spessart+Intakt';
var metaKeywords  = 'Ihr+Name%2C+Grosshandel%2C+Handel%2C+Katalog%2C+Handwerk%2C+Ihr+Sortiment++';
var metaContents  = 'Willkommen+bei+Ihr+Name%2C+Gro%C3%9Fhandel+und+Zulieferer+fuer+Ihre+Branche.+Wir+liefern+alles+von+Ihr+Sortiment.++';
					                                                                    
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 */					                                                            

