/* [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','901',jdecode('Home'),jdecode(''),'/901.html','true',[],''],
	['PAGE','5701',jdecode('Organizing+Tips'),jdecode(''),'/5701.html','true',[],''],
	['PAGE','973',jdecode('Articles'),jdecode(''),'/973/index.html','true',[ 
		['PAGE','7601',jdecode('Your+Desk'),jdecode(''),'/973/7601.html','true',[],''],
		['PAGE','7622',jdecode('Your+Home'),jdecode(''),'/973/7622.html','true',[],''],
		['PAGE','7643',jdecode('Your+Kitchen'),jdecode(''),'/973/7643.html','true',[],'']
	],''],
	['PAGE','1036',jdecode('Products'),jdecode(''),'/1036.html','true',[],''],
	['PAGE','1057',jdecode('Contact+Us'),jdecode(''),'/1057.html','true',[],''],
	['PAGE','3801',jdecode('Before+%26+After'),jdecode(''),'/3801.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Scenery';
theSitetree.paletteFamily='6585B8';
theSitetree.keyvisualId='6930';
theSitetree.keyvisualName='kv_6930.jpg';
theSitetree.fontsetId='11227';
theSitetree.graphicsetId='12047';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8AA6D2';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Scenery',
				paletteFamily: 	'6585B8',
				keyvisualId: 	'6930',
				keyvisualName: 	'kv_6930.jpg',
				fontsetId: 		'11227',
				graphicsetId: 	'12047',
				contentColor: 	'000000',
				contentBGColor: '8AA6D2',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']={
webappId:    '1007',
documentId:  '3801',
internalId:  '10d7b3a2ebe',
customField: 'g.11ltjhhjn.e8mjbgvisf.9c'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'wsc2.brinkster.com';
var accountId     = 'ABRI10IN2D5S';
var companyName   = '';
var htmlTitle	  = 'Organize+and+Simplify';
var metaKeywords  = 'professional+organizer%2C+organizer%2C+Covington%2C+Mandeville%2C+Denham+Springs%2C+Hammond%2C+Madisonville%2C+organizing%2C+Louisiana%2C+LA%2C+Tangipahoa+Parish%2C+Livingston+Parish%2C+St.+Tammany+Parish';
var metaContents  = 'HTML++HEAD++TITLEOrganize+and+Simplify%2FTITLE++META+NAME%3DKeywords+CONTENT%3Dorganizer%2C+professional+organizer%2C+organizing%2C+Denham+Springs%2C+Mandeville%2C+Covington%2C+Hammond%2C+Ponchatoula%2C+Madisonville%2C+Tangipahoa+Parish%2C+St.+Tammany+Parish%2C+Livingston+Parish%2C+Louisiana%2C+LA++META+NAME%3DDescription+CONTENT%3DThe+purpose+of+Organize++Simplify+is+to+enable+you+to+maximize+your+efficiency+at+home+as+well+as+in+the+office.+Our+specialty+is+organizing+people+who+just+don%E2%80%99t+seem+to+have+enough+hours+in+the+day.+Our+discriminating+clients+place+a+high+value+on+the+personalized+service+and+attention+to+detail+that+we+provide.++++META+NAME%3DAuthor+CONTENT%3Dwendywm%40bellsouth.net++%21--+META+Tags+generated+by+http%3A%2F%2Fsubmitexpress.com%2Fmetatag.html+--++%2FHEAD++';
					                                                                    
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 */					                                                            

