1Preheat the oven to 350 degrees F (175 degrees C). Lightly brush an 8 inch square tin with melted butter or oil. Line the base with baking paper, extending over two sides.
2Stir 1/4 cup butter or margarine and dark chocolate in the top of a double boiler until just melted. Using a wooden spoon, beat 1/2 cup sugar, vanilla extract, and 1 egg in a medium bowl until combined. Stir in the melted chocolate mixture. Add 1/2 cup flour, stirring until just combined; don't over beat.
3Stir 1/4 cup butter or margarine and white chocolate in the top of a double boiler until just melted. Using a wooden spoon, beat 1 /2 cup sugar, vanilla extract and 1 egg in a second bowl until combined. Stir in the white chocolate mixture. Add 1/2 cup flour, stirring until just combined; don't over beat.
4Drop large spoonfuls of the mixtures alternately and evenly, next to one another, in a single layer, in the tin. Gently smooth the surface, without combining the mixtures.
5Bake for 35 minutes, or until firm. Allow to cool in the tin before cutting into small squares.