
function openWin(theURL,winName,features) {

 window.open(theURL,winName,features);

}

function showDate() {

  var longmonth;
  var date = new Date();
  month = date.getMonth()+1;

  if (month==1) {
    longmonth = "January"
  }
  else if(month==2) {
    longmonth = "February"
  }
  else if(month==3) {
    longmonth = "March"
  }
  else if(month==4) {
    longmonth = "April"
  }
  else if(month==5) {
    longmonth = "May"
  }
  else if(month==6) {
    longmonth = "June"
  }
  else if(month==7) {
    longmonth = "July"
  }
  else if(month==8) {
    longmonth = "August"
  }
  else if(month==9) {
    longmonth = "September"
  }
  else if(month==10) {
    longmonth = "October"
  }
  else if(month==11) {
    longmonth = "November"
  }
  else if(month==12) {
    longmonth = "December"
  }

  document.write(date.getDate() + ' ' + longmonth + ' ' + date.getFullYear());

}

function safeLink(strName, strHost, strLink) {

	var strLinkText
	
	(strLink=="") ? strLinkText = strName + "@" + strHost : strLinkText = strLink

	document.write("<a href=" + "mail" + "to:" + strName + "@" + strHost + ">" + strLinkText + "</a>")

}

function safeLink2(strName, strHost, strLinkName, strLinkHost) {

	var strLinkText
	
	document.write("<a href=" + "mail" + "to:" + strName + "@" + strHost + ">" + strLinkName + "@" + strLinkHost + "</a>")

}
