<img onmouseover='over()' src='http://javascript.ru/forum/image.php?u=12890&dateline=1303149256' onmouseout='out()'> <script> function over() { alert('over') } function out() { alert('out') } </script>