/* [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'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','28501',jdecode('Romantic+Angebot'),jdecode(''),'/28501.html','true',[],''],
	['PAGE','29601',jdecode('Style-Coaching'),jdecode(''),'/29601/home.html','true',[ 
		['PAGE','73901',jdecode('Style-Coaching+Angebote'),jdecode(''),'/29601/73901.html','true',[],''],
		['PAGE','73922',jdecode('Referenzen'),jdecode(''),'/29601/73922.html','true',[],'']
	],''],
	['PAGE','41501',jdecode('Online+Shop'),jdecode(''),'/41501.html','true',[],''],
	['PAGE','34501',jdecode('Kundenmeinungen'),jdecode(''),'/34501.html','true',[],''],
	['PAGE','28506',jdecode('Impressionen+Wohnen'),jdecode(''),'/28506.html','true',[],''],
	['PAGE','40401',jdecode('Modenschau'),jdecode(''),'/40401.html','true',[],''],
	['PAGE','27601',jdecode('Kontakt%2F%C3%96ffnungszeiten'),jdecode(''),'/27601.html','true',[],''],
	['PAGE','30202',jdecode('Anfahrt'),jdecode(''),'/30202.html','true',[],''],
	['PAGE','31302',jdecode('Marken+bei+uns'),jdecode(''),'/31302.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='D5E8D3';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10444';
theSitetree.graphicsetId='10826';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D5E8D3';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses',
				paletteFamily: 	'D5E8D3',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10444',
				graphicsetId: 	'10826',
				contentColor: 	'000000',
				contentBGColor: 'D5E8D3',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '30202',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120130-221740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41501',
internalId:  '',
customField: '20111226-144452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28501',
internalId:  '',
customField: '20111226-140918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28506',
internalId:  '',
customField: '20110526-201135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20111226-152538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27601',
internalId:  '',
customField: '20111226-141920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20120111-233644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30202',
internalId:  '',
customField: '20100921-220004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31302',
internalId:  '',
customField: '20111226-141345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40401',
internalId:  '',
customField: '20110525-223208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73901',
internalId:  '',
customField: '20120111-234617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73922',
internalId:  '',
customField: '20111226-144107'
};
webappMappings['7091']=webappMappings['7091-43839']={
webappId:    '7091',
documentId:  '13801',
internalId:  '43839',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-40791']={
webappId:    '7091',
documentId:  '13801',
internalId:  '40791',
customField: 'align:right;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN2G8E';
var companyName   = 'Romantic';
var htmlTitle	  = 'Mode+und+Wohnaccessoires+im+romantischen+Stil';
var metaKeywords  = 'NOA+NOA%2C+NOANOA%2C+Zizzi%2C+Saint+Tropez%2C+Vila+Mode%2C+Vila+Clothes%2C+Greengate%2C+GreenGate%2C+Stilberatung%2C+Stylcoaching%2C+Landhausstil%2C+skandinavischer+Stil%2C+d%C3%A4nische+Mode%2C+Wohnaccessoires%2C+Geschenkideen%2C+SIA%2C+Rice+Accessoires%2C+Waldshut%2C+Hochrhein';
var metaContents  = 'Skandinavische+Mode+und+Wohnaccessoires+im+romantischen+Stil+in+Waldshut.+Romantic+liegt+an+der+deutsch-schweizer+Grenze+und+f%C3%BChrt+Mode+von+NOA+NOA%2C+VILA%2C+Saint+Tropez+und+Zizzi.+Anbei+gibt+es+Wohnaccessoires+von+Greengate%2C+Bloomingville%2C+Lisbeth+Dahl%2C+Ib+Laursen.+';
					                                                                    
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 */					                                                            

