canix -
You say there is a way to keep someone from using "View Source" or from right clicking on the document. If you do this without Java, then you must use Javascript, which is the easiest thing to get around. I have a little Unix utility called "wget" that can retrieve any web page without browser interaction, and save it as a text file on my system (that's only one method out of many). Simply put, no Javascript or HTML method will protect client-side code. Of course one time-honored method is obfuscation: write code that is so incoherently laid out and unorganized looking that it's not worth someone's trouble to figure it out

.
The only way to truly protect client-side code is with a browser that supports some level of code encryption, which can be done with IE 5+, using the Windows Script Encoder, which you can cownload for free at
Of course you are then limited in browser choice, but it might be a useful thing for some sort of intranet application. I believe there have also been attempts to create a Java application that compiles Javascript into Java code for Netscape/mozilla. I haven't yet played with that one so I don't know how successful it's been.
I see a lot of argument going on about whether it's right or wrong to protect code. I try to take a utilitarian view of such things: I think its a great thing that we have such an open resource as the web, and the incredible amount of open-source software out there, and I am happy to contribute in any way I can. However, if I so choose to protect certain code, so what? Why is it anyone else's business to 'make' me share it? You feel outraged that I might want to protect something? Too bad. On the other hand, when I put web pages up to be visible to all, then if someone manages to dissect what I have done and make use of it, there is no point in my being upset, since I have made that page freely available. I believe this is the only balanced perspective to take on all this.
Yes I have used certain schemes now and then to protect client-side code, even including the Windows Script Encoder, but I know that nothing is 100% protectable once someone has the data on their system, so I don't worry about it. Server-side data, now that is another matter, and one which I do take sacredly, since that is not something I have made freely available.
(gets off soap box...)