/* [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','13801',jdecode('Home+S%2FY+Famagusta'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Baltic+Cup+2009-10'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','20201',jdecode('Innenraum+%28Bilder%29'),jdecode(''),'/20201.html','true',[],''],
	['PAGE','15001',jdecode('Ausr%C3%BCstungsliste'),jdecode(''),'/15001.html','true',[],''],
	['PAGE','59722',jdecode('Was+Neues+auf+dem+Schiff%3F'),jdecode(''),'/59722.html','true',[],''],
	['PAGE','17401',jdecode('Kopenhagen-T%C3%B6rn+2009'),jdecode(''),'/17401.html','true',[],''],
	['PAGE','71501',jdecode('Familient%C3%B6rn+Aug.+%26%23x27%3B10'),jdecode(''),'/71501.html','true',[],''],
	['PAGE','32501',jdecode('Video+Clips+von+Kunden'),jdecode(''),'/32501.html','true',[],''],
	['PAGE','77301',jdecode('Fotoalbum+von+Kunden'),jdecode(''),'/77301.html','true',[],''],
	['PAGE','23701',jdecode('Preise%2FBelegung+2011-12'),jdecode(''),'/23701.html','true',[],''],
	['PAGE','66601',jdecode('Sonderangebote'),jdecode(''),'/66601.html','true',[],''],
	['PAGE','88301',jdecode('Oceanis+46+F+%282011%29'),jdecode(''),'/88301.html','true',[],''],
	['PAGE','116401',jdecode('%C3%9CBERF%C3%9CHRUNG+Sept.+%26%23x27%3B11'),jdecode(''),'/116401.html','true',[],''],
	['PAGE','59701',jdecode('GRAN+CANARIA'),jdecode(''),'/59701.html','true',[],''],
	['PAGE','51201',jdecode('GRIECHENLAND'),jdecode(''),'/51201.html','true',[],''],
	['PAGE','60901',jdecode('GR-DIE+LUXUS+KLASSE'),jdecode(''),'/60901.html','true',[],''],
	['PAGE','43301',jdecode('ITALIEN'),jdecode(''),'/43301.html','true',[],''],
	['PAGE','107001',jdecode('Yachtverkauf%2FBrokerage'),jdecode(''),'/107001.html','true',[],''],
	['PAGE','13812',jdecode('Kontakt'),jdecode(''),'/13812/home.html','true',[ 
		['PAGE','15902',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13812/15902.html','false',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10733';
theSitetree.keyvisualName='kv_10733.jpg';
theSitetree.fontsetId='31817';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='595959';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10733',
				keyvisualName: 	'kv_10733.jpg',
				fontsetId: 		'31817',
				graphicsetId: 	'13589',
				contentColor: 	'595959',
				contentBGColor: 'FFFFFF',
				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:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0ineyzb102a363847b']={
webappId:    '1001',
documentId:  '13812',
internalId:  'atoix0ineyzb102a363847b',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ineyzb102a363847b']={
webappId:    '1001',
documentId:  '15902',
internalId:  'atoix0ineyzb102a363847b',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120125-223652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20101101-120527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20100924-132741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20110401-221712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88301',
internalId:  '',
customField: '20110401-201552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116401',
internalId:  '',
customField: '20111129-092106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15001',
internalId:  '',
customField: '20111215-111929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20100703-123314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15902',
internalId:  '',
customField: '20050315-002610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23701',
internalId:  '',
customField: '20120125-223936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107001',
internalId:  '',
customField: '20110110-161948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77301',
internalId:  '',
customField: '20100924-171128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59722',
internalId:  '',
customField: '20110817-100740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32501',
internalId:  '',
customField: '20091216-170447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43301',
internalId:  '',
customField: '20100531-155505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60901',
internalId:  '',
customField: '20100311-124326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20101220-192454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59701',
internalId:  '',
customField: '20111129-091448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66601',
internalId:  '',
customField: '20111128-151746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71501',
internalId:  '',
customField: '20100908-193644'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INEYZB';
var companyName   = 'Equi-Plan%C2%AE+Marine';
var htmlTitle	  = 'equi-plan+marine%C2%AE';
var metaKeywords  = 'Yachtcharter%2C+Ostsee+Yachtcharter%2C+Beneteau+50+ab+Heiligenhafen%2C+S%2FY+Famagusta%2C+Beneteau+50+ab+Gran+Canaria%2C+Famagusta%2C+';
var metaContents  = 'Yachtcharter+Weltweit%2C+Beneteau+50+ab+Heiligenhafen+%28Ostsee%29%2C+Yachtcharter+Mittelmeer%2C+Yachtcharter+Kanaren.';
					                                                                    
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 */					                                                            

