/* [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','4001',jdecode('Strona+g%C5%82%C3%B3wna'),jdecode(''),'/4001.html','true',[],''],
	['PAGE','4052',jdecode('O+mnie'),jdecode(''),'/4052.html','true',[],''],
	['PAGE','4601',jdecode('Dla+Pacjenta'),jdecode(''),'/4601.html','true',[],''],
	['PAGE','4073',jdecode('Galeria'),jdecode(''),'/4073.html','true',[],''],
	['PAGE','4094',jdecode('Ksi%C4%99ga+Go%C5%9Bci'),jdecode(''),'/4094.html','true',[],''],
	['PAGE','4115',jdecode('Kontakt'),jdecode(''),'/4115.html','true',[],'']];
var siteelementCount=6;
theSitetree.topTemplateName='Verve';
theSitetree.paletteFamily='D94747';
theSitetree.keyvisualId='8380';
theSitetree.keyvisualName='kv_8380.jpg';
theSitetree.fontsetId='28177';
theSitetree.graphicsetId='12443';
theSitetree.contentColor='929191';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Verve',
				paletteFamily: 	'D94747',
				keyvisualId: 	'8380',
				keyvisualName: 	'kv_8380.jpg',
				fontsetId: 		'28177',
				graphicsetId: 	'12443',
				contentColor: 	'929191',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['7060']={
webappId:    '7060',
documentId:  '4073',
internalId:  '4b7a4956d775accc4432642ff810383c',
customField: 'language:pl;country:PL;'
};
webappMappings['7002']={
webappId:    '7002',
documentId:  '4094',
internalId:  '485',
customField: 'language:pl;country:PL;'
};
webappMappings['7008']={
webappId:    '7008',
documentId:  '4115',
internalId:  '750',
customField: 'language:pl;country:PL;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4001',
internalId:  '',
customField: '20080202-112029'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4052',
internalId:  '',
customField: '20080122-172117'
};
webappMappings['7050']={
webappId:    '7050',
documentId:  '4601',
internalId:  '378',
customField: 'language:pl;country:PL;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4073',
internalId:  '',
customField: '20071103-194711'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4115',
internalId:  '',
customField: '20071104-182746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4094',
internalId:  '',
customField: '20071105-203319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4601',
internalId:  '',
customField: '20071103-193411'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4001',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4001',
internalId:  '598505',
customField: '1501'
};
var canonHostname = 'cm4all.az.pl';
var accountId     = 'AAZ010INXFYW';
var companyName   = 'MARCIN+MURMY%C5%81O';
var htmlTitle	  = 'Marcin+Murmy%C5%82o+Prywatna+Praktyka+Lekarska';
var metaKeywords  = 'Wroc%C5%82aw.+zdrowie%2C+choroba%2C+cukrzyca%2C+nadci%C5%9Bnienie%2C+POChP%2C+tlenoterapia%2C+koncentrator%2C+odle%C5%BCyny%2C+zawa%C5%82%2C+wrzody%2C+b%C3%B3l%2C+p%C5%82uca%2C+duszno%C5%9B%C4%87%2C+choroba+wie%C5%84cowa%2C+niewydolno%C5%9B%C4%87%2C+bia%C5%82aczka%2C+zaka%C5%BCenie%2C+szczepienia%2C+sonda%2C+cewnik%2C+zastrzyk%2C+b%C3%B3l%2C+oty%C5%82o%C5%9B%C4%87%2C+papierosy%2C+tlen%2C+gru%C5%BAlica%2C+gastroskopia%2C+bronchoskopia%2C+kardiologia';
var metaContents  = 'Prywatna+Wyjazdowa+Pomoc+Lekarska+we+Wroc%C5%82awiu.+Pe%C5%82en+zakres+%C5%9Bwiadczonych+us%C5%82ug+z+zakresu+chor%C3%B3b+wewn%C4%99trznych%2C+m.in.+leczenie+nadci%C5%9Bnienia%2C+oty%C5%82o%C5%9Bci%2C+cukrzycy%2C+chor%C3%B3b+p%C5%82uc%2C+szczepienia%2C+drobne+zabiegi%2C+tlenoterapia+etc.++';
					                                                                    
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 */					                                                            

