function fullScreenLoading(transport)
{
    if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
        jQuery("body","html").css({height: "100%", width: "100%"});
        jQuery("html").css("overflow","hidden");
        if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
            jQuery("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
            jQuery("#TB_overlay").click(tb_remove);
        }
    }else{//all others
        if(document.getElementById("TB_overlay") === null){
            jQuery("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
            jQuery("#TB_overlay").click(tb_remove);
        }
    }

    if(tb_detectMacXFF()){
        jQuery("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash
    }else{
        jQuery("#TB_overlay").addClass("TB_overlayBG");//use background and opacity
    }
    
    if(! $j("#TB_load").size()) {
        jQuery("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page
        jQuery('#TB_load').show();//show loader
    }
}

function endFullScreenLoading()
{
    tb_remove();
}

function search()
{
	location.href= '/search/index/query/' + $F('query');
}

function updateCartInfo()
{
    cartInfoUrl = "/cart/info/ajax/true";
    $j("#cartInfo").load(cartInfoUrl);
}

$j(document).ready(function(){
    $j('.testing').live('click', function(){
        alert('test');
    });
});
