/* [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.html','true',[],''],
	['PAGE','47001',jdecode('Hasselborn'),jdecode(''),'/47001/home.html','true',[ 
		['PAGE','49601',jdecode('Anreise'),jdecode(''),'/47001/49601.html','true',[],''],
		['PAGE','49643',jdecode('Belegungsplan'),jdecode(''),'/47001/49643.html','true',[],''],
		['PAGE','42037',jdecode('Wohnung+Nord'),jdecode(''),'/47001/42037.html','true',[],''],
		['PAGE','42049',jdecode('Wohnung+S%C3%BCd'),jdecode(''),'/47001/42049.html','true',[],''],
		['PAGE','41998',jdecode('Rund+um+Hasselborn'),jdecode(''),'/47001/41998.html','true',[],''],
		['PAGE','43090',jdecode('Bilder+von+Hasselborn'),jdecode(''),'/47001/43090.html','true',[],''],
		['PAGE','42720',jdecode('Online-Anfrage+Hasselborn'),jdecode(''),'/47001/42720.html','true',[],'']
	],''],
	['PAGE','47101',jdecode('Gie%C3%9Fen+City'),jdecode(''),'/47101/home.html','true',[ 
		['PAGE','49622',jdecode('Anreise'),jdecode(''),'/47101/49622.html','true',[],''],
		['PAGE','49901',jdecode('Belegungsplan'),jdecode(''),'/47101/49901.html','true',[],''],
		['PAGE','49401',jdecode('Wohnung+Auszeit'),jdecode(''),'/47101/49401.html','true',[],''],
		['PAGE','48901',jdecode('Rund+um+Gie%C3%9Fen'),jdecode(''),'/47101/48901.html','true',[],''],
		['PAGE','66601',jdecode('Online+Anfrage+Gie%C3%9Fen'),jdecode(''),'/47101/66601.html','true',[],'']
	],''],
	['PAGE','40497',jdecode('Unser+Angebot+%2F+Preise'),jdecode(''),'/40497.html','true',[],''],
	['PAGE','48706',jdecode('G%C3%A4stebuch'),jdecode(''),'/48706/home.html','true',[ 
		['PAGE','48701',jdecode('Eintr%C3%A4ge'),jdecode(''),'/48706/48701.html','true',[],'']
	],''],
	['PAGE','43155',jdecode('Impressum'),jdecode(''),'/43155.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Easy';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='52';
theSitetree.graphicsetId='57';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Easy',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'52',
				graphicsetId: 	'57',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110511-210820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40497',
internalId:  '',
customField: '20110202-125223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42720',
internalId:  '',
customField: '20110130-194758'
};
webappMappings['1501']=webappMappings['1501-52789218']={
webappId:    '1501',
documentId:  '44',
internalId:  '52789218',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49901',
internalId:  '',
customField: '20101104-224853'
};
webappMappings['7091']=webappMappings['7091-54742']={
webappId:    '7091',
documentId:  '49901',
internalId:  '54742',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-120fdd46044']={
webappId:    '1007',
documentId:  '43090',
internalId:  '120fdd46044',
customField: 'g.143uspa0h.cpid3irhdj.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42037',
internalId:  '',
customField: '20110130-210648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42049',
internalId:  '',
customField: '20091129-212148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41980',
internalId:  '',
customField: '20090117-212347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41998',
internalId:  '',
customField: '20110202-125916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49601',
internalId:  '',
customField: '20110202-125615'
};
webappMappings['1002']=webappMappings['1002-48706atoix0inh4jn']={
webappId:    '1002',
documentId:  '48706',
internalId:  '48706atoix0inh4jn',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47101',
internalId:  '',
customField: '20110130-210810'
};
webappMappings['7091']=webappMappings['7091-19709']={
webappId:    '7091',
documentId:  '49643',
internalId:  '19709',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43090',
internalId:  '',
customField: '20090508-215433'
};
webappMappings['1008']=webappMappings['1008-56699867']={
webappId:    '1008',
documentId:  '42720',
internalId:  '56699867',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43155',
internalId:  '',
customField: '20100103-213300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47001',
internalId:  '',
customField: '20110202-125530'
};
webappMappings['1002']=webappMappings['1002-48706atoix0inh4jn']={
webappId:    '1002',
documentId:  '48701',
internalId:  '48706atoix0inh4jn',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49643',
internalId:  '',
customField: '20110202-125709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48706',
internalId:  '',
customField: '20101104-214154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48901',
internalId:  '',
customField: '20101226-103657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20101104-214154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66601',
internalId:  '',
customField: '20110130-195418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49401',
internalId:  '',
customField: '20110130-211046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49622',
internalId:  '',
customField: '20101104-225026'
};
webappMappings['1008']=webappMappings['1008-60101550']={
webappId:    '1008',
documentId:  '66601',
internalId:  '60101550',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-60050']={
webappId:    '7091',
documentId:  '47001',
internalId:  '60050',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INH4JN';
var companyName   = 'Ferienwohnungen+%22Auszeit%22+';
var htmlTitle	  = 'Ferienhaus+%22Auszeit%22+im+Taunus';
var metaKeywords  = 'Ihr+Name%2C+Kunst%2C+Kultur%2C+Ihr+Programm%2C+K%C3%BCnstler%2C+++';
var metaContents  = 'Willkommen+bei+Ihr+Name.++';
					                                                                    
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 */					                                                            

