Hey guys.
I'm a noob in Javascript so please forgive me if its a stupid fault.
My Script works fine in GoogleChrome but not in Firefox.
And I can't figure out what the problem is.
What i want:
When i'm clicking on "1" "2" "3" or "4" I want the element changing there classes from "notCurrent" to "current".
Where is the fault?

Javscript:
HTML Code:
function clicked(dot)
{
  dot.className='current';
}

html:
HTML Code:
<div id = "slideshow_controls">
<a href="#" id="dot_01" class="notCurrent" onClick = "javascript: image_01(); clicked(dot_01)"><span>1</span></a> 
<a href="#" id="dot_02" class="notCurrent" onClick = "javascript: image_02(); clicked(dot_02)"><span>2</span></a> 
<a href="#" id="dot_03" class="notCurrent" onClick = "javascript: image_03(); clicked(dot_03)"><span>3</span></a> 
<a href="#" id="dot_04" class="notCurrent" onClick = "javascript: image_04(); clicked(dot_04)" ><span>4</span></a> 
</div>

Thanks in advance!!