I am not really familiar with jQuery. I have this code that I downloaded to create a fade in/fade out popup form. Here\'s the code:
If you use same buttonid for all button then there is no need to call all buttons..just simply use this code..It seems that you are using animation in this code....well use togglefade instead of reveal