Hiding title tags for links and images using JQUERY

I was trying to hide all title popup boxes for one website – this may not be the most elegant solution – but it is something if you need it in a pinch – post better solutions below:

<script>
$("a").each(function(e) {
 var title = $(this).attr('title');
 $(this).mouseover(
 function() {
 $(this).attr('title','');
 }).mouseout(
 function() {
 $(this).attr('title', title);
 });
 $(this).click(
 function() {
 $(this).attr('title', title);
 }
 );
});
$("img").each(function(e) {
 var title = $(this).attr('title');
 $(this).mouseover(
 function() {
 $(this).attr('title','');
 }).mouseout(
 function() {
 $(this).attr('title', title);
 });
 $(this).click(
 function() {
 $(this).attr('title', title);
 }
 );
});
});
</script>