
/*
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-12T09:04:54');
	publicationMetadata = new MakePublicationMetadata('Canadian Press');

	title = 'Judge to hear plan to pay $657 million to World Trade Center rescuers, recovery workers';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Judge to hear plan to pay $657 million to World Trade Center rescuers, recovery workers',
		'NEW YORK - A settlement that could pay up to $657.5 million to more than 10,000 rescue and recovery workers sickened by dust from the destroyed World Trade Center goes before a judge Friday.',
		'Judge to hear plan to pay $657 million to World Trade Center rescuers, recovery workers',
		'',
		'?? The Canadian Press, 2010',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'canadianp_eng_2010_03_12_eng-canadianp_world_eng-canadianp_world_090454_1759170355127248725.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-12T06:34:50');
	publicationMetadata = new MakePublicationMetadata('Canadian Press');

	title = 'Mississippi school sued after it calls off senior prom rather than let lesbian couple attend';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Mississippi school sued after it calls off senior prom rather than let lesbian couple attend',
		'JACKSON, Miss. - An 18-year-old lesbian student who wanted to take her girlfriend to her senior prom is asking a federal judge to force her Mississippi school district reinstate the dance it cancelled rather than let the couple attend.',
		'Mississippi school sued after it calls off senior prom rather than let lesbian couple attend',
		'',
		'?? The Canadian Press, 2010',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'canadianp_eng_2010_03_12_eng-canadianp_world_eng-canadianp_world_063450_8860507584203382603.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T02:31:24');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Roberts: Presidential address is \'pep rally\'';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Roberts: Presidential address is \'pep rally\'',
		'WASHINGTON -- Supreme Court Chief Justice John Roberts told an Alabama audience Tuesday that he found the atmosphere "very troubling" at January\'s State of the Union Address, during which President Obama criticized the high court.',
		'Roberts: Presidential address is \'pep rally\'',
		'Joan Biskupic',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_03_10_eng-usatoday_news_eng-usatoday_news_023124_7831056922906230399.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T02:31:20');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Authorities crack down on finch-fighting rings';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Authorities crack down on finch-fighting rings',
		'Tiny birds seem to be the next, albeit improbable, wave in fight-to-the-death blood sport.',
		'Authorities crack down on finch-fighting rings',
		'Sharon L. Peters',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_03_10_eng-usatoday_money_eng-usatoday_money_023120_3701694331360083927.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:49:01');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Jury deliberating in Williams murder case';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Jury deliberating in Williams murder case',
		'Jurors in the trial of a man accused of killing Denver Broncos player Darrent Williams deliberated for a second day Wednesday. The Denver Post said Wednesday based on opinions voiced by two jurors dismissed from the trial of murder suspect Willie D. Clark,...',
		'Jury deliberating in Williams murder case',
		'',
		'Copyright United Press International 2010',
		'DENVER, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142316214.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T14:37:01');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Death penalty waived in Fla. beating case';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Death penalty waived in Fla. beating case',
		'Prosecutors say they won\'t seek the death penalty against a Florida man jailed for seven years without trial in the beating death of his 4-year-old stepson. D\'Andre Bannister, of Riviera Beach, Fla., was charged with first-degree murder in the death of...',
		'Death penalty waived in Fla. beating case',
		'',
		'Copyright United Press International 2010',
		'RIVIERA BEACH, Fla., March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142313654.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T21:10:10');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Source: Roethlisberger says consensual';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Source: Roethlisberger says consensual',
		'Pittsburgh Steelers quarterback Ben Roethlisberger told police he had consensual sexual contact with a woman who has accused him of assault, sources say. KDKA-TV, Pittsburgh, quoted unnamed sources saying that on the night of the alleged assault of a...',
		'Source: Roethlisberger says consensual',
		'',
		'Copyright United Press International 2010',
		'PITTSBURGH, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142328529.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:22:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Freed death row inmate faces appeal';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Freed death row inmate faces appeal',
		'An Ohio man has been freed after years on death row and more recently under house arrest but faces months and possibly years of further legal proceedings. A Cuyahoga Common Pleas judge dismissed all charges against Joe D\'Ambrosio on Friday, The Cleveland...',
		'Freed death row inmate faces appeal',
		'',
		'Copyright United Press International 2010',
		'CLEVELAND, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142315572.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T14:28:03');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Judge spares 30 fighting dogs';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Judge spares 30 fighting dogs',
		'A federal judge in Detroit says about 30 dogs seized from a fighting ring can be adopted or placed in foster homes. Judge David Lawson overruled a prosecutor\'s recommendation in ruling Tuesday that the dogs, mostly pit bulls, did not need to be euthanized....',
		'Judge spares 30 fighting dogs',
		'',
		'Copyright United Press International 2010',
		'DETROIT, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142312984.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:25:08');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Colo. judge: Man\'s pot use not religious';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Colo. judge: Man\'s pot use not religious',
		'A Colorado man was found guilty of possessing marijuana as he tried to make his case that his religious beliefs necessitate cannabis use, records showed. Trevor Douglas, 25, Tuesday told a Georgetown court a conviction would violate his First Amendment...',
		'Colo. judge: Man\'s pot use not religious',
		'',
		'Copyright United Press International 2010',
		'GEORGETOWN, Colo., March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142315600.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:43:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'HIV-positive man faces rape charge';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'HIV-positive man faces rape charge',
		'A young HIV-positive New Jersey man who advised those with the virus to be sexually abstinent has been charged with sexual assault. Rick Webster, 20, of Clinton allegedly had sex with a girl under the age of 16, The Star-Ledger of Newark reported. Dan...',
		'HIV-positive man faces rape charge',
		'',
		'Copyright United Press International 2010',
		'FLEMINGTON, N.J., March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142315877.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:58:02');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Woman sentenced for false Katrina claim';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Woman sentenced for false Katrina claim',
		'A federal judge sentenced a woman to prison for falsely claiming she had a New Orleans home damaged in Hurricane Katrina. U.S. District Judge Thomas Thrash Jr. sentenced Markisha Burks to a year and a day in federal prison for using her fraudulent claim...',
		'Woman sentenced for false Katrina claim',
		'',
		'Copyright United Press International 2010',
		'NEW ORLEANS, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142316320.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T15:55:06');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Doctor headed to prison for cyanide death';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Doctor headed to prison for cyanide death',
		'A judge in Cuyahoga County, Ohio, sentenced Dr. Yazeed Essa to life prison sentence with the possibility of parole for killing his wife with cyanide. The (Cleveland) Plain Dealer said Tuesday\'s sentence from Common Pleas Judge Deena Calabrese followed...',
		'Doctor headed to prison for cyanide death',
		'',
		'Copyright United Press International 2010',
		'CLEVELAND, March 10 (UPI) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_yb_2010_03_11_comtex_142316290.anpa.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-11T08:14:44');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Toyota could face criminal charges related to recalls';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Toyota could face criminal charges related to recalls',
		'Congressional probes, mushrooming lawsuits and a federal probe into reporting of acceleration defects have raised the risk of criminal charges for Toyota.',
		'Toyota could face criminal charges related to recalls',
		'Jayne O\'Donnell',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_03_11_eng-usatoday_money_eng-usatoday_money_081444_6240043584741212338.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-11T08:14:47');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Suit grows out of florists\' law';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Suit grows out of florists\' law',
		'Four are fighting required testing and licensing in Louisiana. The state is the only one with the rule.',
		'Suit grows out of florists\' law',
		'Rick Jervis',
		'Copyright 2009 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2010_03_11_eng-usatoday_news_eng-usatoday_news_081447_801190502516244955.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T09:34:15');
	publicationMetadata = new MakePublicationMetadata('Canadian Press');

	title = 'In rare case, US woman accused of aiding terrorists, agreeing to kill Swedish artist';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'In rare case, US woman accused of aiding terrorists, agreeing to kill Swedish artist',
		'PHILADELPHIA - An indictment against a suburban Philadelphia woman accused of recruiting jihadist fighters online and moving to Europe to try to kill a Swedish artist is a rare case of an American woman aiding foreign terrorists, authorities say, and...',
		'In rare case, US woman accused of aiding terrorists, agreeing to kill Swedish artist',
		'',
		'?? The Canadian Press, 2010',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'canadianp_eng_2010_03_10_eng-canadianp_world_eng-canadianp_world_093415_4651369540567540456.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Free Lance-Star, Fredericksburg, Va.');

	title = 'Man admits to scheme in Stafford smuggling case';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Man admits to scheme in Stafford smuggling case',
		'Mar. 10--One of the 14 people charged in a major contraband cigarette probe started by the Stafford Sheriff\'s Office was convicted yesterday for his role in a murder-for-hire scheme.',
		'Man admits to scheme in Stafford smuggling case',
		'Keith Epps',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2472-FB-Man-admits-to-scheme-in-Stafford-smuggling-case-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Hartford Courant, Connecticut');

	title = 'Felon\'s \'Hit List\' Puts Him Under $1 Million Bail';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Felon\'s \'Hit List\' Puts Him Under $1 Million Bail',
		'Mar. 10--MIDDLETOWN -- The two violation-of-probation charges against Paul B. Graziani didn\'t seem like much.',
		'Felon\'s \'Hit List\' Puts Him Under $1 Million Bail',
		'Alaine Griffin, The Hartford Courant, Conn.',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2774-HC-Felon-s-Hit-List-Puts-Him-Under-1-Million-Bail-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder/Tribune Business News');

	title = 'Jury deliberates in trial of 2 accused of drug smuggling';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Jury deliberates in trial of 2 accused of drug smuggling',
		'Mar. 10--EL PASO -- Jurors will continue deliberating today in the drug-smuggling trial of Fernando Ontiveros-Arambula and Manuel Chavez-Betancourt.',
		'Jury deliberates in trial of 2 accused of drug smuggling',
		'Diana Washington Valdez, El Paso Times, Texas',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2447-EY-Jury-deliberates-in-trial-of-2-accused-of-drug-smuggling-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder/Tribune Business News');

	title = 'Scottdale garden grows legal battle';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Scottdale garden grows legal battle',
		'Mar. 10--Phyllis Georgic and her boyfriend, Thomas Zeller, see the front yard of their Scottdale home as an oasis of organic gardening.',
		'Scottdale garden grows legal battle',
		'Rich Cholodofsky, Tribune-Review, Greensburg, Pa.',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2741-GP-Scottdale-garden-grows-legal-battle-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('York Daily Record, Pa.');

	title = 'Last adult defendant in goat killing to get ARD';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Last adult defendant in goat killing to get ARD',
		'Mar. 10--The last of the three adult men accused of throwing a stolen, living goat off a bridge has been accepted into a non-incarceration probationary program, according to York County court records.',
		'Last adult defendant in goat killing to get ARD',
		'Rick Lee',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2718-YO-Last-adult-defendant-in-goat-killing-to-get-ARD-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder/Tribune Business News');

	title = 'Attorney challenges for District Court';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Attorney challenges for District Court',
		'A personal experience inspired F. Wesley Sigmon to run for District Court judge.',
		'Attorney challenges for District Court',
		'',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2819-HI-Attorney-challenges-for-District-Court-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Dallas Morning News');

	title = 'FBI informant\'s firm files civil suit over Dallas City Hall corruption case';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'FBI informant\'s firm files civil suit over Dallas City Hall corruption case',
		'Mar. 10--The first civil suit seeking millions in damages as a result of the bribery and extortion in the Dallas City Hall corruption case has been filed in a county civil court.',
		'FBI informant\'s firm files civil suit over Dallas City Hall corruption case',
		'Jason Trahan',
		'',
		'20100310',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_10__0000-2330-DA-FBI-informant-s-firm-files-civil-suit-over-Dallas-City-Hall-corruption-case-0310.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-09T08:04:22');
	publicationMetadata = new MakePublicationMetadata('Canadian Press');

	title = 'Closing statements near in trial of man accused of killing Broncos cornerback Darrent Williams';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Closing statements near in trial of man accused of killing Broncos cornerback Darrent Williams',
		'DENVER - Jurors hearing the case against a man accused of killing Denver Broncos cornerback Darrent Williams could soon hear closing statements, a day after the defendant declined to testify.',
		'Closing statements near in trial of man accused of killing Broncos cornerback Darrent Williams',
		'',
		'?? The Canadian Press, 2010',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'canadianp_eng_2010_03_09_eng-canadianp_football_eng-canadianp_football_080422_3840392818898961545.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2010-03-09T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The News Tribune, Tacoma, Wash.');

	title = 'Ex-Army Ranger gets more time in prison';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Ex-Army Ranger gets more time in prison',
		'Mar. 9--A former Army Ranger convicted two years ago of masterminding the takeover-style robbery of a Tacoma bank branch was sentenced Monday to an additional 20 years in prison for soliciting the murder of an assistant U.S. attorney and assaulting a...',
		'Ex-Army Ranger gets more time in prison',
		'Adam Lynn',
		'',
		'20100309',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2010_03_09__0000-2746-TC-SEATTLE-Ex-Army-Ranger-gets-more-time-in-prison-0309.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = 'PROWEB_Legal';
	contentSetName = 'Legal';
	contentSetLanguage = '';
	contentSetPublishedDate = '2010-03-12T08:37:58';

	id = 'PROWEB_Legal';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
