
/*
SMMiLe JavaScript Object Model
Version 1.0
By Daryl Beattie
Copyright 2000, ScreamingMedia

SAMPLE USAGE [note that "script" tag is broken as "sc ript" so that it does not end this script]:

The code blow goes in the <HEAD> section of your HTML file
replace "JSDir/ContentSetID" with your JavaScript file path and name

	<sc ript language="JavaScript" src="JSDir/ContentSetID.js"></sc ript>
	<sc ript language="JavaScript">
		if(typeof SMChosenContent != \'undefined\') {
			document.write("<scri" + "pt language=\"JavaScript\" src=\"JSDir/ContentSetID" + SMChosenContent + ".js\"></sc" + "ript>");
		}
	</scr ipt>

The JavaScript objects are modelled after the SMMiLe XML structure:

<content-set>
	<content>
		<article>
			<title>...</title>
			<metadata>...</metadata>
			<core>...</core>
			<body>...</body>
		</article>
	</content>
</content-set>

As for the JavaScript, it is structured like this:

contentSet[0](id, name, language, publishedDate, contents)
|--	contents[i](id, revisionId, type, language, role, article) 
	|
	|--	article(title, metadata, core, body)
		|
		|--	metadata(documentMetadata, publicationMetadata, structuralMetadata, subjectMetadata, relatedContentMetadata, processingMetadata)
		|	|--	documentMetadata(storage, publisherReleaseDate)
		|	|--	publicationMetadata(publicationName)
		|	|--	structuralMetadata()
		|	|--	subjectMetadata()
		|	|--	relatedContentMetadata()
		|	|--	processingMetadata()
		|
		|--	core(summaryHeadline, docAbstract, headline, author, copyright, dateLine, dateTime, type)

An example of using this object model to print out the body of the second
article is:

	document.write(SMContentSet[0].contents[1].article.body);

*/


function displayContentPage(url, contentNum) {
	window.location = url + "?SMContentIndex=" + contentNum + "&SMContentSet=" + 0;
}

function displayContentPage(url, contentNum, contentSetNum) {
	window.location = url + "?SMContentIndex=" + contentNum + "&SMContentSet=" + contentSetNum;
}

function getParamValue(matchString, defaultValue) {
	var thisURL = window.location.toString();
	var value = defaultValue;
	if ((thisURL.indexOf("?") != -1) &&
	    (thisURL.indexOf(matchString) != -1) &&
	    (thisURL.charAt(thisURL.indexOf(matchString) + matchString.length) != "&")) {
		start = thisURL.indexOf(matchString) + matchString.length;
		if (thisURL.indexOf("&", start) > -1) {
			value = thisURL.substring(start, (thisURL.indexOf("&", start)));
		}
		else {
			value = thisURL.substring(start, thisURL.length);
		}
	}
	if (value == "NaN") {
		value = devaultValue;
	}
	return value;
}

var SMChosenContent = Number(getParamValue("SMContentIndex=", -1));
var SMChosenContentSet = Number(getParamValue("SMContentSet=", 0));

function prettyDate(date) {
	var result;
	if (date.substring(5,7) == "01") {result = "January ";}
	else if (date.substring(5,7) == "02") {result = "February ";}
	else if (date.substring(5,7) == "03") {result = "March ";}
	else if (date.substring(5,7) == "04") {result = "April ";}
	else if (date.substring(5,7) == "05") {result = "May ";}
	else if (date.substring(5,7) == "06") {result = "June ";}
	else if (date.substring(5,7) == "07") {result = "July ";}
	else if (date.substring(5,7) == "08") {result = "August ";}
	else if (date.substring(5,7) == "09") {result = "September ";}
	else if (date.substring(5,7) == "10") {result = "October ";}
	else if (date.substring(5,7) == "11") {result = "November ";}
	else {result = "December ";}
	if (date.charAt(8) == "0") {result += date.charAt(9);}
	else {result += date.substring(8,10);}
	return result + ", " + date.substring(0,4);
}

// Metadata sub-type element objects.
function MakeDocumentMetadata(myStorage, myPublisherReleaseDate) {
	this.storage = myStorage;
	this.publisherReleaseDate = myPublisherReleaseDate;
}
function MakePublicationMetadata(myPublicationName) {
	this.publicationName = myPublicationName;
}
function MakeStructuralMetadata() { }
function MakeSubjectMetadata() { }
function MakeRelatedContentMetadata() { }
function MakeProcessingMetadata() { }

