function popupWin(indelay,outdelay) {
text = "\n
\n<\head>\n\n";
text += "\n
";
text += "Don't miss our latest Bronx Diary";
text += "entries!
\n\n\n";
setTimeout('windowProp(text,outdelay)', indelay); // delay 1 second before opening
}
function windowProp(text,outdelay) {
newWindow = window.open('','newWin','width=300,height=100');
newWindow.document.write(text);
setTimeout('closeWin(newWindow)', outdelay); // delay 5 seconds before closing
}
function closeWin(newWindow) {
newWindow.close(); // close small window and depart
}