/* [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','41265',jdecode('Service'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41274',jdecode('Leistungsspektrum'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','89701',jdecode('Gerichtsurteile'),jdecode(''),'/89701/home.html','true',[ 
		['PAGE','41283',jdecode('Gerichtsurteile+Privat'),jdecode(''),'/89701/41283.html','true',[],''],
		['PAGE','41301',jdecode('Gerichtsurteile+Wirtschaft'),jdecode(''),'/89701/41301.html','true',[],'']
	],''],
	['PAGE','41310',jdecode('L%C3%B6sungen'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','41319',jdecode('Produkte'),jdecode(''),'/41319.html','true',[],''],
	['PAGE','41474',jdecode('News'),jdecode(''),'/41474.html','true',[],''],
	['PAGE','45227',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/45227.html','true',[],''],
	['PAGE','45194',jdecode('Login+%2F+Gesicherter+Bereich'),jdecode(''),'/45194/home.html','true',[ 
		['PAGE','89901',jdecode('Kunden+Login'),jdecode(''),'/45194/89901.html','true',[],''],
		['PAGE','89922',jdecode('Security+Login'),jdecode(''),'/45194/89922.html','true',[],''],
		['PAGE','89943',jdecode('Detektiv+Login+Nord'),jdecode(''),'/45194/89943.html','true',[],''],
		['PAGE','89964',jdecode('Detektiv+Login+S%C3%BCd'),jdecode(''),'/45194/89964.html','true',[],'']
	],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1764';
theSitetree.keyvisualName='transport.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1764',
				keyvisualName: 	'transport.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1011']=webappMappings['1011-ddp-vermischtes']={
webappId:    '1011',
documentId:  '41474',
internalId:  'ddp-vermischtes',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45227',
internalId:  '',
customField: '20120109-225836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090417-125600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20090525-120044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20090417-132700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20090417-132544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20120109-193627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20120109-193655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20090406-145058'
};
webappMappings['1008']=webappMappings['1008-23229569']={
webappId:    '1008',
documentId:  '45227',
internalId:  '23229569',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41474',
internalId:  '',
customField: '20090803-170237'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '45194',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45194',
internalId:  '',
customField: '20120116-170400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89901',
internalId:  '',
customField: '20120109-194844'
};
webappMappings['1008']=webappMappings['1008-57842149']={
webappId:    '1008',
documentId:  '45194',
internalId:  '57842149',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89701',
internalId:  '',
customField: '20120109-200323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89922',
internalId:  '',
customField: '20120130-214457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89943',
internalId:  '',
customField: '20120130-214855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89964',
internalId:  '',
customField: '20120206-183324'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7YTRY';
var companyName   = 'ALPHA+GROUP+DSDJ+GMBH';
var htmlTitle	  = 'ALPHA+GROUP+DSDJ';
var metaKeywords  = 'alpha+group%2C+dsdj%2C+stuttgart%2C+detektei%2C+detektiv%2C+sicherheitsdienst.+sicherheit%2C+security%2C+ueberwachung%2C+jelastopulos%2C+ermittlungen%2C+kaufhausueberwachung%2C++personenschutz%2C+veranstaltungen%2C+schutz%2C+wirtschaftsdetektive%2C+privatdetektive%2C++sicherheitssysteme%2C';
var metaContents  = 'ALPHA+GROUP+DSDJ+GMBH.+Detektei%2C+Sicherheit%2C+Dienstleistung.+Wir+bieten+Ihnen+qualifizierte+Detektive%2C+Sicherheitskr%C3%A4fte+und+Bewachungen.';
					                                                                    
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 */					                                                            

