- î¢
- î
î¯ VÄn bản pháp luáºt Hot
î¡ Thủ tục hÃnh chÃnh
î¢ Há»i Äáp pháp luáºt
î Thuáºt ngữ pháp lý
î Góc nhìn pháp lý
î´ Inforgraphic pháp luáºt
î Video pháp luáºt
î¡¥ Tủ sách luáºt tiá»n Ãch
î¡ ThÆ° viá»n bản án
î ThÆ° viá»n án lá»
See AlsoThông tư 61/2023/TT-BTC thu nộp quản lý và sử dụng phí lĩnh vực đăng ký giao dịch bảo đảm mới nhấtThông tư 61/2022/TT-BTC quyết toán kinh phí tổ chức thực hiện bồi thường khi thu hồi đất61/2022/TT-BTC in Vietnam, Circular 61/2022/TT-BTC estimates of expenditure on compensation for land expropriation in VietnamThông tư 61/2022/TT-BTC bồi thường khi Nhà nước thu hồi đất - Giá»i thiá»u
- Gói dá»ch vụ
- Liên há»
- ÄÄng ký / ÄÄng nháºp
Trang chủ VÄn bản pháp luáºt Thông tÆ° 61/2022/TT-BTC hÆ°á»ng dẫn láºp dá»± toán, sá» dụng và thanh, quyết toán kinh phà tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° khi Nhà nÆ°á»c thu há»i Äất do Bá» trÆ°á»ng Bá» TÃi chÃnh ban hÃnh Äiá»u 4
1. Ná»i dung chi tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ°:
a) Chi tuyên truyá»n các chÃnh sách, chế Äá» vá» bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° khi Nhà nÆ°á»c thu há»i Äất và tá» chức váºn Äá»ng các Äá»i tượng liên quan thá»±c hiá»n quyết Äá»nh thu há»i Äất.
b) Chi Äiá»u tra, khảo sát, Äo Äạc, kiá»m Äếm theo quy Äá»nh tại khoản 1 Äiá»u 69 của Luáºt Äất Äai nÄm 2013 gá»m: Phát tá» khai, hÆ°á»ng dẫn ngÆ°á»i bá» thiá»t hại kê khai; trÃch Äo Äá»a chÃnh thá»a Äất Äá»i vá»i thá»a Äất tại nÆ¡i chÆ°a có bản Äá» Äá»a chÃnh phục vụ bá»i thÆ°á»ng, giải phóng mặt bằng; Äo Äạc xác Äá»nh diá»n tÃch thá»±c tế các thá»a Äất nằm trong ranh giá»i khu Äất thu há»i Äá» thá»±c hiá»n dá»± án (nếu có) của từng tá» chức, há» gia Äình, cá nhân lÃm cÄn cứ thá»±c hiá»n viá»c bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° khi Nhà nÆ°á»c thu há»i Äất trong trÆ°á»ng hợp phải Äo Äạc lại; kiá»m kê sá» lượng nhÃ, công trình, cây trá»ng, váºt nuôi và tÃi sản khác bá» thiá»t hại khi Nhà nÆ°á»c thu há»i Äất của từng tá» chức, há» gia Äình, cá nhân; kiá»m tra, Äá»i chiếu giữa tá» khai vá»i kết quả kiá»m kê, xác Äá»nh mức Äá» thiá»t hại vá»i từng Äá»i tượng bá» thu há»i Äất cụ thá»; tÃnh toán giá trá» thiá»t hại vá» Äất Äai, nhÃ, công trình, cây trá»ng, váºt nuôi và tÃi sản khác.
c) Chi láºp, thẩm Äá»nh, chấp thuáºn, phê duyá»t, công khai phÆ°Æ¡ng án bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° từ khâu tÃnh toán các chá» tiêu, xác Äá»nh mức bá»i thÆ°á»ng, há» trợ Äến khâu phê duyá»t phÆ°Æ¡ng án, thông báo công khai phÆ°Æ¡ng án bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ°.
d) Chi tá» chức chi trả tiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° theo phÆ°Æ¡ng án bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° Äã Äược cÆ¡ quan nhà nÆ°á»c có thẩm quyá»n phê duyá»t theo quy Äá»nh.
Ä) Chi phục vụ viá»c hÆ°á»ng dẫn thá»±c hiá»n, giải quyết những vÆ°á»ng mắc trong tá» chức thá»±c hiá»n phÆ°Æ¡ng án bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° Äã Äược cÆ¡ quan nhà nÆ°á»c có thẩm quyá»n phê duyá»t theo quy Äá»nh.
e) Chi thuê nhà lÃm viá»c, thuê và mua sắm máy móc, thiết bá» Äá» thá»±c hiá»n công tác bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° của Tá» chức lÃm nhiá»m vụ bá»i thÆ°á»ng và cÆ¡ quan thẩm Äá»nh.
g) Chi in ấn, phô tô tÃi liá»u, vÄn phòng phẩm, thông tin liên lạc (bÆ°u chÃnh, Äiá»n thoại), xÄng xe.
h) Chi thuê nhân công thá»±c hiá»n công tác bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° (nếu có). Viá»c thuê nhân công do ngÆ°á»i Äứng Äầu Tá» chức lÃm nhiá»m vụ bá»i thÆ°á»ng quyết Äá»nh, quy Äá»nh tại quy chế chi tiêu ná»i bá» và chá» Äược thá»±c hiá»n khi Tá» chức lÃm nhiá»m vụ bá»i thÆ°á»ng không có Äủ nhân sá»± Äá» thá»±c hiá»n và không Äược thá»±c hiá»n nhiá»m vụ trùng lấp vá»i nhân sá»± của Tá» chức lÃm nhiá»m vụ bá»i thÆ°á»ng.
i) Các ná»i dung chi khác có liên quan trá»±c tiếp Äến viá»c tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ°.
2. Ná»i dung chi tá» chức thá»±c hiá»n cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất:
a) Chi thông báo, tuyên truyá»n váºn Äá»ng các Äá»i tượng thá»±c hiá»n quyết Äá»nh cưỡng chế kiá»m Äếm, quyết Äá»nh cưỡng chế thu há»i Äất.
b) Chi mua nguyên liá»u, nhiên liá»u, thuê phÆ°Æ¡ng tiá»n, thiết bá» bảo vá», y tế, phòng chá»ng cháy ná», các thiết bá», phÆ°Æ¡ng tiá»n cần thiết khác phục vụ cho viá»c thá»±c hiá»n cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất.
c) Chi phục vụ công tác tá» chức thi hÃnh quyết Äá»nh cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất.
d) Chi phà niêm phong, phá, tháo dỡ, váºn chuyá»n tÃi sản; di chuyá»n ngÆ°á»i bá» cưỡng chế và ngÆ°á»i có liên quan ra khá»i khu Äất cưỡng chế, chi thuê Äá»a Äiá»m, nhân công, phÆ°Æ¡ng tiá»n bảo quản tÃi sản và các khoản chi phà thá»±c tế hợp pháp khác phục vụ trá»±c tiếp cho viá»c thá»±c hiá»n bảo quản tÃi sản khi thá»±c hiá»n cưỡng chế thu há»i Äất trong trÆ°á»ng hợp chủ sá» hữu tÃi sản không thanh toán.
Ä) Chi cho công tác quay phim, chụp ảnh phục vụ cho viá»c thá»±c hiá»n cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất.
e) Chi phà bảo vá», chá»ng tái chiếm Äất sau khi tá» chức thá»±c hiá»n cưỡng chế thu há»i Äất của thá»a Äất cưỡng chế thu há»i Äến thá»i Äiá»m hoÃn thÃnh viá»c giải phóng mặt bằng.
g) Các ná»i dung chi khác có liên quan trá»±c tiếp Äến viá»c tá» chức thá»±c hiá»n cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất.
3. Chi tiá»n lÆ°Æ¡ng, các khoản Äóng góp theo tiá»n lÆ°Æ¡ng và các khoản phụ cấp lÆ°Æ¡ng theo chế Äá» quy Äá»nh của Tá» chức lÃm nhiá»m vụ bá»i thÆ°á»ng liên quan Äến viá»c tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° và cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất theo cÆ¡ chế tÃi chÃnh áp dụng Äá»i vá»i tá» chức Äó.
Chi tiá»n lÆ°Æ¡ng và các khoản Äóng góp theo tiá»n lÆ°Æ¡ng Äược xác Äá»nh theo quy Äá»nh hiá»n hÃnh của pháp luáºt.
- Sá» hiá»u: 61/2022/TT-BTC
- Loại vÄn bản: Thông tÆ°
- NgÃy ban hÃnh: 05/10/2022
- NÆ¡i ban hÃnh: Quá»c há»i
- NgÆ°á»i ký: Nguyá» n Äức Chi
- NgÃy công báo: Äang cáºp nháºt
- Sá» công báo: Äang cáºp nháºt
- NgÃy hiá»u lá»±c: 20/11/2022
- Tình trạng hiá»u lá»±c: Kiá»m tra
MỤC LỤC VÄN BẢN
CHƯÆNG 1: QUY Äá»NH CHUNG
- Äiá»u 1. Phạm vi Äiá»u chá»nh
- Äiá»u 2. Äá»i tượng áp dụng
CHƯÆNG 2: QUY Äá»NH CỤ THá»
- Äiá»u 3. Mức trÃch kinh phà bảo Äảm cho viá»c tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° và cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất
- Äiá»u 4. Ná»i dung chi tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° và cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất
- Äiá»u 5. Mức chi tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° và cưỡng chế kiá»m Äếm, cưỡng chế thu há»i Äất
- Äiá»u 6. Láºp dá»± toán, sá» dụng và thanh, quyết toán kinh phà tá» chức thá»±c hiá»n bá»i thÆ°á»ng, há» trợ, tái Äá»nh cÆ° và cưỡng chế kiá»m Äếm
- Äiá»u 7. Láºp dá»± toán, sá» dụng và thanh, quyết toán kinh phà tá» chức thá»±c hiá»n cưỡng chế thu há»i Äất
CHƯÆNG 3: ÄIá»U KHOẢN THI HÃNH
- Äiá»u 8. Quy Äá»nh chuyá»n tiếp
- Äiá»u 9. Äiá»u khoản thi hÃnh
MỤC LỤC VÄN BẢN
HIá»N THá» DANH SÃCH
'); } var $pointer = $this.next('.pointer'); var $canvas = $this.next('canvas'); var $pointy = $canvas.next('div.pointy'); if ($pointy.is(':visible')) { } if ($pointer.is(':visible')) { } else { if ($('#ajax_tra_cuu').is(':visible')) { $('#ajax_tra_cuu').hide(); } $("#right_info_col").css('height', '1px'); $('#rightdocinfo').hide('slow'); $('#r-toc').hide('slow'); if ($('button#toggleSidebar').length) { if (parseInt($('#customSidebar').css('right'),10) == 0) { $('#customSidebar').animate({ right: '-280px' }, 500); $('#toggleSidebar').html(''); } else { } } if ($pointy.is(':visible')) { var $pointer = $canvas.next('.pointer'); if ($pointer.is(':visible')) { $pointer.hide(); $canvas.hide(); } else { } } else { if ($canvas.length==1) { var $canvas = $this.next('canvas'); var $pointer = $canvas.next('.pointer'); if ($pointer.length>0) { $pointer.show(); $canvas.show(); } $('.pointer').removeClass('pointy-active'); $('.pointer').css({'z-index':1}); $('canvas.pointy').removeClass('pointy-active'); $('canvas.pointy').css({'z-index':1}); $pointer.css({'z-index':9999}); $canvas.css({'z-index':9999}); if (level==0) { if (totalSubLevels==1) { scrollTop_offset = $pointer.offset().top - $(window).height() / 4; } else { scrollTop_offset = $pointer.offset().top - $('#nav-tab-vb').height()-10; } $('html,body').animate({ scrollTop: scrollTop_offset }, 'slow'); } } else { $pointer.show(); if ($pointy.length==0) { var elementOffset = $(this).position().top; var windowHeight = $(window).height()-20 - $('#nav-tab-vb').height(); if (level>0 && e.originalEvent === undefined) { //clicked by js var pointerHeight = Math.max(250, Math.min((windowHeight * 0.8)/(level+1), 450)); var newTop = elementOffset - (pointerHeight / 2); var maxTop = $(document).height() - pointerHeight; newTop = Math.max(0, Math.min(newTop, maxTop)); } else { var pointerHeight = Math.max(250, Math.min((windowHeight * 0.8)/totalSubLevels, 450)); var newTop = elementOffset - (pointerHeight / 2); var maxTop = $(document).height() - pointerHeight; newTop = Math.max(0, Math.min(newTop, maxTop)); } if (level>0 && e.originalEvent === undefined) { newTop = newTop+pointerHeight+10; } var position = $this.position(); $pointer.css({ left: $('#doc-left-col, #noi_dung_dk').width() + 50 + "px", width: $('#doc-right-col').width()-30, height: pointerHeight, 'z-index': 9999, top: newTop + "px" }); $this.pointy({ pointer: $pointer, defaultClass: 'zindex', activeClass: 'pointy-active', arrowWidth: 20 }); var initialTop = $pointer.position().top; $pointer.draggable({ containment: 'document', drag: function() { if (screen.width<1280) { var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); } $this.trigger('pointy-update'); } }); $pointer.on('click', '.close_pointy', function(e) { $pointer.hide(); $pointer.prev('canvas.pointy').hide(); }); var isDragging = false, startX, startY, offsetX, offsetY; var startDragging = function(e) { if (checkIfScrollingContent(e)) return; if ($(e.target).is('.close_pointy')) { return; } isDragging = true; var touch = e.originalEvent.touches[0]; var pos = $pointer.position(); startX = touch.pageX; startY = touch.pageY; offsetX = startX - pos.left; offsetY = startY - pos.top-$pointer.height()-$pointer.height()/1.365; var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); //e.preventDefault(); }; var duringDragging = function(e) { if (checkIfScrollingContent(e)) return; if (isDragging) { var touch = e.originalEvent.touches[0]; var moveX = touch.pageX; var moveY = touch.pageY; if (screen.width<1280) { var newLeft = moveX - offsetX; var newTop = moveY - offsetY-$pointer.height()-$pointer.height()/1.365; if (newLeft < 0) { newLeft = 0; } else if (newLeft + $pointer.outerWidth() > $(window).width()) { newLeft = $(window).width() - $pointer.outerWidth(); } if (newTop < initialTop) { newTop = initialTop; } $pointer.css({ left: newLeft, top: newTop }); } else { var newLeft = moveX - offsetX; var newTop = moveY - offsetY-$pointer.height()-$pointer.height()/1.365; if (newLeft < 0) { newLeft = 0; } else if (newLeft + $pointer.outerWidth() > $(window).width()) { newLeft = $(window).width() - $pointer.outerWidth(); } $pointer.css({ left: newLeft, top: newTop }); } $pointer.prev('canvas.pointy').hide(); //e.preventDefault(); } }; var stopDragging = function(e) { $pointer.prev('canvas.pointy').show(); if (checkIfScrollingContent(e)) return; if (screen.width<1280) { var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); } $this.trigger('pointy-update'); }; function checkIfScrollingContent(e) { if ($(e.target).closest('.list_tds').length > 0) { //e.stopPropagation(); return true; } return false; } $pointer.on('touchstart', startDragging); $pointer.on('touchmove', duringDragging); $pointer.on('touchend', stopDragging); var updatePointerPosition = function() { var offset = $this.position(); var windowHeight = $(window).height() - $('#nav-tab-vb').height()-20; var pointerHeight = Math.max(250, Math.min((windowHeight * 0.8)/totalSubLevels, 450)); var elementOffset = $this.position().top; var newTop = elementOffset - (pointerHeight / 2); var maxTop = $(document).height() - pointerHeight; newTop = Math.max(0, Math.min(newTop, maxTop)); $pointer.css({ left: $('#doc-left-col, #noi_dung_dk').width() + 50 + "px", width: $('#doc-right-col').width() - 30, height: pointerHeight, top: newTop + "px" }); }; $(window).on('resize orientationchange', function() { updatePointerPosition(); var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); $this.trigger('pointy-update'); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); }); } } } if ($pointer.is(':visible')) { if (level==0) { if (totalSubLevels==1) { scrollTop_offset = $pointer.offset().top - $(window).height() / 4; } else { scrollTop_offset = $pointer.offset().top - $('#nav-tab-vb').height()-10; } $('html,body').animate({ scrollTop: scrollTop_offset }, 'slow'); } } } $pointer.css('opacity', '1'); $('.pointy').click(function(e) { //e.preventDefault(); //e.stopPropagation(); }); var parent = $(this).parent(); var dataCT = parent.attr('data-ct'); var dataDC = parent.attr('data-dc'); var dataTN = parent.attr('data-tn'); var loai_buble = parent.prop('nodeName').toLowerCase(); var text_html = $(this).text(); if (loai_buble=='cttd' || loai_buble=='a') { pointer_html = '
Ná»I DUNG ÄƯỢC HƯá»NG DẪN, SỬA Äá»I, THAM KHẢO
'; pointer_html += '
Äang tải ná»i dung '+loai_buble+'...
'; pointer_html += '
'; } else if(loai_buble=='dctd') { if (this.hasAttribute('o-title')) { tieu_de_dan_chieu = $(this).attr('o-title'); } else { tieu_de_dan_chieu = text_html; } pointer_html = '
"' + tieu_de_dan_chieu + '"
'; pointer_html += '
Äang tải ná»i dung '+loai_buble+'...
'; pointer_html += '
'; } else if(loai_buble=='dctk') { pointer_html = '
Ná»I DUNG THAM KHẢO LIÃN QUAN
'; pointer_html += '
Äang tải ná»i dung '+loai_buble+'.'+buble_id+'...
'; pointer_html += '
'; } if ($pointer.find('#chu_thich_buble_'+buble_id).length) { } else { $pointer.html(pointer_html); } if (loai_buble=='cttd' || loai_buble=='a') { var load_cttd = setInterval(function(){ if (!$pointer.find('#noi_dung_buble_'+buble_id + ' .dc_'+buble_id+'_loading').length) { $.ajax({ type: 'POST', url: '/ajax/vanban/chu-thich/', data: { 'ndct': dataCT, 'id_ct': buble_id, 'dc_text': text_html }, success: function(response) { $("#noi_dung_buble_" + buble_id).html(response); if ($(document).width()>=1280){$this.trigger('pointy-update');} clearInterval(load_cttd); } }); $('#noi_dung_buble_'+buble_id + ' .dc_loading').addClass('dc_'+buble_id+'_loading'); } },500); } else if(loai_buble=='dctd') { var load_cttd = setInterval(function(){ if ($pointer.find('#noi_dung_buble_'+buble_id + ' .dc_loading').length){ if (dataDC.length == 32) { $.ajax({ type: 'POST', url: '/ajax/public/dan-chieu/' + dataDC, data: { 'text_dan_chieu': text_html }, success: function(response) { $("#noi_dung_buble_" + buble_id).html(response); if ($(document).width()>=1280){$this.trigger('pointy-update');} clearInterval(load_cttd); } }); } else { $("#noi_dung_buble_" + buble_id).load('/ajax/public/dan-chieu/' + dataDC + '/'); if ($(document).width()>=1280){$this.trigger('pointy-update');} clearInterval(load_cttd); } } else { clearInterval(load_cttd); } },500); } else if(loai_buble=='dctk') { if ($('#noi_dung_buble_'+buble_id + ' .dc_loading').length){ $.ajax({ type: 'POST', url: '/ajax/vanban/chu-thich/', data: { 'ndct': dataCT, 'id_ct': buble_id, 'loai_hd': 'noi_dung_tham_khao', 'dc_text': text_html }, success: function(response) { $("#noi_dung_buble_" + buble_id).html(response); if ($(document).width()>=1280){$this.trigger('pointy-update');} } }); } } $('.pointer').removeClass('pointy-active'); $('.pointer').css({'z-index':1}); $('canvas.pointy').removeClass('pointy-active'); $('canvas.pointy').css({'z-index':1}); $pointer.css({'z-index':9999}); $canvas.css({'z-index':9999}); $('.pointer').on('mouseenter mouseleave click touchstart', function() { // Khi di chuá»t vÃo $('.pointer').removeClass('pointy-active'); $('.pointer').css({'z-index':1}); $(this).css({'z-index':9999}); $('canvas.pointy').removeClass('pointy-active'); $('canvas.pointy').css({'z-index':1}); $(this).prev('canvas.pointy').addClass('pointy-active'); $(this).prev('canvas.pointy').css({'z-index':9999}); } ); var list_tds_max_height_interval = setInterval(function(){ if ($pointer.find('.list_tds').length) { var windowHeight = $(window).height()-20 - $('#nav-tab-vb').height(); var pointerHeight = Math.max(250, Math.min((windowHeight * 0.8)/totalSubLevels, 450)); $pointer.find('.list_tds').css('max-height', pointerHeight + 'px'); clearInterval(list_tds_max_height_interval); } },50); $(window).resize(function() { if ($(document).width()<=768) { $pointer.hide(); $pointer.prev('canvas.pointy').hide(); } var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); var list_tds_max_height_interval = setInterval(function(){ if ($pointer.find('.list_tds').length) { var windowHeight = $(window).height()-20 - $('#nav-tab-vb').height(); var pointerHeight = Math.max(250, Math.min((windowHeight * 0.8)/totalSubLevels, 450)); $pointer.find('.list_tds').css('max-height', pointerHeight + 'px'); clearInterval(list_tds_max_height_interval); } },50); }); var parentElement = $(this).parent(); var selectors = 'cttd.chuthichtudong > span, a.chuthichtudong > span, dctk > span, dctd > span'; // Find and click all matching child elements parentElement.find(selectors).each(function() { $(this).click(); }); var cap_nhat_pointy_top = setInterval(function(){ if ($this.position().top-$this.parent().height()+10!=$pointer.prev('canvas.pointy').position().top) { $pointer.prev('canvas.pointy').css({'top': $this.position().top-$this.parent().height()+10+'px'}); clearInterval(cap_nhat_pointy_top); } else { clearInterval(cap_nhat_pointy_top); } },50); });});function random_string_id(numstr) { var text = ""; var possible = "abcdefghijklmnopqrstuvwxyz0123456789"; for (var i = 0; i < numstr; i++) text += possible.charAt(Math.floor(Math.random() * possible.length)); return text;}let lastChosen = null;let lastChosentr = null;function scroll_den_hd(ndsh_dich_address) { if (lastChosen) { $(lastChosen).css('background-color', ''); } if (lastChosentr) { $(lastChosentr).css('background-color', ''); } lastChosen = $('[href="javascript:scroll_den_hd(\'' + ndsh_dich_address + '\')"]'); lastChosentr = $('[data-ct="' + ndsh_dich_address + '"]'); $(lastChosen).css('background-color', 'yellow'); $(lastChosentr).css('background-color', 'yellow'); var targetElement = $('[address="' + ndsh_dich_address + '"]'); $('.selected_dchd').removeClass('selected_dchd'); targetElement.addClass('selected_dchd'); targetElement.children('p').children('cttd').click(); targetElement.children('cttd').click(); targetElement.children('p').children('dctk').click(); targetElement.children('dctk').click();}