function EventObj(Title, StartDate, Company, Venue, Price, Link) {
  this.title = Title;
  this.startdate = StartDate;
  this.company = Company;
  this.venue = Venue;
  this.price = Price;
  this.link = Link;
}
document.writeln('<font face="Verdana, Arial" size="2" color="#000000">');document.writeln('<p>Found 18 event/s in Manchester...</p>');
var events = [];
events[0] = new EventObj('Speed Dating', 'Wed 4th August', 'Fastlove', 'La Tasca', '15.00', 'http://www.fastlovespeeddating.co.uk/speed-dating.php?city=Didsbury');
events[1] = new EventObj('Speed Dating', 'Fri 6th August', 'Elite Speed Dating', 'The Circle Club', '25.00', 'http://www.elitespeeddating.co.uk/Speed-Dating-Manchester');
events[2] = new EventObj('Speed Dating', 'Fri 6th August', 'Elite Speed Dating', 'The Circle Club', '25.00', 'http://www.elitespeeddating.co.uk/Speed-Dating-Manchester');
events[3] = new EventObj('Asian Dating', 'Sun 8th August', 'Asian D8 Events', 'Revolution Bar - Manchester', '13.50', 'http://www.chillitickets.com/AsianEvents/Events/Product/9913/ADMAN08082010/HinduandSikhSpeedDating-Manchester.aspx');
events[4] = new EventObj('Speed Dating', 'Mon 9th August', 'Fastlove', 'La Tasca', '15.00', 'http://www.fastlovespeeddating.co.uk/speed-dating.php?city=Didsbury');
events[5] = new EventObj('Speed Dating', 'Wed 11th August', 'Fastlove', 'Label', '15.00', 'http://www.fastlovespeeddating.co.uk/speed-dating.php?city=Manchester');
events[6] = new EventObj('Speed Dating', 'Wed 11th August', 'Fastlove', 'Label', '15.00', 'http://www.fastlovespeeddating.co.uk/speed-dating.php?city=Manchester');
events[7] = new EventObj('Speed Dating', 'Thu 12th August', 'SpeedDater', 'Revolution', '19.95', 'http://www.speeddater.co.uk/spd_events.details.php?a_bid=31585523&EventID=11577&a_aid=28115b93');
events[8] = new EventObj('Speed Dating', 'Tue 17th August', 'Click Singles', 'Zizzi', '15.00', 'http://www.clicksingles.co.uk/affiliate/dating-trail/?url=/events/view/381');
events[9] = new EventObj('Speed Dating', 'Wed 18th August', 'Slow Dating', 'Opus', '20.00', 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=117114&merchantID=359&programmeID=1267&mediaID=0&tracking=&url=http://www.slowdating.com/speed-dating/Manchester/102650.aspx?external=true');
events[10] = new EventObj('Speed Dating', 'Fri 20th August', 'Fastlove', 'The Circle Club', '15.00', 'http://www.fastlovespeeddating.co.uk/speed-dating.php?city=Manchester');
events[11] = new EventObj('Speed Dating', 'Thu 26th August', 'SpeedDater', 'Revolution', '19.95', 'http://www.speeddater.co.uk/spd_events.details.php?a_bid=31585523&EventID=11578&a_aid=28115b93');
events[12] = new EventObj('Asian Dating', 'Sun 12th September', 'Asian D8 Events', 'Revolution Bar - Manchester', '15.00', 'http://www.chillitickets.com/AsianEvents/Events/Product/10093/AD120910/MuslimSpeedDating-Manchester.aspx');
events[13] = new EventObj('Speed Dating', 'Wed 15th September', 'Slow Dating', 'Opus', '20.00', 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=117114&merchantID=359&programmeID=1267&mediaID=0&tracking=&url=http://www.slowdating.com/speed-dating/Manchester/102754.aspx?external=true');
events[14] = new EventObj('Speed Dating', 'Thu 16th September', 'SpeedDater', 'Revolution', '19.95', 'http://www.speeddater.co.uk/spd_events.details.php?a_bid=31585523&EventID=11579&a_aid=28115b93');
events[15] = new EventObj('Speed Dating', 'Thu 30th September', 'SpeedDater', 'Revolution', '19.95', 'http://www.speeddater.co.uk/spd_events.details.php?a_bid=31585523&EventID=11580&a_aid=28115b93');
events[16] = new EventObj('Speed Dating', 'Wed 13th October', 'Slow Dating', 'Opus', '20.00', 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=117114&merchantID=359&programmeID=1267&mediaID=0&tracking=&url=http://www.slowdating.com/speed-dating/Manchester/102755.aspx?external=true');
events[17] = new EventObj('Speed Dating', 'Sun 24th October', 'Click Singles', 'Zizzi', '15.00', 'http://www.clicksingles.co.uk/affiliate/dating-trail/?url=/events/view/390');
document.writeln('<table width="100%">');
document.writeln('<thead>');
document.writeln('<tr>');
document.writeln('<th align="left"><font face="Verdana, Arial" size="1" color="#000000">Date</font></td>');
document.writeln('<th align="left"><font face="Verdana, Arial" size="1" color="#000000">Event type</font></td>');
document.writeln('<th align="left"><font face="Verdana, Arial" size="1" color="#000000">Venue</font></td>');
document.writeln('<th align="right"><font face="Verdana, Arial" size="1" color="#000000">Price</font></td>');
document.writeln('<th> </td>');
document.writeln('</tr>');
document.writeln('</thead>');
document.writeln('<tbody>');

for (x=0; x<18; x++) 
{ 


  document.writeln('<tr onMouseOver="style.backgroundColor=\'#C0C0C0\'" onMouseOut="style.backgroundColor=\'\'" style="cursor:hand" onClick="document.location.href=\'' + events[x].link + '\'">');
  document.writeln('<td align="left"><font face="Verdana, Arial" size="2" color="#000000">' + events[x].startdate + '</font></td>');
  document.writeln('<td align="left"><font face="Verdana, Arial" size="2" color="#000000">' + events[x].title + '</font></td>');
  document.writeln('<td align="left"><font face="Verdana, Arial" size="2" color="#000000">' + events[x].venue + '</font></td>');
  document.writeln('<td align="right"><font face="Verdana, Arial" size="2" color="#000000">£' + events[x].price + '</font></td>');
  document.writeln('<td align="right"><font face="Verdana, Arial" size="2" color="blue"><a href="' + events[x].link + '" target="_blank" title="Click here for more information" style="color: #800000"><strong>More Info / Book</strong></a></font></td>');
  document.writeln('</tr>');
} 

document.writeln('</tbody>');
document.writeln('</table>');
document.writeln('</font>');