Hi Hamish,
It is good that you are concerned for this and are seeking to work out what the right thing to do is. Too often young christians are happy to let the ethics of the world guide them rather than asking the hard questions and doing the godly thing.
As you can imagine this is a question that we get reasonably regularly and there is a good answer already worked up.
Take a look at it here.
God bless
David