if @problem.available page["prob-#{@problem.id}"].className = "available" else page["prob-#{@problem.id}"].className = "not-available" end