replace logo in quotation pdf

Hello,

i am using crm 6.5.11 professional.

I have two two logo of same company. it should be change base on team selection.

if team 1 is selected then in pdf logo1 can show or team 2 is selected then logo 2 is show in pdf.

how i can do this?