/* [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','44',jdecode('Startseite'),jdecode(''),'/44/home.html','true',[ 
		['PAGE','40497',jdecode('Wir+%C3%BCber+uns+-+Kontakt'),jdecode(''),'/44/40497.html','true',[],''],
		['PAGE','40560',jdecode('Impressum+und+Recht'),jdecode(''),'/44/40560.html','true',[],'']
	],''],
	['PAGE','40506',jdecode('Wracktauchen'),jdecode(''),'/40506/home.html','true',[ 
		['PAGE','94901',jdecode('Walchensee%2FStarnberger+See'),jdecode(''),'/40506/94901.html','true',[],''],
		['PAGE','95001',jdecode('Tegernsee'),jdecode(''),'/40506/95001.html','true',[],''],
		['PAGE','94922',jdecode('%C3%96sterreich'),jdecode(''),'/40506/94922.html','true',[],'']
	],''],
	['PAGE','40613',jdecode('Lanzarote'),jdecode(''),'/40613.html','true',[],''],
	['PAGE','40631',jdecode('Tauchg%C3%A4nge+'),jdecode(''),'/40631.html','true',[],''],
	['PAGE','40586',jdecode('Sporttauchkurse'),jdecode(''),'/40586.html','true',[],''],
	['PAGE','40595',jdecode('Technisches+Tauchen'),jdecode(''),'/40595.html','true',[],''],
	['PAGE','40524',jdecode('Rettungstauchen'),jdecode(''),'/40524.html','true',[],''],
	['PAGE','40604',jdecode('Internetshop'),jdecode(''),'/40604.html','true',[],''],
	['PAGE','79701',jdecode('Tauchunternehmen'),jdecode(''),'/79701.html','true',[],''],
	['PAGE','40622',jdecode('Links'),jdecode(''),'/40622.html','true',[],''],
	['PAGE','41250',jdecode('Anfahrt'),jdecode(''),'/41250.html','true',[],''],
	['PAGE','41531',jdecode('Bildergalerie+1'),jdecode(''),'/41531.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Urlaub11';
theSitetree.paletteFamily='87BBF7';
theSitetree.keyvisualId='9939';
theSitetree.keyvisualName='kv_9939.jpg';
theSitetree.fontsetId='17740';
theSitetree.graphicsetId='13106';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9FD8F9';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Urlaub11',
				paletteFamily: 	'87BBF7',
				keyvisualId: 	'9939',
				keyvisualName: 	'kv_9939.jpg',
				fontsetId: 		'17740',
				graphicsetId: 	'13106',
				contentColor: 	'000000',
				contentBGColor: '9FD8F9',
				a_color: 		'000000',
				b_color: 		'000000',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-6454888']={
webappId:    '1501',
documentId:  '44',
internalId:  '6454888',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41250',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-10a3283423d']={
webappId:    '1007',
documentId:  '41531',
internalId:  '10a3283423d',
customField: 'g.118p7nqmu.4a3pk8rheed.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110507-184257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40497',
internalId:  '',
customField: '20100521-085331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40506',
internalId:  '',
customField: '20100521-085834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40595',
internalId:  '',
customField: '20110507-193727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40524',
internalId:  '',
customField: '20110507-192647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40631',
internalId:  '',
customField: '20110514-163048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95001',
internalId:  '',
customField: '20110530-234707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20101003-182751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40604',
internalId:  '',
customField: '20110513-230230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40613',
internalId:  '',
customField: '20110512-234202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40560',
internalId:  '',
customField: '20081126-163822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40586',
internalId:  '',
customField: '20110507-193539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94922',
internalId:  '',
customField: '20110507-184713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40622',
internalId:  '',
customField: '20110507-193134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41250',
internalId:  '',
customField: '20110507-193253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41531',
internalId:  '',
customField: '20090606-175842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79701',
internalId:  '',
customField: '20110507-192944'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7CPLS';
var companyName   = '*+Peters+Tauchcenter+im+www+*';
var htmlTitle	  = 'Tauchschule+und+Taucherunternehmen';
var metaKeywords  = 'Tauchen%2C+Tauchschule%2C+Tauchausbildung%2C++Tauchlehrer%2C+Rettungstauchen%2C+VIT%2C+ANDI%2C+Wasserwacht%2C+Wasserrettung%2C+Tauchurlaub%2C+Tauchreisen%2C+Sporttauchen%2C+CMAS%2C+Nitrox%2C+Trimix%2C+Rebreather%2C+Mischgastauchen%2C+Tauchausr%C3%BCstung%2C+Verkauf%2C+Tieftauchen%2C+Wrack%2C+Dive%2C+Divemaster%2C+Meer%2C+Buddy%2C+Inspiration%2C+Kreislaufger%C3%A4t%2C+M%C3%BCnchen%2C+Sport%2C+Sex%2C+Riff%2C+Reise%2C+Tauchlehrerausbildung%2C+Peter%2C+Mares%2C+Poseidon%2C+Aqualung%2C+Literatur%2C+Scubapro%2C+Tauchsicherheit%2C+Tauchunfall%2C+Arbeitstauchen%2C+Suche%2C+Bergung%2C+Versicherung%2C';
var metaContents  = 'Tauchcenter%2C+Taucherlehrbetrieb%2C+Sporttauchen%2C+Technisches+Tauchen%2C+Rettungstauchen%2C+Tauchen+vom+Anf%C3%A4nger+bis+zum+Profi%2C+Tauchshop+im+Onlineversand';
					                                                                    
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 */					                                                            

