/* [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','60938',jdecode('Hair+Accessories'),jdecode(''),'/60938/index.html','true',[ 
		['PAGE','60907',jdecode('Flowers'),jdecode(''),'/60938/60907.html','true',[],''],
		['PAGE','36793',jdecode('Hair+Accessories'),jdecode(''),'/60938/36793.html','true',[],''],
		['PAGE','60969',jdecode('Mini++Hats'),jdecode(''),'/60938/60969.html','true',[],''],
		['PAGE','61000',jdecode('Fasinators'),jdecode(''),'/60938/61000.html','true',[],''],
		['PAGE','65153',jdecode('Bows'),jdecode(''),'/60938/65153.html','true',[],'']
	],''],
	['PAGE','36886',jdecode('Neon+Items'),jdecode(''),'/36886/index.html','true',[ 
		['PAGE','39884',jdecode('Neon+Necklaces'),jdecode(''),'/36886/39884.html','true',[],''],
		['PAGE','39915',jdecode('Neon+Braclets'),jdecode(''),'/36886/39915.html','true',[],''],
		['PAGE','39946',jdecode('Neon+Earrings'),jdecode(''),'/36886/39946.html','true',[],''],
		['PAGE','39977',jdecode('Neon+Hair+Item'),jdecode(''),'/36886/39977.html','true',[],''],
		['PAGE','40008',jdecode('Neon+Other'),jdecode(''),'/36886/40008.html','true',[],'']
	],''],
	['PAGE','15907',jdecode('GLOVES'),jdecode(''),'/15907.html','true',[],''],
	['PAGE','36545',jdecode('Pentagram+Jewellery'),jdecode(''),'/36545.html','true',[],''],
	['PAGE','60100',jdecode('Skull+Jewellery'),jdecode(''),'/60100/index.html','true',[ 
		['PAGE','36576',jdecode('Skull+Necklaces'),jdecode(''),'/60100/36576.html','true',[],''],
		['PAGE','36607',jdecode('Skull+Earrings'),jdecode(''),'/60100/36607.html','true',[],''],
		['PAGE','60069',jdecode('Skull+Braclets'),jdecode(''),'/60100/60069.html','true',[],'']
	],''],
	['PAGE','36638',jdecode('Handcuff+Jewellery'),jdecode(''),'/36638/index.html','true',[ 
		['PAGE','59607',jdecode('Handcuff+Earings'),jdecode(''),'/36638/59607.html','true',[],''],
		['PAGE','59638',jdecode('Handcuff+Necklaces'),jdecode(''),'/36638/59638.html','true',[],''],
		['PAGE','59669',jdecode('Handcuff+Braclets'),jdecode(''),'/36638/59669.html','true',[],'']
	],''],
	['PAGE','36669',jdecode('Crosses'),jdecode(''),'/36669/index.html','true',[ 
		['PAGE','42207',jdecode('Cross+Necklaces+1'),jdecode(''),'/36669/42207.html','true',[],''],
		['PAGE','42238',jdecode('Cross+Necklaces+2'),jdecode(''),'/36669/42238.html','true',[],''],
		['PAGE','42269',jdecode('Cross+Necklaces+3'),jdecode(''),'/36669/42269.html','true',[],''],
		['PAGE','42300',jdecode('Cross+Earrings%2F+Braclets'),jdecode(''),'/36669/42300.html','true',[],'']
	],''],
	['PAGE','36700',jdecode('Roseary+Crosses'),jdecode(''),'/36700.html','true',[],''],
	['PAGE','36731',jdecode('Blade+Jewellery'),jdecode(''),'/36731/index.html','true',[ 
		['PAGE','60007',jdecode('Blade+Earrings'),jdecode(''),'/36731/60007.html','true',[],''],
		['PAGE','60038',jdecode('Blade+Necklaces'),jdecode(''),'/36731/60038.html','true',[],'']
	],''],
	['PAGE','36762',jdecode('Anchor+%28+Sailor%29+Items'),jdecode(''),'/36762.html','true',[],''],
	['PAGE','36824',jdecode('Shoelaces'),jdecode(''),'/36824.html','true',[],''],
	['PAGE','36855',jdecode('Sweatbands'),jdecode(''),'/36855.html','true',[],''],
	['PAGE','36917',jdecode('Belts'),jdecode(''),'/36917.html','true',[],''],
	['PAGE','36948',jdecode('Bandanas'),jdecode(''),'/36948.html','true',[],''],
	['PAGE','36979',jdecode('Studded+Braclets+and+Chockers'),jdecode(''),'/36979.html','true',[],''],
	['PAGE','37010',jdecode('Braclets'),jdecode(''),'/37010.html','true',[],''],
	['PAGE','37041',jdecode('Kitsch+Jewellery'),jdecode(''),'/37041.html','true',[],''],
	['PAGE','37072',jdecode('Music+Related+Jewelley'),jdecode(''),'/37072/index.html','true',[ 
		['PAGE','39566',jdecode('GUITAR+ITEMS'),jdecode(''),'/37072/39566.html','true',[],''],
		['PAGE','59700',jdecode('Earrings'),jdecode(''),'/37072/59700.html','true',[],''],
		['PAGE','59731',jdecode('Necklace'),jdecode(''),'/37072/59731.html','true',[],''],
		['PAGE','59762',jdecode('Braclets'),jdecode(''),'/37072/59762.html','true',[],'']
	],''],
	['PAGE','26708',jdecode('Direction'),jdecode(''),'/26708.html','true',[],''],
	['PAGE','36264',jdecode('How+to+find+us'),jdecode(''),'/36264.html','true',[],''],
	['PAGE','60131',jdecode('Bags'),jdecode(''),'/60131.html','true',[],''],
	['PAGE','60162',jdecode('Key+Chains'),jdecode(''),'/60162.html','true',[],''],
	['PAGE','60193',jdecode('Wings+and+Fancy+Dress'),jdecode(''),'/60193.html','true',[],''],
	['PAGE','60224',jdecode('Scarves'),jdecode(''),'/60224.html','true',[],''],
	['PAGE','62507',jdecode('Ties+'),jdecode(''),'/62507.html','true',[],''],
	['PAGE','63021',jdecode('Braces'),jdecode(''),'/63021.html','true',[],'']];
var siteelementCount=53;
theSitetree.topTemplateName='Orbit';
					                                                                    
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 */					                                                            
