/* [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','40619',jdecode('Brautmode'),jdecode(''),'/40619.html','true',[],''],
	['PAGE','40533',jdecode('Dekoration'),jdecode(''),'/40533.html','true',[],''],
	['PAGE','41718',jdecode('Deko+Beispiele'),jdecode(''),'/41718.html','true',[],''],
	['PAGE','40628',jdecode('Torten'),jdecode(''),'/40628.html','true',[],''],
	['PAGE','40685',jdecode('Limousine'),jdecode(''),'/40685.html','true',[],''],
	['PAGE','41655',jdecode('Hochzeitsreisen+%2F+Dienste'),jdecode(''),'/41655.html','true',[],''],
	['PAGE','40345',jdecode('Kontakt'),jdecode(''),'/40345.html','true',[],''],
	['PAGE','40363',jdecode('Impressum'),jdecode(''),'/40363.html','true',[],''],
	['PAGE','40520',jdecode('Anfahrt'),jdecode(''),'/40520.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='CECECE';
theSitetree.keyvisualId='10992';
theSitetree.keyvisualName='kv_10992.jpg';
theSitetree.fontsetId='31926';
theSitetree.graphicsetId='13745';
theSitetree.contentColor='303031';
theSitetree.contentBGColor='CECECE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Wellen',
				paletteFamily: 	'CECECE',
				keyvisualId: 	'10992',
				keyvisualName: 	'kv_10992.jpg',
				fontsetId: 		'31926',
				graphicsetId: 	'13745',
				contentColor: 	'303031',
				contentBGColor: 'CECECE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40520',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-18517596']={
webappId:    '1008',
documentId:  '40345',
internalId:  '18517596',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-10c9d6261af']={
webappId:    '1007',
documentId:  '40533',
internalId:  '10c9d6261af',
customField: 'g.11ielv7gh.g3qinf3dl1.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111221-220216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40363',
internalId:  '',
customField: '20081219-122946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40533',
internalId:  '',
customField: '20091008-215916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40619',
internalId:  '',
customField: '20081218-114616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40628',
internalId:  '',
customField: '20081210-232657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40685',
internalId:  '',
customField: '20090928-210034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41655',
internalId:  '',
customField: '20120109-213841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40345',
internalId:  '',
customField: '20081219-122818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40520',
internalId:  '',
customField: '20081219-123023'
};
webappMappings['1501']=webappMappings['1501-26999352']={
webappId:    '1501',
documentId:  '44',
internalId:  '26999352',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-22549870cb09a578e0a05c8aa77f70a8']={
webappId:    '7060',
documentId:  '41718',
internalId:  '22549870cb09a578e0a05c8aa77f70a8',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41718',
internalId:  '',
customField: '20081219-124943'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7R9RA';
var companyName   = 'ein+Traum+wird+wahr...';
var htmlTitle	  = 'Brautsalon%2CBrautmode%2CHochzeitskleid';
var metaKeywords  = 'Brautsalon%2C+N%C3%BCrnberg%2C+Ansbach%2C+Viktoria%2CBrautkleid%2C+Hochzeitskleid%2C+Braut%2C+Brautmode%2CHochzeit%2C+Party-Service%2CLimousine%2C+Limo%2C+Raumdekoration%2C+Viktoria%2C+Dominic%2C+Dominik%2C+Party+Service%2CPartyservice%2C+Brautkleider%2CBrautkleid%2C+Hochzeitsdekoration%2CDekoration+f%C3%BCr+Hochzeit%2C+Dekoration+der+R%C3%A4ume%2C++Kerzen%2C+Verlobungsringe%2CRingkissen%2C+Haarnadeln%2C+Limousine%2C+Brauthandschuhe%2C+Brauthandschuh%2CReifrock%2CReifenrock%2C+Brautschleier%2CEistorte%2CTorte%2CSahnetorte%2CCremtorte%2CHochzeitstorte%2CKonditorei%2CB%C3%A4ckerei.';
var metaContents  = 'Willkommen+bei+hochzeitskleider-billiger.de.+Hier+erhalten+Sie+Informationen+zu+unseren+Angebote.+Bei+uns+finden+Sie+g%C3%BCnstig+alles+f%C3%BCr+die+Hochzeit+und+die+Braut.+Wir+f%C3%BChren+und+bieten%3A+Brautkleider%2C+Hochzeitskleider%2C+Brautschleier%2C+Brauthandschuh%2C+Reifenrock%2C+Ringkissen%2CLimousine%2C+Party-Service+uvm.';
					                                                                    
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 */					                                                            

