
/*
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', '2008-09-23T13:04:30');
	publicationMetadata = new MakePublicationMetadata('Public Roads');

	title = 'Gaining Traction In Roadway Safety';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Gaining Traction In Roadway Safety',
		'According to the National Highway Traffic Safety Administration\'s Fatality Analysis Reporting System (FARS), since the 1970s annual highway fatalities in the United States have held steady at about 40,000 people. Over the last three decades, the total...',
		'Gaining Traction In Roadway Safety',
		'Julian, Frank; Moler, Steve',
		'(C) 2008 Public Roads. via ProQuest Information and Learning Company; All Rights Reserved',
		'Jul/Aug 2008',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2008_09_23_27745_1559413211-0444-KEYWORD.Missing',
		'01222446755549',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-25T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Times Leader, Wilkes-Barre, Pa.');

	title = 'Teen Driving Bill\'s Message May Get Lost in Translation';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Teen Driving Bill\'s Message May Get Lost in Translation',
		'Most everyone with a driver\'s license can remember hearing those and other cautionary words spoken by the people who imparted our first driving lessons, and by extension gave us our first feel for the open road\'s freedom.',
		'Teen Driving Bill\'s Message May Get Lost in Translation',
		'',
		'',
		'20080925',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_25__0000-3485-WB-EDITORIAL-Teen-driving-bill-s-message-may-get-lost-in-translation-0925',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-25T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Tulsa World, Okla.');

	title = 'Police to Use New Technology at Checkpoints';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Police to Use New Technology at Checkpoints',
		'Sep. 25--BROKEN ARROW -- Police stopping traffic Friday night at locations in eastern Broken Arrow and Wagoner County will be using new technology to check up on drivers, officials said.',
		'Police to Use New Technology at Checkpoints',
		'Tim Stanley',
		'',
		'20080925',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_25__0000-2532-TU-BRF-BA-police-to-use-new-technology-at-checkpoints-0925',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-25T13:38:00');
	publicationMetadata = new MakePublicationMetadata('Deutsche Presse-Agentur (dpa)');

	title = 'Schwarzenegger Bans Texting While Driving';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Schwarzenegger Bans Texting While Driving',
		'San Francisco (dpa) - Movie stars might be able to perform incredible car manoeuvres while talking on the phone and sending text messages. But in real life such actions will likely result in a nasty crash, and in California at least, a ticket and fine...',
		'Schwarzenegger Bans Texting While Driving',
		'',
		'Copyright 2008 dpa Deutsche Presse-Agentur GmbH',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'deutsche_2008_09_25_eca_0193-0711-.US-Automotive.',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-23T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Tri-City Herald, Kennewick, Wash.');

	title = 'Trucks Brake for Safety Check';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Trucks Brake for Safety Check',
		'Sep. 23--Commercial trucks waited in a line at the Washington State Patrol truck scales just north of the Oregon border to go through a standard weight and height check.',
		'Trucks Brake for Safety Check',
		'Paula Horton',
		'',
		'20080923',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_23__0000-3081-PK-Trucks-brake-for-safety-check-0923',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-24T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The News & Observer, Raleigh, N.C.');

	title = 'North Carolina: Car Wrecks Involving Deer Increased Last Year';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'North Carolina: Car Wrecks Involving Deer Increased Last Year',
		'Sep. 24--North Carolina motorists had more trouble dodging deer last year, according to study released this afternoon by the UNC Highway Safety Research Center.',
		'North Carolina: Car Wrecks Involving Deer Increased Last Year',
		'',
		'',
		'20080924',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_24__0000-4598-RA-Car-wrecks-involving-deer-increased-last-year-0924',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-24T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder/Tribune Business News');

	title = 'A Model Bridge Program';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'A Model Bridge Program',
		'Sep. 24--Memo to the Missouri Highway Commission: Thanks for trying.',
		'A Model Bridge Program',
		'',
		'',
		'20080924',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_24__0000-0905-JM-A-model-bridge-program-0924',
		'01222447434220',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-22T13:30:47');
	publicationMetadata = new MakePublicationMetadata('Bangor Daily News Bangor, ME');

	title = 'Police Use Grants to Increase Staff for OUI Patrols';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Police Use Grants to Increase Staff for OUI Patrols',
		'ELLSWORTH - The Hancock County Sheriff\'s and Ellsworth Police departments have used state grants to beef up OUI patrols this summer, putting more officers on dedicated OUI details.',
		'Police Use Grants to Increase Staff for OUI Patrols',
		'RICH HEWITT; OF THE NEWS STAFF',
		'(C) 2008 Bangor Daily News Bangor, ME. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2008_09_22_BNGR_0000-4450-KEYWORD.Missing',
		'01222446771877',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Tampa Tribune, Fla.');

	title = 'Is Shifting Driving Age A Fine Idea?';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Is Shifting Driving Age A Fine Idea?',
		'Sep. 10--TAMPA -- Driving solo for the first time ranks high on the list of teen milestones, right up there with graduation, a prom or even the first kiss.',
		'Is Shifting Driving Age A Fine Idea?',
		'Keith Morelli and Neil Johnson',
		'',
		'20080910',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_10__0000-0051-TM-Is-Shifting-Driving-Age-A-Fine-Idea-0910',
		'01221053342350',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-10T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Omaha World-Herald, Neb.');

	title = 'Proposal To Raise Age For Driving Is A Tough Sell';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Proposal To Raise Age For Driving Is A Tough Sell',
		'Sep. 10--Luke Steinkruger has been driving to school since he was 14.',
		'Proposal To Raise Age For Driving Is A Tough Sell',
		'Virgil Larson',
		'',
		'20080910',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_10__0000-0383-OM-Proposal-to-raise-age-for-driving-is-a-tough-sell-0910',
		'01221053395178',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-08T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Detroit Free Press');

	title = 'Practicing 4 Specific Skills Could Help Teens Drive Safer';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Practicing 4 Specific Skills Could Help Teens Drive Safer',
		'Sep. 8--With school back in session, we can all do new drivers a favor by pounding home a crucial message.',
		'Practicing 4 Specific Skills Could Help Teens Drive Safer',
		'Matt Helms',
		'',
		'20080908',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_08__0000-1236-DE-Detroit-Free-Press-Matt-Helms-column-0908',
		'01221055063584',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-07T14:40:33');
	publicationMetadata = new MakePublicationMetadata('The Providence Journal');

	title = 'Reward: AAA Offers $5 for Every Unsafe Child Seat';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Reward: AAA Offers $5 for Every Unsafe Child Seat',
		'AAA Southern New England is offering a $5 rebate check for old, unsafe child passenger safety seats turned in at any of its 34 branches. The seats collected will be disposed of at news conferences on Thursday, Sept. 18, in Rhode Island, and Friday, Sept....',
		'Reward: AAA Offers $5 for Every Unsafe Child Seat',
		'',
		'(C) 2008 The Providence Journal. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2008_09_07_PRJR_0000-1287-KEYWORD.Missing',
		'01221055063584',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-07T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Hartford Courant, Connecticut');

	title = 'In Connecticut, Drunken-Driving Statistics Are Mixed';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'In Connecticut, Drunken-Driving Statistics Are Mixed',
		'Sep. 7--At first look, Connecticut appears to be making major progress against drunken driving. Deaths in alcohol-related wrecks last year fell to the second-lowest level in a decade, while crashes involving drunk motorcyclists dropped faster in Connecticut...',
		'In Connecticut, Drunken-Driving Statistics Are Mixed',
		'Don Stacom, The Hartford Courant, Conn.',
		'',
		'20080907',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_07__0000-1121-HC-In-Connecticut-Drunken-Driving-Statistics-Are-Mixed-0907',
		'01221054957865',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-09T15:10:00');
	publicationMetadata = new MakePublicationMetadata('McClatchy-Tribune Information Services -- Unrestricted');

	title = 'Bikes, DWIs Fuel Fatalities Rise';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Bikes, DWIs Fuel Fatalities Rise',
		'Sep. 9--CHARLOTTE -- North Carolina\'s increase in traffic-related fatalities in 2007 was fueled by an increase in motorcycle and drunken driving deaths, a failure to hire needed law enforcement personnel and a decrease in convictions for speeding offenses,...',
		'Bikes, DWIs Fuel Fatalities Rise',
		'',
		'Copyright (C) 2008 The Herald-Sun, Durham, N.C.',
		'Sep 09, 2008 (The Herald-Sun - McClatchy-Tribune News Service via COMTEX) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_xml_2008_09_09_comtex_comtex_141115_2679748067419303374',
		'01221053395178',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-09T12:15:04');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Feds Warns Ford Owners About Recalled Vehicles';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Feds Warns Ford Owners About Recalled Vehicles',
		'WASHINGTON - The government is urging owners of 5 million recalled Ford vehicles to bring them to dealerships to repair a cruise control switch system that has been tied to engine fires.',
		'Feds Warns Ford Owners About Recalled Vehicles',
		'By KEN THOMAS (Associated Press Writer)',
		'Copyright 2008 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(
		'apdigital_2008_09_10_ap.online.biz.general_D933AVUG0_news_ap_org.anpa',
		'01221061977569',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-03T08:20:08');
	publicationMetadata = new MakePublicationMetadata('McClatchy-Tribune Information Services -- Unrestricted');

	title = 'Connecticut Traffic Data System Hits roadblock: Agency Balks On Funds For Information Highway';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Connecticut Traffic Data System Hits roadblock: Agency Balks On Funds For Information Highway',
		'Sep. 3--With all the roads and bridges in Connecticut that need fixing, a telephone traffic information system may just be too much of a luxury, according to the New Haven area\'s regional planning agency.',
		'Connecticut Traffic Data System Hits roadblock: Agency Balks On Funds For Information Highway',
		'Ed Stannard',
		'Copyright (C) 2008 New Haven Register, Conn.',
		'Sep 03, 2008 (New Haven Register - McClatchy-Tribune News Service via COMTEX) --',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_xml_2008_09_03_comtex_comtex_072217_114142248069802554',
		'01220448674850',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-02T04:00:06');
	publicationMetadata = new MakePublicationMetadata('The Atlanta Journal-Constitution');

	title = 'DUI Deaths Fall in Georgia in 2007';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'DUI Deaths Fall in Georgia in 2007',
		'The number of drunken-driving deaths fell in Georgia in 2007, mirroring a national trend.',
		'DUI Deaths Fall in Georgia in 2007',
		'ANDRIA SIMMONS',
		'Copyright 2008 The Atlanta Journal-Constitution',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'ajc_2008_09_02_B_92564363-0134-Main',
		'01220448424569',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-02T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Dallas Morning News');

	title = 'In Texas, More motorcyles, More Traffic Fatalities';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'In Texas, More motorcyles, More Traffic Fatalities',
		'Sep. 2--RICHARDSON -- The city is on the verge of a dubious and ominous record. With 11 traffic fatalities already this year, police expect Richardson to easily top the record 12 motorists who died on its streets in 2000 and 2006.',
		'In Texas, More motorcyles, More Traffic Fatalities',
		'Wendy Hundley',
		'',
		'20080902',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_02__0000-0187-DA-In-Richardson-more-motorcyles-more-traffic-fatalities-0902',
		'01220448458944',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-09-01T00:00:00');
	publicationMetadata = new MakePublicationMetadata('The Dallas Morning News');

	title = 'Crashes Involving Elderly Fall; Texas\' Year-old Katie\'s Law May Change';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Crashes Involving Elderly Fall; Texas\' Year-old Katie\'s Law May Change',
		'Sep. 1--In the year since Texas made it tougher for older drivers to hang on to their licenses, traffic accidents involving the elderly have seen a modest decline and backers of the new rules have weighed further restrictions.',
		'Crashes Involving Elderly Fall; Texas\' Year-old Katie\'s Law May Change',
		'Brian Whitley',
		'',
		'20080901',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_09_01__0000-0193-DA-Crashes-involving-elderly-fall-year-old-Katie-s-law-may-change-0901',
		'01220447930444',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2008-08-30T00:00:00');
	publicationMetadata = new MakePublicationMetadata('Milwaukee Journal Sentinel');

	title = 'Wisconsin Police Boost Efforts Against Drunken Driving';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Wisconsin Police Boost Efforts Against Drunken Driving',
		'Aug. 30--Those frequent television spots depicting drunken motorists gurgling in booze-filled vehicles will be backed up this weekend by vigilant enforcement of impaired-driving laws by more than 300 police agencies in Wisconsin, authorities said Thu...',
		'Wisconsin Police Boost Efforts Against Drunken Driving',
		'Tom Held',
		'',
		'20080902',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'knightridder_2008_08_30__0000-3117-MW-DRUNK-DRIVING-PATROLS-20080830',
		'01220447486740',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = '24379_Auto';
	contentSetName = 'Auto';
	contentSetLanguage = '';
	contentSetPublishedDate = '2008-09-26T11:43:59';

	id = '24379_Auto';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
