/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','44601',jdecode('Bildergalerie'),jdecode(''),'/44601.html','true',[],''],
	['PAGE','13801',jdecode('Meine+bisherigen+Auftritte'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','48001',jdecode('Pressestimmen+%2F+Danksagungen'),jdecode(''),'/48001.html','true',[],''],
	['PAGE','47101',jdecode('CD%C2%B4s+%2F+DVD'),jdecode(''),'/47101.html','true',[],''],
	['PAGE','44106',jdecode('G%C3%A4stebuch'),jdecode(''),'/44106/home.html','true',[ 
		['PAGE','44101',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44106/44101.html','true',[],'']
	],''],
	['PAGE','44001',jdecode('Externe+Links'),jdecode(''),'/44001.html','true',[],''],
	['PAGE','13901',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/13901/home.html','true',[ 
		['PAGE','39408',jdecode('Kontakt+%2F+Impressum+%28Folgeseite%29'),jdecode(''),'/13901/39408.html','false',[],'']
	],''],
	['PAGE','73301',jdecode('Shop+'),jdecode(''),'/73301.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='4D4CD2';
theSitetree.keyvisualId='589';
theSitetree.keyvisualName='collage.jpg';
theSitetree.fontsetId='124';
theSitetree.graphicsetId='140';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Kreis',
				paletteFamily: 	'4D4CD2',
				keyvisualId: 	'589',
				keyvisualName: 	'collage.jpg',
				fontsetId: 		'124',
				graphicsetId: 	'140',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'4D4CD2',
				b_color: 		'7794F8',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1637393']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1637393',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-44106atoix0in24ns']={
webappId:    '1002',
documentId:  '44106',
internalId:  '44106atoix0in24ns',
customField: 'action=form&icq=false'
};
webappMappings['1001']=webappMappings['1001-atoix0in24ns1024eff413a']={
webappId:    '1001',
documentId:  '13901',
internalId:  'atoix0in24ns1024eff413a',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in24ns1024eff413a']={
webappId:    '1001',
documentId:  '39408',
internalId:  'atoix0in24ns1024eff413a',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-44106atoix0in24ns']={
webappId:    '1002',
documentId:  '44101',
internalId:  '44106atoix0in24ns',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-105f3640afd']={
webappId:    '1007',
documentId:  '44601',
internalId:  '105f3640afd',
customField: 'g.10npm1kg8.5n5h8u6t7eo.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120130-103210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20070521-160311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120130-113130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20120207-112600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47101',
internalId:  '',
customField: '20051121-164210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44106',
internalId:  '',
customField: '20050826-121221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44101',
internalId:  '',
customField: '20050826-121221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44001',
internalId:  '',
customField: '20070822-180828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20060610-115839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39408',
internalId:  '',
customField: '20050226-150833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73301',
internalId:  '',
customField: '20100219-165500'
};
webappMappings['1008']=webappMappings['1008-42885230']={
webappId:    '1008',
documentId:  '73301',
internalId:  '42885230',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN24NS';
var companyName   = 'Martin+Halm++++++++Stimme+mit+Herz';
var htmlTitle	  = 'Martin+Halm+++++Stimme+mit+Herz+++++Unterhaltungskuenstler+aus+Leonberg';
var metaKeywords  = 'Unterhaltung%2C+Alleinunterhalter%2C+Geburtstag%2C+Geburtstagsfeier%2C+Betriebsfeier%2C+Grossraum+Stuttgart%2C+Schlager%2C+Evergreens%2C+Oldies%2C+Tanznachmittag%2C+Firmenveranstaltung%2C+Tagung%2C+Unterhaltungskuestler%2C+Kleinkuenstler%2C+Saenger%2C+Musiker%2C+Live+Unterhaltung%2C+Gesang%2C+Live+Gesang%2C+Moderation%2C+Hochzeit%2C+Raum+Stuttgart%2C+Stuttgart%2C+Stuttgart+und+Umgebung%2C+Leonberg%2C+Ludwigsburg%2C++Baden-Wuerttemberg%2C+Martin+Halm%2C+Stimme+mit+Herz%2C+musikalische+Unterhaltung%2C+Kuenstlerprogramm%2C+Kleinkunst%2C+mitreissender+Solist%2C+engagieren%2C+buchen';
var metaContents  = 'Martin+Halm%2C+Unterhaltungskuenstler%2C+singt+fuer+Sie+Schlager%2C+Evergreens+und+Oldies.+Allein+oder+zusammen+mit+seinem+Keyboarder+als+Duo+Mare+bei+Geburtstagsfeiern%2C+Firmenveranstaltungen%2C+usw.+im+Grossraum+Stuttgart+bzw.+auch+in+Baden-Wuerttemberg.';
					                                                                    
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 */					                                                            

