/* [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('HOME'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','7101',jdecode('ABOUT+US'),jdecode(''),'/7101/index.html','true',[ 
		['PAGE','31801',jdecode('Dr.Daljit+Singh'),jdecode(''),'/7101/31801.html','true',[],''],
		['PAGE','32144',jdecode('Dr.Ravijit+Singh'),jdecode(''),'/7101/32144.html','true',[],''],
		['PAGE','32237',jdecode('Dr.Indu+R.Singh%2CM.S.'),jdecode(''),'/7101/32237.html','true',[],''],
		['PAGE','32175',jdecode('Dr.Kiranjit+Singh%2CM.S.'),jdecode(''),'/7101/32175.html','true',[],''],
		['PAGE','32206',jdecode('Dr.Harmit+Kaur%2CM.S.'),jdecode(''),'/7101/32206.html','true',[],''],
		['PAGE','38101',jdecode('Dr.Arun+Verma%2CM.S.'),jdecode(''),'/7101/38101.html','true',[],''],
		['PAGE','32701',jdecode('Dr.Kiran+Duggal%2CM.S.'),jdecode(''),'/7101/32701.html','true',[],''],
		['PAGE','85120',jdecode('Dr.K.K.Bhalla'),jdecode(''),'/7101/85120.html','true',[],''],
		['PAGE','32268',jdecode('Dr.Paramjit+Singh%2CM.D.'),jdecode(''),'/7101/32268.html','true',[],''],
		['PAGE','85520',jdecode('Dr.Kanwarjit+Singh+M.D.'),jdecode(''),'/7101/85520.html','true',[],'']
	],''],
	['PAGE','7128',jdecode('PATIENT%26%23x27%3BS+INFORMATION'),jdecode(''),'/7128/index.html','true',[ 
		['PAGE','30401',jdecode('Cataract+Surgery'),jdecode(''),'/7128/30401.html','true',[],''],
		['PAGE','50153',jdecode('Adult+Cataracts'),jdecode(''),'/7128/50153.html','true',[],''],
		['PAGE','54901',jdecode('Diabetic+Eye+Disease'),jdecode(''),'/7128/54901.html','true',[],''],
		['PAGE','30432',jdecode('Laser+Vision+Correction'),jdecode(''),'/7128/30432.html','true',[],''],
		['PAGE','62214',jdecode('Macular+Degn.+%26+PDT'),jdecode(''),'/7128/62214.html','true',[],''],
		['PAGE','30336',jdecode('Artificial+Cornea'),jdecode(''),'/7128/30336.html','true',[],''],
		['PAGE','30274',jdecode('Low+Vision+Aids'),jdecode(''),'/7128/30274.html','true',[],''],
		['PAGE','30243',jdecode('Vision+therapy+in+Children'),jdecode(''),'/7128/30243.html','true',[],''],
		['PAGE','30305',jdecode('Contact+Lenses'),jdecode(''),'/7128/30305.html','true',[],''],
		['PAGE','38701',jdecode('Eye+Donation'),jdecode(''),'/7128/38701.html','true',[],'']
	],''],
	['PAGE','32501',jdecode('PROFESSIONAL+PAGES'),jdecode(''),'/32501/index.html','true',[ 
		['PAGE','37901',jdecode('Fugo+Blade+Applications'),jdecode(''),'/32501/37901.html','true',[],''],
		['PAGE','41201',jdecode('Keratoprosthesis+Surgery'),jdecode(''),'/32501/41201.html','true',[],''],
		['PAGE','50401',jdecode('%22DOT%22Glaucoma+Filtration'),jdecode(''),'/32501/50401.html','true',[],''],
		['PAGE','52801',jdecode('Management+of+PDR'),jdecode(''),'/32501/52801.html','true',[],''],
		['PAGE','7155',jdecode('FDA+approval+for+Filteration'),jdecode(''),'/32501/7155.html','true',[],''],
		['PAGE','59514',jdecode('Artisan+Lens+in+Children'),jdecode(''),'/32501/59514.html','true',[],''],
		['PAGE','56101',jdecode('Managing+Keratoconus'),jdecode(''),'/32501/56101.html','true',[],''],
		['PAGE','83714',jdecode('Phakic+Artisan+Lens'),jdecode(''),'/32501/83714.html','true',[],''],
		['PAGE','59714',jdecode('Plasma+Blade+Capsulotomy'),jdecode(''),'/32501/59714.html','true',[],''],
		['PAGE','83914',jdecode('P.P.C.D.'),jdecode(''),'/32501/83914.html','true',[],''],
		['PAGE','51801',jdecode('Movies'),jdecode(''),'/32501/51801.html','true',[],''],
		['PAGE','43471',jdecode('PHOTO+ALBUMS'),jdecode(''),'/32501/43471.html','true',[],''],
		['PAGE','60314',jdecode('Ocular+Trauma+Pics.'),jdecode(''),'/32501/60314.html','true',[],''],
		['PAGE','61515',jdecode('Food+for+thought'),jdecode(''),'/32501/61515.html','true',[],''],
		['PAGE','62714',jdecode('Neuro+Ophthalmology'),jdecode(''),'/32501/62714.html','true',[],''],
		['PAGE','63926',jdecode('Artisan+gallery'),jdecode(''),'/32501/63926.html','true',[],''],
		['PAGE','63957',jdecode('Keratoprosthesis'),jdecode(''),'/32501/63957.html','true',[],''],
		['PAGE','86220',jdecode('Squint+Surgery'),jdecode(''),'/32501/86220.html','true',[],''],
		['PAGE','63988',jdecode('Cornea'),jdecode(''),'/32501/63988.html','true',[],''],
		['PAGE','64019',jdecode('B-Scan+ultrasound'),jdecode(''),'/32501/64019.html','true',[],''],
		['PAGE','64050',jdecode('O.C.T.'),jdecode(''),'/32501/64050.html','true',[],''],
		['PAGE','64114',jdecode('F.F.Angiography'),jdecode(''),'/32501/64114.html','true',[],''],
		['PAGE','72046',jdecode('P.C.O.+Gallery'),jdecode(''),'/32501/72046.html','true',[],''],
		['PAGE','72015',jdecode('Manufacturing+Defects'),jdecode(''),'/32501/72015.html','true',[],''],
		['PAGE','83114',jdecode('Genetic+Research'),jdecode(''),'/32501/83114.html','true',[],''],
		['PAGE','87620',jdecode('Genetic+Research+'),jdecode(''),'/32501/87620.html','true',[],''],
		['PAGE','83414',jdecode('Interesting+Reading'),jdecode(''),'/32501/83414.html','true',[],'']
	],''],
	['PAGE','87120',jdecode('VIDEOS'),jdecode(''),'/87120.html','true',[],''],
	['PAGE','7209',jdecode('APPOINTMENTS'),jdecode(''),'/7209/index.html','true',[ 
		['PAGE','40902',jdecode('CONTACT+%28follow+up+page%29'),jdecode(''),'/7209/40902.html','false',[],'']
	],''],
	['PAGE','71714',jdecode('OPHTHALMIC+ART'),jdecode(''),'/71714.html','true',[],''],
	['PAGE','58201',jdecode('VISUAL+ART'),jdecode(''),'/58201.html','true',[],''],
	['PAGE','54701',jdecode('SPONSOR+A+PATIENT'),jdecode(''),'/54701.html','true',[],''],
	['PAGE','84821',jdecode('Health'),jdecode(''),'/84821.html','true',[],''],
	['PAGE','85921',jdecode('Guestbook'),jdecode(''),'/85921/index.html','true',[ 
		['PAGE','85922',jdecode('Read+Guestbook'),jdecode(''),'/85921/85922.html','true',[],'']
	],''],
	['PAGE','86027',jdecode('INSURANCE+AFFILIATIONS'),jdecode(''),'/86027.html','true',[],''],
	['PAGE','87320',jdecode('FEE+STRUCTURE'),jdecode(''),'/87320.html','true',[],'']];
var siteelementCount=62;
theSitetree.topTemplateName='Global';
					                                                                    
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 */					                                                            
