if(eval(lesson + '_' + what + '_db[' + request + ']')) { alert(eval(lesson + '_' + what + '_db[' + request + ']')); }