/* [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','40555',jdecode('Studio'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Preisliste'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','40573',jdecode('Schulung%2FVertrieb'),jdecode(''),'/40573/home.html','true',[ 
		['PAGE','40935',jdecode('Termine+und+Orte'),jdecode(''),'/40573/40935.html','true',[],''],
		['PAGE','40944',jdecode('Seminarinhalt+und+Preise'),jdecode(''),'/40573/40944.html','true',[],''],
		['PAGE','40953',jdecode('Lagerverkauf'),jdecode(''),'/40573/40953.html','true',[],'']
	],''],
	['PAGE','40886',jdecode('Galerie'),jdecode(''),'/40886.html','true',[],''],
	['PAGE','40591',jdecode('Kontakt'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40691',jdecode('Anfahrt'),jdecode(''),'/40691.html','true',[],''],
	['PAGE','41468',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41468/home.html','true',[ 
		['PAGE','41552',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/41468/41552.html','true',[],'']
	],''],
	['PAGE','41505',jdecode('G%C3%A4stebuch'),jdecode(''),'/41505/home.html','true',[ 
		['PAGE','41504',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41505/41504.html','true',[],'']
	],''],
	['PAGE','41561',jdecode('Impressum'),jdecode(''),'/41561.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Roses02';
theSitetree.paletteFamily='CBA9B3';
theSitetree.keyvisualId='11034';
theSitetree.keyvisualName='kv_11034.jpg';
theSitetree.fontsetId='32070';
theSitetree.graphicsetId='13764';
theSitetree.contentColor='5A3E6D';
theSitetree.contentBGColor='CBA9B3';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses02',
				paletteFamily: 	'CBA9B3',
				keyvisualId: 	'11034',
				keyvisualName: 	'kv_11034.jpg',
				fontsetId: 		'32070',
				graphicsetId: 	'13764',
				contentColor: 	'5A3E6D',
				contentBGColor: 'CBA9B3',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100610-132323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40953',
internalId:  '',
customField: '20100523-122922'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40691',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100525-221312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20100525-221732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100611-134738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20100610-134914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40691',
internalId:  '',
customField: '20080310-222420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40935',
internalId:  '',
customField: '20100602-153326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40886',
internalId:  '',
customField: '20100525-221829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40944',
internalId:  '',
customField: '20100523-123018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41468',
internalId:  '',
customField: '20100611-140030'
};
webappMappings['1002']=webappMappings['1002-41505atoix0i7h5ib']={
webappId:    '1002',
documentId:  '41505',
internalId:  '41505atoix0i7h5ib',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41505atoix0i7h5ib']={
webappId:    '1002',
documentId:  '41504',
internalId:  '41505atoix0i7h5ib',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41505',
internalId:  '',
customField: '20100525-224844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41504',
internalId:  '',
customField: '20100525-224844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41552',
internalId:  '',
customField: '20100611-135752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41561',
internalId:  '',
customField: '20100612-130357'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0I7H5IB';
var companyName   = 'Nagelstudio+%26+Ausbildungszentrum';
var htmlTitle	  = 'Kerstin%27s+Nagelstudio+in+Neuenhagen';
var metaKeywords  = 'Nagelstudio+Neuenhagen%2C+Nagelstudio%2C+Neuenhagen%2C+Kerstin+L%C3%BCben%2C+UV-Gel%2C++Schulung%2C+Fingern%C3%A4gel%2C+Jolifin%2C+Verkauf%2C+Nailstore%2C+Berlin%2C+Nagelmodellage%2C+Nailart%2C+Kurse%2C+Nagelkurse%2C+Nageldesign%2C+Seminare%2C+H%C3%B6now%2C+Mahlsdorf%2C+Fingern%C3%A4gel%2C+Kunstn%C3%A4gel%2C+Professionell%2C+Nailcenter%2C+Nagelstudioset%2C+Fr%C3%A4ser%2C+UV-Lichttunnel%2C+Farbgel%2C+Acryl%2C+Glitterpuder%2C+Airbrush+Neuenhagen%2C+Nagelzubeh%C3%B6r%2C+Pflegeprodukte%2C+Kosmetikartikel%2C+Geschenkidee%2C+Fusspflege+Neuenhagen%2C+Nageldesign-Ausbildung+Neuenhagen';
var metaContents  = 'Willkommen+im+Jolifin+Nagelstudio+in+Neuenhagen.+Fingern%C3%A4gel%2C+Schulung+und+Verkauf+aus+professioneller+Hand.+Es+ber%C3%A4t+Sie+Kerstin+L%C3%BCben.';
					                                                                    
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 */					                                                            

