Novel 1,2,4-oxadiazoles and 1,2,4-thiadiazoles as dual 5-lipoxygenase and cyclooxygenase inhibitors.