
/*
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', '2006-03-08T04:25:16');
	publicationMetadata = new MakePublicationMetadata('NY Post');

	title = 'Pelosi pal gets 6 months';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Pelosi pal gets 6 months',
		'The man who accompanied Danny Pelosi the night he killed millionaire Ted Ammon was sentenced yesterday to six months in prison.',
		'Pelosi pal gets 6 months',
		'SELIM ALGAR',
		'Copyright 2004 NYP Holdings, Inc. All rights reserved.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'nypost_2006_03_08_eng-nypost_eng-nypost_042516_1700931958972865736.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T04:25:21');
	publicationMetadata = new MakePublicationMetadata('NY Post');

	title = 'Evil outburst';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Evil outburst',
		'Defiant terrorist Zacarias Moussaoui pumped his right fist into the air and shouted, "God bless Osama bin Laden" yesterday - moments after jurors heard a chilling tale of the first plane striking the Twin Towers on 9/11.',
		'Evil outburst',
		'NILES LATHEM and ANDY GELLER',
		'Copyright 2004 NYP Holdings, Inc. All rights reserved.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'nypost_2006_03_08_eng-nypost_eng-nypost_042521_871919722014345021.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T04:00:05');
	publicationMetadata = new MakePublicationMetadata('The Atlanta Journal-Constitution');

	title = 'Wal-Mart, Activist Fight Over T-shirts';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Wal-Mart, Activist Fight Over T-shirts',
		'Comparing Wal-Mart\'s business practices to the Holocaust --- figure that might raise the retailer\'s hackles?',
		'Wal-Mart, Activist Fight Over T-shirts',
		'CHRISTINE VAN DUSEN',
		'Copyright 2006 The Atlanta Journal-Constitution',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ajc_2006_03_08_C_57340333-0057-Main.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Chicago Tribune');

	title = 'Lawyer calls case against Ryan lies';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Lawyer calls case against Ryan lies',
		'Mar. 8--Saying former Gov. George Ryan has been put through "seven years of hell" by federal authorities, Ryan\'s lawyer assailed the government\'s case Tuesday as riddled with speculation and hinged on witnesses with powerful motives to lie.',
		'Lawyer calls case against Ryan lies',
		'Matt O\'Connor and Rudolph Bush',
		'',
		'20060308',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2006_03_08_krtbn_0000-0747-TB-0308-Lawyer-Calls-Case-Against-Ryan-Lies.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Chicago Tribune');

	title = '12-year term for not testifying';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'12-year term for not testifying',
		'Mar. 8--In what may have been the longest sentence of its kind imposed in Cook County, a Chicago man was sentenced to 12 years in prison Tuesday for violating a Criminal Court judge\'s order to appear in court and testify against a murder defendant last...',
		'12-year term for not testifying',
		'Jeff Coen',
		'',
		'20060308',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2006_03_08_krtbn_0000-0753-TB-0308-12-Year-Term-For-Not-Testifying.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T02:30:46');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Enron\'s Fastow \'juiced\' books';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Enron\'s Fastow \'juiced\' books',
		'HOUSTON -- The star witness in the trial of former Enron CEOs Ken Lay and Jeff Skilling began his testimony Tuesday, describing a litany of dubious and secretive deals by the company to hit its earnings targets.',
		'Enron\'s Fastow \'juiced\' books',
		'Greg Farrell',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_08_eng-usatoday_news_eng-usatoday_news_023046_4616148456283263228.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-08T02:30:43');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Defense: Moussaoui info wouldn\'t have stopped 9/11';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Defense: Moussaoui info wouldn\'t have stopped 9/11',
		'ALEXANDRIA, Va. -- Defense lawyers for Zacarias Moussaoui suggested Tuesday in a sentencing hearing for the al-Qaeda conspirator that the FBI would not have been able to stop the Sept. 11 plot even if Moussaoui told all he knew.',
		'Defense: Moussaoui info wouldn\'t have stopped 9/11',
		'Kevin Johnson',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_08_eng-usatoday_news_eng-usatoday_news_023043_2244899061784870035.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T17:04:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Israeli in U.S. court to face drug charges';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Israeli in U.S. court to face drug charges',
		'MIAMI, Mar 7, 2006 (UPI via COMTEX) -- Ze\'ev Rosenstein, alleged by U.S. officials to have directed a large multi-country Ecstasy drug operation, appeared in Miami federal court Tuesday.',
		'Israeli in U.S. court to face drug charges',
		'',
		'Copyright 2006 by United Press International',
		'MIAMI, Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-3358-bc-us-rosenstein.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T13:01:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Food-safety labeling law draws opposition';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Food-safety labeling law draws opposition',
		'WASHINGTON, Mar 7, 2006 (UPI via COMTEX) -- Thirty-six state attorneys general oppose a law that would establish a national food-safety labeling system and eliminate states\' authority, a report said.',
		'Food-safety labeling law draws opposition',
		'',
		'Copyright 2006 by United Press International',
		'WASHINGTON, Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-1647-bc-us-foodsafety.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T11:28:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Frisco jewel heist suspect surrenders';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Frisco jewel heist suspect surrenders',
		'SAN FRANCISCO, Mar 7, 2006 (UPI via COMTEX) -- Fugitive Troy Smith, who is accused in a record $6 million San Francisco jewel heist, has quietly turned himself in, a report said Tuesday.',
		'Frisco jewel heist suspect surrenders',
		'',
		'Copyright 2006 by United Press International',
		'SAN FRANCISCO, Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-0911-bc-us-jewelthief.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T12:31:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Babysitter freed, \'Nanny-Cam\' unreliable';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Babysitter freed, \'Nanny-Cam\' unreliable',
		'FORT LAUDERDALE, Fla., Mar 7, 2006 (UPI via COMTEX) -- A Florida babysitter, who spent 29 months in jail, has been freed of child abuse charges because video evidence against her was found to be unreliable.',
		'Babysitter freed, \'Nanny-Cam\' unreliable',
		'',
		'Copyright 2006 by United Press International',
		'FORT LAUDERDALE, Fla., Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-1444-bc-us-nannycam.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T09:10:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Key govt. witness in Enron trial ready';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Key govt. witness in Enron trial ready',
		'HOUSTON, Mar 7, 2006 (UPI via COMTEX) -- A top prosecution witness in the trial of Enron Corp.\'s two former leaders appeared in a Houston courtroom Tuesday ready to testify.',
		'Key govt. witness in Enron trial ready',
		'',
		'Copyright 2006 by United Press International',
		'HOUSTON, Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-8628-bc-us-enron.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T10:42:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Guilty pleas entered in Jackson bugging';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Guilty pleas entered in Jackson bugging',
		'LOS ANGELES, Mar 7, 2006 (UPI via COMTEX) -- Two California men have pleaded guilty in federal court to secretly videotaping pop singer Michael Jackson and trying to sell it to media outlets.',
		'Guilty pleas entered in Jackson bugging',
		'',
		'Copyright 2006 by United Press International',
		'LOS ANGELES, Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-0533-bc-us-jackson.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T10:11:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Students want terror charges in SUV attack';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Students want terror charges in SUV attack',
		'HILLSBOROUGH, N.C., Mar 7, 2006 (UPI via COMTEX) -- Students at the University of North Carolina want the Iranian man who tried to run them down with an SUV charged as a terrorist.',
		'Students want terror charges in SUV attack',
		'',
		'Copyright 2006 by United Press International',
		'HILLSBOROUGH, N.C., Mar 7, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_07_up_0000-0024-bc-us-suvattack.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T04:25:24');
	publicationMetadata = new MakePublicationMetadata('NY Post');

	title = 'Kin face down fiend';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Kin face down fiend',
		'Relatives of 9/11 victims yesterday stared down terrorist Zacarias Moussaoui as they heard prosecutors say their loved ones might still be alive if he had come clean about the monstrous plot.',
		'Kin face down fiend',
		'NILES LATHEM and ANDY GELLER',
		'Copyright 2004 NYP Holdings, Inc. All rights reserved.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'nypost_2006_03_07_eng-nypost_eng-nypost_042524_4026713870684724472.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T04:00:07');
	publicationMetadata = new MakePublicationMetadata('The Atlanta Journal-Constitution');

	title = 'Senate OKs Batten for Federal Judgeship The';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Senate OKs Batten for Federal Judgeship The',
		'An Atlanta lawyer nominated by President Bush was confirmed Monday by the U.S. Senate to fill a vacant judgeship in the federal District Court in Atlanta.',
		'Senate OKs Batten for Federal Judgeship The',
		'SAEED AHMED',
		'Copyright 2006 The Atlanta Journal-Constitution',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ajc_2006_03_07_B_57308955-0053-Main.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T02:30:35');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Abortion battle gains new intensity with ban in S.D.';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Abortion battle gains new intensity with ban in S.D.',
		'The near-total ban on abortion signed into law Monday in South Dakota sets the stage for renewed battles over abortion rights in courts, legislatures and political campaigns.',
		'Abortion battle gains new intensity with ban in S.D.',
		'Jill Lawrence',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_07_eng-usatoday_news_eng-usatoday_news_023035_879804057460350799.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T02:30:35');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Court upholds military recruiting law';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Court upholds military recruiting law',
		'WASHINGTON -- The U.S. government can withhold funds from universities that protest the Pentagon\'s ban on gay men and lesbians by denying military recruiters access to campuses and students, the Supreme Court ruled Monday.',
		'Court upholds military recruiting law',
		'Joan Biskupic',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_07_eng-usatoday_news_eng-usatoday_news_023035_123253693153579114.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T02:30:28');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Lawyer for Scrushy sees Skilling, Lay as \'doomed\'';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Lawyer for Scrushy sees Skilling, Lay as \'doomed\'',
		'HOUSTON -- As if former Enron CEOs Ken Lay and Jeff Skilling don\'t have enough to worry about with the government\'s star witness expected to begin testifying against them today, a prominent defense lawyer who helped win an acquittal for another embattled...',
		'Lawyer for Scrushy sees Skilling, Lay as \'doomed\'',
		'Greg Farrell',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_07_eng-usatoday_money_eng-usatoday_money_023028_8238602343702122194.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T02:30:30');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Star witness Fastow to take stage today';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Star witness Fastow to take stage today',
		'HOUSTON -- Finally, four years after Enron\'s spectacular collapse, the moment everyone\'s been waiting for has arrived: Andrew Fastow, the company\'s disgraced former chief financial officer, is expected to tell his side of the story in court here toda...',
		'Star witness Fastow to take stage today',
		'Greg Farrell',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_07_eng-usatoday_money_eng-usatoday_money_023030_6181259832692283327.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-07T02:30:33');
	publicationMetadata = new MakePublicationMetadata('USA TODAY');

	title = 'Moussaoui chose not to stop 9/11, jury told';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Moussaoui chose not to stop 9/11, jury told',
		'ALEXANDRIA, Va. -- The U.S. government opened its case for the execution of al-Qaeda operative Zacarias Moussaoui on Monday, charging that the French citizen withheld critical information that would have exposed the Sept. 11 plot.',
		'Moussaoui chose not to stop 9/11, jury told',
		'Kevin Johnson',
		'&Acirc;&copy; Copyright 2006 USA TODAY, a division of Gannett Co. Inc.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'usatoday_2006_03_07_eng-usatoday_news_eng-usatoday_news_023034_2215011080656678512.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-06T16:22:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Stapp slapped with suit over sex video';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Stapp slapped with suit over sex video',
		'MIAMI, Mar 6, 2006 (UPI via COMTEX) -- Former Creed frontman Scott Stapp is being sued in Miami by one of the women featured in a sex video he made with Kid Rock in 1999.',
		'Stapp slapped with suit over sex video',
		'',
		'Copyright 2006 by United Press International',
		'MIAMI, Mar 6, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_06_up_0000-3629-bc-us-sexvideo.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-06T13:51:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'High court rules for military recruiters';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'High court rules for military recruiters',
		'WASHINGTON, Mar 6, 2006 (UPI via COMTEX) -- The U.S. Supreme Court ruled Monday that law schools that receive federal funds must treat military recruiters as they do any others.',
		'High court rules for military recruiters',
		'',
		'Copyright 2006 by United Press International',
		'WASHINGTON, Mar 6, 2006 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2006_03_06_up_0000-2151-bc-us-court-recruiting.ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-06T12:01:00');
	publicationMetadata = new MakePublicationMetadata('Deutsche Presse-Agentur (dpa)');

	title = 'Supreme Court sides with US military on campus recruiting';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Supreme Court sides with US military on campus recruiting',
		'Washington (dpa) - The US Supreme Court ruled unanimously Monday that universities must provide the same access for military recruiters on campus as they do for other employers.',
		'Supreme Court sides with US military on campus recruiting',
		'',
		'Copyright 2006 dpa Deutsche Presse-Agentur GmbH',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'deutsche_2006_03_06_eca_0214-0662-.US-Defence.Justice.Education..ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2006-03-06T15:18:00');
	publicationMetadata = new MakePublicationMetadata('Deutsche Presse-Agentur (dpa)');

	title = 'South Dakota law presents challenge to abortion rights';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'South Dakota law presents challenge to abortion rights',
		'Washington (dpa) - In the biggest challenge in years to US women\'s right to abortion, the governor of South Dakota on Monday signed a law banning most abortions that seems certain to inflame national debate on the highly charged issue.',
		'South Dakota law presents challenge to abortion rights',
		'',
		'Copyright 2006 dpa Deutsche Presse-Agentur GmbH',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'deutsche_2006_03_06_eca_0239-0812-.US-Politics.Health..ew',
		'01',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = 'PROWEB_Legal';
	contentSetName = 'Legal';
	contentSetLanguage = '';
	contentSetPublishedDate = '2006-03-08T07:55:30';

	id = 'PROWEB_Legal';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
