I know bill.....I copied and pasted it all but the coding malarky is from a php page I was working on at the time, its just chucking in all this ugly virus opera 5 lines in whenever it feels the need, lol
Think I've just about sorted it now
But thank you Mr Bill
and also mr mk5rst