// Metadata element object (made up of the sub-types).
function MakeMetadata(myDocumentMetadata, myPublicationMetadata, myStructuralMetadata, mySubjectMetadata, myRelatedContentMetadata, myProcessingMetadata) {
	this.documentMetadata = myDocumentMetadata;
	this.publicationMetadata = myPublicationMetadata;
	this.structuralMetadata = myStructuralMetadata;
	this.subjectMetadata = mySubjectMetadata;
	this.relatedContentMetadata = myRelatedContentMetadata;
	this.processingMetadata = myProcessingMetadata;
}

// Core element object
function MakeCore(mySummaryHeadline, myAbstract, myHeadline, myAuthor, myCopyright, myDateLine, myDateTime, myType) {
	this.summaryHeadline = mySummaryHeadline;
	this.docAbstract = myAbstract;
	this.headline = myHeadline;
	this.author = myAuthor;
	this.copyright = myCopyright;
	this.dateLine = myDateLine;
	this.dateTime = myDateTime;
	this.type = myType;
}

// Article element object
function MakeArticle(myTitle, myMetadata, myCore, myBody) {
	this.title = myTitle;
	this.metadata = myMetadata;
	this.core = myCore;
	this.body = myBody;
}

// Content element object
function MakeContent(myId, myRevisionId, myType, myLanguage, myRole, myArticle) {
	this.id = myId;
	this.revisionId = myRevisionId;
	this.type = myType;
	this.language = myLanguage;
	this.role = myRole;
	this.article = myArticle;
}

// Content-set master element object
function MakeContentSet(myId, myName, myLanguage, myPublishedDate, myContents) {
	this.id = myId;
	this.name = myName;
	this.language = myLanguage;
	this.publishedDate = myPublishedDate;
	this.contents = myContents;
}

