/////////////////////////////////////////////////////////
// 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=1912085109&view=92835-0&Start=&htm=0';
var headline = 'Lacklustre year ahead for Canadian economy but recession is avoidable: CIBC ';
var subheadline = ''; //leave as '' if there is no sub-headline
var contact = 'Avery Shenfeld';
var contitle = 'Chief Economist at CIBC';
 
//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

var z = [];

/* 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.push({	// this is z[0] and is ignored
	date : null ,
	headline : null ,
	url : null
});

// insert new articles here

z.push({
	date : 'Dec 22',
	headline : 'Holiday season is a little brighter for kids in need thanks to $4.15 million gift from CIBC',
	url : 'http://micro.newswire.ca/release.cgi?rkey=1912228758&view=92835-0&Start=&htm=0'
});
z.push({
	date : 'Dec 7',
	headline : 'Canadians need to act quickly to avoid overpaying their taxes',
	url : 'http://micro.newswire.ca/release.cgi?rkey=1912074719&view=92835-0&Start=0&htm=0'
}); 
z.push({
	date : 'Nov 2',
	headline : 'Number of New Jobs and their Quality Slowing in Canada: CIBC',
	url : 'http://micro.newswire.ca/release.cgi?rkey=1911029709&view=92835-0&Start=0&htm=0'
}); 
z.push({
	date : 'Oct 3',
	headline : 'Canadian Companies Increasingly Look Beyond U.S. - Trade Partners are 30 Per Cent More Diversified than 10 Years Ago',
	url : 'http://micro.newswire.ca/release.cgi?rkey=1910038590&view=92835-0&Start=0&htm=0'
});

// remove old articles from above	
	
function feedDate(num)
{return (z[num].date)}

function feedLink(num)
{return ('<a href="javascript:newCustomWindow(\''+z[num].url+'\', \'638\', \'480\');">'+z[num].headline+'</a>')}

//////////////////////////////////////////////////////////
