$(document).ready(function(){

	var pars = '';
	$('div#lse_news_page a').each(function(){
		var sExistingHtml = $(this).html();

		if( $(this).attr('href').indexOf('item=') > 1 )
		{

			pars = $(this).attr('href').split('&');

			for( i=0; i<pars.length; i++ )
			{
				aTemp = pars[i].split('=');
				if( aTemp[0] == 'item')
				{
					$(this).attr('href', 'http://online.hemscottir.com/ir/sthr/ir.jsp?page=news-item&item='+aTemp[1]);
					$(this).attr('onclick',"window.open(this.href,'LSE NEWS','width=900,height=500,scrollbars=yes,resizable=no');return false");
				}
				delete aTemp;

			}
		}

	});

});