/* [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','4579',jdecode('Tach%21'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','16301',jdecode('Band+1'),jdecode(''),'/16301.html','true',[],''],
	['PAGE','16322',jdecode('Band+2'),jdecode(''),'/16322.html','true',[],''],
	['PAGE','18601',jdecode('Vokabeln'),jdecode(''),'/18601.html','true',[],''],
	['PAGE','18122',jdecode('G%C3%BCtersloh'),jdecode(''),'/18122.html','true',[],''],
	['PAGE','17701',jdecode('Impressum'),jdecode(''),'/17701.html','true',[],'']];
var siteelementCount=6;
theSitetree.topTemplateName='Stripe';
theSitetree.paletteFamily='14645C';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10773';
theSitetree.graphicsetId='10899';
theSitetree.contentColor='14645C';
theSitetree.contentBGColor='FCFCFC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripe',
				paletteFamily: 	'14645C',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10773',
				graphicsetId: 	'10899',
				contentColor: 	'14645C',
				contentBGColor: 'FCFCFC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'14645C',
				e_color: 		'84B4AF',
				f_color: 		'84B4AF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20060211-002642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18601',
internalId:  '',
customField: '20070125-231415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20080705-201408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16322',
internalId:  '',
customField: '20060318-133852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18122',
internalId:  '',
customField: '20080705-201115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20060215-000624'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0INXLDC';
var companyName   = 'P%C3%B6lter%2C+Pl%C3%B6rre+und+Pin%C3%B6ckel+-+G%C3%BCtersloher+Sprachf%C3%BChrer';
var htmlTitle	  = 'P%C3%B6lter%2C+Pl%C3%B6rre+und+Pin%C3%B6ckel+-+Grundwortschatz+zum+%C3%9Cberleben+im+Kreis+G%C3%BCtersloh+-+Sprachf%C3%BChrer+Umgangs-Ostwestf%C3%A4lisch';
var metaKeywords  = 'Sprache%2C+Regiolekt%2C+Mundart%2C+Westfalen%2C+westf%C3%A4lisch%2C+ostwestfalisch%2C+W%C3%B6rterbuch%2C+Humor%2C+Satire%2C+Vox+Rindvieh%2C+Sprachkursus%2C+Sprachf%C3%BChrer%2C+Sprachtrainer%2C+Vokabeln%2C+Vokabeltrainer%2C+Dalke%2C+G%C3%BCtersloh%2C+Guetersloh%2C+GT%2C+G%C3%BCtsel%2C+Ostwestfalen-Lippe%2C+OWL%2C+Senne%2C+Teutoburger+Wald%2C+Ems%2C+Heimat%2C+Heimatverein%2C+Heimatvereine%2C+Geschenk%2C+Geschenke%2C+Buch%2C+Taschenbuch%2C+B%C3%BCcher';
var metaContents  = 'Sprachkurs+f%C3%BCr+den+Kreis+G%C3%BCtersloh+%2F+Ostwestfalen-Lippe+Regiolekt+Mundart+f%C3%BCr+Versmold%2C+Werther%2C+Brockhagen%2C+Borgholzhausen%2C+Verl%2C+Harsewinkel%2C+Herzebrock-Clarholz%2C+Marienfeld%2C+Rietberg%2C+Langenberg%2C+Steinhagen+und+Schlo%C3%9F+Holte-Stukenbrock';
					                                                                    
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 */					                                                            
