Im a moron.
Why does this not work?
I've tried and tried and I cannot make this work. I've tried a switch/case structure and cant make that work either. Bah.
<script language="JavaScript" type="text/JavaScript">
<!--
function fileClick(obj){
if (obj.className = "div-file"){
obj.className = "div-file-selected";
} else {
obj.className = "div-file";
}
}
//-->
</script>