/* [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('Domov'),jdecode(''),'/401.html','true',[],''],
	['PAGE','74001',jdecode('Glasovanje'),jdecode(''),'/74001.html','true',[],''],
	['PAGE','452',jdecode('O+du%C5%A1evnih+motnjah'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','473',jdecode('Definicije'),jdecode(''),'/452/473.html','true',[],''],
		['PAGE','494',jdecode('Splo%C5%A1no+o+du%C5%A1evnih+motnjah'),jdecode(''),'/452/494.html','true',[],''],
		['PAGE','58801',jdecode('Vzroki+nastanka+du%C5%A1evnih+motenj'),jdecode(''),'/452/58801.html','true',[],''],
		['PAGE','27564',jdecode('Anksiozne+motnje'),jdecode(''),'/452/27564.html','true',[],''],
		['PAGE','27501',jdecode('Depresija+-+na+kratko'),jdecode(''),'/452/27501.html','true',[],''],
		['PAGE','50401',jdecode('Depresija+-+ob%C5%A1irno'),jdecode(''),'/452/50401.html','true',[],''],
		['PAGE','138801',jdecode('Nose%C4%8Dnost%2C+depresija%2C+antidepresivi'),jdecode(''),'/452/138801.html','true',[],''],
		['PAGE','27543',jdecode('Bipolarna+motnja'),jdecode(''),'/452/27543.html','true',[],''],
		['PAGE','27522',jdecode('Psihoza'),jdecode(''),'/452/27522.html','true',[],''],
		['PAGE','27669',jdecode('Blodnjava+motnja'),jdecode(''),'/452/27669.html','true',[],''],
		['PAGE','58001',jdecode('Shizoafektivna+motnja'),jdecode(''),'/452/58001.html','true',[],''],
		['PAGE','97701',jdecode('Borderline+osebnostna+motnja'),jdecode(''),'/452/97701.html','true',[],''],
		['PAGE','56001',jdecode('Shizotipska+motnja'),jdecode(''),'/452/56001.html','true',[],''],
		['PAGE','11201',jdecode('Alzheimerjeva+bolezen'),jdecode(''),'/452/11201.html','true',[],''],
		['PAGE','42401',jdecode('Bulimija'),jdecode(''),'/452/42401.html','true',[],''],
		['PAGE','99101',jdecode('Anoreksija'),jdecode(''),'/452/99101.html','true',[],''],
		['PAGE','49801',jdecode('Spolne+disfunkcije'),jdecode(''),'/452/49801.html','true',[],''],
		['PAGE','55201',jdecode('Prezgodnja+ejakulacija'),jdecode(''),'/452/55201.html','true',[],''],
		['PAGE','99601',jdecode('Parafilije'),jdecode(''),'/452/99601.html','true',[],''],
		['PAGE','98301',jdecode('Kanabis+%28marihuana%29'),jdecode(''),'/452/98301.html','true',[],''],
		['PAGE','144401',jdecode('Samopo%C5%A1kodbeno+vedenje'),jdecode(''),'/452/144401.html','true',[],''],
		['PAGE','100222',jdecode('Homoseksualnost+-+ni+motnja'),jdecode(''),'/452/100222.html','true',[],''],
		['PAGE','100201',jdecode('Prisilna+hospitalizacija'),jdecode(''),'/452/100201.html','true',[],'']
	],''],
	['PAGE','82901',jdecode('O+zdravilih'),jdecode(''),'/82901/index.html','true',[ 
		['PAGE','27585',jdecode('Antidepresivi'),jdecode(''),'/82901/27585.html','true',[],''],
		['PAGE','27606',jdecode('Antipsihotiki'),jdecode(''),'/82901/27606.html','true',[],''],
		['PAGE','27627',jdecode('Stabilizatorji+razpolo%C5%BEenja'),jdecode(''),'/82901/27627.html','true',[],'']
	],''],
	['PAGE','557',jdecode('Pomagajmo+si+sami'),jdecode(''),'/557/index.html','true',[ 
		['PAGE','46901',jdecode('Med+depresijo'),jdecode(''),'/557/46901.html','true',[],''],
		['PAGE','46101',jdecode('Spro%C5%A1%C4%8Danje'),jdecode(''),'/557/46101.html','true',[],''],
		['PAGE','30201',jdecode('Nasveti+za+star%C5%A1e+mladostnikov'),jdecode(''),'/557/30201.html','true',[],''],
		['PAGE','28701',jdecode('Nespe%C4%8Dnost'),jdecode(''),'/557/28701.html','true',[],''],
		['PAGE','29101',jdecode('Samomor'),jdecode(''),'/557/29101.html','true',[],''],
		['PAGE','149101',jdecode('NOVO%3A+Kako+%C5%BEiveti%3F'),jdecode(''),'/557/149101.html','true',[],'']
	],''],
	['PAGE','101701',jdecode('Odgovori+psihiatra'),jdecode(''),'/101701/index.html','true',[ 
		['PAGE','101722',jdecode('Anksioznost%2C+depresija'),jdecode(''),'/101701/101722.html','true',[],''],
		['PAGE','101743',jdecode('Psihoza%2C+bipolarna+motnja'),jdecode(''),'/101701/101743.html','true',[],''],
		['PAGE','101764',jdecode('Razno'),jdecode(''),'/101701/101764.html','true',[],'']
	],''],
	['PAGE','6406',jdecode('Knjiga+gostov'),jdecode(''),'/6406/index.html','true',[ 
		['PAGE','6401',jdecode('Vpisi'),jdecode(''),'/6406/6401.html','true',[],'']
	],''],
	['PAGE','599',jdecode('POVEZAVE'),jdecode(''),'/599.html','true',[],'']];
var siteelementCount=44;
theSitetree.topTemplateName='Rectangle';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='2505';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='18592';
theSitetree.graphicsetId='506';
theSitetree.contentColor='033568';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Rectangle',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'2505',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'18592',
				graphicsetId: 	'506',
				contentColor: 	'033568',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6406',
internalId:  '6406asi010in20hg',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6401',
internalId:  '6406asi010in20hg',
customField: 'action=list'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '74001',
internalId:  '10e8dd2d87e.367ab99b',
customField: 'sl:SI:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100220-111504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '149101',
internalId:  '',
customField: '20081125-215745'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6406',
internalId:  '',
customField: '20070109-220408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6401',
internalId:  '',
customField: '20060327-193050'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74001',
internalId:  '',
customField: '20080502-115955'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101701',
internalId:  '',
customField: '20100220-111414'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101722',
internalId:  '',
customField: '20081125-215823'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101743',
internalId:  '',
customField: '20081125-215841'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101764',
internalId:  '',
customField: '20081125-215926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20081209-201818'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20081209-201844'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '494',
internalId:  '',
customField: '20081125-214011'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58801',
internalId:  '',
customField: '20081125-214049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27501',
internalId:  '',
customField: '20081125-214203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50401',
internalId:  '',
customField: '20081125-214234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '138801',
internalId:  '',
customField: '20081125-214454'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27564',
internalId:  '',
customField: '20081125-214134'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27522',
internalId:  '',
customField: '20081125-214620'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27543',
internalId:  '',
customField: '20081125-214541'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58001',
internalId:  '',
customField: '20081125-214737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97701',
internalId:  '',
customField: '20081125-214806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20081125-214829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49801',
internalId:  '',
customField: '20081125-213854'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '55201',
internalId:  '',
customField: '20081125-215057'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99601',
internalId:  '',
customField: '20081125-215127'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42401',
internalId:  '',
customField: '20081125-214952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99101',
internalId:  '',
customField: '20081125-215020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98301',
internalId:  '',
customField: '20081125-215204'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82901',
internalId:  '',
customField: '20081125-215349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27585',
internalId:  '',
customField: '20081125-215408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27606',
internalId:  '',
customField: '20081125-215428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27627',
internalId:  '',
customField: '20081125-215452'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20081125-215512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46901',
internalId:  '',
customField: '20081125-215533'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20081125-215556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30201',
internalId:  '',
customField: '20081125-215622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20081125-215641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29101',
internalId:  '',
customField: '20081125-215717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144401',
internalId:  '',
customField: '20081125-215235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100201',
internalId:  '',
customField: '20081125-215328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100222',
internalId:  '',
customField: '20081125-215302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27669',
internalId:  '',
customField: '20081125-214708'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11201',
internalId:  '',
customField: '20081125-214907'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '599',
internalId:  '',
customField: '20091208-212812'
};
var canonHostname = 'virgo.siol.net';
var accountId     = 'ASI010IN20HG';
var companyName   = 'PSIHIATRIJA';
var htmlTitle	  = 'PSIHIATRIJA+-+informacije+za+vsakogar';
var metaKeywords  = 'psihiater+psihiatrija+psiholog+psihologija+psihoza+depresija+manija+mani%C4%8Dno+depresivna+motnja+shizofrenija+demenca+alzheimer+psihoterapija+norec+psihiatri%C4%8Dna+du%C5%A1evna+psihi%C4%8Dna+nori%C5%A1nica+tesnoba+anksioznost+potrtost+bipolarna+panika+fobija+obsesivno+kompulzivna+prislia+samopo%C5%A1kodbe+rezanje+samomor+samomorilnost+zloraba+spolnost+pedofilija+homoseksualnost+homoseksualen+zdravnik+doktor+starost+mladostnik+adolescenca+odra%C5%A1%C4%8Danje+%C5%A1ola+ljubezen+partner+osamljen+obup+trpljenje+socialna+prozac+zoloft+cipralex+seroxat+zyprexa+risset+risperdal+borderline+shizoafektivna+shizotipska+bolezen+motnja+nose%C4%8Dnost+samopo%C5%A1kodbe+rezanje';
var metaContents  = 'psihiater+psihiatrija+psiholog+psihologija+psihoza+depresija+manija+mani%C4%8Dno+depresivna+motnja+shizofrenija+demenca+alzheimer+psihoterapija+norec+psihiatri%C4%8Dna+du%C5%A1evna+psihi%C4%8Dna+nori%C5%A1nica+tesnoba+anksioznost+potrtost+bipolarna+panika+fobija+obsesivno+kompulzivna+prislia+samopo%C5%A1kodbe+rezanje+samomor+samomorilnost+zloraba+spolnost+pedofilija+homoseksualnost+homoseksualen+zdravnik+doktor+starost+mladostnik+adolescenca+odra%C5%A1%C4%8Danje+%C5%A1ola+ljubezen+partner+osamljen+obup+trpljenje+socialna+prozac+zoloft+cipralex+seroxat+zyprexa+risset+risperdal+shizoafektivna+motnja+shizotipska+borderline+';
					                                                                    
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 */					                                                            
