<!--
//THE FOLLOWING CODE IS FOR THE LINK ARTICLE BANNER CYCLE.
var supported =  new Boolean(false);
var titlArray = new Array();
var txtArray = new Array();
var urlArray = new Array();
var a

function initBannerScript()
{
	if (document.images) {
		supported = true;
		initArrays();
		startIt();
//		img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(...)"; 
	}
}


function initArrays()
{

	if (supported) {
		titlArray[0] = "YARA - KEEPING SASKATCHEWAN AND OUR NEIGHBORS GROWING";
		txtArray[0] = "Yara has been helping provide food and energy for a growing world population . . .";
		urlArray[0] = "/newsroom/link/pdfs/JulyIssue71.pdf#Yara";

 		titlArray[1] = "TRANSGAS STORAGE STATUS";
		txtArray[1] = "June's net storage in injection of 6 PJ's was the highest monthly injection in the past 8 years . . .";
		urlArray[1] = "/newsroom/link/pdfs/JulyIssue71.pdf#TransGasStorage";

		titlArray[2] = "ENERGY TO STORE 2";
		txtArray[2] = "TransGas is proceeding with another storage expansion! . . .";
		urlArray[2] = "/newsroom/link/pdfs/JulyIssue71.pdf#EnergytoStore";
		
		titlArray[3] = "TRANSGAS EMPLOYEES BUILD A \"LOT OF HOPE\"";
		txtArray[3] = "TransGas volunteers helping out in the community . . .";
		urlArray[3] = "/newsroom/link/pdfs/JulyIssue71.pdf#TransGasEmployees";
	
		titlArray[4] = "CHANGES IN TELEMETRY - ONE MAN'S 40 YEAR CAREER";
		txtArray[4] = "Over the years, Bill Thacyk has seen many changes in the way we do business . . .";
		urlArray[4] = "/newsroom/link/pdfs/JulyIssue71.pdf#ChangesinTelemetry";
				
		return;
	}
}
function choosePlaceholders()
{
	if (supported) {
		var upperBound = 4;

		do {
			a = Math.round(upperBound * Math.random());
		} while(a < 0 || a > upperBound || a == GetCookie('linkarticle'))

		//document ['placeholder1'].src = txtArray[a];
		document.getElementById('linkarticle').innerHTML = "<span class='pressreleaseTitle'>" + titlArray[a] + "</span><br>" + txtArray[a] 
		document.getElementById('linkarticlelink').innerHTML = "<a href='" + urlArray[a] + "'>More... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>" 
		SetCookie('linkarticle', a, '/', null, null, null);
		return;
	}
}
function startIt()
{
	if (supported) {
		choosePlaceholders();
		setInterval("choosePlaceholders()",10000);
	}
}
function getPlaceholderUrl()
{
	if (supported) {
		//window.open(urlArray[a]);
		location.href = urlArray[a];
	}
}
//-->