/* [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','40646',jdecode('Reparaturpreise'),jdecode(''),'/40646.html','true',[],''],
	['PAGE','40682',jdecode('Reparaturanfrage'),jdecode(''),'/40682.html','true',[],''],
	['PAGE','41212',jdecode('NEU+%21%21+GPS-Ortung'),jdecode(''),'/41212.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','46848',jdecode('Ersatzteilshop'),jdecode(''),'/46848.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','61501',jdecode('Partnerlinks'),jdecode(''),'/61501.html','true',[],''],
	['PAGE','40673',jdecode('Impressum'),jdecode(''),'/40673.html','true',[],''],
	['PAGE','40905',jdecode('AGB'),jdecode(''),'/40905.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='FF9B5E';
theSitetree.keyvisualId='2346';
theSitetree.keyvisualName='aerzte4.jpg';
theSitetree.fontsetId='380';
theSitetree.graphicsetId='430';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Seifenblase',
				paletteFamily: 	'FF9B5E',
				keyvisualId: 	'2346',
				keyvisualName: 	'aerzte4.jpg',
				fontsetId: 		'380',
				graphicsetId: 	'430',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'CC3300',
				e_color: 		'FF3300',
				f_color: 		'FF9966',
				hasCustomLogo: 	'true',
				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: '20100219-170901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40646',
internalId:  '',
customField: '20100209-104132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40664',
internalId:  '',
customField: '20070818-211310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40673',
internalId:  '',
customField: '20090521-135915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40682',
internalId:  '',
customField: '20090621-194709'
};
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: '20071127-135932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46848',
internalId:  '',
customField: '20090221-104406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41212',
internalId:  '',
customField: '20090523-132038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41151',
internalId:  '',
customField: '20080309-181629'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41151',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-38031946']={
webappId:    '1501',
documentId:  '39994',
internalId:  '38031946',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61501',
internalId:  '',
customField: '20090823-111721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20091010-162743'
};
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: '20090919-141817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20090620-145559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59022',
internalId:  '',
customField: '20090919-140951'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0I7L3BP';
var companyName   = 'dieHandyklinik.de';
var htmlTitle	  = 'Handyreparatur+f%C3%BCr+fast+alle+Hersteller';
var metaKeywords  = 'handysoforthilfe%2Chandyreparatur%2Chandyhilfe%2Crefurbish%2Cnokia6310i%2Cnokia%2Csiemens%2Cmotorola%2Csamsung%2Csonyericsson%2Chtc%2Chandyrefurbish%2Chandy-soforthilfe%2Cdiehandyklinik%2Cdie-handyklinik%2Cg%C3%BCnstige+handyreparatur%2Cdisplay+defekt%2Chandyreparatur+in+schleswig-holstein%2Cg%C3%BCnstige+handyreparaturen%2Csoftwareupdate+f%C3%BCr+handys%2Chandyreparatur+hamburg%2Chandyreparatur+kiel%2C+handyreparatur+ahrensburg%2Chandyreparatur+k%C3%B6ln%2C+handyreparatur+nokia%2Chandyreparatur+sony%2Chandyreparatur+siemens%2Chandyreparatur+samsung%2Chandyreparatur+htc%2Creparatur+nokia%2Creparatur+htc%2Chandyreparaturservice%2Chandyreparatur+service%2Chandyreparatur+f%C3%BCr+deutschland%2Ckosteng%C3%BCnstige+handyreparatur%2Chandyreparatur+elmshorn%2Cnokia+service%2Cfallschaden+am+handy%2Chilfe+mit+defektem+handy%2Cblackberry%2Cblackberryreparatur%2Cblackberry+reparatur%2Cblackberryreparaturservice%2Cblackberry+reparaturservice%2Chandyreparatursercvice%2Chandyreparatur';
var metaContents  = 'Handyreparatur+und+Ersatzteile+fast+aller+Hersteller';
					                                                                    
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 */					                                                            
