var _resizerDown = 0; _showResizerPixels = true; _resizeOnlyFirst = false; function resizeCell( n, ind){ var active = document.getElementsByTagName(n)[ind]; _resizerDown = 1; if( active ){ var actParent = active.parentNode; var grandPar = actParent.parentNode; var tableBody = grandPar.parentNode; var table = tableBody.parentNode; var parIndex = findParentIndex( active ); if(!actParent.childNodes[parIndex-1]){ otherElement = actParent.childNodes[parIndex+1]; otherIndex = parIndex+1; } else { otherElement = actParent.childNodes[parIndex-1]; otherIndex = parIndex-1; } var orgX = event.clientX; var orgW = active.offsetWidth; var orOW = otherElement.offsetWidth; var tabW = grandPar.parentNode.offsetWidth; if( _showResizerPixels ){ show( $('_conResWid') ); $('_conResWid').innerHTML = noBr( active.offsetWidth+' px' ); $('_conResWid').style.left = findPosX($('_conResWid'))-10- document.body.scrollLeft; $('_conResWid').style.top = findPosY($('_conResWid'))-10- document.body.scrollTop; } document.onselectstart=new Function ('return false'); if($('kpqf').value==1){ document.onmousemove = function(){ $('_conRes').style.left=event.clientX; $('_conResWid').style.left=event.clientX; try{ if( !_resizeOnlyFirst ){ for(var i=0;i