/* [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('SHP+-+Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41071',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41071/home.html','true',[ 
		['PAGE','41098',jdecode('-+unsere+Kontaktdaten'),jdecode(''),'/41071/41098.html','true',[],'']
	],''],
	['PAGE','42539',jdecode('Qualit%C3%A4tsrichtlinien'),jdecode(''),'/42539/home.html','true',[ 
		['PAGE','42449',jdecode('-+Referenzen'),jdecode(''),'/42539/42449.html','true',[],'']
	],''],
	['PAGE','40564',jdecode('Arbeitgeber'),jdecode(''),'/40564/home.html','true',[ 
		['PAGE','44701',jdecode('-+private+Arbeitsvermittlung'),jdecode(''),'/40564/44701.html','true',[],''],
		['PAGE','44722',jdecode('-+Personalvermittlung'),jdecode(''),'/40564/44722.html','true',[],'']
	],''],
	['PAGE','42047',jdecode('Bewerber'),jdecode(''),'/42047/home.html','true',[ 
		['PAGE','42100',jdecode('-+Tipps+f%C3%BCr+Bewerber'),jdecode(''),'/42047/42100.html','true',[],''],
		['PAGE','42056',jdecode('-+Vermittlungsgutschein'),jdecode(''),'/42047/42056.html','true',[],''],
		['PAGE','42125',jdecode('-+Vermittlungsvertrag'),jdecode(''),'/42047/42125.html','true',[],''],
		['PAGE','42065',jdecode('-+Kontakt'),jdecode(''),'/42047/42065.html','true',[],'']
	],''],
	['PAGE','45401',jdecode('Seminare+und+Beratung'),jdecode(''),'/45401/home.html','true',[ 
		['PAGE','45422',jdecode('-+Moderation'),jdecode(''),'/45401/45422.html','true',[],''],
		['PAGE','45443',jdecode('-+Beratung'),jdecode(''),'/45401/45443.html','true',[],''],
		['PAGE','45464',jdecode('-+Training'),jdecode(''),'/45401/45464.html','true',[],''],
		['PAGE','45485',jdecode('-+Vermittlung'),jdecode(''),'/45401/45485.html','true',[],'']
	],''],
	['PAGE','41342',jdecode('Anreise+und+Standort'),jdecode(''),'/41342.html','true',[],''],
	['PAGE','42423',jdecode('Impressum'),jdecode(''),'/42423.html','true',[],''],
	['PAGE','41062',jdecode('Stellenangebote'),jdecode(''),'/41062.html','true',[],''],
	['PAGE','54101',jdecode('N%C3%BCtzliche+Links'),jdecode(''),'/54101.html','true',[],''],
	['PAGE','42414',jdecode('Kontakt'),jdecode(''),'/42414.html','false',[],''],
	['PAGE','41583',jdecode('AGB'),jdecode(''),'/41583.html','false',[],'']];
var siteelementCount=24;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10733';
theSitetree.keyvisualName='kv_10733.jpg';
theSitetree.fontsetId='31819';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='2F458D';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10733',
				keyvisualName: 	'kv_10733.jpg',
				fontsetId: 		'31819',
				graphicsetId: 	'13589',
				contentColor: 	'2F458D',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, 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: '20111129-145605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20111129-142416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45443',
internalId:  '',
customField: '20111129-113026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45464',
internalId:  '',
customField: '20111129-113220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45485',
internalId:  '',
customField: '20111129-145242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54101',
internalId:  '',
customField: '20111202-162627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44701',
internalId:  '',
customField: '20111129-142500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45401',
internalId:  '',
customField: '20111129-144858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42047',
internalId:  '',
customField: '20111129-142725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42056',
internalId:  '',
customField: '20111129-151747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41098',
internalId:  '',
customField: '20111129-135131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45422',
internalId:  '',
customField: '20111129-122811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42065',
internalId:  '',
customField: '20111129-143748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41342',
internalId:  '',
customField: '20100129-143217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41062',
internalId:  '',
customField: '20111202-164216'
};
webappMappings['1008']=webappMappings['1008-62639213']={
webappId:    '1008',
documentId:  '42065',
internalId:  '62639213',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42125',
internalId:  '',
customField: '20111129-143456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42100',
internalId:  '',
customField: '20111129-143116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42539',
internalId:  '',
customField: '20111129-142146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41071',
internalId:  '',
customField: '20111202-155711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42449',
internalId:  '',
customField: '20111125-145633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44722',
internalId:  '',
customField: '20111129-123550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42414',
internalId:  '',
customField: '20100211-120431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42423',
internalId:  '',
customField: '20111129-145353'
};
webappMappings['1501']=webappMappings['1501-66981055']={
webappId:    '1501',
documentId:  '39994',
internalId:  '66981055',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41583',
internalId:  '',
customField: '20100303-092416'
};
webappMappings['7091']=webappMappings['7091-39506']={
webappId:    '7091',
documentId:  '41342',
internalId:  '39506',
customField: 'align:right;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR434X';
var companyName   = 'SHP+-+Personalmanagement';
var htmlTitle	  = 'SHP-aktiv.de';
var metaKeywords  = 'SHP%2C+Personalvermittlung%2C+Stellenangebote%2C+Vermittlung+von+Arbeitskr%C3%A4ften%2C++Teilzeitarbeit%2C+Vollzeit%2C+Verkaufskr%C3%A4fte%2C+jobs%2C+Personalmanagement';
var metaContents  = 'Willkommen+bei+Ihrem+pers%C3%B6nlichen+Personaldienstleister.++';
					                                                                    
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 */					                                                            

