An electrician collected $1265.23 for a job that included $840 labor, which was not taxed, and the rest for parts, which were taxed at 6%. Determine how much of the total was tax.