/* [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','40378',jdecode('%C3%BCber+mich'),jdecode(''),'/40378.html','true',[],''],
	['PAGE','40387',jdecode('Laden-Gesch%C3%A4ft'),jdecode(''),'/40387/home.html','true',[ 
		['PAGE','40396',jdecode('Design-+Schmuck'),jdecode(''),'/40387/40396.html','true',[],''],
		['PAGE','40405',jdecode('Farb-Energie-Linie'),jdecode(''),'/40387/40405.html','true',[],''],
		['PAGE','40832',jdecode('Element-Linie'),jdecode(''),'/40387/40832.html','true',[],''],
		['PAGE','40414',jdecode('Edelsteine+%26+Mineralien'),jdecode(''),'/40387/40414.html','true',[],''],
		['PAGE','42293',jdecode('Sensus+Maximus+%C2%AE'),jdecode(''),'/40387/42293.html','true',[],'']
	],''],
	['PAGE','40423',jdecode('Edelstein-Therapie'),jdecode(''),'/40423/home.html','true',[ 
		['PAGE','40441',jdecode('Beratung+%26+Behandlung'),jdecode(''),'/40423/40441.html','true',[],''],
		['PAGE','41973',jdecode('Steinauflagen'),jdecode(''),'/40423/41973.html','true',[],''],
		['PAGE','41982',jdecode('Massagen'),jdecode(''),'/40423/41982.html','true',[],'']
	],''],
	['PAGE','41840',jdecode('Workshops+%26+Vortr%C3%A4ge'),jdecode(''),'/41840.html','true',[],''],
	['PAGE','40450',jdecode('Impressum+%26+AGB%60s'),jdecode(''),'/40450.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Astro';
theSitetree.paletteFamily='C77705';
theSitetree.keyvisualId='3741';
theSitetree.keyvisualName='kv_3741.jpg';
theSitetree.fontsetId='10561';
theSitetree.graphicsetId='10958';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CECF9C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Astro',
				paletteFamily: 	'C77705',
				keyvisualId: 	'3741',
				keyvisualName: 	'kv_3741.jpg',
				fontsetId: 		'10561',
				graphicsetId: 	'10958',
				contentColor: 	'000000',
				contentBGColor: 'CECF9C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'7F7D45',
				e_color: 		'7F7D45',
				f_color: 		'7F7D45',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090708-193227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41840',
internalId:  '',
customField: '20090708-192457'
};
webappMappings['1501']=webappMappings['1501-4095345']={
webappId:    '1501',
documentId:  '44',
internalId:  '4095345',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40387',
internalId:  '',
customField: '20070707-120002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40378',
internalId:  '',
customField: '20070707-114456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40396',
internalId:  '',
customField: '20060524-172230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40405',
internalId:  '',
customField: '20060209-144248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40832',
internalId:  '',
customField: '20060208-193934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40414',
internalId:  '',
customField: '20060208-184147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40423',
internalId:  '',
customField: '20060614-104133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40441',
internalId:  '',
customField: '20070419-122815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41973',
internalId:  '',
customField: '20070419-123153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41982',
internalId:  '',
customField: '20070419-123354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40450',
internalId:  '',
customField: '20060209-144445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42293',
internalId:  '',
customField: '20070205-125555'
};
var canonHostname = 'c4awrk08.aul.t-online.de';
var accountId     = 'ATOIX0INLKFX';
var companyName   = 'SonnenStein+-+SteinBrink';
var htmlTitle	  = 'SonnenStein+-+SteinBrink';
var metaKeywords  = 'Edelstein+-+Therapie+Design+-+Schmuck+Schmuck+Massagen+Mineralien+Edelsteine+Heilsteine+Steinheilkunde+Eheringe+Einzelst%C3%BCck+Bergkristall+Sonderanfertigung+Reparatur+Wellness+alternative+Therapie+Steinkreis+Trommelsteine+Steinkette+Perlenkette+Migr%C3%A4ne+R%C3%BCckenschmerzen+Meditation+Reflexzonen+Steinbrink++';
var metaContents  = 'Edelstein-Therapie+%2F+-Beratung%3A+Edelsteinmassagen%2C+Kristallmassagen%2C+Steinauflagen%2C+Steinkreise%2C+Steinszenarien%2C+Beratung+und+Therapie.+SonnenStein%3A+Design-Schmuck%2C+Mineralien%2C+Edelsteine%2C+Energetisches+Zubeh%C3%B6r';
					                                                                    
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 */					                                                            
