/* [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('Tomb+Sweet+Tomb'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','227794',jdecode('Last+Rites'),jdecode(''),'/227794.html','true',[],''],
	['PAGE','6955',jdecode('Epitaphs'),jdecode(''),'/6955.html','true',[],''],
	['PAGE','6928',jdecode('Letters'),jdecode(''),'/6928.html','true',[],''],
	['PAGE','212910',jdecode('News'),jdecode(''),'/212910.html','true',[],''],
	['PAGE','28101',jdecode('Beyond+The+Grave'),jdecode(''),'/28101/index.html','true',[ 
		['PAGE','207310',jdecode('Bella+Morte'),jdecode(''),'/28101/207310.html','true',[],''],
		['PAGE','282894',jdecode('Belphegor'),jdecode(''),'/28101/282894.html','true',[],''],
		['PAGE','349362',jdecode('CrashDiet'),jdecode(''),'/28101/349362.html','true',[],''],
		['PAGE','28128',jdecode('Glenn+Danzig'),jdecode(''),'/28101/28128.html','true',[],''],
		['PAGE','294894',jdecode('Danzig'),jdecode(''),'/28101/294894.html','true',[],''],
		['PAGE','28155',jdecode('DBY'),jdecode(''),'/28101/28155.html','true',[],''],
		['PAGE','235494',jdecode('DeathStars'),jdecode(''),'/28101/235494.html','true',[],''],
		['PAGE','306490',jdecode('D.I.'),jdecode(''),'/28101/306490.html','true',[],''],
		['PAGE','28182',jdecode('ElectricHellfireClub'),jdecode(''),'/28101/28182.html','true',[],''],
		['PAGE','28209',jdecode('G.B.H.'),jdecode(''),'/28101/28209.html','true',[],''],
		['PAGE','28236',jdecode('Genitorturers'),jdecode(''),'/28101/28236.html','true',[],''],
		['PAGE','261994',jdecode('Gwar'),jdecode(''),'/28101/261994.html','true',[],''],
		['PAGE','250175',jdecode('John+5'),jdecode(''),'/28101/250175.html','true',[],''],
		['PAGE','282694',jdecode('King+Diamond'),jdecode(''),'/28101/282694.html','true',[],''],
		['PAGE','310396',jdecode('Lacuna+Coil'),jdecode(''),'/28101/310396.html','true',[],''],
		['PAGE','335096',jdecode('Megadeth'),jdecode(''),'/28101/335096.html','true',[],''],
		['PAGE','325808',jdecode('Michael+Monroe'),jdecode(''),'/28101/325808.html','true',[],''],
		['PAGE','28263',jdecode('Mortiis'),jdecode(''),'/28101/28263.html','true',[],''],
		['PAGE','321996',jdecode('Mot%F6rhead'),jdecode(''),'/28101/321996.html','true',[],''],
		['PAGE','342662',jdecode('Murderdolls'),jdecode(''),'/28101/342662.html','true',[],''],
		['PAGE','317996',jdecode('Overkill'),jdecode(''),'/28101/317996.html','true',[],''],
		['PAGE','314696',jdecode('Prong'),jdecode(''),'/28101/314696.html','true',[],''],
		['PAGE','315896',jdecode('Marky+Ramone'),jdecode(''),'/28101/315896.html','true',[],''],
		['PAGE','309796',jdecode('Seventh+Void'),jdecode(''),'/28101/309796.html','true',[],''],
		['PAGE','322896',jdecode('Slayer'),jdecode(''),'/28101/322896.html','true',[],''],
		['PAGE','216423',jdecode('Society+1'),jdecode(''),'/28101/216423.html','true',[],''],
		['PAGE','28344',jdecode('Testament'),jdecode(''),'/28101/28344.html','true',[],''],
		['PAGE','28371',jdecode('Type+O+Negative'),jdecode(''),'/28101/28371.html','true',[],''],
		['PAGE','311196',jdecode('Eerie+Von'),jdecode(''),'/28101/311196.html','true',[],''],
		['PAGE','238975',jdecode('Wednesday+13'),jdecode(''),'/28101/238975.html','true',[],'']
	],''],
	['PAGE','28701',jdecode('Interview+with...'),jdecode(''),'/28701/index.html','true',[ 
		['PAGE','347562',jdecode('a+Satanist+2'),jdecode(''),'/28701/347562.html','true',[],''],
		['PAGE','200688',jdecode('The+Devil%26%23x27%3Bs+Grandson'),jdecode(''),'/28701/200688.html','true',[],''],
		['PAGE','246075',jdecode('a+Filmmaker'),jdecode(''),'/28701/246075.html','true',[],''],
		['PAGE','247275',jdecode('a+Tattoo+Artist'),jdecode(''),'/28701/247275.html','true',[],''],
		['PAGE','320696',jdecode('an+Author'),jdecode(''),'/28701/320696.html','true',[],'']
	],''],
	['PAGE','337996',jdecode('Unearthly+Sounds'),jdecode(''),'/337996/index.html','true',[ 
		['PAGE','338096',jdecode('Pioneer+headphones'),jdecode(''),'/337996/338096.html','true',[],'']
	],''],
	['PAGE','176224',jdecode('Features'),jdecode(''),'/176224/index.html','true',[ 
		['PAGE','346562',jdecode('Les+Crimes+de+Amour'),jdecode(''),'/176224/346562.html','true',[],''],
		['PAGE','340520',jdecode('The+Big+4'),jdecode(''),'/176224/340520.html','true',[],''],
		['PAGE','338967',jdecode('Revolver+PC'),jdecode(''),'/176224/338967.html','true',[],''],
		['PAGE','332696',jdecode('SSMF+2010+1'),jdecode(''),'/176224/332696.html','true',[],''],
		['PAGE','333296',jdecode('SSMF+2010+2'),jdecode(''),'/176224/333296.html','true',[],''],
		['PAGE','330800',jdecode('Mayhem+Fest+2010'),jdecode(''),'/176224/330800.html','true',[],''],
		['PAGE','318596',jdecode('Gwar'),jdecode(''),'/176224/318596.html','true',[],''],
		['PAGE','317228',jdecode('Trinity+of+Terrors'),jdecode(''),'/176224/317228.html','true',[],''],
		['PAGE','314096',jdecode('Horrorfind+2009'),jdecode(''),'/176224/314096.html','true',[],''],
		['PAGE','306297',jdecode('Warped+Tour+%26%23x27%3B09'),jdecode(''),'/176224/306297.html','true',[],''],
		['PAGE','311796',jdecode('Warped+tour+%26%23x27%3B09+2'),jdecode(''),'/176224/311796.html','true',[],''],
		['PAGE','302896',jdecode('Monster+Circus'),jdecode(''),'/176224/302896.html','true',[],''],
		['PAGE','306331',jdecode('2009+AVN+Expo'),jdecode(''),'/176224/306331.html','true',[],''],
		['PAGE','297896',jdecode('2009+CES'),jdecode(''),'/176224/297896.html','true',[],''],
		['PAGE','275444',jdecode('2008+NAMM+Show'),jdecode(''),'/176224/275444.html','true',[],''],
		['PAGE','273594',jdecode('2008+AVN+Expo'),jdecode(''),'/176224/273594.html','true',[],''],
		['PAGE','273625',jdecode('2008+CES'),jdecode(''),'/176224/273625.html','true',[],''],
		['PAGE','239876',jdecode('2007+NAMM+Show'),jdecode(''),'/176224/239876.html','true',[],''],
		['PAGE','206772',jdecode('Grub+Girl+premiere'),jdecode(''),'/176224/206772.html','true',[],''],
		['PAGE','219594',jdecode('666+A+Tribute+To+Evil+'),jdecode(''),'/176224/219594.html','true',[],''],
		['PAGE','323531',jdecode('FuseFangoriaAwards'),jdecode(''),'/176224/323531.html','true',[],''],
		['PAGE','233897',jdecode('BlackestoftheBlack+1'),jdecode(''),'/176224/233897.html','true',[],''],
		['PAGE','232694',jdecode('BlackestoftheBlack+2'),jdecode(''),'/176224/232694.html','true',[],''],
		['PAGE','294294',jdecode('BlackestoftheBlack+08'),jdecode(''),'/176224/294294.html','true',[],''],
		['PAGE','295097',jdecode('BlackestoftheBlack+08'),jdecode(''),'/176224/295097.html','true',[],''],
		['PAGE','234594',jdecode('Wolfmother'),jdecode(''),'/176224/234594.html','true',[],''],
		['PAGE','236494',jdecode('Sandy+West+Tribute'),jdecode(''),'/176224/236494.html','true',[],''],
		['PAGE','237375',jdecode('Black+Xmas'),jdecode(''),'/176224/237375.html','true',[],''],
		['PAGE','241127',jdecode('Hollywood+Rockwalk'),jdecode(''),'/176224/241127.html','true',[],''],
		['PAGE','256375',jdecode('Dimebag+Tribute+1'),jdecode(''),'/176224/256375.html','true',[],'']
	],''],
	['PAGE','274494',jdecode('Live+Undead'),jdecode(''),'/274494/index.html','true',[ 
		['PAGE','330396',jdecode('more+Live+Undead'),jdecode(''),'/274494/330396.html','true',[],'']
	],''],
	['PAGE','303596',jdecode('Slabs'),jdecode(''),'/303596/index.html','true',[ 
		['PAGE','333515',jdecode('more+Slabs'),jdecode(''),'/303596/333515.html','true',[],'']
	],''],
	['PAGE','6982',jdecode('Stiffs'),jdecode(''),'/6982.html','true',[],''],
	['PAGE','57801',jdecode('Unearthed'),jdecode(''),'/57801/index.html','true',[ 
		['PAGE','57828',jdecode('Jack+Off+Jill'),jdecode(''),'/57801/57828.html','true',[],''],
		['PAGE','57855',jdecode('KISS'),jdecode(''),'/57801/57855.html','true',[],''],
		['PAGE','57882',jdecode('Samhain'),jdecode(''),'/57801/57882.html','true',[],'']
	],''],
	['PAGE','67107',jdecode('Cryptgirls'),jdecode(''),'/67107/index.html','true',[ 
		['PAGE','260594',jdecode('Szandora'),jdecode(''),'/67107/260594.html','true',[],''],
		['PAGE','71701',jdecode('Ugly+Shyla'),jdecode(''),'/67107/71701.html','true',[],''],
		['PAGE','94873',jdecode('Jezahell'),jdecode(''),'/67107/94873.html','true',[],''],
		['PAGE','170630',jdecode('Clare+Lepard'),jdecode(''),'/67107/170630.html','true',[],''],
		['PAGE','223194',jdecode('Lexa+Vonn'),jdecode(''),'/67107/223194.html','true',[],''],
		['PAGE','252106',jdecode('Piper'),jdecode(''),'/67107/252106.html','true',[],''],
		['PAGE','295294',jdecode('Sweet+Surrender'),jdecode(''),'/67107/295294.html','true',[],''],
		['PAGE','302596',jdecode('Sophia+Disgrace'),jdecode(''),'/67107/302596.html','true',[],''],
		['PAGE','337399',jdecode('Demetria'),jdecode(''),'/67107/337399.html','true',[],''],
		['PAGE','338998',jdecode('Lisa'),jdecode(''),'/67107/338998.html','true',[],''],
		['PAGE','344662',jdecode('Deceased+Darling'),jdecode(''),'/67107/344662.html','true',[],'']
	],''],
	['PAGE','270228',jdecode('The+Library'),jdecode(''),'/270228.html','true',[],''],
	['PAGE','98036',jdecode('The+Vault'),jdecode(''),'/98036/index.html','true',[ 
		['PAGE','22702',jdecode('Last+Rites+%23+1'),jdecode(''),'/98036/22702.html','true',[],''],
		['PAGE','174675',jdecode('Last+Rites+%23+2'),jdecode(''),'/98036/174675.html','true',[],''],
		['PAGE','70901',jdecode('News+%23+1'),jdecode(''),'/98036/70901.html','true',[],''],
		['PAGE','175675',jdecode('News+%232'),jdecode(''),'/98036/175675.html','true',[],''],
		['PAGE','68631',jdecode('Ask+The+Reverend+%231'),jdecode(''),'/98036/68631.html','true',[],''],
		['PAGE','176475',jdecode('Ask+The+Reverend+%232'),jdecode(''),'/98036/176475.html','true',[],''],
		['PAGE','206865',jdecode('Ask+The+Reverend+%233'),jdecode(''),'/98036/206865.html','true',[],''],
		['PAGE','258139',jdecode('2006+NAMM+Show+1'),jdecode(''),'/98036/258139.html','true',[],''],
		['PAGE','176255',jdecode('2005+AVN+Expo'),jdecode(''),'/98036/176255.html','true',[],''],
		['PAGE','241064',jdecode('2006+AVN+Expo'),jdecode(''),'/98036/241064.html','true',[],''],
		['PAGE','176370',jdecode('ChristianAudigier2005'),jdecode(''),'/98036/176370.html','true',[],''],
		['PAGE','176706',jdecode('RockStarPoker+2005'),jdecode(''),'/98036/176706.html','true',[],''],
		['PAGE','176675',jdecode('Reading+2005'),jdecode(''),'/98036/176675.html','true',[],''],
		['PAGE','202788',jdecode('Priest+Feast+2005'),jdecode(''),'/98036/202788.html','true',[],''],
		['PAGE','6901',jdecode('Live+Undead+%231'),jdecode(''),'/98036/6901.html','true',[],''],
		['PAGE','173993',jdecode('Live+Undead+%232'),jdecode(''),'/98036/173993.html','true',[],''],
		['PAGE','206541',jdecode('Live+Undead+%233'),jdecode(''),'/98036/206541.html','true',[],''],
		['PAGE','98067',jdecode('Slabs+%23+1'),jdecode(''),'/98036/98067.html','true',[],''],
		['PAGE','7101',jdecode('Slabs+%23+2'),jdecode(''),'/98036/7101.html','true',[],''],
		['PAGE','174024',jdecode('Slabs+%23+3'),jdecode(''),'/98036/174024.html','true',[],''],
		['PAGE','206510',jdecode('Slabs+%23+4'),jdecode(''),'/98036/206510.html','true',[],''],
		['PAGE','220494',jdecode('Slabs+%23+5'),jdecode(''),'/98036/220494.html','true',[],''],
		['PAGE','252075',jdecode('Slabs+%23+6'),jdecode(''),'/98036/252075.html','true',[],''],
		['PAGE','268694',jdecode('Slabs+%23+7'),jdecode(''),'/98036/268694.html','true',[],''],
		['PAGE','252137',jdecode('Lacuna+Coil'),jdecode(''),'/98036/252137.html','true',[],''],
		['PAGE','28290',jdecode('Motorhead'),jdecode(''),'/98036/28290.html','true',[],''],
		['PAGE','28317',jdecode('Slayer'),jdecode(''),'/98036/28317.html','true',[],'']
	],''],
	['PAGE','74701',jdecode('Deadly+Links'),jdecode(''),'/74701.html','true',[],''],
	['PAGE','225194',jdecode('Facebook'),jdecode(''),'/225194.html','true',[],''],
	['PAGE','348362',jdecode('Chatroom'),jdecode(''),'/348362.html','true',[],''],
	['PAGE','81402',jdecode('Guestbook'),jdecode(''),'/81402/index.html','true',[ 
		['PAGE','81403',jdecode('Read+Guestbook'),jdecode(''),'/81402/81403.html','true',[],'']
	],'']];
var siteelementCount=130;
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 */					                                                            

