/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4555',jdecode('Home'),jdecode(''),'/4555.html','true',[],''],
	['PAGE','44885',jdecode('Translator'),jdecode(''),'/44885.html','true',[],''],
	['PAGE','6302',jdecode('Rules+of+conduct'),jdecode(''),'/6302.html','true',[],''],
	['PAGE','5502',jdecode('Players'),jdecode(''),'/5502/index.html','true',[ 
		['PAGE','41285',jdecode('Fury%26%23x27%3Bs+Stats'),jdecode(''),'/5502/41285.html','true',[],''],
		['PAGE','41854',jdecode('187%26%23x27%3Bs+Stats'),jdecode(''),'/5502/41854.html','true',[],''],
		['PAGE','41885',jdecode('Darksoldier%26%23x27%3Bs+Stats'),jdecode(''),'/5502/41885.html','true',[],''],
		['PAGE','41316',jdecode('Snow%26%23x27%3Bs+Stats'),jdecode(''),'/5502/41316.html','true',[],''],
		['PAGE','43985',jdecode('Kezz%26%23x27%3Bs+Stats'),jdecode(''),'/5502/43985.html','true',[],'']
	],''],
	['PAGE','40385',jdecode('KOS+shop'),jdecode(''),'/40385.html','true',[],''],
	['PAGE','39785',jdecode('New+Forums'),jdecode(''),'/39785.html','true',[],''],
	['PAGE','5529',jdecode('Medals+BHD'),jdecode(''),'/5529.html','true',[],''],
	['PAGE','36985',jdecode('Medals+JO%26%23x27%3BS'),jdecode(''),'/36985.html','true',[],''],
	['PAGE','44585',jdecode('Medals%2FRanks+For+DF%26%23x27%3BX'),jdecode(''),'/44585.html','true',[],''],
	['PAGE','8603',jdecode('Guestbook'),jdecode(''),'/8603/index.html','true',[ 
		['PAGE','8604',jdecode('Read+Guestbook'),jdecode(''),'/8603/8604.html','true',[],'']
	],''],
	['PAGE','6356',jdecode('News'),jdecode(''),'/6356.html','true',[],''],
	['PAGE','19129',jdecode('Chatroom'),jdecode(''),'/19129.html','true',[],''],
	['PAGE','6329',jdecode('Nova'),jdecode(''),'/6329.html','true',[],''],
	['PAGE','5583',jdecode('Credits'),jdecode(''),'/5583.html','true',[],''],
	['PAGE','17603',jdecode('Match+Weblog'),jdecode(''),'/17603.html','true',[],''],
	['PAGE','21160',jdecode('About+us+and+the+team'),jdecode(''),'/21160.html','true',[],''],
	['PAGE','21129',jdecode('KOS+Screen+Shots'),jdecode(''),'/21129/index.html','true',[ 
		['PAGE','21192',jdecode('Screen+shots+JO%26%23x27%3BE'),jdecode(''),'/21129/21192.html','true',[],''],
		['PAGE','28686',jdecode('screen+shots+BHD'),jdecode(''),'/21129/28686.html','true',[],''],
		['PAGE','33086',jdecode('+screen+shots+JO%26%23x27%3BTR'),jdecode(''),'/21129/33086.html','true',[],''],
		['PAGE','31817',jdecode('UK+LAN+Party'),jdecode(''),'/21129/31817.html','true',[],''],
		['PAGE','44486',jdecode('DF%26%23x27%3BX+Screen+Shots'),jdecode(''),'/21129/44486.html','true',[],'']
	],''],
	['PAGE','27356',jdecode('Downloads'),jdecode(''),'/27356.html','true',[],''],
	['PAGE','27456',jdecode('Voting++%26+Polls'),jdecode(''),'/27456/index.html','true',[ 
		['PAGE','27567',jdecode('team+colours'),jdecode(''),'/27456/27567.html','true',[],''],
		['PAGE','27598',jdecode('Stat+or+public+servers'),jdecode(''),'/27456/27598.html','true',[],''],
		['PAGE','27629',jdecode('Squad+or+no+squad'),jdecode(''),'/27456/27629.html','true',[],''],
		['PAGE','28285',jdecode('Game+type'),jdecode(''),'/27456/28285.html','true',[],''],
		['PAGE','28316',jdecode('Player+type'),jdecode(''),'/27456/28316.html','true',[],''],
		['PAGE','28585',jdecode('Favourite+alcohol'),jdecode(''),'/27456/28585.html','true',[],'']
	],''],
	['PAGE','27775',jdecode('Allies'),jdecode(''),'/27775.html','true',[],''],
	['PAGE','27811',jdecode('Web+Links'),jdecode(''),'/27811.html','true',[],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Neon';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
