Understand JQuery Snippet code
<p>Can anyone help me understand what this code snippet is doing? I'm maintaining a website and I think this is the source of a problem I am having. </p>

<pre><code>function cust_addToCart(itemid, itemqty, options, viaajx, loadingf, callback) {
    var url = "/app/site/backend/additemtocart.nl?buyid=" + itemid + "&amp;qty=" + itemqty;
    document.location.href = url;
}


$('#itemlist .addtocart-lnk').click(function() {
    $(this).next().find('.addtocart').click();
    return false; //Would this return a # for a link?
});
</code></pre>
