/* [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','65401',jdecode('Express-Service'),jdecode(''),'/65401.html','true',[],''],
	['PAGE','40682',jdecode('Reparaturanfrage'),jdecode(''),'/40682/home.html','true',[ 
		['PAGE','79301',jdecode('Ablaufplan'),jdecode(''),'/40682/79301.html','true',[],''],
		['PAGE','79901',jdecode('Hol-Bringservice+UPS'),jdecode(''),'/40682/79901.html','true',[],'']
	],''],
	['PAGE','67701',jdecode('Datensicherung'),jdecode(''),'/67701/home.html','true',[ 
		['PAGE','76301',jdecode('pers%C3%B6nlicher+Datenzugriff'),jdecode(''),'/67701/76301.html','true',[],'']
	],''],
	['PAGE','65001',jdecode('Annahmestellen'),jdecode(''),'/65001.html','true',[],''],
	['PAGE','57801',jdecode('Partner+werden'),jdecode(''),'/57801/home.html','true',[ 
		['PAGE','59001',jdecode('Partner+login'),jdecode(''),'/57801/59001.html','true',[],'']
	],''],
	['PAGE','59022',jdecode('Statusabfrage'),jdecode(''),'/59022.html','true',[],''],
	['PAGE','65901',jdecode('Routenplanung'),jdecode(''),'/65901.html','true',[],''],
	['PAGE','59101',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/59101/home.html','true',[ 
		['PAGE','61601',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/59101/61601.html','true',[],''],
		['PAGE','41151',jdecode('Anfahrt'),jdecode(''),'/59101/41151.html','true',[],''],
		['PAGE','40664',jdecode('Kontakt'),jdecode(''),'/59101/40664.html','true',[],'']
	],''],
	['PAGE','40673',jdecode('Impressum'),jdecode(''),'/40673.html','true',[],''],
	['PAGE','40905',jdecode('AGB'),jdecode(''),'/40905.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Time';
theSitetree.paletteFamily='401A1A';
theSitetree.keyvisualId='2303';
theSitetree.keyvisualName='medizin.jpg';
theSitetree.fontsetId='269';
theSitetree.graphicsetId='338';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Time',
				paletteFamily: 	'401A1A',
				keyvisualId: 	'2303',
				keyvisualName: 	'medizin.jpg',
				fontsetId: 		'269',
				graphicsetId: 	'338',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'4D1A1A',
				b_color: 		'C55050',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, 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: '20111111-114957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65001',
internalId:  '',
customField: '20111109-230014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65401',
internalId:  '',
customField: '20111105-235321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40664',
internalId:  '',
customField: '20070818-211310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40673',
internalId:  '',
customField: '20101016-143157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40682',
internalId:  '',
customField: '20111217-205859'
};
webappMappings['1008']=webappMappings['1008-38219717']={
webappId:    '1008',
documentId:  '40682',
internalId:  '38219717',
customField: 'de:DE:'
};
webappMappings['1008']=webappMappings['1008-38246417']={
webappId:    '1008',
documentId:  '40664',
internalId:  '38246417',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40905',
internalId:  '',
customField: '20100512-104530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76301',
internalId:  '',
customField: '20111107-234732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67701',
internalId:  '',
customField: '20111108-202619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41151',
internalId:  '',
customField: '20101016-143029'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41151',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['7091']=webappMappings['7091-63525']={
webappId:    '7091',
documentId:  '39994',
internalId:  '63525',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '65901',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65901',
internalId:  '',
customField: '20101016-153808'
};
webappMappings['1501']=webappMappings['1501-38031946']={
webappId:    '1501',
documentId:  '39994',
internalId:  '38031946',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20111019-155054'
};
webappMappings['1008']=webappMappings['1008-59884014']={
webappId:    '1008',
documentId:  '57801',
internalId:  '59884014',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61601',
internalId:  '',
customField: '20090823-105934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59101',
internalId:  '',
customField: '20110305-142536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20090620-145559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59022',
internalId:  '',
customField: '20090919-140951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79301',
internalId:  '',
customField: '20111217-212949'
};
webappMappings['7091']=webappMappings['7091-63526']={
webappId:    '7091',
documentId:  '39994',
internalId:  '63526',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20111217-212915'
};
webappMappings['1008']=webappMappings['1008-76585834']={
webappId:    '1008',
documentId:  '79901',
internalId:  '76585834',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7L3BP';
var companyName   = 'dieHandyklinik.de';
var htmlTitle	  = 'Der+Arzt+dem+Ihr+Handy+vertraut+-+Handyklink++Handyreparaturen+';
var metaKeywords  = 'handyklinik%2Chandyreparatur%2C+touchscreenreparatur%2C+touchscreenreparatur.de%2C+handy+reparatur%2C+handy-reparatur%2C+handyreparaturservice%2C+handy-reparaturservice%2C+iphone+reparatur%2C+iphone-reparatur%2C+iphone-reparaturservice%2C+handyklinik%2C+iphone+reparaturservice%2Chandyreparatur+hamburg%2Chandy+reparatur+hamburg%2Chandydoktor%2Chandy+doktor%2Ciphonedoc%2Ciphonedoktor%2Ciphone+doktor%2Chandydoctor%2Chandy+doc%2Ctouchscreenreparatur%2Chandydatensicherung%2C+handy+datensicherung';
var metaContents  = 'Handyreparaturen+und+Handyersatzteile+f%C3%BCr+fast+alle+Hersteller+-+dieHandyklinik.de';
					                                                                    
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 */					                                                            

