first message on the forum

I'm writing scientific articles and I have a small problem : I am annoyed by the fact that every time I make a reference to an equation \ref{...} I have to turn pages to get the equation.
Would it be possible to make a macro that could check if the equation is on the page(or if it is a book, on the two current pages). If that is the case that nothing, otherwise it would add a footnote which reminds the equation.
thanks for your help