Song name: Marriage  
Key of D

D - F#M - Bm - A(or A7)

Is F#M a secondary dominant to Bm?  
It is not seventh chord, but can major chords also work as dominant chords for the six chord?