/* [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('Diana+Carrizosa'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','69901',jdecode('%C3%9Cber+mich+%2F+Presentaci%C3%B3n'),jdecode(''),'/39994/69901.html','true',[],''],
		['PAGE','66322',jdecode('Publikationen+%2F+Publicaciones'),jdecode(''),'/39994/66322.html','true',[],'']
	],''],
	['PAGE','40856',jdecode('Service+%2F+Servicios'),jdecode(''),'/40856/home.html','true',[ 
		['PAGE','62501',jdecode('%C3%9Cbersetzung+%2F+Traducci%C3%B3n'),jdecode(''),'/40856/62501.html','true',[],''],
		['PAGE','62522',jdecode('Lektorat+%2F+Revisi%C3%B3n'),jdecode(''),'/40856/62522.html','true',[],'']
	],''],
	['PAGE','70601',jdecode('Preise+%2F+precios'),jdecode(''),'/70601/home.html','true',[ 
		['PAGE','51901',jdecode('Allgemeine+Preisangaben'),jdecode(''),'/70601/51901.html','true',[],''],
		['PAGE','71301',jdecode('Lista+general+de+precios'),jdecode(''),'/70601/71301.html','true',[],'']
	],''],
	['PAGE','40633',jdecode('Kontakt+%2F+Contacto'),jdecode(''),'/40633.html','true',[],''],
	['PAGE','62201',jdecode('Impressum+%2F+Aviso+legal'),jdecode(''),'/62201.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='8D7C50';
theSitetree.keyvisualId='7089';
theSitetree.keyvisualName='kv_7089.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12126';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='8D7C50';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'8D7C50',
				keyvisualId: 	'7089',
				keyvisualName: 	'kv_7089.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12126',
				contentColor: 	'FFFFFF',
				contentBGColor: '8D7C50',
				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: '20100709-111001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40633',
internalId:  '',
customField: '20110426-153215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40856',
internalId:  '',
customField: '20100202-122512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62201',
internalId:  '',
customField: '20110102-143741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51901',
internalId:  '',
customField: '20110927-172149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62501',
internalId:  '',
customField: '20100202-122614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62522',
internalId:  '',
customField: '20100219-162659'
};
webappMappings['1008']=webappMappings['1008-67581385']={
webappId:    '1008',
documentId:  '40633',
internalId:  '67581385',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66322',
internalId:  '',
customField: '20110102-155436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69901',
internalId:  '',
customField: '20110102-142501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70601',
internalId:  '',
customField: '20100219-163427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71301',
internalId:  '',
customField: '20110913-100453'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRU3H5';
var companyName   = '%C3%9CBERSETZUNGEN+%26+LEKTORAT++++++++DEUTSCH+-+SPANISCH';
var htmlTitle	  = 'Diana+Carrizosa+%C3%9Cbersetzungen+De+%E2%80%93+Es';
var metaKeywords  = 'Erm%C3%A4chtigte+%C3%9Cbersetzerin%2C+beeidigte+bzw.+vereidigte+%C3%9Cbersetzerin%2C+Fach%C3%BCbersetzungen+oder+Urkunden%C3%BCbersetzungen%2C+beglaubigte%2C+beeidigte+oder+vereidigte+%C3%9Cbersetzungen+Deutsch+Spanisch+in+Berlin%2C+Deutschland.';
var metaContents  = 'Willkommen+bei+Diana+Carrizosa.+Erm%C3%A4chtigte+%C3%9Cbersetzerin%2C+beglaubigte+%2F+beeidigte+%C3%9Cbersetzungen+Deutsch+%E2%80%93+Spanisch%2C+Lektorat.+Berlin%2C+Deutschland';
					                                                                    
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 */					                                                            

