//jquery recent news
/*
$(
	function(){
		$('#recent_stories .footer').cycle(
			{
				fx:'fade',
				timeout:0
			}
		)
	}
);
$(
	function(){
		$('#recent_stories .items').cycle(
			{
				fx:'fade',
				timeout:0
			}
		)
	}
);
*/
//gold ticker
addLoadEvent(function(){GoldTick();});
addLoadEvent(function(){CadGoldTick();});
//scroller
addLoadEvent(function () {
  var el = document.getElementById("Scroller-1-goldalert");
  scroller = new jsScroller(el, 400, 102);
});
//tabs
addLoadEvent(initializeTabs);
//market summary tab
//addLoadEvent(GetMarketSummary);

//addLoadEvent(function(){window.setInterval(GetMarketSummary,300000);});
//quotes tab
addLoadEvent(function(){s('quotes_loading').display='none';s('quotes_output').display='none';/*s('canadian_example').display='none';*/});
if(Cookie.Get('currentQuoteSymbol')!=null){addLoadEvent(function(){d('quote_text').value=Cookie.Get('currentQuoteSymbol');GetQuote(Cookie.Get('currentQuoteSymbol'));});}
// testing



