
/*
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-05-06T02:30:26');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Toxins inflicting \'grievous harm\'';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Toxins inflicting \'grievous harm\'',
		'Widespread exposure to environmental toxins poses a serious threat to Americans, causing "grievous harm" that government agencies have not adequately addressed, according to a strongly worded report released today by the President\'s Cancer Panel, a body...',
		'Toxins inflicting \'grievous harm\'',
		'Liz Szabo',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_06_eng-usatoday_news_eng-usatoday_news_023026_3113950342537677227.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-06T02:01:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Less than 6 hours of sleep can kill you';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Less than 6 hours of sleep can kill you',
		'People who sleep for less than 6 hours each night have an increased risk of dying prematurely, British and Italian researchers said.',
		'Less than 6 hours of sleep can kill you',
		'',
		'Copyright United Press International 2010',
		'WARWICK, England, May 6 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_06_comtex_144586342.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T08:34:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Common skin cancers decreasing in Alberta';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Common skin cancers decreasing in Alberta',
		'Strong skin cancer awareness campaigns begun more than 20 years ago are contributing to the stabilization of skin cancer rates in Canada, researchers said.',
		'Common skin cancers decreasing in Alberta',
		'',
		'Copyright United Press International 2010',
		'EDMONTON, Alberta, May 4 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_05_comtex_144545380.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Pueblo Chieftain, Colo.');

	title = '\'Unintentional\' baby or a deliberate choice?';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'\'Unintentional\' baby or a deliberate choice?',
		'May 4--The term "unintended pregnancy" came up a lot Monday morning at a community meeting held at Colorado State University-Pueblo. It was even on the flyer: "Help Prevent Unintended Pregnancy in Pueblo!"',
		'\'Unintentional\' baby or a deliberate choice?',
		'John Norton',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-1252-PB-Unintentional-baby-or-a-deliberate-choice-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Connecticut Post, Bridgeport');

	title = 'Boehringer Ingelheim gets time for CFC-free inhaler';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Boehringer Ingelheim gets time for CFC-free inhaler',
		'May 4--Ridgefield-based Boehringer Ingelheim Pharmaceuticals is working on creating an inhaler free of chlorofluorocarbons for its Combivent respiratory medicine to conform to pending Food and Drug Administration regulations.',
		'Boehringer Ingelheim gets time for CFC-free inhaler',
		'Michael C. Juliano',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-1029-BG-Boehringer-Ingelheim-gets-time-for-CFC-free-inhaler-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Salt Lake Tribune');

	title = 'Symphony devotes month to Alzheimer\'s patients';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Symphony devotes month to Alzheimer\'s patients',
		'May 4--Five years after Harlan Snow\'s Alzheimer\'s diagnosis, his wife Joy Snow has watched what she calls the "slow, depressing process" of seeing her husband withdraw into a different world.',
		'Symphony devotes month to Alzheimer\'s patients',
		'David Burger',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-1501-ST-HLT-Symphony-devotes-month-to-Alzheimer-s-patients-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Buffalo News, N.Y.');

	title = 'Easing the backpack burden: Students can take steps to lessen risk';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Easing the backpack burden: Students can take steps to lessen risk',
		'May 4--Maybe you\'re a parent or family member who has picked up a child\'s backpack--only to be staggered by its heft.',
		'Easing the backpack burden: Students can take steps to lessen risk',
		'Charity Vogel',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-2385-BF-Easing-the-backpack-burden-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Sacramento Bee, Calif.');

	title = 'New steak joins lineup of 100-calorie food items';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'New steak joins lineup of 100-calorie food items',
		'May 5--When it comes to calories, 100 is a magic number.',
		'New steak joins lineup of 100-calorie food items',
		'Debbie Arrington',
		'',
		'20100505',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_05__0000-2802-SA-New-steak-joins-lineup-of-100-calorie-food-items-0505.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Sacramento Bee, Calif.');

	title = 'Kaiser presses suppliers on \'green hospital\' goals';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Kaiser presses suppliers on \'green hospital\' goals',
		'May 5--Kaiser Permanente, which has been on the leading edge of the "green hospital" movement, said Tuesday it will begin pressuring its suppliers to be better stewards of the environment and public health.',
		'Kaiser presses suppliers on \'green hospital\' goals',
		'Bobby Caina Calvan',
		'',
		'20100505',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_05__0000-2805-SA-HLT-Kaiser-presses-suppliers-on-green-hospital-goals-0505.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T00:40:13');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Sleep, behavior problems linked in autism';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Sleep, behavior problems linked in autism',
		'U.S. researchers linked sleep problems in children with autism spectrum disorders to behavioral problems.',
		'Sleep, behavior problems linked in autism',
		'',
		'Copyright United Press International 2010',
		'VANCOUVER, British Columbia, May 5 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_04_comtex_144531298.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T01:19:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Broccoli compound limits breast cancer';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Broccoli compound limits breast cancer',
		'U.S. researchers suggest a compound found in broccoli targets the cells that fuel tumor growth.',
		'Broccoli compound limits breast cancer',
		'',
		'Copyright United Press International 2010',
		'ANN ARBOR, Mich., May 5 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_05_comtex_144532620.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Salt Lake Tribune');

	title = 'Recovery Act funds diabetic management program in Utah: Federal program will track diabetic treatment.';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Recovery Act funds diabetic management program in Utah: Federal program will track diabetic treatment.',
		'May 4--WASHINGTON -- A new federal program will track the treatment of diabetics in three Utah counties in a bid to spur greater use of electronic health records, according to a White House official.',
		'Recovery Act funds diabetic management program in Utah: Federal program will track diabetic treatment.',
		'Matt Canham',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-1505-ST-Recovery-Act-funds-diabetic-management-program-in-Utah-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T02:04:01');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Supplements may increase cancer risk';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Supplements may increase cancer risk',
		'High doses of antioxidant supplements such as vitamins C and E -- not foods -- may actually increase cancer risk, U.S. researchers said.',
		'Supplements may increase cancer risk',
		'',
		'Copyright United Press International 2010',
		'LOS ANGELES, May 5 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_05_comtex_144533602.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T00:16:01');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Teen girls abuse drugs more than boys';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Teen girls abuse drugs more than boys',
		'Men tend to abuse medications more than women, but for females ages 12-17 there is a higher rate of girls abusing medications, U.S. researchers say.',
		'Teen girls abuse drugs more than boys',
		'',
		'Copyright United Press International 2010',
		'BETHESDA, Md., May 5 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_04_comtex_144530413.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T07:11:07');
	publicationMetadata = new MakePublicationMetadata('Chicago Tribune');

	title = 'Diagnosing Possible Skin Cancers Can Be Confusing, So Show Your Doctor Anything Suspicious';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Diagnosing Possible Skin Cancers Can Be Confusing, So Show Your Doctor Anything Suspicious',
		'As a sun lover with a fair complexion and a history of blistering sunburns, I\'ve spent much of the last decade waiting for skin cancer. So when I noticed that a fleshy pink nodule on the side of my head seemed to be growing exponentially, I headed to...',
		'Diagnosing Possible Skin Cancers Can Be Confusing, So Show Your Doctor Anything Suspicious',
		'Julie Deardorff',
		'(c) 2010, Chicago Tribune. Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2010_05_04_knigt_9322-0040-HEALTH-SKINCANCER.TB.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Oregonian, Portland, Ore.');

	title = 'Oregon kids show decrease in obesity rates';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Oregon kids show decrease in obesity rates',
		'May 4--KIDS IN OREGON -- unlike those in 49 other states -- are getting leaner, a new study suggests.',
		'Oregon kids show decrease in obesity rates',
		'Joe Rojas-Burke',
		'',
		'20100504',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_04__0000-1689-PO-HLT-Oregon-kids-show-decrease-in-obesity-rates-0504.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-06T02:30:27');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Spill raises concerns of health effects';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Spill raises concerns of health effects',
		'Lawsuits are already being prepared alleging harm to people who are living near or working to clean up the Deepwater Horizon oil spill off the coast of Louisiana. The law firm Smith Stag in New Orleans says it has assembled a group of lawyers in the Gulf...',
		'Spill raises concerns of health effects',
		'Elizabeth Weise',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_06_eng-usatoday_news_eng-usatoday_news_023027_2535580963295161949.ew.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-06T08:40:15');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Some prosciutto products are recalled';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Some prosciutto products are recalled',
		'The U.S. Food Safety and Inspection Service announced the recall of about 70 pounds of Casa Italia-brand prosciutto products due to possible contamination.',
		'Some prosciutto products are recalled',
		'',
		'Copyright United Press International 2010',
		'WASHINGTON, May 6 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_05_06_comtex_144601136.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-06T07:20:00');
	publicationMetadata = new MakePublicationMetadata('New York Times Syndicate');

	title = 'Doctor Calls Bill \'Repulsive\'';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Doctor Calls Bill \'Repulsive\'',
		'Requiring doctors to describe fetal development to women seeking abortions may make good politics. But physicians say it isn\'t good medicine.',
		'Doctor Calls Bill \'Repulsive\'',
		'Letitia Stein',
		'c.2009 St. Petersburg Times',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'nytsyn_2010_05_06_medic_3445-0001-pat_nytimes.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Las Vegas Review-Journal');

	title = 'Jury finds drugmakers liable in hepatitic C case';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Jury finds drugmakers liable in hepatitic C case',
		'May 5--A jury has found two drug companies liable for the hepatitis C infection of a Las Vegas man.',
		'Jury finds drugmakers liable in hepatitic C case',
		'Brian Haynes',
		'',
		'20100505',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_05_05__0000-9227-LV-Jury-finds-drugmakers-liable-in-hepatitic-C-case-0505.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T02:30:58');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Hospitals can slow heart patients\' rate of return';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Hospitals can slow heart patients\' rate of return',
		'Hospitals can slow the revolving door that shuttles heart failure patients back into bed within a month of going home by following up promptly to ensure patients get the right outpatient care, a study shows.',
		'Hospitals can slow heart patients\' rate of return',
		'Steve Sternberg',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_05_eng-usatoday_life_eng-usatoday_life_023058_6494457892256213432.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T02:30:50');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Doctors trying to reduce radiation risk from imaging scans';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Doctors trying to reduce radiation risk from imaging scans',
		'Doctors are exploring ways to reduce the amount of radiation exposure from medical imaging tests in light of renewed concerns about the cancer risk, according to research presented at a radiology conference this week.',
		'Doctors trying to reduce radiation risk from imaging scans',
		'Liz Szabo',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_05_eng-usatoday_money_eng-usatoday_money_023050_1313854914652429694.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-05T02:30:55');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'FDA: Tylenol drugmaker knew of contamination';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'FDA: Tylenol drugmaker knew of contamination',
		'Food and Drug Administration inspectors found in April that McNeil Consumer Healthcare, which has voluntarily recalled certain lots of its children\'s and infants\' Tylenol products, knowingly used bacteria-contaminated materials to make them, a report...',
		'FDA: Tylenol drugmaker knew of contamination',
		'Rita Rubin',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_05_eng-usatoday_news_eng-usatoday_news_023055_5719377107362565547.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T02:00:54');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Refusing kids\' vaccine more common';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Refusing kids\' vaccine more common',
		'Nearly 40% of parents of toddlers have delayed or refused a child\'s vaccination -- a practice that endangers not only their children but others around them, a study reported Monday.',
		'Refusing kids\' vaccine more common',
		'Liz Szabo',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_04_eng-usatoday_life_eng-usatoday_life_020054_3905491093944169359.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-05-04T02:00:47');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = '\'Choose You\' kicks off today';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'\'Choose You\' kicks off today',
		'Just in time for Mother\'s Day, the American Cancer Society unveils a national campaign today encouraging women to put their health first and reduce their cancer risk. One in three women will be diagnosed with cancer in her lifetime, the society says.',
		'\'Choose You\' kicks off today',
		'Jeff Martin and Liz Szabo',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_05_04_eng-usatoday_money_eng-usatoday_money_020047_2064004895574048931.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = 'PROWEB_Health';
	contentSetName = 'Health';
	contentSetLanguage = '';
	contentSetPublishedDate = '2010-05-06T18:11:57';

	id = 'PROWEB_Health';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
