// ==UserScript==
// @name chester-le-track.co.uk - Rail News ticker fix
// @author scipio 
// @namespace http://home.wanadoo.nl/sipke.reina/opera/index.html
// @description  Fixes the Rail News block on the "Chester-le-Track
//			Rail News site so that it displays properly in
//			Opera.
// @ujs:category site: fixes
// @ujs:published 2005-05-20 20:40
// @ujs:modified 2005-09-19 09:19
// @ujs:documentation http://userjs.org/scripts/site/fixes/chester-le-track-ticker 
// @ujs:download http://userjs.org/scripts/download/site/fixes/chester-le-track-ticker.js
// ==/UserScript==


/* 
 * Anyone is free to use and modify this script.
 */

if (window.location.host.indexOf('chester-le-track.co.uk') > -1){
  window.opera.addEventListener('BeforeScript',function(ev){
    if(ev.element.text.indexOf('marqueewidth')>-1){
      ev.element.text=ev.element.text.replace(/<p>/g,'<br><br>');
    }
  },false);
}