/* [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('Why+ABC%3F'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','88100',jdecode('Amusement+Repairs'),jdecode(''),'/88100.html','true',[],''],
	['PAGE','93894',jdecode('Advertising+Inflatable%26%23x27%3Bs'),jdecode(''),'/93894.html','true',[],''],
	['PAGE','8832',jdecode('Amusements'),jdecode(''),'/8832/index.html','true',[ 
		['PAGE','8925',jdecode('Pricing'),jdecode(''),'/8832/8925.html','true',[],''],
		['PAGE','21538',jdecode('Bounces+'),jdecode(''),'/8832/21538.html','true',[],''],
		['PAGE','53073',jdecode('Slides'),jdecode(''),'/8832/53073.html','true',[],''],
		['PAGE','96701',jdecode('+Bounce%2FSlide+Combo+'),jdecode(''),'/8832/96701.html','true',[],''],
		['PAGE','53173',jdecode('Obstacle+Courses'),jdecode(''),'/8832/53173.html','true',[],''],
		['PAGE','53973',jdecode('Other+Rides'),jdecode(''),'/8832/53973.html','true',[],''],
		['PAGE','21601',jdecode('Games+and+Conc.'),jdecode(''),'/8832/21601.html','true',[],''],
		['PAGE','21570',jdecode('Mechanical+Rides'),jdecode(''),'/8832/21570.html','true',[],''],
		['PAGE','97116',jdecode('Event+Pictures'),jdecode(''),'/8832/97116.html','true',[],'']
	],''],
	['PAGE','8801',jdecode('Weddings'),jdecode(''),'/8801/index.html','true',[ 
		['PAGE','11001',jdecode('Pricing'),jdecode(''),'/8801/11001.html','true',[],''],
		['PAGE','81745',jdecode('Chocolate+Fountain'),jdecode(''),'/8801/81745.html','true',[],''],
		['PAGE','22056',jdecode('Candelabra%26%23x27%3Bs'),jdecode(''),'/8801/22056.html','true',[],''],
		['PAGE','21932',jdecode('China%2C+Glass+%26+Flatware'),jdecode(''),'/8801/21932.html','true',[],''],
		['PAGE','22463',jdecode('Serving+Equipment'),jdecode(''),'/8801/22463.html','true',[],''],
		['PAGE','21832',jdecode('Tables+and+Chairs'),jdecode(''),'/8801/21832.html','true',[],''],
		['PAGE','81316',jdecode('Misc.+Wedding+Supplies'),jdecode(''),'/8801/81316.html','true',[],''],
		['PAGE','97147',jdecode('Event+Pictures'),jdecode(''),'/8801/97147.html','true',[],''],
		['PAGE','80565',jdecode('Event+Planning+Checklist'),jdecode(''),'/8801/80565.html','true',[],'']
	],''],
	['PAGE','22087',jdecode('Linens'),jdecode(''),'/22087/index.html','true',[ 
		['PAGE','107126',jdecode('Polyester+Solid'),jdecode(''),'/22087/107126.html','true',[],''],
		['PAGE','107187',jdecode('Pintuck+'),jdecode(''),'/22087/107187.html','true',[],''],
		['PAGE','107218',jdecode('Poly+Satin+'),jdecode(''),'/22087/107218.html','true',[],''],
		['PAGE','109887',jdecode('Sparkle+Organza'),jdecode(''),'/22087/109887.html','true',[],''],
		['PAGE','109918',jdecode('Poly+Stripe'),jdecode(''),'/22087/109918.html','true',[],''],
		['PAGE','109949',jdecode('Matte+Satin'),jdecode(''),'/22087/109949.html','true',[],''],
		['PAGE','109980',jdecode('Sequins'),jdecode(''),'/22087/109980.html','true',[],''],
		['PAGE','110011',jdecode('Iridescent+Crush'),jdecode(''),'/22087/110011.html','true',[],''],
		['PAGE','110042',jdecode('Sheer+Stripe'),jdecode(''),'/22087/110042.html','true',[],''],
		['PAGE','110073',jdecode('Bengaline+Moire'),jdecode(''),'/22087/110073.html','true',[],''],
		['PAGE','110104',jdecode('Ribbon+Taffeta'),jdecode(''),'/22087/110104.html','true',[],''],
		['PAGE','110135',jdecode('Cicle+Taffeta'),jdecode(''),'/22087/110135.html','true',[],''],
		['PAGE','110166',jdecode('Crinkle'),jdecode(''),'/22087/110166.html','true',[],''],
		['PAGE','110197',jdecode('Prints'),jdecode(''),'/22087/110197.html','true',[],''],
		['PAGE','110228',jdecode('Lattice'),jdecode(''),'/22087/110228.html','true',[],''],
		['PAGE','110259',jdecode('Damask'),jdecode(''),'/22087/110259.html','true',[],''],
		['PAGE','110290',jdecode('Burlap%2FDenim'),jdecode(''),'/22087/110290.html','true',[],'']
	],''],
	['PAGE','8894',jdecode('Tents+%26+Flooring'),jdecode(''),'/8894/index.html','true',[ 
		['PAGE','11232',jdecode('Pricing'),jdecode(''),'/8894/11232.html','true',[],''],
		['PAGE','63986',jdecode('Event+Pictures'),jdecode(''),'/8894/63986.html','true',[],'']
	],''],
	['PAGE','11833',jdecode('Direction'),jdecode(''),'/11833.html','true',[],''],
	['PAGE','28832',jdecode('Contact+Us'),jdecode(''),'/28832/index.html','true',[ 
		['PAGE','31555',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/28832/31555.html','false',[],'']
	],'']];
var siteelementCount=47;
theSitetree.topTemplateName='Round';
					                                                                    
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 */					                                                            
