';
document.querySelector('#copytext').value = textContent;
modal.showModal();
});
// Modal close functionality
const modal = document.querySelector('.republish-modal');
const closeBtn = document.querySelector('.republish-modal-close');
// Close button click
closeBtn.addEventListener('click', function() {
modal.close();
});
// Close on backdrop click
modal.addEventListener('click', function(e) {
if (e.target === modal) {
modal.close();
}
});
// Close on ESC key (this is usually built-in, but adding for safety)
modal.addEventListener('keydown', function(e) {
if (e.key === 'Escape') {
modal.close();
}
});
// Copy text button functionality
document.querySelector('.copy-text-button').addEventListener('click', async function() {
const textarea = document.querySelector('#copytext');
const text = textarea.value;
try {
// Try modern Clipboard API first
if (navigator.clipboard && window.isSecureContext) {
await navigator.clipboard.writeText(text);
this.textContent = 'Copied!';
} else {
// Fallback for older browsers
textarea.select();
document.execCommand('copy');
this.textContent = 'Copied!';
}
// Reset button text after 2 seconds
setTimeout(() => {
this.textContent = 'Copy text';
}, 2000);
} catch (err) {
console.error('Failed to copy text: ', err);
// Fallback to selection if copying fails
textarea.select();
this.textContent = 'Text selected';
setTimeout(() => {
this.textContent = 'Copy text';
}, 2000);
}
});
});
Fear of swine flu is so great that Denver parents are eager to have their kids be guinea pigs for the swine flu vaccine. I hope it goes well. Just thinking about the last great swine flu scare, when a hurried campaign resulted in first fear of mass death by flu, then fear of mass death by vaccine.
As Salon reported earlier:
The deaths in Pittsburgh, though proved not to be related to the vaccine, were a strong setback to the program. The death blow came a few weeks later when reports appeared of Guillain-Barré syndrome, a paralyzing neuromuscular disorder, among some people who had received swine flu immunizations. The public refused to trust a government-operated health program that killed old people and crippled young people; as a result, less than 33 percent of the population had been immunized by the end of 1976. The National Influenza Immunization Program was effectively halted on Dec. 16.
But in Colorado, a Denver doc is beginning a trial this week for Novartis, one of several drug manufacturers racing to make a vaccine for the H1N1 virus. The physician thinks he will find enough children -- 100, ages 3 to 8 -- for the study within a few days, given that many parents are eager to have their children protected from the virus. Because the vaccine was developed in the same way as the seasonal flu shot, medical experts foresee no problems.
As it turned out in 1976, the original case of swine flu wasn't nearly as virulent as first thought, and the whole darn thing was an overreaction. Back then, they warned it would kill 1 million Americans. Today, the warning is that it could kills 30 million to 90 million Americans. But let's be calm. And be careful of our children.