Sổ tay hướng dẫn công tác quản nhà nước trong lĩnh vực đất đai khi thực hiên chính quyền địa 02 cấp của Cục quản lý đất đai Bộ nông nghiệp và môi trường
/vi/so-tay-huong-dan-cong-tac-quan-nha-nuoc-trong-linh-vuc-dat-dai-khi-thuc-hien-chinh-quyen-dia-02-cap-cua-cuc-quan-ly-dat-dai-bo-nong-nghiep-va-moi-truong
";
var footstr = "";
var newstr = document.all.item(text).innerHTML;
//var newstr = document.getElementById(text).innerHTML;
var oldstr = document.body.innerHTML;
document.body.innerHTML = headstr + newstr + footstr;
window.print();
document.body.innerHTML = oldstr;
return false;
}
function printDiv2(text) {
var content = document.getElementById(text).innerHTML;
var printWindow = window.open('', '', 'height=600,width=800');
printWindow.document.write('
');
printWindow.document.write('');
printWindow.document.write(content);
printWindow.document.write('');
printWindow.document.close();
printWindow.print();
}
function share_fb(url) {
window.open('https://www.facebook.com/sharer/sharer.php?u='+url,'facebook-share-dialog',"width=626, height=436")
}
function toggleBackgroundColor() {
const element = document.getElementById('contrast');
const currentColor = window.getComputedStyle(element).backgroundColor;
if (currentColor === 'rgb(220, 220, 220)') {
element.style.backgroundColor = '#fff';
} else {
element.style.backgroundColor = 'rgb(220, 220, 220)';
}
}
var liActive = Array.from(document.querySelectorAll('.posts-list-noibat .post-title'));
if (Array.isArray(liActive) && liActive.length ) {
liActive[0].classList.add('active');
}
function increaseFontSize() {
var textElement = document.getElementById('text');
var currentSize = window.getComputedStyle(textElement, null).getPropertyValue('font-size');
var newSize = parseFloat(currentSize) + 2;
if (newSize <= 40) {
textElement.style.fontSize = newSize + 'px';
}
}
function decreaseFontSize() {
var textElement = document.getElementById('text');
var currentSize = window.getComputedStyle(textElement, null).getPropertyValue('font-size');
var newSize = parseFloat(currentSize) - 2;
if (newSize >= 12) {
textElement.style.fontSize = newSize + 'px';
}
}
function resetFontSize() {
var textElement = document.getElementById('text');
textElement.style.fontSize = '18px';
}