Trasparency Through Layer Style?

Here's my problem.

I have a image that has a rectangular shape (about 1:7)
I would like to make this image fade in the corners.

I tried to apply a InnerGlow that gave to the image just the right fading smoothness and shape. Now i would like to turn this layer style into a layer mask. Is it possible ??

Thanks in advance,
Merlino

PS: if you can think of any other way to achieve this effect feel free to tell me.
PS 2: i already tried the radial gardient in the vector mask with no result.

well, if you like the results of the inner glow then the thing to do is right click the layer and choose , create layers from style. then ctrl / command click the new inner glow layer to select it as a mask (on the actual thumbnail mind or it wont work), click your original layer and click the make mask button on the bottom of the pallet.