/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','2001',jdecode('Home'),jdecode(''),'/2001.html','true',[],''],
	['PAGE','2052',jdecode('Our+Flowers'),jdecode(''),'/2052.html','true',[],''],
	['PAGE','2073',jdecode('The+Glittered+Rose+Story'),jdecode(''),'/2073.html','true',[],''],
	['PAGE','2094',jdecode('Flower+Arrangements'),jdecode(''),'/2094.html','true',[],''],
	['PAGE','24001',jdecode('More+Arrangements+'),jdecode(''),'/24001.html','true',[],''],
	['PAGE','2241',jdecode('Balloons'),jdecode(''),'/2241.html','true',[],''],
	['PAGE','25201',jdecode('Plants'),jdecode(''),'/25201.html','true',[],''],
	['PAGE','22901',jdecode('Gifts'),jdecode(''),'/22901.html','true',[],''],
	['PAGE','2262',jdecode('Contact'),jdecode(''),'/2262/index.html','true',[ 
		['PAGE','26401',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/2262/26401.html','false',[],''],
		['PAGE','2283',jdecode('Adresses'),jdecode(''),'/2262/2283.html','true',[],''],
		['PAGE','2304',jdecode('How+to+find+us'),jdecode(''),'/2262/2304.html','true',[],'']
	],''],
	['PAGE','27006',jdecode('Guestbook'),jdecode(''),'/27006/index.html','true',[ 
		['PAGE','27001',jdecode('Read+Guestbook'),jdecode(''),'/27006/27001.html','false',[],'']
	],''],
	['PAGE','31601',jdecode('Store'),jdecode(''),'/31601.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='FFFBF2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10744';
theSitetree.graphicsetId='10823';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFBF2';
var theTemplate={
				name: 			'Roses',
				paletteFamily: 	'FFFBF2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10744',
				graphicsetId: 	'10823',
				contentColor: 	'000000',
				contentBGColor: 'FFFBF2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-ahw050ineq793666b3dbd42db7d8']={
webappId:    '1001',
documentId:  '2262',
internalId:  'ahw050ineq793666b3dbd42db7d8',
customField: ''
};
webappMappings['1001']=webappMappings['1001-ahw050ineq793666b3dbd42db7d8']={
webappId:    '1001',
documentId:  '26401',
internalId:  'ahw050ineq793666b3dbd42db7d8',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2052',
internalId:  '',
customField: '20070502-182354'
};
webappMappings['1002']=webappMappings['1002-27006AHW050INEQ79']={
webappId:    '1002',
documentId:  '27006',
internalId:  '27006AHW050INEQ79',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2001',
internalId:  '',
customField: '20090110-195005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2073',
internalId:  '',
customField: '20070226-145638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2094',
internalId:  '',
customField: '20070502-175913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24001',
internalId:  '',
customField: '20070516-202020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2241',
internalId:  '',
customField: '20070411-133619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25201',
internalId:  '',
customField: '20070226-190223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20070302-161850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2262',
internalId:  '',
customField: '20070226-191246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26401',
internalId:  '',
customField: '20070224-221046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2283',
internalId:  '',
customField: '20081110-135426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2304',
internalId:  '',
customField: '20081110-134221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27006',
internalId:  '',
customField: '20070224-223137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27001',
internalId:  '',
customField: '20070224-223137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31601',
internalId:  '',
customField: '20070227-190829'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INEQ79';
var companyName   = 'Golden+Rose+Florist+';
var htmlTitle	  = 'Golden+Rose+Florist+in+San+Andreas%2C+CA';
var metaKeywords  = 'Florist+San+Andreas+Ca%2C+San+Andreas+Florist%2C+Florist+in+San+Andreas+Ca%2C+Florist+Angels+Camp+Ca%2C+Angels+Camp+Florist%2CFlorist+in+Angels+Camp+Ca%2CFlorist+Mountain+Ranch+Ca%2C+Florist+Copperopolis+Ca%2CFlorist+Valley+Springs+Ca%2CGifts%2CStuffed+Bears%2CStuffed+Frogs%2C';
var metaContents  = 'Florist+San+Andreas+Ca%2C+San+Andreas+Florist%2C+Florist+in+San+Andreas+Ca%2C+Florist+Angels+Camp+Ca%2C+Florist+in+Angels+Camp+Ca%2CFlorist+in+Altaville+Ca%2C+Florist+Mountain+Ranch+Ca%2C+Florist+in+Mountain+Ranch+Ca%2CFlorist+Copperopolis+Ca%2C+Florist+in+Copperopolis+Ca%2C+Florist+Mokelumne+Hill+Ca%2C+Florist+in+Mokelumne+Hill+Ca%2C+Florist+Valley+Springs%2C+Gifts%2CPlants%2C+Balloons%2C+Boyds+Bears%2C+Mokelumne+Hill+Ca%2C+Jackson+Ca';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
