modify click event script to be more specific
<p>I have to the following function that I would like to modify so that it only binds the click event to all href's that = /ShoppingCart.asp?ProductCode="whatever" (whatever = whatever is in there") but not if it is specifically /ShoppingCart.asp?ProductCode="GFT". It must also check or convert a gft or Gft to upper case to check for those as well. So basically it has to check for any variation of the case of GFT.
If it finds a "GFT" do not bind the click event.</p>

<pre><code>function sacsoftaddtocart() {
    if (location.pathname == "/SearchResults.asp" || location.pathname == "/Articles.asp" || location.pathname.indexOf("-s/") != -1 || location.pathname.indexOf("_s/") != -1) {
        $("a[href^='/ShoppingCart.asp?ProductCode']").click(function () {
            var href = $(this).attr('href');
            addToCart3(href);
            return false;
        });
    }
}   
</code></pre>
