﻿$.fn.exists = function() { return $(this).length !== 0; }

$(function() {
    if ($(".focus").exists()) {
        $.scrollTo(".focus");
    }
});
