ok i haven't touched js 4 ages and was wondering what the hell is wrong with this:

Code:
BLABLA
<tr onclick="showCompat('1');" >
BLABLA

<script>
	function showCompat(compatItem) {

	}
</sctipt>
it just keeps telling me "object expected"

thanks
Kris