Give this function an id
<p>We are making a advert div, and we have this function on mouse over and mouse out an effect takes place. The issue is I cannot run more than one of these functions on same page, I suppose because it does not possess an ID.</p>

<p>Code is</p>

<pre><code>Function mouseOver ()
{
    document.getelementbyid("flashdiv").classname="flash-abg";
}
Function mouseOut ()
{
    document.getelementbyid("flashdiv").classname="flash-I";
}
</code></pre>

<p>So how would I. Run two of these on one page, I am on iPad so difficult to set styling on here, etc. So apologies.</p>

<p>Basically the above code accompanies HTML and CSS to display hover effect on a advert div, we have all divs working correctly individually but because we have no I'd for the functions, they don't work together correctly when we have more than one on a page. As you can see I am crap at js.</p>
