/* [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','40976',jdecode('Home'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','43414',jdecode('News'),jdecode(''),'/43414.html','true',[],''],
	['PAGE','41030',jdecode('Cosplay'),jdecode(''),'/41030/home.html','true',[ 
		['PAGE','43335',jdecode('Was+ist+Cosplay%3F'),jdecode(''),'/41030/43335.html','true',[],''],
		['PAGE','43423',jdecode('Mein+Cosplay'),jdecode(''),'/41030/43423.html','true',[],''],
		['PAGE','43046',jdecode('Kost%C3%BCme'),jdecode(''),'/41030/43046.html','true',[],''],
		['PAGE','43644',jdecode('Wunschkost%C3%BCme'),jdecode(''),'/41030/43644.html','true',[],''],
		['PAGE','43432',jdecode('Andere+Kost%C3%BCme'),jdecode(''),'/41030/43432.html','true',[],'']
	],''],
	['PAGE','43526',jdecode('Furo%26%23x27%3Bs+Cosplaypics'),jdecode(''),'/43526.html','true',[],''],
	['PAGE','43441',jdecode('Conventions'),jdecode(''),'/43441.html','true',[],''],
	['PAGE','41003',jdecode('About+Furo'),jdecode(''),'/41003.html','true',[],''],
	['PAGE','41012',jdecode('Kontakt'),jdecode(''),'/41012.html','true',[],''],
	['PAGE','43102',jdecode('G%C3%A4stebuch'),jdecode(''),'/43102/home.html','true',[ 
		['PAGE','43101',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43102/43101.html','true',[],'']
	],''],
	['PAGE','43197',jdecode('Links'),jdecode(''),'/43197.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Cherry';
theSitetree.paletteFamily='A40305';
theSitetree.keyvisualId='10896';
theSitetree.keyvisualName='kv_10896.jpg';
theSitetree.fontsetId='31881';
theSitetree.graphicsetId='13690';
theSitetree.contentColor='050304';
theSitetree.contentBGColor='A40305';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cherry',
				paletteFamily: 	'A40305',
				keyvisualId: 	'10896',
				keyvisualName: 	'kv_10896.jpg',
				fontsetId: 		'31881',
				graphicsetId: 	'13690',
				contentColor: 	'050304',
				contentBGColor: 'A40305',
				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:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20070120-233015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41012',
internalId:  '',
customField: '20080824-232354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20081005-002958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20081005-001206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43046',
internalId:  '',
customField: '20081005-002704'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40976',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-43102atoix0i7uew7']={
webappId:    '1002',
documentId:  '43102',
internalId:  '43102atoix0i7uew7',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43102atoix0i7uew7']={
webappId:    '1002',
documentId:  '43101',
internalId:  '43102atoix0i7uew7',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43197',
internalId:  '',
customField: '20080618-224502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43102',
internalId:  '',
customField: '20070114-035200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43335',
internalId:  '',
customField: '20080319-222646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43644',
internalId:  '',
customField: '20080209-224206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43526',
internalId:  '',
customField: '20081005-002856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20070116-013505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43414',
internalId:  '',
customField: '20081005-003437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43423',
internalId:  '',
customField: '20080127-000438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43432',
internalId:  '',
customField: '20080310-232337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43441',
internalId:  '',
customField: '20081005-003707'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7UEW7';
var companyName   = 'Furosuto%27s+Cosplay+Welt';
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 */					                                                            
