javascript syntax problem
<p>I have this in the head of my document:</p>

<pre><code>&lt;script type="text/javascript"&gt;

            var myString= location.href;
            var mySplit = myString.split("#");
            var x = mySplit[1];

            if (x == 'page1_div1') {
                document.getElementById('div1').className = 'theNewClass';
            }
&lt;/script&gt;
</code></pre>

<p>What is my error?
Thanks,
Linda</p>
