Flash and javascript=chalk and cheese

Hey I am having issues with this javascript function.
it is not calling from the swf?..arrrrrrrrrgggggggg

<script type=“text/javascript”>
function Hide(id){
document.getElementById(id).style.display = ‘none’;
}
</script>

My AS
on (release) {
getURL(“javascript:Hide(‘Sd’);”);
}