/* [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('Stammtisch+FDS+Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40376',jdecode('Was+wir+wollen'),jdecode(''),'/40376.html','true',[],''],
	['PAGE','40848',jdecode('Informationen'),jdecode(''),'/40848.html','true',[],''],
	['PAGE','40385',jdecode('Aktionen'),jdecode(''),'/40385.html','true',[],''],
	['PAGE','40857',jdecode('Interessante+Links'),jdecode(''),'/40857.html','true',[],''],
	['PAGE','40403',jdecode('Archiv'),jdecode(''),'/40403.html','true',[],''],
	['PAGE','40866',jdecode('Presse+Archiv'),jdecode(''),'/40866.html','true',[],''],
	['PAGE','41084',jdecode('Anfahrt+%2F+Impressum'),jdecode(''),'/41084.html','true',[],''],
	['PAGE','41041',jdecode('G%C3%A4stebuch'),jdecode(''),'/41041/home.html','false',[ 
		['PAGE','41040',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41041/41040.html','false',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Smoothsurface';
theSitetree.paletteFamily='97A8CD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33402';
theSitetree.graphicsetId='14263';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Smoothsurface',
				paletteFamily: 	'97A8CD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33402',
				graphicsetId: 	'14263',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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: '20111218-133914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40376',
internalId:  '',
customField: '20101030-121550'
};
webappMappings['1501']=webappMappings['1501-61274587']={
webappId:    '1501',
documentId:  '39994',
internalId:  '61274587',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-41041atoix0iroyug']={
webappId:    '1002',
documentId:  '41041',
internalId:  '41041atoix0iroyug',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41041atoix0iroyug']={
webappId:    '1002',
documentId:  '41040',
internalId:  '41041atoix0iroyug',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40385',
internalId:  '',
customField: '20100818-125114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40848',
internalId:  '',
customField: '20111128-193008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40857',
internalId:  '',
customField: '20110609-195628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40866',
internalId:  '',
customField: '20101023-011030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40403',
internalId:  '',
customField: '20110706-182929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41041',
internalId:  '',
customField: '20090610-014940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41040',
internalId:  '',
customField: '20090607-032449'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41084',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41084',
internalId:  '',
customField: '20111128-192516'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IROYUG';
var companyName   = 'B%C3%BCrger+Patienten+Stammtisch+in+72250+Freudenstadt';
var htmlTitle	  = 'B%C3%BCrger-Patienten-Stammtisch+Freudenstadt';
var metaKeywords  = 'Gesundheit+Protest+B%C3%BCrger+Patienten+Stammtisch+Schulterschluss+Gesundheitspolitik+SPD+CDU+FDP+Freudenstadt+Politik+Krankheit+Krankenkasse+Gesundheitskasse+%2C+DAK+%2C+AOK+%2C++Barmer+BEK+%2C+Anwalt+%2C+Patient+Recht+%2C+Protest+%2C+Zuzahlung+%2C+Der+verkaufte+Patient+%2C+Stammtisch-fds.de+%2C+Stammtisch-FDS.de+%2C+www.Stammtisch-FDS.de+%2C+B%C3%BCrger+Patienten+Stammtisch+Freudenstadt+%2C+Stammtisch+%2C+B%C3%BCrger-Patient+%2C+Patienten-Stammtisch+%2C+krank+%2C+gesund+%2C+Gesundheitsreform+%2C+Gesundheitspolitik+%2C+Politik+%2C+Der+verkaufte+Patient+%2C+Renate+Hartwig+%2C++Patient-informiert-sich.de+%2C+Betrug+im+Gesundheitssystem+%2C+Medizinisches+Versorgungszentrum+%2C+GKV+%2C+Gesetzliche+Krankenversicherung+%2C+AOK+%2C+Barmer+%2C+IKK+%2C+KKH+%2C+DAK+%2C++Arzt+%2C+%C3%84rzte+%2C+Kassen%C3%A4rztliche+Vereinigung+%2C+KV+%2C+KBV+%2C+Aktion+B%C3%BCrger+Patienten+Stammtisch+Freudenstadt+%2C+B%C3%BCrger-Patienten+Stammtisch+%2C+B%C3%BCrgerpatient+%2C+Gesundheitsreform%2C+Widerstand+%2C+soziale+Gerechtigkeit+%2C+B%C3%BCrgerinitiative+%2C+Gesundheit+%2C+Kosten+%2C+Beitr%C3%A4ge+%2C+CDU+%2C+CSU+%2C+SPD+%2C+Gr%C3%BCnen+%2C+FDP+%2C+Linke+%2C+Ausschu%C3%9F+';
var metaContents  = 'B%C3%BCrger+Patienten+Stammtisch+in+72250+Freudenstadt%2C+B%C3%BCrgerinitiative+gegen+Gesundheitsreform%2C+B%C3%BCrger-Patienten+informieren+und+wehren+sich+';
					                                                                    
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 */					                                                            

