/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],''],
	['PAGE','78001',jdecode('What+is+Deeksha'),jdecode(''),'/78001.html','true',[],''],
	['PAGE','218301',jdecode('Scientific+Research'),jdecode(''),'/218301.html','true',[],''],
	['PAGE','248601',jdecode('Deeksha+Request'),jdecode(''),'/248601.html','true',[],''],
	['PAGE','160701',jdecode('New+Deeksha+Book'),jdecode(''),'/160701.html','true',[],''],
	['PAGE','250401',jdecode('Be+Part+of+the+Book'),jdecode(''),'/250401.html','true',[],''],
	['PAGE','223801',jdecode('Info+%26+Publications'),jdecode(''),'/223801.html','true',[],''],
	['PAGE','248622',jdecode('Quotes'),jdecode(''),'/248622.html','true',[],''],
	['PAGE','248643',jdecode('Picture+Gallery'),jdecode(''),'/248643.html','true',[],''],
	['PAGE','250422',jdecode('Music+Gallery'),jdecode(''),'/250422.html','true',[],''],
	['PAGE','248664',jdecode('Video+Gallery'),jdecode(''),'/248664.html','true',[],''],
	['PAGE','248685',jdecode('Deeksha+Room'),jdecode(''),'/248685.html','true',[],''],
	['PAGE','248706',jdecode('Healing+Room'),jdecode(''),'/248706.html','true',[],''],
	['PAGE','281501',jdecode('Who+Are+We'),jdecode(''),'/281501.html','true',[],''],
	['PAGE','78822',jdecode('Contact+Details'),jdecode(''),'/78822.html','true',[],''],
	['PAGE','274401',jdecode('Make+a+Donation'),jdecode(''),'/274401.html','true',[],''],
	['PAGE','234701',jdecode('Suggestions'),jdecode(''),'/234701.html','true',[],''],
	['PAGE','79901',jdecode('Oneness+Links'),jdecode(''),'/79901.html','true',[],''],
	['PAGE','274422',jdecode('Privacy+Policy'),jdecode(''),'/274422.html','true',[],''],
	['PAGE','274443',jdecode('Legal+Disclaimer'),jdecode(''),'/274443.html','true',[],''],
	['PAGE','274464',jdecode('Site+Map'),jdecode(''),'/274464.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='FFD375';
theSitetree.keyvisualId='1990';
theSitetree.keyvisualName='strand.jpg';
theSitetree.fontsetId='330';
theSitetree.graphicsetId='385';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'FFD375',
				keyvisualId: 	'1990',
				keyvisualName: 	'strand.jpg',
				fontsetId: 		'330',
				graphicsetId: 	'385',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFD375',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20090115-093724'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '250401',
internalId:  '',
customField: '20090113-121359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '250422',
internalId:  '',
customField: '20090112-092343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248622',
internalId:  '',
customField: '20090112-092313'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '160701',
internalId:  '',
customField: '20090113-121331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248664',
internalId:  '',
customField: '20090112-091814'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248643',
internalId:  '',
customField: '20090112-091750'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78001',
internalId:  '',
customField: '20090113-121258'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '223801',
internalId:  '',
customField: '20090112-092257'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78822',
internalId:  '',
customField: '20081022-083545'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20090112-092626'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '218301',
internalId:  '',
customField: '20090112-091518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '234701',
internalId:  '',
customField: '20090112-092559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248601',
internalId:  '',
customField: '20090112-091603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248685',
internalId:  '',
customField: '20090112-092431'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248706',
internalId:  '',
customField: '20090112-092513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '274422',
internalId:  '',
customField: '20090113-121130'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '274443',
internalId:  '',
customField: '20090113-121157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '274464',
internalId:  '',
customField: '20090113-121230'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '274401',
internalId:  '',
customField: '20090113-121513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '281501',
internalId:  '',
customField: '20090115-091648'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20IN3BJM';
var companyName   = 'The+Love+Legacy+Foundation';
var htmlTitle	  = 'Golden+Oneness%3A+A+New+Beginning+into+the+Golden+Age';
var metaKeywords  = 'oneness%2Cdeeksha%2Cblessing%2Cbliss%2Cjoy%2Cgold%2Cage%2Chelp%2Ccontribute%2Cphilathropy%2Chealth%2Chealing%2Cmeditation%2Cgoldenoneness';
var metaContents  = 'Golden+Oneness+is+a+portal+to+the+golden+age.+A+place+to+inspire%2C+to+help%2C+to+give+deeksha%2C+for+healing+and+to+be+feel+joy+and+bliss.+By+pulling+all+together+as+one%2C+we+will+make+this+world+a+golden+paradise+full+of+abundance+for+everyone.';
					                                                                    
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 */					                                                            

