/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

jQuery.fn.extend
({
    removeCss: function(cssName) {
        return this.each(function() {
            var curDom = $(this);
            jQuery.grep(cssName.split(","),
                    function(cssToBeRemoved) {
                        curDom.css(cssToBeRemoved, '');
                    });
            return curDom;
        });
    }
});


$(document).ready(
function(){
    $("#tip").css({height:($("#tip").height()+10)+"px"});
    //Pro detail
    $(".product").click(function(event){
        window.location = $(this).find('a').attr('href');
    });
    $(".producttop").click(function(event){
        window.location = $(this).find('a').attr('href');
    });
    $("#headerrightblank").append($("#basket"));

    if($("#navbarr").height() > $("#content").height()) {

        $("#content").height($("#navbarr").height())

    }


});

