I run Linux and design my Web sites using Firefox. My doctype is XHTML 1.0 Strict, and I use Validator to make sure everything is correct. Then I hold my breath, reboot into Windows, and try it in IE.

In one of my pages I have a little applet that simulates water waves in a beautiful image. If you'd like to look at it, it's here:

The Twelfth of Never: Romantic Marriage Stories

Well, IE (or maybe Windows) won't let this run. A DEP (Data Execution Prevention) window opens with dire messages about viruses and malware. If I disable DEP then it works, but I suspect not many of my visitors will risk that.

Is there a work-around without disabling DEP?

Here's my code. In <head>:

<script type="text/javascript">
//<![CDATA[
function runApplet(theText)
{
document.write(theText);
}
//]]>
</script>

In <body>:

<script type="text/javascript">
//<![CDATA[
runApplet ("<applet code='lake.class' width='423' height='567'
align=bottom>" +
"<param name=image value='lovetide.jpg'>" +
"</applet>");
//]]>
</script>

Thanks so much.

Ken