/* [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','94737',jdecode('New+Fasinators'),jdecode(''),'/60938/94737.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','60100',jdecode('Skull+Jewellery'),jdecode(''),'/60100/index.html','true',[ 
		['PAGE','93241',jdecode('Skull+Earrings'),jdecode(''),'/60100/93241.html','true',[],''],
		['PAGE','93272',jdecode('Skull+N+Bone++Earrings'),jdecode(''),'/60100/93272.html','true',[],''],
		['PAGE','78217',jdecode('Skull+Necklaces'),jdecode(''),'/60100/78217.html','true',[],''],
		['PAGE','60069',jdecode('Skull+Braclets'),jdecode(''),'/60100/60069.html','true',[],''],
		['PAGE','78248',jdecode('Skull+Other'),jdecode(''),'/60100/78248.html','true',[],'']
	],''],
	['PAGE','36638',jdecode('Handcuff+Jewellery'),jdecode(''),'/36638/index.html','true',[ 
		['PAGE','77015',jdecode('Handcuff+Earrings'),jdecode(''),'/36638/77015.html','true',[],''],
		['PAGE','77046',jdecode('Handcuff+Necklaces'),jdecode(''),'/36638/77046.html','true',[],''],
		['PAGE','59669',jdecode('Handcuff+Braclets'),jdecode(''),'/36638/59669.html','true',[],'']
	],''],
	['PAGE','78151',jdecode('Penatgram+Jewellery'),jdecode(''),'/78151/index.html','true',[ 
		['PAGE','78089',jdecode('Pentagram+Earrings'),jdecode(''),'/78151/78089.html','true',[],''],
		['PAGE','78120',jdecode('Pentagram+Necklaces'),jdecode(''),'/78151/78120.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','37010',jdecode('Bracelets'),jdecode(''),'/37010.html','true',[],''],
	['PAGE','94952',jdecode('Bracelets+2'),jdecode(''),'/94952.html','true',[],''],
	['PAGE','37041',jdecode('Kitsch+Earrings'),jdecode(''),'/37041/index.html','true',[ 
		['PAGE','67007',jdecode('Cakes+%26+Food+E%2Fr'),jdecode(''),'/37041/67007.html','true',[],''],
		['PAGE','88834',jdecode('Safety+Pins+etc'),jdecode(''),'/37041/88834.html','true',[],''],
		['PAGE','94983',jdecode('Kitsch+Earrings+1'),jdecode(''),'/37041/94983.html','true',[],''],
		['PAGE','95014',jdecode('Kitsch+Earrings+2'),jdecode(''),'/37041/95014.html','true',[],''],
		['PAGE','95045',jdecode('Kitsch+Earrings+3'),jdecode(''),'/37041/95045.html','true',[],''],
		['PAGE','95076',jdecode('Zip+Earrings'),jdecode(''),'/37041/95076.html','true',[],'']
	],''],
	['PAGE','88803',jdecode('Kitsch+Necklaces'),jdecode(''),'/88803/index.html','true',[ 
		['PAGE','67038',jdecode('Cakes+%26+Food+N%2Fk'),jdecode(''),'/88803/67038.html','true',[],''],
		['PAGE','95107',jdecode('Kitsch+Necklaces+1'),jdecode(''),'/88803/95107.html','true',[],''],
		['PAGE','95138',jdecode('Kitsch+Necklaces+2'),jdecode(''),'/88803/95138.html','true',[],'']
	],''],
	['PAGE','67069',jdecode('Cakes+%26+Food+Other'),jdecode(''),'/67069.html','true',[],''],
	['PAGE','37072',jdecode('Music+Related+Jewelley'),jdecode(''),'/37072/index.html','true',[ 
		['PAGE','59700',jdecode('Earrings+1'),jdecode(''),'/37072/59700.html','true',[],''],
		['PAGE','69342',jdecode('Earrings+2+'),jdecode(''),'/37072/69342.html','true',[],''],
		['PAGE','69373',jdecode('Earrings+3'),jdecode(''),'/37072/69373.html','true',[],''],
		['PAGE','69707',jdecode('Earrings+4'),jdecode(''),'/37072/69707.html','true',[],''],
		['PAGE','39566',jdecode('Necklaces+1'),jdecode(''),'/37072/39566.html','true',[],''],
		['PAGE','59731',jdecode('Necklaces+2'),jdecode(''),'/37072/59731.html','true',[],''],
		['PAGE','70307',jdecode('Necklaces+3'),jdecode(''),'/37072/70307.html','true',[],''],
		['PAGE','59762',jdecode('Other'),jdecode(''),'/37072/59762.html','true',[],'']
	],''],
	['PAGE','80152',jdecode('Cameo+Jewellery'),jdecode(''),'/80152.html','true',[],''],
	['PAGE','88865',jdecode('Dice+%26+Card+Jewellery'),jdecode(''),'/88865.html','true',[],''],
	['PAGE','87707',jdecode('Love%2F+Heart+Jewellery'),jdecode(''),'/87707/index.html','true',[ 
		['PAGE','87738',jdecode('Love%2F+Heart+Necklaces'),jdecode(''),'/87707/87738.html','true',[],''],
		['PAGE','87769',jdecode('Love%2FHeart+Earrings'),jdecode(''),'/87707/87769.html','true',[],'']
	],''],
	['PAGE','87676',jdecode('Smiley+Jewellery'),jdecode(''),'/87676.html','true',[],''],
	['PAGE','86952',jdecode('Stands'),jdecode(''),'/86952.html','true',[],''],
	['PAGE','36855',jdecode('Sweatbands'),jdecode(''),'/36855/index.html','true',[ 
		['PAGE','80211',jdecode('Sweatbands+1'),jdecode(''),'/36855/80211.html','true',[],''],
		['PAGE','80242',jdecode('Sweatbands+2'),jdecode(''),'/36855/80242.html','true',[],'']
	],''],
	['PAGE','15907',jdecode('GLOVES'),jdecode(''),'/15907.html','true',[],''],
	['PAGE','86323',jdecode('Gummies'),jdecode(''),'/86323.html','true',[],''],
	['PAGE','87252',jdecode('Barbwire+Gummies'),jdecode(''),'/87252.html','true',[],''],
	['PAGE','68107',jdecode('Halloween+Items'),jdecode(''),'/68107.html','true',[],''],
	['PAGE','36948',jdecode('Bandanas'),jdecode(''),'/36948/index.html','true',[ 
		['PAGE','83552',jdecode('Paisley+Bandanas'),jdecode(''),'/36948/83552.html','true',[],''],
		['PAGE','83583',jdecode('Plain+Bandanas'),jdecode(''),'/36948/83583.html','true',[],''],
		['PAGE','83614',jdecode('Rasta+Bandanas'),jdecode(''),'/36948/83614.html','true',[],''],
		['PAGE','83645',jdecode('Skull+Bandanas'),jdecode(''),'/36948/83645.html','true',[],''],
		['PAGE','83676',jdecode('Designs+1'),jdecode(''),'/36948/83676.html','true',[],''],
		['PAGE','83707',jdecode('Designs+2'),jdecode(''),'/36948/83707.html','true',[],'']
	],''],
	['PAGE','60131',jdecode('Bags'),jdecode(''),'/60131.html','true',[],''],
	['PAGE','60193',jdecode('Wings+and+Fancy+Dress'),jdecode(''),'/60193.html','true',[],''],
	['PAGE','60162',jdecode('Key+Chains'),jdecode(''),'/60162.html','true',[],''],
	['PAGE','60224',jdecode('Scarves'),jdecode(''),'/60224.html','true',[],''],
	['PAGE','36979',jdecode('Studded+Braclets+and+Chockers'),jdecode(''),'/36979.html','true',[],''],
	['PAGE','36917',jdecode('Belts'),jdecode(''),'/36917.html','true',[],''],
	['PAGE','36824',jdecode('Shoelaces'),jdecode(''),'/36824.html','true',[],''],
	['PAGE','62507',jdecode('Ties+'),jdecode(''),'/62507/index.html','true',[ 
		['PAGE','88896',jdecode('Plain+Ties'),jdecode(''),'/62507/88896.html','true',[],''],
		['PAGE','88927',jdecode('Stripe+Ties'),jdecode(''),'/62507/88927.html','true',[],''],
		['PAGE','88958',jdecode('Ties+with+Designs'),jdecode(''),'/62507/88958.html','true',[],'']
	],''],
	['PAGE','91256',jdecode('Braces'),jdecode(''),'/91256/index.html','true',[ 
		['PAGE','91287',jdecode('Plain+Braces'),jdecode(''),'/91256/91287.html','true',[],''],
		['PAGE','91318',jdecode('Pattern+Braces'),jdecode(''),'/91256/91318.html','true',[],'']
	],''],
	['PAGE','36264',jdecode('How+to+find+us'),jdecode(''),'/36264.html','true',[],''],
	['PAGE','26708',jdecode('Direction'),jdecode(''),'/26708.html','true',[],'']];
var siteelementCount=97;
theSitetree.topTemplateName='Card';
					                                                                    
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 */					                                                            

