// JavaScript Document

function popupWindow(popupUrl, popupWinName, winProperties) { if((winProperties=='')||(winProperties==null)) { winProperties = 'width=778,height=480,menubar=no,toolbar=yes,location=no,status=yes,scrollbars=yes,resizable=yes'; } var winNew = window.open(popupUrl, popupWinName, winProperties); if(winNew != null) { winNew.focus(); } else { alert('Please ensure that your pop-up blockers are switched off for this website.'); } }

function closeWindow() { window.close(); }

function printPage() { print(document); }

function setStatusBar(msgStr) { self.status = msgStr; }

function writeYear() { var curdate = new Date(); var year = curdate.getYear(); document.write(year); }

function writeEmailLinkToThisPage() { location.href = 'mailto:?subject=RE:%20RED-SIG.Org&body=RED-SIG.Org:%20' + location.href; }
