/* [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','40774',jdecode('News%2FTermine'),jdecode(''),'/40774/home.html','true',[ 
		['PAGE','40783',jdecode('Termine'),jdecode(''),'/40774/40783.html','true',[],'']
	],''],
	['PAGE','41037',jdecode('Bilder'),jdecode(''),'/41037.html','true',[],''],
	['PAGE','41480',jdecode('Tanzgruppen%2FM-b.'),jdecode(''),'/41480/home.html','true',[ 
		['PAGE','41668',jdecode('M%C3%A4nnerballett'),jdecode(''),'/41480/41668.html','true',[],'']
	],''],
	['PAGE','40801',jdecode('Gr%C3%BCndung'),jdecode(''),'/40801.html','true',[],''],
	['PAGE','40819',jdecode('Mach+mit+%21+%2F+Kontakt'),jdecode(''),'/40819.html','true',[],''],
	['PAGE','40881',jdecode('Sponsoren%2FLinks'),jdecode(''),'/40881/home.html','true',[ 
		['PAGE','42112',jdecode('Links'),jdecode(''),'/40881/42112.html','true',[],'']
	],''],
	['PAGE','41808',jdecode('G%C3%A4stebuch'),jdecode(''),'/41808/home.html','true',[ 
		['PAGE','41807',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41808/41807.html','true',[],'']
	],''],
	['PAGE','42008',jdecode('Mitgliederservice'),jdecode(''),'/42008.html','true',[],''],
	['PAGE','41131',jdecode('Impressum'),jdecode(''),'/41131.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Cinema';
theSitetree.paletteFamily='2833C2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16615';
theSitetree.graphicsetId='12209';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='2833C2';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cinema',
				paletteFamily: 	'2833C2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16615',
				graphicsetId: 	'12209',
				contentColor: 	'FFFFFF',
				contentBGColor: '2833C2',
				a_color: 		'000000',
				b_color: 		'535CCE',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'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: '20120122-175736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40774',
internalId:  '',
customField: '20111025-072631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40783',
internalId:  '',
customField: '20111120-131934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40881',
internalId:  '',
customField: '20110207-180358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40819',
internalId:  '',
customField: '20110208-181053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41668',
internalId:  '',
customField: '20101010-095311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40801',
internalId:  '',
customField: '20100209-151023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41131',
internalId:  '',
customField: '20110207-180544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42008',
internalId:  '',
customField: '20110128-122228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41037',
internalId:  '',
customField: '20111204-132329'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '42008',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41480',
internalId:  '',
customField: '20111113-114701'
};
webappMappings['1002']=webappMappings['1002-41808atoix0irqs6k']={
webappId:    '1002',
documentId:  '41808',
internalId:  '41808atoix0irqs6k',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41808atoix0irqs6k']={
webappId:    '1002',
documentId:  '41807',
internalId:  '41808atoix0irqs6k',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41808',
internalId:  '',
customField: '20100928-131309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41807',
internalId:  '',
customField: '20100928-131309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42112',
internalId:  '',
customField: '20110207-182147'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRQS6K';
var companyName   = 'Parchimer+Carneval+Club+e.V.';
var htmlTitle	  = 'Parchimer+Carneval+Club+e.V.';
var metaKeywords  = 'PCC%2CParchimer+Carneval+Club+e.V.%2CGarde%3BGardetreffen%3BPrinzenpaargala%3BPr%C3%A4sident%2CElferrat%2CElferrad%2C11.11.%2CAschermittwoch%2CPr%C3%A4sidium%2CGr%C3%BCndung%2CPingel%2CVeranstaltung%2CFamilienfasching%2CFamilientag%3BSpasskegeln%2CSommerspektakel%2CStadthalle%2CParchim%2CGoetheturnhalle%2CTraining%2CKleinen%2COssiparty%2CGaragen%2CFundus%2CKost%C3%BCme%3Bkost%C3%BCm%2CM%C3%A4nnerballett%2CSKG+Blau+Gelb+Schwerin%2CPfinsten%2CZelten%2CKarneval%2CKLMV%2CLandesverband%2CPreise%2CMitglied%2CMach+Mit%21%2COsterfeuer%2CVereinsgaragen%2CSpass%2CBlau-Wei%C3%9F%2CP%C3%BCtt%2CP%C3%BCtt+Ahoi%2CPr%C3%A4sidententreffen%2CEisbeinessen%2CEisbeinrepublik%2CTermine';
var metaContents  = 'Parchimer+Carneval+Club+e.V..Informationen+zu+unseren+Aktivit%C3%A4ten.M%C3%A4nnerballett+des+PCC.Auftritte+des+PCC.Bilder+von+unseren+Veranstaltungen.Prinzenpaargala+des+Parchimer+Carneval+Club+e.v..Gardetreffen+des+Parchimer+Carneval+Club+e.V..';
					                                                                    
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 */					                                                            

