/* [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','41349',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41349.html','true',[],''],
	['PAGE','41493',jdecode('Nachhilfe+Mathe+und+Engl.'),jdecode(''),'/41493.html','true',[],''],
	['PAGE','41588',jdecode('+Kurse+und+Preise'),jdecode(''),'/41588.html','true',[],''],
	['PAGE','61401',jdecode('Preise'),jdecode(''),'/61401.html','false',[],''],
	['PAGE','41358',jdecode('Sprachreise+2012+'),jdecode(''),'/41358.html','true',[],''],
	['PAGE','41394',jdecode('Kontakt'),jdecode(''),'/41394.html','true',[],''],
	['PAGE','95701',jdecode('Kontaktformular'),jdecode(''),'/95701.html','true',[],''],
	['PAGE','41641',jdecode('Anfahrt'),jdecode(''),'/41641.html','true',[],''],
	['PAGE','43256',jdecode('Pinnwand'),jdecode(''),'/43256.html','true',[],''],
	['PAGE','41549',jdecode('+Veranstaltungen'),jdecode(''),'/41549.html','true',[],''],
	['PAGE','41403',jdecode('Impressum+und+AGB'),jdecode(''),'/41403.html','true',[],''],
	['PAGE','116601',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/116601.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='336699';
theSitetree.keyvisualId='1223';
theSitetree.keyvisualName='buero.jpg';
theSitetree.fontsetId='192';
theSitetree.graphicsetId='231';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'336699',
				keyvisualId: 	'1223',
				keyvisualName: 	'buero.jpg',
				fontsetId: 		'192',
				graphicsetId: 	'231',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'336699',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20111006-153835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41349',
internalId:  '',
customField: '20110823-120137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41358',
internalId:  '',
customField: '20110502-115732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41588',
internalId:  '',
customField: '20120120-135213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41394',
internalId:  '',
customField: '20110819-192007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41403',
internalId:  '',
customField: '20101010-113731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41493',
internalId:  '',
customField: '20111010-161030'
};
webappMappings['7090']=webappMappings['7090-160709']={
webappId:    '7090',
documentId:  '41493',
internalId:  '160709',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41549',
internalId:  '',
customField: '20120118-132210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61401',
internalId:  '',
customField: '20110208-211138'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41641',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41641',
internalId:  '',
customField: '20101209-133840'
};
webappMappings['7090']=webappMappings['7090-160710']={
webappId:    '7090',
documentId:  '41641',
internalId:  '160710',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-272450']={
webappId:    '7090',
documentId:  '41349',
internalId:  '272450',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-28335']={
webappId:    '7091',
documentId:  '41394',
internalId:  '28335',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-282684']={
webappId:    '7090',
documentId:  '41588',
internalId:  '282684',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43256',
internalId:  '',
customField: '20111129-133506'
};
webappMappings['1501']=webappMappings['1501-52971382']={
webappId:    '1501',
documentId:  '39994',
internalId:  '52971382',
customField: '1501'
};
webappMappings['7090']=webappMappings['7090-577551']={
webappId:    '7090',
documentId:  '41549',
internalId:  '577551',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95701',
internalId:  '',
customField: '20110510-223212'
};
webappMappings['7091']=webappMappings['7091-59779']={
webappId:    '7091',
documentId:  '41394',
internalId:  '59779',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-59060']={
webappId:    '7091',
documentId:  '39994',
internalId:  '59060',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-45435487']={
webappId:    '1008',
documentId:  '95701',
internalId:  '45435487',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '116601',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116601',
internalId:  '',
customField: '20120121-104355'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IR1ZAE';
var companyName   = 'Idiom+Sprachschule+';
var htmlTitle	  = '+Idiom+Sprachschule+in+Hamburg';
var metaKeywords  = 'Sprachschule+in+Hamburg%2C+Brasilianisches+Portugiesisch+in+Hamburg%2C+%C3%9Cbersetzung+von+Portugiesisch-Deutsch-Portugiesisch%2C+Spanischkurs+in+Hamburg%2C+Englischkurs+in+Hamburg%2C+Sprachkurse+in+Hamburg%2C+Deutschkurs+in+Hamburg%2C+Englisch+f%C3%BCr+Firmen%2C+Portugiesischsprachkurs+in+Hamburg%2C+Franz%C3%B6sischunterricht+in+Hamburg%2C+Schreibworkshops%2C+Ferienkurse%2C+Deutsch+als+Fremdsprache%2C+Sprachreise%2C+Integrationskurs%2C+Business+Englisch%2C+Englisch%2C+Portugiesisch+Kurs+in+Hamburg.';
var metaContents  = 'Willkommen+bei+der+Homepage+der+Idiom+Sprachschule.+Hier+erfahren+Sie+mehr+%C3%BCber+unsere+Leistungsangebot.+Wir+bieten+Portugisisch%2C+Spanisch%2C+Englisch+und+Deutsch+Sprachkurse.';
					                                                                    
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 */					                                                            

