s13 sunroof problem~

hey guys~

its a 89 coupe, has factory electric sunroof that slides

problem: parts of the seal that goes around the glass to prevent leaks came off , so it leaks if large amount of water is poured in.

what can i do? can i replace the rubber seal around it at a local autoglass?
or do i have to replace the whole thing?

thanks

if you need a complete sunroof from a s13, i have one from a 92. complete