/* [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','301',jdecode('Domov'),jdecode(''),'/301.html','true',[],''],
	['PAGE','373',jdecode('Kontakt'),jdecode(''),'/373/index.html','true',[ 
		['PAGE','394',jdecode('Slovenija'),jdecode(''),'/373/394.html','true',[],''],
		['PAGE','415',jdecode('Hrvatska'),jdecode(''),'/373/415.html','true',[],''],
		['PAGE','436',jdecode('Srbija'),jdecode(''),'/373/436.html','true',[],'']
	],''],
	['PAGE','457',jdecode('Zastopstva'),jdecode(''),'/457/index.html','true',[ 
		['PAGE','478',jdecode('Kozmetika'),jdecode(''),'/457/478.html','true',[],''],
		['PAGE','499',jdecode('Aparati'),jdecode(''),'/457/499.html','true',[],''],
		['PAGE','541',jdecode('Medicina'),jdecode(''),'/457/541.html','true',[],'']
	],''],
	['PAGE','9301',jdecode('O+nas'),jdecode(''),'/9301.html','true',[],''],
	['PAGE','9364',jdecode('Na%C5%A1a+ponudba'),jdecode(''),'/9364/index.html','true',[ 
		['PAGE','9385',jdecode('Storitve'),jdecode(''),'/9364/9385.html','true',[],''],
		['PAGE','9406',jdecode('Prodaja'),jdecode(''),'/9364/9406.html','true',[],'']
	],''],
	['PAGE','20912',jdecode('ULTRATONE'),jdecode(''),'/20912.html','true',[],''],
	['PAGE','20933',jdecode('ICOONE'),jdecode(''),'/20933.html','true',[],''],
	['PAGE','20954',jdecode('ACADEMIE+'),jdecode(''),'/20954.html','true',[],''],
	['PAGE','20975',jdecode('BDR'),jdecode(''),'/20975.html','true',[],''],
	['PAGE','20996',jdecode('EPILADERM'),jdecode(''),'/20996.html','true',[],''],
	['PAGE','21017',jdecode('DERMO+MEZO+ROLER+-+DNC'),jdecode(''),'/21017/index.html','true',[ 
		['PAGE','21812',jdecode('Navodila+za+delo'),jdecode(''),'/21017/21812.html','true',[],'']
	],''],
	['PAGE','21038',jdecode('SCITON'),jdecode(''),'/21038.html','true',[],''],
	['PAGE','9553',jdecode('Zaposlimo'),jdecode(''),'/9553.html','true',[],''],
	['PAGE','17612',jdecode('Centri'),jdecode(''),'/17612.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Sportsplace';
theSitetree.paletteFamily='1D2D7E';
theSitetree.keyvisualId='2624';
theSitetree.keyvisualName='architektur.jpg';
theSitetree.fontsetId='18502';
theSitetree.graphicsetId='402';
theSitetree.contentColor='939393';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Sportsplace',
				paletteFamily: 	'1D2D7E',
				keyvisualId: 	'2624',
				keyvisualName: 	'architektur.jpg',
				fontsetId: 		'18502',
				graphicsetId: 	'402',
				contentColor: 	'939393',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'1D2D7E',
				b_color: 		'788EC9',
				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['5000']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20110818-104952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '436',
internalId:  '',
customField: '20110124-155016'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '373',
internalId:  '',
customField: '20110208-025015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '457',
internalId:  '',
customField: '20110208-183426'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '478',
internalId:  '',
customField: '20110526-120225'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9553',
internalId:  '',
customField: '20110124-155314'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '415',
internalId:  '',
customField: '20110124-154958'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '394',
internalId:  '',
customField: '20110124-154941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '499',
internalId:  '',
customField: '20110208-025618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '541',
internalId:  '',
customField: '20110526-120554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9301',
internalId:  '',
customField: '20110208-183308'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9364',
internalId:  '',
customField: '20110603-185100'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '301',
internalId:  '6085494',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9385',
internalId:  '',
customField: '20110124-144307'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9406',
internalId:  '',
customField: '20110124-144307'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17612',
internalId:  '',
customField: '20110603-185038'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20912',
internalId:  '',
customField: '20110603-142552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21017',
internalId:  '',
customField: '20110818-110619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21812',
internalId:  '',
customField: '20110603-152900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20933',
internalId:  '',
customField: '20110603-142552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20954',
internalId:  '',
customField: '20110603-142552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20975',
internalId:  '',
customField: '20110603-142552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20996',
internalId:  '',
customField: '20110603-142552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21038',
internalId:  '',
customField: '20110603-142552'
};
var canonHostname = 'virgo.siol.net';
var accountId     = 'ASIO10IN2PU5';
var companyName   = 'Z+znanjem+do+lepote';
var htmlTitle	  = 'www.dakini.si';
var metaKeywords  = 'ultratone+futura+pro+epiladerm+sladkorna+depilacija+sladkorna+pasta+encimi+biostimulacija+kavitacija+ultrazvok+poporodne+terapije+huj%C5%A1anje+celulit+anticelulit+preoblikovanje+academie+kozmetika+profesionalna+icoone+stimulacija+lpg+DERMABRAZIJA+BDR+SCITON+FRAKSEL+LASER';
var metaContents  = 'ultratone+futura+pro+epiladerm+sladkorna+depilacija+sladkorna+pasta+encimi+biostimulacija+kavitacija+ultrazvok+poporodne+terapije+huj%C5%A1anje+celulit+anticelulit+preoblikovanje+academie+kozmetika+profesionalna+icoone+stimulacija+lpg+BDR+DERMABRAZIJA';
					                                                                    
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 */					                                                            

