else if (!g.colresize) { /*var nv = $('th:visible',g.hDiv).index(this); var onl = parseInt($('div:eq('+nv+')',g.cDrag).css('left')); var nw = parseInt($(g.nBtn).width()) + parseInt($(g.nBtn).css('borderLeftWidth')); nl = onl - nw + Math.floor(p.cgwidth/2); $(g.nDiv).hide();$(g.nBtn).hide(); $(g.nBtn).css({'left':nl,top:g.hDiv.offsetTop}).show(); var ndw = parseInt($(g.nDiv).width()); $(g.nDiv).css({top:g.bDiv.offsetTop}); if ((nl+ndw)>$(g.gDiv).width()) $(g.nDiv).css('left',onl-ndw+1); else $(g.nDiv).css('left',nl); if ($(this).hasClass('sorted')) $(g.nBtn).addClass('srtd'); else $(g.nBtn).removeClass('srtd');*/ }