// Auto-detect relative URL for the controller script
if (typeof window._bcmc == 'undefined')
	window._bcmc = 1;
else
	window._bcmc++;
var scripts = document.getElementsByTagName('script');
for (var i = 0; i < scripts.length; i++) {
	var ss = scripts[i].src;
	if (ss.substring(ss.length - 320) == '/indicesjs.asp?tn=INTRADAY%20INDICES&ttfs=9&ttfc=000000&indicesname=S%26P%2FTSX%2CS%26P%2FTSX+V%2CNYSE%2CS%26P+500%2CNASDAQ%2CCDN+%24&pbg=9&tb=1&cw=152&pbbkc=efefef&ht=off&ta=center&bc=E9E9E5&ttf=verdana&ttbkc=E9E9E5&indices=IT%2ETSXCI%2CIV%2EJX%2CNYA%2CSPX%2CCOMP%2CI1%3ACD%5CY&ttfc=000000&dowjoneschecked=0&spchecked=1') {
		var rnd = Math.floor(Math.random()*10000000);
		ss += (ss.indexOf('?') > -1 ? '&' : '?');
		var url = ss + '_host=' + document.location.hostname
			+ '&_hostparams=' + escape(new String(document.location.search).substring(1))
			+ '&_rnd=' + rnd;
				url += '&key=j' + window._bcmc;
				document.write('<scr'+'ipt language="javascript" src="' + url + '"></scr'+'ipt>');
		break;
	}
}

