Hello again Eric,
Once again thanks for the answers; it worked just fine for 2 ID's.
But what would i do in case i'd need to add more ID's for tradedoubler? (i.e. Germany, Sweden and so on). I tried adding them manually as the above, with extra lines, but it didn't seem to work.
Also - if i were to use other networks with this same setup, would i just add them to the same function too?