/* [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','206901',jdecode('Musik+f%C3%BCr+alle'),jdecode(''),'/206901.html','true',[],''],
	['PAGE','274001',jdecode('Bazaar+de+Pop'),jdecode(''),'/274001.html','true',[],''],
	['PAGE','41490',jdecode('Pfungstadt'),jdecode(''),'/41490.html','true',[],''],
	['PAGE','41412',jdecode('Best+Of+Pungscht...'),jdecode(''),'/41412.html','true',[],''],
	['PAGE','93601',jdecode('Best+Of+Pungscht+2'),jdecode(''),'/93601.html','true',[],''],
	['PAGE','46801',jdecode('Best+Of+Pungscht+3'),jdecode(''),'/46801.html','true',[],''],
	['PAGE','261201',jdecode('VolkerazziTV'),jdecode(''),'/261201.html','true',[],''],
	['PAGE','169401',jdecode('Foto+Arts+Shop'),jdecode(''),'/169401.html','true',[],''],
	['PAGE','162701',jdecode('%22Malerei%22'),jdecode(''),'/162701.html','true',[],''],
	['PAGE','260301',jdecode('Blog'),jdecode(''),'/260301.html','true',[],''],
	['PAGE','41390',jdecode('G%C3%A4stebuch'),jdecode(''),'/41390/home.html','true',[ 
		['PAGE','41389',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41390/41389.html','true',[],'']
	],''],
	['PAGE','76201',jdecode('Links+%26+Friends'),jdecode(''),'/76201.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Caribic';
theSitetree.paletteFamily='7050FA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10579';
theSitetree.graphicsetId='10707';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='B63636';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Caribic',
				paletteFamily: 	'7050FA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10579',
				graphicsetId: 	'10707',
				contentColor: 	'FFFFFF',
				contentBGColor: 'B63636',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41390atoix0i7qvyi']={
webappId:    '1002',
documentId:  '41390',
internalId:  '41390atoix0i7qvyi',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41390atoix0i7qvyi']={
webappId:    '1002',
documentId:  '41389',
internalId:  '41390atoix0i7qvyi',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10b38cd2503']={
webappId:    '1007',
documentId:  '41412',
internalId:  '10b38cd2503',
customField: 'g.11cscgl85.2d2d54nbtq.3o'
};
webappMappings['1007']=webappMappings['1007-10cd9dbc029']={
webappId:    '1007',
documentId:  '46801',
internalId:  '10cd9dbc029',
customField: 'g.11jcsknip.2ib0ubaj91.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111230-125330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '162701',
internalId:  '',
customField: '20100922-183142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41490',
internalId:  '',
customField: '20120126-164747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '274001',
internalId:  '',
customField: '20111204-144932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '260301',
internalId:  '',
customField: '20111118-221956'
};
webappMappings['1007']=webappMappings['1007-112bfb6090e']={
webappId:    '1007',
documentId:  '93601',
internalId:  '112bfb6090e',
customField: 'g.12avqj9nn.fca45gboia.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41412',
internalId:  '',
customField: '20080904-174053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169401',
internalId:  '',
customField: '20101215-195835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46801',
internalId:  '',
customField: '20110920-201629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41390',
internalId:  '',
customField: '20060515-175608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41389',
internalId:  '',
customField: '20060515-175608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93601',
internalId:  '',
customField: '20081110-193412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76201',
internalId:  '',
customField: '20091122-174133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '261201',
internalId:  '',
customField: '20111230-140156'
};
webappMappings['1501']=webappMappings['1501-47503560']={
webappId:    '1501',
documentId:  '44',
internalId:  '47503560',
customField: '1501'
};
webappMappings['7091']=webappMappings['7091-59435']={
webappId:    '7091',
documentId:  '44',
internalId:  '59435',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '206901',
internalId:  '',
customField: '20111230-133617'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7QVYI';
var companyName   = 'Friedrich+-+Pfungstadt';
var htmlTitle	  = 'friedrich-pfungstadt.de';
var metaKeywords  = 'Malerei+Fotografie+Design+Fotodesign+Kunst+Pfungstadt+Nachrichten+Lifestyle+Reisen+News';
var metaContents  = 'Lokale+Nachrichten+aus+Pfungstadt%2C+Musik+von+Volkerazzi%2C+interaktiver+Shop+f%C3%BCr+Malerei+und+Fotografie%2C+Kunst+und+Fotodesign.+';
					                                                                    
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 */					                                                            

