/////////////////////////////////////////////////////////
// World Markets Analysis & Commentary Link
// Implemented: April 2007 //
// Pages: /wm/index.html | /wm/company-information/news-room.html //
// Desc: Displays most recent Analysis & Commentary Link //
////////////////////////////////////////////////////////

var url = 'http://micro.newswire.ca/release.cgi?rkey=1806309345&view=92835-0&Start=0&htm=0';
var headline = 'Chinese economy "rebalancing" - Not headed for dramatic slowdown: CIBC World Markets Inc.';
var subheadline = ''; //leave as '' if there is no sub-headline
var contact = 'Avery Shenfeld';
var contitle = 'Chief Economist, CIBC World Markets Inc.';
 
//var contact2 = '';
//var contitle2 = '';

//////////////////////////////////////////////////////////
// World Markets Newsfeed Listing  //
// Implemented: March 15, 2007 //
// Pages: /wm/index.html | /wm/company-information/news-room.html //
// Desc: Displays recent news items with links //
/////////////////////////////////////////////////////////

var y = 4; //y = total number of news stories displayed, standard number is 3

function create() {this.date = ''; this.headline = ''; this.url = '';}
z = new Array();

for(var i=1; i<=y; i++) { z[i] = new create(); }

/* News Item
	z[1].date = 'MMM DD, YYYY';    //example: JAN 1, 2007
	z[1].headline = '  ';
	z[1].url = '  ';
*/

// z[1] is the MOST RECENT news item, displayed at the top of news feed list

	
	z[1].date = 'May 28';
	z[1].headline = 'Strong fundamentals should see Canada lead G-7 economies in the coming decade: CIBC World Markets Inc.';
	z[1].url = 'http://micro.newswire.ca/release.cgi?rkey=1805287625&view=92835-0&Start=0&htm=0';	
	
	z[2].date = 'May 25';
	z[2].headline = 'Home ownership still affordable but becoming less so for older, lower income Canadians: CIBC World Markets Inc.';
	z[2].url = 'http://micro.newswire.ca/release.cgi?rkey=1805256120&view=92835-0&Start=0&htm=0';

	z[3].date = 'May 12';
	z[3].headline = 'Oil prices likely to hold steady through 2011 despite supply worries: CIBC World Markets Inc.';
	z[3].url = 'http://micro.newswire.ca/release.cgi?rkey=1805122903&view=92835-0&Start=0&htm=0';
	
	z[4].date = 'Apr 29';
	z[4].headline = 'Corporate Canada\'s low debt levels will lessen pain of rate hikes: CIBC World Markets Inc.';
	z[4].url = 'http://micro.newswire.ca/release.cgi?rkey=1804296824&view=92835-0&Start=0&htm=0';	
	
/*
	z[4].date = 'Apr 1';
	z[4].headline = 'Canadian Consumers - Willing but not so able: CIBC World Markets Inc.';
	z[4].url = 'http://micro.newswire.ca/release.cgi?rkey=1804017286&view=92835-0&Start=0&htm=0';
*/

function feedDate(num)
{return (z[num].date)}

function feedLink(num)
{return ('<a href="javascript:newCustomWindow(\''+z[num].url+'\', \'638\', \'480\');">'+z[num].headline+'</a>')}

//////////////////////////////////////////////////////////