/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','44292',jdecode('Blaues+Kreuz+was+ist+das%3F'),jdecode(''),'/44292/home.html','true',[ 
		['PAGE','48901',jdecode('Organisation'),jdecode(''),'/44292/48901.html','true',[],''],
		['PAGE','49001',jdecode('Kooperation'),jdecode(''),'/44292/49001.html','true',[],''],
		['PAGE','58001',jdecode('Erfahrungsbericht'),jdecode(''),'/44292/58001.html','true',[],''],
		['PAGE','58101',jdecode('Das+BKE+ist'),jdecode(''),'/44292/58101.html','true',[],''],
		['PAGE','58401',jdecode('Der+Landesverband'),jdecode(''),'/44292/58401.html','true',[],'']
	],''],
	['PAGE','40555',jdecode('%C3%9Cber+unseren+Verein'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','42308',jdecode('Unsere++Gruppen'),jdecode(''),'/40555/42308.html','true',[],''],
		['PAGE','41663',jdecode('Vereinsf%C3%BChrung+%26+Team'),jdecode(''),'/40555/41663.html','true',[],''],
		['PAGE','59301',jdecode('Satzung+%2B+Gruppenregeln'),jdecode(''),'/40555/59301.html','true',[],'']
	],''],
	['PAGE','40582',jdecode('Treffpunkt+%26+Ziele'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40618',jdecode('Kontakt'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','40573',jdecode('Beratung+%26+Hilfe'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','68801',jdecode('Alkohol+-+Zahlen+%26+Fakten'),jdecode(''),'/68801.html','true',[],''],
	['PAGE','70801',jdecode('Alkoholfreies+Bier+%2FFassbrause'),jdecode(''),'/70801.html','true',[],''],
	['PAGE','44404',jdecode('Angeh%C3%B6rige'),jdecode(''),'/44404.html','true',[],''],
	['PAGE','42005',jdecode('Therapieformen'),jdecode(''),'/42005.html','true',[],''],
	['PAGE','58801',jdecode('Unser+Therapiehund'),jdecode(''),'/58801.html','true',[],''],
	['PAGE','42787',jdecode('Neu+Rauschbrillen'),jdecode(''),'/42787.html','true',[],''],
	['PAGE','44461',jdecode('F%C3%BChrerschein+%2F+MPU'),jdecode(''),'/44461.html','true',[],''],
	['PAGE','69401',jdecode('Vereinsjubil%C3%A4um+2011'),jdecode(''),'/69401.html','true',[],''],
	['PAGE','71101',jdecode('Neu+-+Blaues+Kreuz+in+Berlin'),jdecode(''),'/71101.html','true',[],''],
	['PAGE','74501',jdecode('Schweden'),jdecode(''),'/74501.html','true',[],''],
	['PAGE','77301',jdecode('Das+Jahr+2012'),jdecode(''),'/77301/home.html','true',[ 
		['PAGE','77501',jdecode('Projekte+2012'),jdecode(''),'/77301/77501.html','true',[],''],
		['PAGE','77601',jdecode('Termine+%26+Seminare+2012'),jdecode(''),'/77301/77601.html','true',[],''],
		['PAGE','77622',jdecode('Termine+des+LV'),jdecode(''),'/77301/77622.html','true',[],''],
		['PAGE','77701',jdecode('Veranstaltungen+2012'),jdecode(''),'/77301/77701.html','true',[],''],
		['PAGE','77801',jdecode('Interne+Termine'),jdecode(''),'/77301/77801.html','true',[],'']
	],''],
	['PAGE','62201',jdecode('Das+Jahr+2011'),jdecode(''),'/62201/home.html','true',[ 
		['PAGE','62401',jdecode('Projekte+2011'),jdecode(''),'/62201/62401.html','true',[],''],
		['PAGE','62501',jdecode('Termine+%26+Seminare+2011'),jdecode(''),'/62201/62501.html','true',[],''],
		['PAGE','67701',jdecode('Termine+des+LV'),jdecode(''),'/62201/67701.html','true',[],''],
		['PAGE','62601',jdecode('Veranstaltungen+2011'),jdecode(''),'/62201/62601.html','true',[],''],
		['PAGE','62901',jdecode('Interne+Termine'),jdecode(''),'/62201/62901.html','true',[],'']
	],''],
	['PAGE','44323',jdecode('Das+Jahr+2010'),jdecode(''),'/44323/home.html','true',[ 
		['PAGE','44368',jdecode('Projekte+2010'),jdecode(''),'/44323/44368.html','true',[],''],
		['PAGE','44386',jdecode('Termine+%26+Seminare+2010'),jdecode(''),'/44323/44386.html','true',[],''],
		['PAGE','49501',jdecode('Kirche+Drabenderh%C3%B6he'),jdecode(''),'/44323/49501.html','true',[],'']
	],''],
	['PAGE','44311',jdecode('Das+Jahr+2009'),jdecode(''),'/44311/home.html','true',[ 
		['PAGE','44332',jdecode('Projekte'),jdecode(''),'/44311/44332.html','true',[],''],
		['PAGE','42725',jdecode('Sucht+in+Vereinen+'),jdecode(''),'/44311/42725.html','true',[],''],
		['PAGE','43395',jdecode('Suchtwoche+'),jdecode(''),'/44311/43395.html','true',[],''],
		['PAGE','42548',jdecode('Termine++'),jdecode(''),'/44311/42548.html','true',[],''],
		['PAGE','40600',jdecode('Veranstaltungen'),jdecode(''),'/44311/40600.html','true',[],'']
	],''],
	['PAGE','44426',jdecode('Das+Jahr+2008'),jdecode(''),'/44426.html','true',[],''],
	['PAGE','44435',jdecode('Das+Jahr+2007'),jdecode(''),'/44435.html','true',[],''],
	['PAGE','44417',jdecode('Das+Jahr+2006'),jdecode(''),'/44417.html','true',[],''],
	['PAGE','44450',jdecode('Die+Jahre+1989%2F2006'),jdecode(''),'/44450.html','true',[],''],
	['PAGE','42882',jdecode('Sucht+im+Betrieb'),jdecode(''),'/42882.html','true',[],''],
	['PAGE','41681',jdecode('Spenden'),jdecode(''),'/41681.html','true',[],''],
	['PAGE','47201',jdecode('Sponsoren'),jdecode(''),'/47201.html','true',[],''],
	['PAGE','41082',jdecode('Links'),jdecode(''),'/41082.html','true',[],''],
	['PAGE','40627',jdecode('Impressum'),jdecode(''),'/40627.html','true',[],''],
	['PAGE','65006',jdecode('G%C3%A4stebuch'),jdecode(''),'/65006/home.html','true',[ 
		['PAGE','65001',jdecode('Eintr%C3%A4ge'),jdecode(''),'/65006/65001.html','true',[],'']
	],'']];
var siteelementCount=57;
theSitetree.topTemplateName='TOI_Bounceblue';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33441';
theSitetree.graphicsetId='14299';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C0DDFD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Bounceblue',
				paletteFamily: 	'000000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33441',
				graphicsetId: 	'14299',
				contentColor: 	'000000',
				contentBGColor: 'C0DDFD',
				a_color: 		'78B1F0',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68801',
internalId:  '',
customField: '20110221-171038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110422-193253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100415-153404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20090328-120752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20111228-222720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20101220-154452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44311',
internalId:  '',
customField: '20101215-212400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20090615-183725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44292',
internalId:  '',
customField: '20100313-230004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20091214-201555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41082',
internalId:  '',
customField: '20100211-125943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42787',
internalId:  '',
customField: '20101110-195710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42548',
internalId:  '',
customField: '20091229-221926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74501',
internalId:  '',
customField: '20110712-213200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41663',
internalId:  '',
customField: '20120107-131830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41681',
internalId:  '',
customField: '20101110-193212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42005',
internalId:  '',
customField: '20090802-203544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42308',
internalId:  '',
customField: '20101110-195413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42725',
internalId:  '',
customField: '20091227-222228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43395',
internalId:  '',
customField: '20090518-102712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42882',
internalId:  '',
customField: '20100802-220308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44323',
internalId:  '',
customField: '20110304-212118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44332',
internalId:  '',
customField: '20091016-124930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44368',
internalId:  '',
customField: '20101215-213914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20111228-222857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44386',
internalId:  '',
customField: '20091217-130919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67701',
internalId:  '',
customField: '20110104-205548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44404',
internalId:  '',
customField: '20091018-183059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44417',
internalId:  '',
customField: '20091109-174028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44426',
internalId:  '',
customField: '20101215-212214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44435',
internalId:  '',
customField: '20110214-093941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44450',
internalId:  '',
customField: '20110227-152753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44461',
internalId:  '',
customField: '20110919-172151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77301',
internalId:  '',
customField: '20120105-135538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48901',
internalId:  '',
customField: '20101208-202608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20100129-124233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49501',
internalId:  '',
customField: '20100316-091450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58001',
internalId:  '',
customField: '20100416-094556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58101',
internalId:  '',
customField: '20100416-095023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58401',
internalId:  '',
customField: '20100416-200550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58801',
internalId:  '',
customField: '20110221-195550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59301',
internalId:  '',
customField: '20110716-132007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62201',
internalId:  '',
customField: '20101214-170234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62401',
internalId:  '',
customField: '20110104-210501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62501',
internalId:  '',
customField: '20101208-203504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62601',
internalId:  '',
customField: '20110209-135017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62901',
internalId:  '',
customField: '20110520-180307'
};
webappMappings['1002']=webappMappings['1002-65006atoix0i7ppa5']={
webappId:    '1002',
documentId:  '65006',
internalId:  '65006atoix0i7ppa5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-65006atoix0i7ppa5']={
webappId:    '1002',
documentId:  '65001',
internalId:  '65006atoix0i7ppa5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65006',
internalId:  '',
customField: '20101213-163938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65001',
internalId:  '',
customField: '20101213-163938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69401',
internalId:  '',
customField: '20110509-220201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70801',
internalId:  '',
customField: '20110502-144912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71101',
internalId:  '',
customField: '20110720-182840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77501',
internalId:  '',
customField: '20120112-172156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77601',
internalId:  '',
customField: '20120105-134355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77622',
internalId:  '',
customField: '20120105-152247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77701',
internalId:  '',
customField: '20120105-134428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77801',
internalId:  '',
customField: '20120105-134452'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7PPA5';
var companyName   = 'Blaues+Kreuz+%28+BKE+%29+-+Suchtkrankenhilfe';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

