/* [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('WILLKOMMEN+%2F+BONN'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42428',jdecode('JELE+PILAR+WEISKOPF'),jdecode(''),'/42428.html','true',[],''],
	['PAGE','42513',jdecode('CLiCC-COACHING'),jdecode(''),'/42513/home.html','true',[ 
		['PAGE','42394',jdecode('C+CONCEPT+COACHING'),jdecode(''),'/42513/42394.html','true',[],''],
		['PAGE','42403',jdecode('LI+LIFE+LEARN'),jdecode(''),'/42513/42403.html','true',[],''],
		['PAGE','42412',jdecode('CC+CUM+CANE'),jdecode(''),'/42513/42412.html','true',[],'']
	],''],
	['PAGE','59301',jdecode('COACHING-SZENEN'),jdecode(''),'/59301.html','true',[],''],
	['PAGE','131801',jdecode('UNTERNEHMEN'),jdecode(''),'/131801/home.html','true',[ 
		['PAGE','131822',jdecode('REFERENZEN'),jdecode(''),'/131801/131822.html','true',[],'']
	],''],
	['PAGE','42806',jdecode('PREISE+'),jdecode(''),'/42806.html','false',[],''],
	['PAGE','134001',jdecode('PREISE+GESCH%C3%84FTSKUNDEN'),jdecode(''),'/134001.html','false',[],''],
	['PAGE','42522',jdecode('BILDKORREKTUREN'),jdecode(''),'/42522/home.html','true',[ 
		['PAGE','57201',jdecode('AFGHANISTAN'),jdecode(''),'/42522/57201.html','true',[],'']
	],''],
	['PAGE','71801',jdecode('TV-IMAGES'),jdecode(''),'/71801/home.html','true',[ 
		['PAGE','69301',jdecode('GELD+oder+LIEBE'),jdecode(''),'/71801/69301.html','true',[],''],
		['PAGE','71822',jdecode('MAUS-CLUB'),jdecode(''),'/71801/71822.html','true',[],''],
		['PAGE','91301',jdecode('SOMMERSPASS'),jdecode(''),'/71801/91301.html','true',[],'']
	],''],
	['PAGE','42437',jdecode('KONTAKT+%2F+BONN'),jdecode(''),'/42437.html','true',[],''],
	['PAGE','115401',jdecode('AUSSER+KONKURRENZ+....'),jdecode(''),'/115401.html','false',[],''],
	['PAGE','42446',jdecode('IMPRESSUM'),jdecode(''),'/42446.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Cosy';
theSitetree.paletteFamily='797979';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10603';
theSitetree.graphicsetId='10619';
theSitetree.contentColor='373737';
theSitetree.contentBGColor='D5D5D5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cosy',
				paletteFamily: 	'797979',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10603',
				graphicsetId: 	'10619',
				contentColor: 	'373737',
				contentBGColor: 'D5D5D5',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'7A7A7A',
				e_color: 		'7E7E7E',
				f_color: 		'545454',
				hasCustomLogo: 	'true',
				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: '20110131-190400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42394',
internalId:  '',
customField: '20100429-172114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42403',
internalId:  '',
customField: '20090612-142643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42437',
internalId:  '',
customField: '20100623-164017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42428',
internalId:  '',
customField: '20090612-142150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42412',
internalId:  '',
customField: '20090612-140832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42446',
internalId:  '',
customField: '20090612-143541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42513',
internalId:  '',
customField: '20090714-155801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42522',
internalId:  '',
customField: '20090714-153950'
};
webappMappings['1008']=webappMappings['1008-54975466']={
webappId:    '1008',
documentId:  '42437',
internalId:  '54975466',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42806',
internalId:  '',
customField: '20110630-102911'
};
webappMappings['7060']=webappMappings['7060-68738840825800b976cd09887495caa1']={
webappId:    '7060',
documentId:  '57201',
internalId:  '68738840825800b976cd09887495caa1',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57201',
internalId:  '',
customField: '20081218-211136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59301',
internalId:  '',
customField: '20090612-142833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69301',
internalId:  '',
customField: '20090612-143300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71822',
internalId:  '',
customField: '20090612-143328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71801',
internalId:  '',
customField: '20120116-214859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91301',
internalId:  '',
customField: '20090612-143418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115401',
internalId:  '',
customField: '20091219-212502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134001',
internalId:  '',
customField: '20110102-210808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131801',
internalId:  '',
customField: '20120116-214028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131822',
internalId:  '',
customField: '20110109-234645'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR4XAG';
var companyName   = 'C+L+I+C+C+-+C+O+A+C+H+I+N+G++BONN';
var htmlTitle	  = 'C+L+i+C+C+-+C+O+A+C+H+I+N+G++BONN';
var metaKeywords  = 'Ihr+Name%2C+EDV%2C+Systemhaus%2C+Hardware%2C+Software%2C+Computer%2C+Dienstleistungen%2C+Druckloesungen%2C+Internet%2C+Netzwerk%2C+Consulting%2C+Personal+Computer%2C+PC%2C+Systemhaus%2C+Multimedia%2C+Support%2C+Schulung%2C+Intranet%2C+TCP%2C+TCP%2FIP%2C+IP%2C+Telefon%2C+Kommunikation%2C+Prozessor%2C+Festplatte%2C+IT%2C+Small+Business%2C+Computing%2C+Datenbank%2C+Datenbanken%2C+SQL%2C+Projektplan%2C+CAD%2C+Konstruktion++';
var metaContents  = 'Willkommen+bei+Systemhaus+Ihr+Name.+Wir+bieten+EDV+Hard-+und+Softwareloesungen+aus+einer+Hand.++';
					                                                                    
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 */					                                                            