{ // This block intializes the data objects.

	var Index = -1;
	if (typeof SMContentSet == "undefined") {
		var SMContentSet = new Array();
	}
	var contents = new Array();
//////////////////////// This section is made PER CONTENT (because the actual data is written in here)

	
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-01T09:25:11');
	publicationMetadata = new MakePublicationMetadata('PrimeNewswire');

	title = 'Zevotek Introduces New CEO';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Zevotek Introduces New CEO',
		'NEW YORK, March 1, 2010 (GLOBE NEWSWIRE) -- Zevotek, Inc. (OTCBB:ZVTK) (Frankfurt:T5V1), a worldwide direct marketer and distributor of innovative personal and home care items, announced Friday the appointment of Mr. Robert Babkie as its CEO, CFO and...',
		'Zevotek Introduces New CEO',
		'',
		'Copyright PrimeNewswire 2010',
		'NEW YORK, March 1',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_01_comtex_141886930.anpa',
		'01267453906439',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-26T07:03:09');
	publicationMetadata = new MakePublicationMetadata('PRNewswire');

	title = 'Yankee Candle Names New CFO';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Yankee Candle Names New CFO',
		'SOUTH DEERFIELD, Mass., Feb. 26 /PRNewswire/ -- The Yankee Candle Company, Inc. ("Yankee Candle" or the "Company"), the leading designer, manufacturer, wholesaler and retailer of premium scented candles, today announced that Gregory W. Hunt will be joining...',
		'Yankee Candle Names New CFO',
		'',
		'Copyright PRNewswire 2010',
		'SOUTH DEERFIELD, Mass.',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_26_comtex_141784283.anpa',
		'01267454419189',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-26T12:06:45');
	publicationMetadata = new MakePublicationMetadata('Xinhua News Agency - CEIS');

	title = 'Wal-Mart to Reduce Emissions by 20M Metric Tons by 2015';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Wal-Mart to Reduce Emissions by 20M Metric Tons by 2015',
		'Wal-Mart to reduce emissions from supply chain LOS ANGELES, Feb. 25 (Xinhua) -- Retail giant Wal-Mart Stores Inc. pledged on Thursday that it will take drastic measures to reduce greenhouse emissions so as to ensure a growth of sustainability. As part...',
		'Wal-Mart to Reduce Emissions by 20M Metric Tons by 2015',
		'',
		'Copyright Xinhua News Agency - CEIS 2010',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_26_comtex_141796103.anpa',
		'01267221993942',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-26T07:40:18');
	publicationMetadata = new MakePublicationMetadata('PRNewswire');

	title = 'Harland Clarke Holdings Income Plunges 64.6% in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Harland Clarke Holdings Income Plunges 64.6% in 4Q',
		'DECATUR, Ga., Feb. 26 /PRNewswire/ -- Harland Clarke Holdings Corp. ("Harland Clarke Holdings" or the "Company") today reported results for the fourth quarter and year ended December 31, 2009. In addition to the Harland Clarke Holdings Annual Report on...',
		'Harland Clarke Holdings Income Plunges 64.6% in 4Q',
		'',
		'Copyright PRNewswire 2010',
		'DECATUR, Ga.',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_26_comtex_141786858.anpa',
		'01267454044252',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-25T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Dallas Morning News');

	title = 'GameStop CFO Resigns for Wal-Mart Post After Short Stay';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'GameStop CFO Resigns for Wal-Mart Post After Short Stay',
		'Feb. 25--GameStop Corp. chief financial officer Catherine Smith has resigned after barely six months on the job for a position with Wal-Mart Stores Inc.',
		'GameStop CFO Resigns for Wal-Mart Post After Short Stay',
		'Victor Godinez',
		'',
		'20100225',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_02_25__0000-3050-DA-GameStop-CFO-leaves-for-Wal-Mart-post-after-barely-six-months-0225',
		'01267222241848',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-25T16:11:22');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Gap\'s 4Q Profit Buoyed by Old Navy\'s Strong Performance';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Gap\'s 4Q Profit Buoyed by Old Navy\'s Strong Performance',
		'SAN FRANCISCO - Gap said Thursday that strong sales at its lower-priced Old Navy chain helped its fourth-quarter profit rise 45 percent.',
		'Gap\'s 4Q Profit Buoyed by Old Navy\'s Strong Performance',
		'',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_25_ap.online.all_D9E3EEU80_news_ap_org.anpa',
		'01267222370036',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-25T09:04:43');
	publicationMetadata = new MakePublicationMetadata('Business Wire');

	title = 'SKECHERS Expands Global Reach with New Flagship Store in London';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'SKECHERS Expands Global Reach with New Flagship Store in London',
		'',
		'SKECHERS Expands Global Reach with New Flagship Store in London',
		'',
		'Copyright Business Wire 2010',
		'MANHATTAN BEACH, Calif.',
		'',
		'pr'
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_25_comtex_141736791.anpa',
		'01267222605630',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-25T15:08:08');
	publicationMetadata = new MakePublicationMetadata('PRNewswire-FirstCall');

	title = 'Sears Establishes New Apparel Office in San Francisco';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Sears Establishes New Apparel Office in San Francisco',
		'SAN FRANCISCO, Feb. 25 /PRNewswire-FirstCall/ -- Sears Holdings announced today that the company has signed a long-term lease with Thor Equities to occupy 25,000 square feet in the historic Phelan Building, officially establishing a new San Francisco...',
		'Sears Establishes New Apparel Office in San Francisco',
		'',
		'Copyright PRNewswire-FirstCall 2010',
		'SAN FRANCISCO',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_25_comtex_141750247.anpa',
		'01267221765770',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-25T08:04:07');
	publicationMetadata = new MakePublicationMetadata('PRNewswire');

	title = 'eBay Acquires Social Venture World of Good Inc.';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'eBay Acquires Social Venture World of Good Inc.',
		'EMERYVILLE, Calif., Feb. 25 /PRNewswire/ -- World of Good Inc., a five-year-old social venture that connects artisans from developing communities with mainstream retail markets, announced today that eBay has fully acquired its brand and related assets....',
		'eBay Acquires Social Venture World of Good Inc.',
		'',
		'Copyright PRNewswire 2010',
		'EMERYVILLE, Calif.',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_25_comtex_141733733.anpa',
		'01267126817520',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T16:10:59');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'TJX 4Q Profit Rises 58%';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'TJX 4Q Profit Rises 58%',
		'CHICAGO - Discount retailer TJX Cos. Inc. unveiled ambitious plans to expand Wednesday, saying the company beloved by bargain hunters could ultimately double in size.',
		'TJX 4Q Profit Rises 58%',
		'By ASHLEY M. HEHER (AP Retail Writer)',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_24_ap.online.all_D9E2PBO02_news_ap_org.anpa',
		'01267126704302',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Palm Beach Post, Fla.');

	title = 'Office Depot Narrows Losses in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Office Depot Narrows Losses in 4Q',
		'Feb. 23--BOCA RATON -- The past year hasn\'t been easy for Office Depot, whose business was hit hard by the Great Recession.',
		'Office Depot Narrows Losses in 4Q',
		'Allison Ross',
		'',
		'20100224',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_02_23__0000-4936-PM-Office-Depot-s-losses-narrow-in-fourth-quarter-0223',
		'01267109629880',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T18:00:00');
	publicationMetadata = new MakePublicationMetadata('Asia Pulse Pte Ltd');

	title = 'Tommy Hilfiger to Open 35 Outlets in India';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Tommy Hilfiger to Open 35 Outlets in India',
		'NEW DELHI,Feb 24 Asia Pulse - US-based premium apparel and accessories brand Tommy Hilfiger today said it will open 35 outlets and launch new range of apparels and footwear this year as part of plans to increase footprint in the Indian market.',
		'Tommy Hilfiger to Open 35 Outlets in India',
		'',
		'(C) 2010 Asia Pulse Pte Ltd.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'asiapulse_2010_02_24_ix_2599-0070-',
		'01267023462380',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T08:36:07');
	publicationMetadata = new MakePublicationMetadata('PRNewswire');

	title = 'PRIVATE SHOPPES Launches In-Flight Catalog for Exclusive Passengers';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'PRIVATE SHOPPES Launches In-Flight Catalog for Exclusive Passengers',
		'BIRMINGHAM, Ala., Feb. 24 /PRNewswire/ -- PRIVATE SHOPPES, LLC, a Birmingham-based direct marketing firm, has developed a specialty in-flight and online catalog exclusively for general aviation passengers. This market, 2.5-3.5 million passengers annually,...',
		'PRIVATE SHOPPES Launches In-Flight Catalog for Exclusive Passengers',
		'',
		'Copyright PRNewswire 2010',
		'BIRMINGHAM, Ala.',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_24_comtex_141677571.anpa',
		'01267023324895',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T16:05:18');
	publicationMetadata = new MakePublicationMetadata('Business Wire');

	title = 'True Religion Apparel\'s Direct Sales Surge 84.8% in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'True Religion Apparel\'s Direct Sales Surge 84.8% in 4Q',
		'results for the quarter and year ended December 31, 2009. Fourth Quarter 2009 Financial Results Total net sales were $92.8 million, an increase of 27.2% as compared',
		'True Religion Apparel\'s Direct Sales Surge 84.8% in 4Q',
		'',
		'Copyright Business Wire 2010',
		'VERNON, Calif.',
		'',
		'pr'
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_24_comtex_141694836.anpa',
		'01267111225567',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T06:09:01');
	publicationMetadata = new MakePublicationMetadata('Business Wire');

	title = 'Muscle Flex to Become Bravada International';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Muscle Flex to Become Bravada International',
		'',
		'Muscle Flex to Become Bravada International',
		'',
		'Copyright Business Wire 2010',
		'LOS ANGELES',
		'',
		'pr'
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_24_comtex_141670355.anpa',
		'01267110961270',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T08:04:45');
	publicationMetadata = new MakePublicationMetadata('Business Wire');

	title = 'Saks Posts $4.6M Loss in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Saks Posts $4.6M Loss in 4Q',
		'',
		'Saks Posts $4.6M Loss in 4Q',
		'',
		'Copyright Business Wire 2010',
		'NEW YORK',
		'',
		'pr'
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_02_24_comtex_141676382.anpa',
		'01267110478848',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-24T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder/Tribune Business News');

	title = 'Home Depot Posts $2.7B Profit in 2009';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Home Depot Posts $2.7B Profit in 2009',
		'Feb. 24--An economic recovery is under way, according to financial results this week from Home Depot and its rival Lowe\'s.',
		'Home Depot Posts $2.7B Profit in 2009',
		'Rachel Tobin Ramos, The Atlanta Journal-Constitution',
		'',
		'20100224',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_02_24__0000-7768-AT-Home-Depot-improves-profit-outlook-0224',
		'01267109928255',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T11:05:25');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Target\'s 4Q Profit Surges 53.7%';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Target\'s 4Q Profit Surges 53.7%',
		'NEW YORK - Lean inventory and stronger-than-expected holiday sales helped Target Corp.\'s fourth-quarter profit soar 53.7 percent, and the company said it expects to pick up market share this year as it rolls out a new store format that includes a bigger...',
		'Target\'s 4Q Profit Surges 53.7%',
		'By ANNE D\'INNOCENZIO (AP Retail Writer)',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_23_ap.online.all_D9E1VPH03_news_ap_org.anpa',
		'01267022120723',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Philadelphia Inquirer');

	title = 'Airgas Board Rejects Takeover Bid From Competitor';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Airgas Board Rejects Takeover Bid From Competitor',
		'Feb. 23--As expected, the board of Airgas Inc. has panned Air Products & Chemicals Inc.\'s $60-per-share offer for the Radnor distributor of packaged gases and other goods.',
		'Airgas Board Rejects Takeover Bid From Competitor',
		'Harold Brubaker',
		'',
		'20100223',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_02_23__0000-3268-PH-Airgas-board-rejects-offer-by-Air-Products-0223',
		'01267126560833',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T16:49:05');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Wal-Mart to Open 40 Supercenters in Canada';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Wal-Mart to Open 40 Supercenters in Canada',
		'MISSISSAUGA, Ontario - Wal-Mart Stores Inc. said Tuesday it will open 35 to 40 Wal-Mart supercenters in Canada this year.',
		'Wal-Mart to Open 40 Supercenters in Canada',
		'',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_23_ap.worldstream.english.business_D9E24QK00_news_ap_org.anpa.ew',
		'01267022022677',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T13:07:40');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Barnes & Noble\'s Profit Falls Despite Online Sales Jump';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Barnes & Noble\'s Profit Falls Despite Online Sales Jump',
		'NEW YORK - Book seller Barnes & Noble said the launch of its new Nook e-book reader helped spur online sales, but weakness at its bookstores led to a drop in profit during its fiscal fourth quarter. It also offered a disappointing outlook for the current...',
		'Barnes & Noble\'s Profit Falls Despite Online Sales Jump',
		'By MAE ANDERSON (AP Retail Writer)',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_23_ap.online.all_D9E21IQG0_news_ap_org.anpa',
		'01267110089364',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T09:13:41');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Sears Profit Rises in Strong 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Sears Profit Rises in Strong 4Q',
		'CHICAGO - Kmart shoppers and cost-cutting helped Sears Holdings Corp. make more money as the retailer posted its best quarterly profit in three years, the department store chain said Tuesday.',
		'Sears Profit Rises in Strong 4Q',
		'By ASHLEY M. HEHER (AP Retail Writer)',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_23_ap.online.all_D9E1U54O0_news_ap_org.anpa',
		'01266954888114',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Seattle Times');

	title = 'Nordstrom\'s Profit More Than Doubles in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Nordstrom\'s Profit More Than Doubles in 4Q',
		'Feb. 23--Nordstrom carried leaner inventories and moved more merchandise at full price during the holiday-sales period, boosting the Seattle company\'s fourth-quarter profit despite a sluggish economy.',
		'Nordstrom\'s Profit More Than Doubles in 4Q',
		'Amy Martinez, Seattle Times',
		'',
		'20100223',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_02_23__0000-3908-SE-Nordstrom-reports-strong-fourth-quarter-profit-0223',
		'01266954635505',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T16:00:22');
	publicationMetadata = new MakePublicationMetadata('M2 Communications');

	title = 'Wal-Mart Acquires Digital Technologies Provider Vudu';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Wal-Mart Acquires Digital Technologies Provider Vudu',
		'Wal-Mart Stores Inc (Walmart) (NYSE: WMT), a US retail chain, yesterday announced that it has signed a definitive agreement to acquire VUDU Inc, a provider of digital technologies, for an undisclosed amount.',
		'Wal-Mart Acquires Digital Technologies Provider Vudu',
		'',
		'(C)1995-2010 M2 Communications',
		'',
		'',
		'pr'
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'm2c_2010_02_23_ciu_0000-1047-ciu_201002231600221_10',
		'01267022235411',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-02-23T10:18:00');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Macy\'s Earns a Profit in 4Q';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Macy\'s Earns a Profit in 4Q',
		'CINCINNATI - Macy\'s Inc. returned to a fourth-quarter profit Tuesday on lower expenses. While sales dipped, the department store operator believes it will be able to boost earnings and revenue for the rest of the year after a solid holiday season.',
		'Macy\'s Earns a Profit in 4Q',
		'',
		'Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ap_2010_02_23_ap.online.all_D9E1V39O0_news_ap_org.anpa',
		'01266938876770',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = '172_DIRECT2B';
	contentSetName = 'DIRECT2B';
	contentSetLanguage = '';
	contentSetPublishedDate = '2010-03-01T08:40:29';

	id = '172_DIRECT2B';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
