/* [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/home.html','true',[ 
		['PAGE','40983',jdecode('Warum%3F'),jdecode(''),'/44/40983.html','true',[],''],
		['PAGE','40992',jdecode('Privates+'),jdecode(''),'/44/40992.html','true',[],'']
	],''],
	['PAGE','44209',jdecode('G%C3%A4stebuch'),jdecode(''),'/44209/home.html','true',[ 
		['PAGE','44208',jdecode('die+waren+hier'),jdecode(''),'/44209/44208.html','true',[],'']
	],''],
	['PAGE','44309',jdecode('Vermischte+Nachrichten'),jdecode(''),'/44309.html','true',[],''],
	['PAGE','44321',jdecode('Kultur+muss+auch+sein'),jdecode(''),'/44321.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='2492';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='420';
theSitetree.graphicsetId='463';
theSitetree.contentColor='0A4704';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Business',
				paletteFamily: 	'003366',
				keyvisualId: 	'2492',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'420',
				graphicsetId: 	'463',
				contentColor: 	'0A4704',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1801684']={
webappId:    '1501',
documentId:  '44',
internalId:  '1801684',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-44209atoix0in3vl8']={
webappId:    '1002',
documentId:  '44209',
internalId:  '44209atoix0in3vl8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-44209atoix0in3vl8']={
webappId:    '1002',
documentId:  '44208',
internalId:  '44209atoix0in3vl8',
customField: 'action=list'
};
webappMappings['1011']=webappMappings['1011-ddp-vermischtes']={
webappId:    '1011',
documentId:  '44309',
internalId:  'ddp-vermischtes',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-kultur']={
webappId:    '1011',
documentId:  '44321',
internalId:  'ddp-kultur',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40992',
internalId:  '',
customField: '20101115-113338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40983',
internalId:  '',
customField: '20101115-113514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20101114-174032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44209',
internalId:  '',
customField: '20090516-104323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44208',
internalId:  '',
customField: '20060207-144208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44309',
internalId:  '',
customField: '20060212-160633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44321',
internalId:  '',
customField: '20060212-160850'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN3VL8';
var companyName   = 'Herzlich+willkommen+bei+mir%21';
var htmlTitle	  = 'Sat+und+Sound+Satellitentechnik';
var metaKeywords  = 'H%C3%BCckelhoven%2CRatheim%2CSatellitentechnik%2CSatellit%2CFernsehen%2CAudio%2CKabel%2CVideo%2CAntennen%2CReceiver%2CSatellitenempfang%2CSat%2CAdapter%2CSteckverbindungen%2CSat+und+Sound%2CSandra+Kremer%2Cvergoldete+Kabel%2Csatundsound%2CSpezialist%2CHigh+End%2CHiFi%2CKabel%2CVideokabel%2CStecker%2CAntenne%2CParabol%2CParabolspiegel%2CKremer%2Csatundsound%2CHigh+Quality%2Csatshop';
var metaContents  = 'Satellitentechnik%2CH%C3%BCckelhoven%2CRatheim%2CSatshop';
					                                                                    
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 */					                                                            

