
document.write('<marquee behavior=scroll scrollamount=2 scrolldelay=5>');
function scrolltimes(txt)
{
	document.write('•&nbsp;&nbsp;' + txt + '&nbsp;&nbsp;'); 
}
//-- original by Ish & hacked to allow scrolling times - original is scrollnews.js
//--
//-- this is where you enter your articles
// eg. scrolltimes("Your message"); // have as many lines a you want - say 10 to 12 lines max

scrolltimes(".  .  .  .  .  .");	 //do not delete this line - ish
scrolltimes(current_date());		 //do not delete this line - ish
scrolltimes(".  .  .  .  .  .");	 //do not delete this line - ish
scrolltimes("IT Centre opening times");
scrolltimes("Tuesdays: 10am to 12pm");
scrolltimes("Wednesdays: 2pm to 4pm and 6pm to 8pm");
scrolltimes("Thursdays: 2pm to 4pm");
scrolltimes("Saturdays: 11am to 2pm.  .  .  .  .  .&nbsp;&nbsp;•");

document.write('</marquee>');

//-- marquee script ends here

var months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var days = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");

function current_date() {
  var today = new Date();
  var str;

  str = days[today.getDay()]+" "+today.getDate();

  if(today.getDate()==1 || today.getDate()==21 || today.getDate()==31) {
    str += "st ";
  }
  else if(today.getDate()==2 || today.getDate()==22) {
    str += "nd ";
  }
  else if(today.getDate()==3 || today.getDate()==23) {
    str += "rd ";
  }
  else {
    str += "th ";
  }

  str += months[today.getMonth()]+" ";

  str += today.getFullYear();

  return str;
}

function current_month() {
  var today = new Date();
  return months[today.getMonth()];
}

function current_year() {
  var today = new Date();
  return today.getFullYear();
}
