/* [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','4598',jdecode('Nice+Apartments+in+Prague++%21'),jdecode(''),'/4598/index.html','true',[ 
		['PAGE','12202',jdecode('Beaux+appartements++%C3%A0+Prague+%21'),jdecode(''),'/4598/12202.html','true',[],''],
		['PAGE','20802',jdecode('Sch%C3%B6ne+Wohnung+im+Prag+%21'),jdecode(''),'/4598/20802.html','true',[],''],
		['PAGE','44502',jdecode('Appartamenti+piacevoli+a+Praga+%21'),jdecode(''),'/4598/44502.html','true',[],''],
		['PAGE','35402',jdecode('Apartamentos+agradables+en+Praga+%21'),jdecode(''),'/4598/35402.html','true',[],'']
	],''],
	['PAGE','4682',jdecode('Apartment+1.+Nerudova+'),jdecode(''),'/4682/index.html','true',[ 
		['PAGE','12229',jdecode('Appartement+1.+Nerudova'),jdecode(''),'/4682/12229.html','true',[],''],
		['PAGE','20829',jdecode('Wohnung+1.+Nerudova'),jdecode(''),'/4682/20829.html','true',[],''],
		['PAGE','44529',jdecode('Appartamento+1.+Nerudova'),jdecode(''),'/4682/44529.html','true',[],''],
		['PAGE','35429',jdecode('Apartamento+1.+Nerudova'),jdecode(''),'/4682/35429.html','true',[],'']
	],''],
	['PAGE','88801',jdecode('Apartment+2.+Lobkowicz'),jdecode(''),'/88801/index.html','true',[ 
		['PAGE','88822',jdecode('Appartement+2.+Lobkowicz'),jdecode(''),'/88801/88822.html','true',[],'']
	],''],
	['PAGE','61302',jdecode('Apartment+3.+Karmelitska'),jdecode(''),'/61302/index.html','true',[ 
		['PAGE','61329',jdecode('Appartement+3.+Karmelitska'),jdecode(''),'/61302/61329.html','true',[],''],
		['PAGE','65602',jdecode('Appartamento+3.+Karmelitska'),jdecode(''),'/61302/65602.html','true',[],'']
	],''],
	['PAGE','78401',jdecode('Apartment+4.+St.+Nicholas'),jdecode(''),'/78401/index.html','true',[ 
		['PAGE','78422',jdecode('Appartement+4.+St+Nicolas'),jdecode(''),'/78401/78422.html','true',[],'']
	],''],
	['PAGE','8056',jdecode('Apartment+5.+Kampa'),jdecode(''),'/8056/index.html','true',[ 
		['PAGE','12283',jdecode('Appartement+5.+Kampa'),jdecode(''),'/8056/12283.html','true',[],''],
		['PAGE','20883',jdecode('Wohnung+5.+Kampa'),jdecode(''),'/8056/20883.html','true',[],''],
		['PAGE','44583',jdecode('Appartamento+5.+Kampa'),jdecode(''),'/8056/44583.html','true',[],''],
		['PAGE','35483',jdecode('Apartamento+5.+Kampa'),jdecode(''),'/8056/35483.html','true',[],'']
	],''],
	['PAGE','8029',jdecode('Apartment+6.+Maltezske+1'),jdecode(''),'/8029/index.html','true',[ 
		['PAGE','12256',jdecode('Appartement+6.+Maltezske+1'),jdecode(''),'/8029/12256.html','true',[],''],
		['PAGE','20856',jdecode('Wohnung+6.+Maltezske+1'),jdecode(''),'/8029/20856.html','true',[],''],
		['PAGE','44556',jdecode('Appartamento+6.+Maltezske+1'),jdecode(''),'/8029/44556.html','true',[],''],
		['PAGE','35456',jdecode('Apartamento+6.+Maltezske+1'),jdecode(''),'/8029/35456.html','true',[],'']
	],''],
	['PAGE','99201',jdecode('Apartment+7.+Maltezske+5'),jdecode(''),'/99201/index.html','true',[ 
		['PAGE','99222',jdecode('Appartement+7.+Maltezske+5'),jdecode(''),'/99201/99222.html','true',[],'']
	],''],
	['PAGE','4763',jdecode('Tariffs+%26+Conditions'),jdecode(''),'/4763/index.html','true',[ 
		['PAGE','12802',jdecode('Tarifs+et+Conditions'),jdecode(''),'/4763/12802.html','true',[],''],
		['PAGE','20910',jdecode('Tariffe+und+Bedingungen'),jdecode(''),'/4763/20910.html','true',[],''],
		['PAGE','44610',jdecode('Tariffe+e+Condizioni'),jdecode(''),'/4763/44610.html','true',[],''],
		['PAGE','35510',jdecode('Precios+y+Condiciones'),jdecode(''),'/4763/35510.html','true',[],'']
	],''],
	['PAGE','4790',jdecode('Our+Services'),jdecode(''),'/4790/index.html','true',[ 
		['PAGE','12829',jdecode('Nos+Services'),jdecode(''),'/4790/12829.html','true',[],''],
		['PAGE','20937',jdecode('Dienste'),jdecode(''),'/4790/20937.html','true',[],''],
		['PAGE','44637',jdecode('Nostri+servizi'),jdecode(''),'/4790/44637.html','true',[],''],
		['PAGE','35537',jdecode('Nuestros+Servicios'),jdecode(''),'/4790/35537.html','true',[],'']
	],''],
	['PAGE','4817',jdecode('Our+Contact'),jdecode(''),'/4817/index.html','true',[ 
		['PAGE','12856',jdecode('Notre+Contact'),jdecode(''),'/4817/12856.html','true',[],''],
		['PAGE','20964',jdecode('Unser+Kontakt'),jdecode(''),'/4817/20964.html','true',[],''],
		['PAGE','44664',jdecode('Nostro+contatto+'),jdecode(''),'/4817/44664.html','true',[],''],
		['PAGE','35564',jdecode('Para+Contactarnos'),jdecode(''),'/4817/35564.html','true',[],'']
	],''],
	['PAGE','18902',jdecode('Links'),jdecode(''),'/18902/index.html','true',[ 
		['PAGE','18929',jdecode('Liens'),jdecode(''),'/18902/18929.html','true',[],''],
		['PAGE','20991',jdecode('Verbindungen'),jdecode(''),'/18902/20991.html','true',[],''],
		['PAGE','44691',jdecode('Links'),jdecode(''),'/18902/44691.html','true',[],''],
		['PAGE','35591',jdecode('Acoplamientos'),jdecode(''),'/18902/35591.html','true',[],'']
	],'']];
var siteelementCount=49;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='1E3A6F';
theSitetree.keyvisualId='2026';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='337';
theSitetree.graphicsetId='396';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='1E3A6F';
var theTemplate={
				name: 			'Activate',
				paletteFamily: 	'1E3A6F',
				keyvisualId: 	'2026',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'337',
				graphicsetId: 	'396',
				contentColor: 	'DDDDDD',
				contentBGColor: '1E3A6F',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'1E3A6F',
				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['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100627-140649'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8029',
internalId:  '',
customField: '20100627-135216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12256',
internalId:  '',
customField: '20100627-135245'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44556',
internalId:  '',
customField: '20091009-141107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20856',
internalId:  '',
customField: '20091009-140829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35456',
internalId:  '',
customField: '20091009-141342'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12202',
internalId:  '',
customField: '20100627-140711'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20802',
internalId:  '',
customField: '20100627-140728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44502',
internalId:  '',
customField: '20100627-140747'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35402',
internalId:  '',
customField: '20100627-140804'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4682',
internalId:  '',
customField: '20091009-160233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12229',
internalId:  '',
customField: '20100627-115811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20829',
internalId:  '',
customField: '20100627-120034'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44529',
internalId:  '',
customField: '20100627-120222'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35429',
internalId:  '',
customField: '20100627-120437'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8056',
internalId:  '',
customField: '20100627-122646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12283',
internalId:  '',
customField: '20091009-142310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20883',
internalId:  '',
customField: '20091009-142454'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44583',
internalId:  '',
customField: '20091009-142637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35483',
internalId:  '',
customField: '20091009-142915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61302',
internalId:  '',
customField: '20091009-143542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61329',
internalId:  '',
customField: '20100627-121329'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65602',
internalId:  '',
customField: '20100627-121530'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4763',
internalId:  '',
customField: '20100627-135604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12802',
internalId:  '',
customField: '20100627-135754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20910',
internalId:  '',
customField: '20091009-153614'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44610',
internalId:  '',
customField: '20091009-161003'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35510',
internalId:  '',
customField: '20091009-154010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4790',
internalId:  '',
customField: '20091009-154646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12829',
internalId:  '',
customField: '20100627-140102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20937',
internalId:  '',
customField: '20070504-162043'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44637',
internalId:  '',
customField: '20070504-161959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35537',
internalId:  '',
customField: '20080110-161909'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4817',
internalId:  '',
customField: '20090408-100352'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12856',
internalId:  '',
customField: '20090408-100326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20964',
internalId:  '',
customField: '20080502-181518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44664',
internalId:  '',
customField: '20080502-181539'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35564',
internalId:  '',
customField: '20090408-100254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18902',
internalId:  '',
customField: '20090324-113903'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18929',
internalId:  '',
customField: '20090324-114924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20991',
internalId:  '',
customField: '20070425-160655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44691',
internalId:  '',
customField: '20050316-115817'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35591',
internalId:  '',
customField: '20080110-162252'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78401',
internalId:  '',
customField: '20100627-122141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78422',
internalId:  '',
customField: '20091009-145756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88801',
internalId:  '',
customField: '20100627-120713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88822',
internalId:  '',
customField: '20100627-120915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99201',
internalId:  '',
customField: '20100627-135315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99222',
internalId:  '',
customField: '20100627-135359'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INE206';
var companyName   = 'PRAGUE+COMFORT+APARTMENTS';
var htmlTitle	  = 'apartments+for+rent+central+prague%2C+accommodation%2C+vacation+rental%2C+holidays+rentals%2C+flat';
var metaKeywords  = 'apartment+prague%2C+apartments+prague%2C+prague+comfort%2C+apartment+rental+prague%2C+accommodation+prague%2C+furnished+apartments+rental+prague%2C+accommodation+rental+prague%2C+holiday+prague%2C+lodging+rental+prague%2C+lodging+prague%2C+holiday+rental+prague%2C+reservation+apartment+prague%2C+apartment+centre+prague%2C+accommodation+centre+prague%2C+holiday+centre+prague%2C+lodging+centre+prague%2C+stay+prague%2C+reservation+accommodation+prague%2C+reservation+accommodation+centre+prague%2C+nice+apartment+prague%2C+apartment+rental+centre+prague%2C+lodging+rental+centre+prague%2C+furnished+apartment+centre+prague%2C+vacation+prague%2C+stay+prague+centre%2C+appartement+prague%2C+appartements+prague%2C+logement+prague%2C+logements+centre+prague%2C+location+prague%2C+location+de+vacances+prague%2C+appartement+%EF%BF%BDquip%EF%BF%BDs+prague+centre%2C+wohnung+prag%2C+wohnungen+prag+mitte%2C+anpassung+prag+mitte%2C+anpassung+mietprag%2C+mietewohnung+in+prag%2C+wohnung+f%EF%BF%BDr+miete+in+prag%2C+appartamento+centro+de+praga+centro%2C+appartamenti+praga%2C+sistemazione+praga%2C+appartamento+a+praga%2C+appartamenti+da+affittare+praga%2C+affitto+appartamenti+praga%2C+affitto+di+vacanze+praga%2C+apartamento+centro+de+praga%2C+apartamentos+praga%2C+comodidad+praga%2C+piso+en+praga%2C+pisos+praga+centro%2C+apartamentos+que+debe+alquilarse%2C+alquiler+apartamentos+en+praga%2C+alquiler+de+vacaciones+praga';
var metaContents  = 'prague+comfort+apartments+propose+the+rental+and+the+reservation+of+furnished+apartments+for+your+stays+or+for+your+holidays+in+central+prague+historical+town';
					                                                                    
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 */					                                                            
