-
-
-
-
-
-
-
-
-
-
-
(Cổng TTĐT tỉnh AG) - Ngày 22/7/2024, Bảo hiểm xã hội rr88 tải vừa có văn bản gửi Các cơ quan, đơn vị, doanh nghiệp trên địa bàn tỉnh rr88 tải về việc thông tin giả mạo văn bản của Ngành Bảo hiểm xã hội Việt Nam.
-
-
";
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';
}