/* [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','196388',jdecode('DOMOV+-+HOME+'),jdecode(''),'/196388.html','true',[],''],
	['PAGE','142288',jdecode('DOGODKI+-+EVENTS+2011+'),jdecode(''),'/142288.html','true',[],''],
	['PAGE','93788',jdecode('DOGODKI+-+EVENTS+2010'),jdecode(''),'/93788.html','true',[],''],
	['PAGE','401',jdecode('DOGODKI+-+EVENTS+2009+'),jdecode(''),'/401.html','true',[],''],
	['PAGE','19519',jdecode('MLADI%C4%8CKI+-+PUPPIES'),jdecode(''),'/19519.html','true',[],''],
	['PAGE','515',jdecode('NA%C5%A0I+PSI+-++OUR+DOGS'),jdecode(''),'/515/index.html','true',[ 
		['PAGE','179988',jdecode('OLA+-+female'),jdecode(''),'/515/179988.html','true',[],''],
		['PAGE','139188',jdecode('LUNA+-+female'),jdecode(''),'/515/139188.html','true',[],''],
		['PAGE','536',jdecode('IVI+++-+female'),jdecode(''),'/515/536.html','true',[],''],
		['PAGE','143488',jdecode('VIKI+-+female'),jdecode(''),'/515/143488.html','true',[],''],
		['PAGE','557',jdecode('ZAZA+-+female'),jdecode(''),'/515/557.html','true',[],''],
		['PAGE','578',jdecode('BRON+-+male'),jdecode(''),'/515/578.html','true',[],'']
	],''],
	['PAGE','452',jdecode('O+PASMI'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','473',jdecode('Standardi+in+zgodovina'),jdecode(''),'/452/473.html','true',[],'']
	],''],
	['PAGE','494',jdecode('POGOSTA+VPRA%C5%A0ANJA'),jdecode(''),'/494.html','true',[],''],
	['PAGE','19477',jdecode('LEGLA++++-++LITTERS'),jdecode(''),'/19477/index.html','true',[ 
		['PAGE','185988',jdecode('Litter+T+-+2011'),jdecode(''),'/19477/185988.html','true',[],''],
		['PAGE','186288',jdecode('Litter+M+-2011'),jdecode(''),'/19477/186288.html','true',[],''],
		['PAGE','186309',jdecode('Litter+L+-+2009'),jdecode(''),'/19477/186309.html','true',[],''],
		['PAGE','186330',jdecode('Litters+with+our+male'),jdecode(''),'/19477/186330.html','true',[],'']
	],''],
	['PAGE','599',jdecode('GALERIJA%2FGALLERY'),jdecode(''),'/599.html','true',[],''],
	['PAGE','725',jdecode('KONTAKT'),jdecode(''),'/725.html','true',[],''],
	['PAGE','26293',jdecode('KNJIGA+GOSTOV'),jdecode(''),'/26293/index.html','true',[ 
		['PAGE','26288',jdecode('Vpisi'),jdecode(''),'/26293/26288.html','true',[],'']
	],''],
	['PAGE','99288',jdecode('VARSTVO+PSOV'),jdecode(''),'/99288.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Crisscross';
theSitetree.paletteFamily='9C6540';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='20132';
theSitetree.graphicsetId='11811';
theSitetree.contentColor='2C0000';
theSitetree.contentBGColor='9C6540';
var theTemplate={
				name: 			'Crisscross',
				paletteFamily: 	'9C6540',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'20132',
				graphicsetId: 	'11811',
				contentColor: 	'2C0000',
				contentBGColor: '9C6540',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'9C6540',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20101108-105248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20081127-150026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20081127-150229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '725',
internalId:  '',
customField: '20101108-104030'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '494',
internalId:  '',
customField: '20081203-135823'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20110222-214349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20081203-102513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '599',
internalId:  '',
customField: '20110619-235542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '196388',
internalId:  '',
customField: '20120112-114251'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '578',
internalId:  '',
customField: '20110909-211621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '139188',
internalId:  '',
customField: '20110909-211054'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '536',
internalId:  '',
customField: '20110222-205909'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '143488',
internalId:  '',
customField: '20110211-210146'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '196388',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '142288',
internalId:  '',
customField: '20120111-142305'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19477',
internalId:  '',
customField: '20111020-130855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19519',
internalId:  '',
customField: '20120112-114337'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '26293',
internalId:  '26293asio10in233d',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '26288',
internalId:  '26293asio10in233d',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26293',
internalId:  '',
customField: '20081130-235031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26288',
internalId:  '',
customField: '20081130-235031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93788',
internalId:  '',
customField: '20110222-133416'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99288',
internalId:  '',
customField: '20100223-114925'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '196388',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179988',
internalId:  '',
customField: '20110909-211014'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '186330',
internalId:  '',
customField: '20111020-130328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '185988',
internalId:  '',
customField: '20111020-125605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '186309',
internalId:  '',
customField: '20111020-130102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '186288',
internalId:  '',
customField: '20111020-125351'
};
var canonHostname = 'virgo.siol.net';
var accountId     = 'ASIO10IN233D';
var companyName   = 'TENDERLINE++vzreja+whippetov';
var htmlTitle	  = 'http%3A%2F%2Fwww.tenderline.si';
var metaKeywords  = 'pes%2C+whippet%2C+vipet%2C+whipet%2C+psarna%2C+angle%C5%A1ki+hrt%2C+whippetov%2C+mali+angle%C5%A1ki+hrt%2C+tenderline%2C+vzreja+whippetov%2C+ps%2C+psi%2C+mladi%C4%8D%2C+mladi%C4%8Di%2C+fotogalerija%2C+pasje+razstave%2C+pasja+razstava%2C+BOB%2C+BIS%2C+tenderline%2C+greyhound%2C+vzreja%2C+vzreditelji%2C+';
var metaContents  = 'pes%2C+whippet%2C+vipet%2C+whipet%2C+psarna%2C+angle%C5%A1ki+hrt%2C+whippetov%2C+mali+angle%C5%A1ki+hrt%2C+tenderline%2C+vzreja+whippetov%2C+ps%2C+psi%2C+mladi%C4%8D%2C+mladi%C4%8Di%2C+fotogalerija%2C+pasje+razstave%2C+pasja+razstava%2C+BOB%2C+BIS%2C+tenderline%2C+greyhound%2C+vzreja%2C+vzreditelji%2C+';
					                                                                    
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 */					                                                            

