Ebay seem to have both. The A1015 is a epitaxial transistor, dont quite know why its used in a battery charger. Maybe some of the other guys might know.
I'll see if I can draw a circuit for you over the weekend. But Kris will probally be on soon and beat me to it, he loves this sort of thing.
Adam