/* [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','14004',jdecode('Vorstand'),jdecode(''),'/14004.html','true',[],''],
	['PAGE','24259',jdecode('TOP-Aktuelles+%21%21%21'),jdecode(''),'/24259.html','true',[],''],
	['PAGE','272001',jdecode('Einladung++JHV+2012'),jdecode(''),'/272001.html','true',[],''],
	['PAGE','287301',jdecode('Termine+2012'),jdecode(''),'/287301.html','true',[],''],
	['PAGE','338501',jdecode('Termine+2013'),jdecode(''),'/338501.html','true',[],''],
	['PAGE','176701',jdecode('Pokalturnier+2012'),jdecode(''),'/176701/home.html','true',[ 
		['PAGE','125322',jdecode('ARDESHIR+-WANDERPOKAL'),jdecode(''),'/176701/125322.html','true',[],''],
		['PAGE','337701',jdecode('Aktueller+Stand+2012'),jdecode(''),'/176701/337701.html','true',[],''],
		['PAGE','297501',jdecode('Endstand+2011'),jdecode(''),'/176701/297501.html','true',[],'']
	],''],
	['PAGE','336301',jdecode('Ergebnisse+Januar+2012'),jdecode(''),'/336301/home.html','true',[ 
		['PAGE','336322',jdecode('05.01.2012'),jdecode(''),'/336301/336322.html','true',[],''],
		['PAGE','336343',jdecode('10.01.2012'),jdecode(''),'/336301/336343.html','true',[],''],
		['PAGE','336364',jdecode('12.01.2012'),jdecode(''),'/336301/336364.html','true',[],''],
		['PAGE','336385',jdecode('17.01.2012'),jdecode(''),'/336301/336385.html','true',[],''],
		['PAGE','336406',jdecode('1.Pokalturnier+2012'),jdecode(''),'/336301/336406.html','true',[],''],
		['PAGE','336427',jdecode('24.01.2012'),jdecode(''),'/336301/336427.html','true',[],''],
		['PAGE','338701',jdecode('31.01.2012'),jdecode(''),'/336301/338701.html','true',[],'']
	],''],
	['PAGE','338522',jdecode('Ergebnisse+Februar+2012'),jdecode(''),'/338522/home.html','true',[ 
		['PAGE','338722',jdecode('07.02.2012'),jdecode(''),'/338522/338722.html','true',[],''],
		['PAGE','338743',jdecode('09.02.2012'),jdecode(''),'/338522/338743.html','true',[],''],
		['PAGE','338764',jdecode('14.02.2012'),jdecode(''),'/338522/338764.html','true',[],''],
		['PAGE','338785',jdecode('2.Pokalturnier'),jdecode(''),'/338522/338785.html','true',[],''],
		['PAGE','338806',jdecode('Faschingsturnier'),jdecode(''),'/338522/338806.html','true',[],''],
		['PAGE','338827',jdecode('Siegerfoto'),jdecode(''),'/338522/338827.html','true',[],''],
		['PAGE','338848',jdecode('28.02.2012'),jdecode(''),'/338522/338848.html','true',[],'']
	],''],
	['PAGE','305701',jdecode('Aktuelle+Masterpunkte'),jdecode(''),'/305701.html','true',[],''],
	['PAGE','26198',jdecode('Das+Ehrenamt'),jdecode(''),'/26198.html','true',[],''],
	['PAGE','24750',jdecode('Unser+Nachwuchs'),jdecode(''),'/24750.html','true',[],''],
	['PAGE','21356',jdecode('Unterricht+'),jdecode(''),'/21356.html','true',[],''],
	['PAGE','20177',jdecode('Links'),jdecode(''),'/20177/home.html','true',[ 
		['PAGE','21163',jdecode('Bridge'),jdecode(''),'/20177/21163.html','true',[],''],
		['PAGE','21190',jdecode('Interessantes'),jdecode(''),'/20177/21190.html','true',[],'']
	],''],
	['PAGE','30980',jdecode('Letzte+Meldung'),jdecode(''),'/30980.html','true',[],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Pencil';
theSitetree.paletteFamily='007D48';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10361';
theSitetree.graphicsetId='10516';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Pencil',
				paletteFamily: 	'007D48',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10361',
				graphicsetId: 	'10516',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana,Arial, Helvetica, sans-serif',
				contentFontSize:'10',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-831265']={
webappId:    '1501',
documentId:  '4579',
internalId:  '831265',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110422-134727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '272001',
internalId:  '',
customField: '20120103-223840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24259',
internalId:  '',
customField: '20120203-105550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14004',
internalId:  '',
customField: '20120111-085256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '305701',
internalId:  '',
customField: '20120125-083749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336406',
internalId:  '',
customField: '20120125-080753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336427',
internalId:  '',
customField: '20120125-081108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338522',
internalId:  '',
customField: '20120203-105032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125322',
internalId:  '',
customField: '20110802-005356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '337701',
internalId:  '',
customField: '20120121-101424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297501',
internalId:  '',
customField: '20120121-083600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336301',
internalId:  '',
customField: '20120103-222104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336322',
internalId:  '',
customField: '20120106-174442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336343',
internalId:  '',
customField: '20120111-084955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336364',
internalId:  '',
customField: '20120113-010318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336385',
internalId:  '',
customField: '20120118-165758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '176701',
internalId:  '',
customField: '20120121-100324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '287301',
internalId:  '',
customField: '20120203-105848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26198',
internalId:  '',
customField: '20050114-155856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24750',
internalId:  '',
customField: '20110315-194412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21356',
internalId:  '',
customField: '20090113-172809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20177',
internalId:  '',
customField: '20050429-122418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21163',
internalId:  '',
customField: '20100514-160806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21190',
internalId:  '',
customField: '20100514-161111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30980',
internalId:  '',
customField: '20070403-163221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338785',
internalId:  '',
customField: '20120121-090814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338806',
internalId:  '',
customField: '20120121-094430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338827',
internalId:  '',
customField: '20120121-095240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338848',
internalId:  '',
customField: '20120121-095353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338501',
internalId:  '',
customField: '20120121-095755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338701',
internalId:  '',
customField: '20120203-105142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338722',
internalId:  '',
customField: '20120209-054034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338743',
internalId:  '',
customField: '20120210-095654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338764',
internalId:  '',
customField: '20120214-214512'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVAQS';
var companyName   = 'Bridge+Club+Gr%C3%A4felfing+e.V.';
var htmlTitle	  = 'Bridge+Club+Gr%C3%A4felfing+e.V.';
var metaKeywords  = 'Bridge%2CKartenspiel%2CHobby%2CGr%C3%A4felfing%2CSpiel%2CE.Anglsperger%2CDr.+Eva+Kopetz%2CTeamliga%2CW%C3%BCrmtal%2CBridge+%2CBC+%2CSuedbayern%2CSommerturnier%2CWiesnturnier%2CUndosa%2CBC%2CBridge+Unterricht%2CForum+D%2CDBV-Vereinspokal%2CTeamliga%2CBridge-Sportverband-S%C3%BCdbayern%2COktoberfest%2CFaschingsturnier%2CTeam+Gr%C3%A4felfing+1%2C+Team+Gr%C3%A4felfing+2%2C+Alexandra+Thiermann%2CNikolausturnier%2C';
var metaContents  = 'Bridge+spielen+im+W%C3%BCrmtal%2C+Homepage+des+Bridge+Club+Gr%C3%A4felfing%2C+1.Vorsitzende%3A+Eleonore+Anglsperger%2C+';
					                                                                    
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 */					                                                            

