/* [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','4597',jdecode('HOME'),jdecode(''),'/4597/index.html','true',[ 
		['PAGE','176659',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/4597/176659.html','false',[],'']
	],''],
	['PAGE','167017',jdecode('International+Visitors'),jdecode(''),'/167017.html','true',[],''],
	['PAGE','169153',jdecode('How+to+Find+Us'),jdecode(''),'/169153.html','true',[],''],
	['PAGE','169553',jdecode('Direction'),jdecode(''),'/169553.html','true',[],''],
	['PAGE','42644',jdecode('SPECIAL+OFFERS'),jdecode(''),'/42644.html','true',[],''],
	['PAGE','164044',jdecode('FLAT+BOUQUETS'),jdecode(''),'/164044.html','true',[],''],
	['PAGE','4681',jdecode('HAND+TIED+BOUQUETS'),jdecode(''),'/4681.html','true',[],''],
	['PAGE','5101',jdecode('WITH+LOVE'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','4816',jdecode('ARRANGEMENTS'),jdecode(''),'/4816.html','true',[],''],
	['PAGE','37101',jdecode('PLANTED+SELECTION'),jdecode(''),'/37101.html','true',[],''],
	['PAGE','5128',jdecode('NEW+BABY'),jdecode(''),'/5128.html','true',[],''],
	['PAGE','4735',jdecode('SYMPATHY+FLOWERS'),jdecode(''),'/4735.html','true',[],''],
	['PAGE','185832',jdecode('Casket+Sprays'),jdecode(''),'/185832.html','true',[],''],
	['PAGE','182732',jdecode('Posies+and+Baskets'),jdecode(''),'/182732.html','true',[],''],
	['PAGE','181586',jdecode('Wreaths'),jdecode(''),'/181586.html','true',[],''],
	['PAGE','181617',jdecode('Pillows+%26+Cushions'),jdecode(''),'/181617.html','true',[],''],
	['PAGE','181648',jdecode('Hearts'),jdecode(''),'/181648.html','true',[],''],
	['PAGE','184708',jdecode('Names+and+Words'),jdecode(''),'/184708.html','true',[],''],
	['PAGE','182832',jdecode('Sporting+Tributes'),jdecode(''),'/182832.html','true',[],''],
	['PAGE','183347',jdecode('Other+Special+Tributes'),jdecode(''),'/183347.html','true',[],''],
	['PAGE','162801',jdecode('BALLOONS'),jdecode(''),'/162801.html','true',[],''],
	['PAGE','35701',jdecode('GIFTS+AND+FRUIT+BASKETS'),jdecode(''),'/35701/index.html','true',[ 
		['PAGE','37132',jdecode('Soft+Toys'),jdecode(''),'/35701/37132.html','true',[],'']
	],''],
	['PAGE','4708',jdecode('GETTING+MARRIED%3F'),jdecode(''),'/4708/index.html','true',[ 
		['PAGE','174095',jdecode('Weddings+%28follow+up+page%29'),jdecode(''),'/4708/174095.html','false',[],'']
	],''],
	['PAGE','30997',jdecode('Wedding+Photo+Album+'),jdecode(''),'/30997.html','true',[],''],
	['PAGE','178432',jdecode('HIRE+OF+ITEMS'),jdecode(''),'/178432.html','true',[],''],
	['PAGE','178463',jdecode('SILK+FLOWERS'),jdecode(''),'/178463.html','true',[],''],
	['PAGE','166302',jdecode('GUESTBOOK'),jdecode(''),'/166302.html','true',[],''],
	['PAGE','166303',jdecode('Read+Guestbook'),jdecode(''),'/166303.html','true',[],''],
	['PAGE','171883',jdecode('CORPORATE'),jdecode(''),'/171883.html','true',[],''],
	['PAGE','4762',jdecode('CHRISTMAS'),jdecode(''),'/4762.html','true',[],''],
	['PAGE','162901',jdecode('.'),jdecode(''),'/162901.html','true',[],''],
	['PAGE','172722',jdecode('...'),jdecode(''),'/172722.html','true',[],''],
	['PAGE','176679',jdecode('LINKS'),jdecode(''),'/176679.html','true',[],''],
	['PAGE','185636',jdecode('Balloon+Decoration+Album'),jdecode(''),'/185636.html','true',[],''],
	['PAGE','185672',jdecode('Memorial+Photo+Album'),jdecode(''),'/185672.html','true',[],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Universal';
					                                                                    
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 */					                                                            
