Is it possible to add the <A href="javascript..> line in a document.write script?

Now I had to break it open into 2 scripts with the <A href="javascript..> in the middle.

<script src="js/top2a.js"></script>
<A href="javascript:bookmark('http://www.dummy.com','Dummy')">
<script src="js/top2b.js"></script>

Thanks & Greetings Wouter