/* [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','40577',jdecode('Traumhochzeit'),jdecode(''),'/40577/home.html','true',[ 
		['PAGE','40559',jdecode('Schritt+f%C3%BCr+Schritt'),jdecode(''),'/40577/40559.html','true',[],'']
	],''],
	['PAGE','44649',jdecode('Ehegel%C3%BCbde+am+Strand'),jdecode(''),'/44649/home.html','true',[ 
		['PAGE','41273',jdecode('Freie+Trauung'),jdecode(''),'/44649/41273.html','true',[],'']
	],''],
	['PAGE','42090',jdecode('Griechenland'),jdecode(''),'/42090.html','true',[],''],
	['PAGE','41204',jdecode('Spanien'),jdecode(''),'/41204/home.html','true',[ 
		['PAGE','42564',jdecode('+Teneriffa+'),jdecode(''),'/41204/42564.html','true',[],''],
		['PAGE','41122',jdecode('Mallorca'),jdecode(''),'/41204/41122.html','true',[],'']
	],''],
	['PAGE','41175',jdecode('Italien+'),jdecode(''),'/41175.html','true',[],''],
	['PAGE','52701',jdecode('Frankreich'),jdecode(''),'/52701.html','true',[],''],
	['PAGE','42603',jdecode('T%C3%BCrkei'),jdecode(''),'/42603.html','true',[],''],
	['PAGE','41264',jdecode('Thailand'),jdecode(''),'/41264.html','true',[],''],
	['PAGE','40622',jdecode('Kontakt'),jdecode(''),'/40622/home.html','true',[ 
		['PAGE','40631',jdecode('Impressum'),jdecode(''),'/40622/40631.html','true',[],'']
	],''],
	['PAGE','42099',jdecode('Anfahrt'),jdecode(''),'/42099.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Roses02';
theSitetree.paletteFamily='DF861C';
theSitetree.keyvisualId='11030';
theSitetree.keyvisualName='kv_11030.jpg';
theSitetree.fontsetId='32070';
theSitetree.graphicsetId='13763';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='DF861C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses02',
				paletteFamily: 	'DF861C',
				keyvisualId: 	'11030',
				keyvisualName: 	'kv_11030.jpg',
				fontsetId: 		'32070',
				graphicsetId: 	'13763',
				contentColor: 	'FFFFFF',
				contentBGColor: 'DF861C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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: '20110706-151922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40559',
internalId:  '',
customField: '20110711-150145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40577',
internalId:  '',
customField: '20110706-153717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52701',
internalId:  '',
customField: '20110711-164007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44649',
internalId:  '',
customField: '20110711-152947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40622',
internalId:  '',
customField: '20110711-172219'
};
webappMappings['1008']=webappMappings['1008-62696737']={
webappId:    '1008',
documentId:  '40622',
internalId:  '62696737',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40631',
internalId:  '',
customField: '20090830-170716'
};
webappMappings['1008']=webappMappings['1008-74625127']={
webappId:    '1008',
documentId:  '52701',
internalId:  '74625127',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-74624855']={
webappId:    '1008',
documentId:  '42564',
internalId:  '74624855',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41122',
internalId:  '',
customField: '20110711-161556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41175',
internalId:  '',
customField: '20110711-163434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41204',
internalId:  '',
customField: '20110711-162652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42564',
internalId:  '',
customField: '20110711-155835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41264',
internalId:  '',
customField: '20110711-171324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20110623-190734'
};
webappMappings['1008']=webappMappings['1008-74624451']={
webappId:    '1008',
documentId:  '42090',
internalId:  '74624451',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42099',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42090',
internalId:  '',
customField: '20110711-155002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42099',
internalId:  '',
customField: '20100114-203654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42603',
internalId:  '',
customField: '20110301-195207'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IR8RMG';
var companyName   = 'Strandhochzeit+-+Easywedding';
var htmlTitle	  = 'Hochzeit+am+Strand%2C+Hochzeit+im+Ausland%2C+Hochzeit+auf+Mallorca%2C+Kreta%2C+Italien';
var metaKeywords  = 'Hochzeit+Strandhochzeit+Mallorca+Italien+Weddingplaner+im+Ausland%2C+Heiraten+im+Ausland%2CAuslandhochzeit%2CMallorca%2CKreta%2CBali%2CHochzeitsplanung+im+Ausland';
var metaContents  = 'Strandhochzeit++Mallorca+Hochzei%2Ct+im+Ausland+%2CFinca%2C+Italien%2C+Easywedding+Weddingplaner%2CKreta%2CHeiraten+in+Paris%2CHochzeit+im+Ausland%2C';
					                                                                    
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 */					                                                            

