If there is code you really want to hide, do it Server side.
You can't hide your code.
But..
Disable right click: (Posted above too..)
http://www.dynamicdrive.com/dynamicindex9/noright.htm
Open new Window:
I put a little page together showing some different options with opening a new window.
http://www.ealabs.com/studio/webform...penwindow.html