By looking at the schedule it also seems that the travel agent booked Bangkok to San Francisco. It should be Toronto's Pearson International airport, which is YYZ.
So, the schedule should look like:
BKK-YYZ for the trip out, and YYZ-BKK for the trip back.
Would you like me to come in and talk with the travel agent? I don't mind doing it, and she could okay the flights with you first. If so, I'll come out this afternoon.