function jsSettings() { this.data = new Object(); this.set = function(name,value) { this.data[name] = value; } this.get = function(name) { var value = (typeof(this.data[name]) != 'undefined') ? this.data[name] : name; return value; } } var jsSettings = new jsSettings(); jsSettings.set('langs','["hu"]'); jsSettings.set('adminLangs','["hu"]'); jsSettings.set('langsDefault','hu'); jsSettings.set('userManagement','["users"]'); jsSettings.set('adminManagement','["users"]'); jsSettings.set('enableLanguagesSettings','false'); jsSettings.set('commonLimit','40'); jsSettings.set('galleryPicWidth','[120]'); jsSettings.set('galleryPicHeight','[90]'); jsSettings.set('companyEmail','dancsir@ironsamsongym.hu'); jsSettings.set('relatedWeight','1'); jsSettings.set('relatedDayLimit','730'); jsSettings.set('relatedDeadLine','40'); jsSettings.set('titleLimit','40'); jsSettings.set('searchTextLimit','200'); jsSettings.set('listViewCountNum','8'); jsSettings.set('listNewestNum','16'); jsSettings.set('listSearchLimit','15'); jsSettings.set('newsPicWidth','[120]'); jsSettings.set('newsPicHeight','[90]'); jsSettings.set('programsfilePicWidth','[120]'); jsSettings.set('programsfilePicHeight','[90]'); jsSettings.set('eventMinTime','08:00'); jsSettings.set('eventMaxTime','21:30'); jsSettings.set('galleryThumWidth','120'); jsSettings.set('galleryThumHeight','90');