var current = $('span[onclick]').filter(function () { return $(this).attr('onclick').split("'")[1].toLowerCase() == location.href.toLowerCase(); });