/* [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','4436',jdecode('Home'),jdecode(''),'/4436/index.html','true',[ 
		['PAGE','28053',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/4436/28053.html','false',[],''],
		['PAGE','46549',jdecode('Acaciaclose'),jdecode(''),'/4436/46549.html','true',[],''],
		['PAGE','53402',jdecode('AV+Quality'),jdecode(''),'/4436/53402.html','true',[],''],
		['PAGE','122501',jdecode('Linux%2FOpen+Source'),jdecode(''),'/4436/122501.html','true',[],''],
		['PAGE','133055',jdecode('Linux+101'),jdecode(''),'/4436/133055.html','true',[],''],
		['PAGE','120187',jdecode('Linux+Challenge'),jdecode(''),'/4436/120187.html','true',[],'']
	],''],
	['PAGE','16226',jdecode('Quick+Start+Guide'),jdecode(''),'/16226/index.html','true',[ 
		['PAGE','29415',jdecode('Kaffeine'),jdecode(''),'/16226/29415.html','true',[],''],
		['PAGE','130355',jdecode('DVD'),jdecode(''),'/16226/130355.html','true',[],'']
	],''],
	['PAGE','16253',jdecode('TV+Cards+and+Drivers'),jdecode(''),'/16253/index.html','true',[ 
		['PAGE','31272',jdecode('Testing+Drivers'),jdecode(''),'/16253/31272.html','true',[],''],
		['PAGE','29468',jdecode('UK+DVB-T+Transmitters'),jdecode(''),'/16253/29468.html','true',[],''],
		['PAGE','121187',jdecode('Custom+Drivers'),jdecode(''),'/16253/121187.html','true',[],''],
		['PAGE','138855',jdecode('Custom+TV+Card+Remote'),jdecode(''),'/16253/138855.html','true',[],'']
	],''],
	['PAGE','33727',jdecode('Graphics+cards'),jdecode(''),'/33727/index.html','true',[ 
		['PAGE','34330',jdecode('Prerequisits'),jdecode(''),'/33727/34330.html','true',[],''],
		['PAGE','34627',jdecode('ATI+Cards'),jdecode(''),'/33727/34627.html','true',[],''],
		['PAGE','34658',jdecode('Nvidia+Cards'),jdecode(''),'/33727/34658.html','true',[],'']
	],''],
	['PAGE','36551',jdecode('Media+Formats'),jdecode(''),'/36551/index.html','true',[ 
		['PAGE','21110',jdecode('Media++Applications'),jdecode(''),'/36551/21110.html','true',[],''],
		['PAGE','47886',jdecode('Sample+Movies'),jdecode(''),'/36551/47886.html','true',[],''],
		['PAGE','123509',jdecode('Rip+and+Transcode'),jdecode(''),'/36551/123509.html','true',[],'']
	],''],
	['PAGE','47049',jdecode('High+Definition'),jdecode(''),'/47049.html','true',[],''],
	['PAGE','28654',jdecode('MythTV+Media+Centre'),jdecode(''),'/28654/index.html','true',[ 
		['PAGE','32435',jdecode('MythTV+Dependencies'),jdecode(''),'/28654/32435.html','true',[],''],
		['PAGE','28806',jdecode('MythTV+from+RPM%26%23x27%3Bs'),jdecode(''),'/28654/28806.html','true',[],''],
		['PAGE','28712',jdecode('MythTV+Compile+Guide'),jdecode(''),'/28654/28712.html','true',[],''],
		['PAGE','31810',jdecode('MythTV+Setup'),jdecode(''),'/28654/31810.html','true',[],''],
		['PAGE','39932',jdecode('MythTV+Plugins'),jdecode(''),'/28654/39932.html','true',[],''],
		['PAGE','124502',jdecode('MythTV+Archiving'),jdecode(''),'/28654/124502.html','true',[],''],
		['PAGE','125375',jdecode('Scheduled+Wakeup+'),jdecode(''),'/28654/125375.html','true',[],''],
		['PAGE','141968',jdecode('nvram-wakeup'),jdecode(''),'/28654/141968.html','true',[],''],
		['PAGE','126538',jdecode('MythTV+Look%26Feel'),jdecode(''),'/28654/126538.html','true',[],''],
		['PAGE','127639',jdecode('MytthTV+Screenshots'),jdecode(''),'/28654/127639.html','true',[],'']
	],''],
	['PAGE','21141',jdecode('Digital+Display'),jdecode(''),'/21141/index.html','true',[ 
		['PAGE','126850',jdecode('Display+Connections'),jdecode(''),'/21141/126850.html','true',[],'']
	],''],
	['PAGE','31307',jdecode('Digital+Audio'),jdecode(''),'/31307/index.html','true',[ 
		['PAGE','42432',jdecode('Audio+Setup'),jdecode(''),'/31307/42432.html','true',[],''],
		['PAGE','40830',jdecode('CD+RIp+and+Play'),jdecode(''),'/31307/40830.html','true',[],''],
		['PAGE','41461',jdecode('iPod+and+AmaroK'),jdecode(''),'/31307/41461.html','true',[],''],
		['PAGE','42229',jdecode('AC3+Out'),jdecode(''),'/31307/42229.html','true',[],''],
		['PAGE','39143',jdecode('Digital+Room+Correction'),jdecode(''),'/31307/39143.html','true',[],'']
	],''],
	['PAGE','45152',jdecode('Digital+Photos'),jdecode(''),'/45152/index.html','true',[ 
		['PAGE','54657',jdecode('Flickr+Uploading'),jdecode(''),'/45152/54657.html','true',[],'']
	],''],
	['PAGE','32727',jdecode('Digital+Video'),jdecode(''),'/32727/index.html','true',[ 
		['PAGE','43836',jdecode('DV+Capture'),jdecode(''),'/32727/43836.html','true',[],''],
		['PAGE','52188',jdecode('Video+Editing'),jdecode(''),'/32727/52188.html','true',[],''],
		['PAGE','135155',jdecode('Video+Coverstion'),jdecode(''),'/32727/135155.html','true',[],'']
	],''],
	['PAGE','116393',jdecode('Digital+Presence'),jdecode(''),'/116393.html','true',[],''],
	['PAGE','31338',jdecode('Remote+Controls'),jdecode(''),'/31338/index.html','true',[ 
		['PAGE','138355',jdecode('LIRC+Setup'),jdecode(''),'/31338/138355.html','true',[],''],
		['PAGE','37429',jdecode('Power+Off'),jdecode(''),'/31338/37429.html','true',[],''],
		['PAGE','37629',jdecode('One4all+Keys'),jdecode(''),'/31338/37629.html','true',[],'']
	],''],
	['PAGE','129538',jdecode('Networking'),jdecode(''),'/129538/index.html','true',[ 
		['PAGE','40429',jdecode('Remote+Access'),jdecode(''),'/129538/40429.html','true',[],''],
		['PAGE','118087',jdecode('WIFI'),jdecode(''),'/129538/118087.html','true',[],''],
		['PAGE','131538',jdecode('Media+Streaming+'),jdecode(''),'/129538/131538.html','true',[],''],
		['PAGE','127238',jdecode('Remote+Login'),jdecode(''),'/129538/127238.html','true',[],'']
	],''],
	['PAGE','37529',jdecode('MISC+Bits'),jdecode(''),'/37529.html','true',[],''],
	['PAGE','21172',jdecode('Links'),jdecode(''),'/21172.html','true',[],''],
	['PAGE','44549',jdecode('Cool+Stuff'),jdecode(''),'/44549.html','true',[],''],
	['PAGE','137355',jdecode('Ubuntu+Notes'),jdecode(''),'/137355.html','true',[],'']];
var siteelementCount=63;
theSitetree.topTemplateName='Clearline';
					                                                                    
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 */					                                                            
