Can hover and click functions be combined into one, so for example:
click:
$(\'#target\').click(function() { // common operation });
You could also use bind:
$('#myelement').bind('click hover', function yourCommonHandler (e) { // Your handler here });