
/*
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', '2009-09-13T08:06:15');
	publicationMetadata = new MakePublicationMetadata('The Virginian-Pilot and The Ledger-Star, Norfolk, VA');

	title = 'Plants Add Some Life to Drab Office Cubicles; How Does Your Cubicle Grow?';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Plants Add Some Life to Drab Office Cubicles; How Does Your Cubicle Grow?',
		'We spend what, eight, 10 hours a day in our grim- gray cubicles at work? They\'re all alike, with their faded fabric dividers affording no privacy and dirt-brown carpets darkened with hints of soup and soda. But here\'s a practical road to workplace relief: the cubby garden. "You look around and see a garden flowering. It lifts your spirits," said Marilyn E. Reynolds, an office-plant buff whose cubby at the Pennsylvania Horticultural Society is filled with green. She knows, from experience, that office landscaping - "interiorscaping" in industry parlance - can be liberating for the soul and, as a growing body of research suggests, healthier for mind and body...',
		'Plants Add Some Life to Drab Office Cubicles; How Does Your Cubicle Grow?',
		'VIRGINIA A SMITH BY VIRGINIA A. SMITH',
		'(C) 2009 The Virginian-Pilot and The Ledger-Star, Norfolk, VA. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2009_09_13_NFLK_0000-0364-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-09-06T14:56:12');
	publicationMetadata = new MakePublicationMetadata('Lincoln Journal-Star');

	title = 'Take This Job and Love It';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Take This Job and Love It',
		'You may have noticed your co-workers are smiling as they take on multiple tasks. Or that they are coming in early and staying late. Still smiling. Perhaps they are proposing new ideas, even though there is a pay freeze. And still smiling. Job satisfaction -- and lots of it -- often goes hand in hand with a recession. Not surprisingly, a survey done for the Society of Human Resource Management showed employees identified job security as the most important aspect of their job satisfaction...',
		'Take This Job and Love It',
		'KATHRYN CATES MOORE KATHRYN CATES MOORE Lincoln Journal Star',
		'(C) 2009 Lincoln Journal-Star. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2009_09_08_XLJS_0000-3240-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-09-08T07:10:02');
	publicationMetadata = new MakePublicationMetadata('The Miami Herald');

	title = 'Job-related Claims of Pregnancy Bias on the Rise';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Job-related Claims of Pregnancy Bias on the Rise',
		'Samantha Stone, 29, would like to have a baby soon. But with the job market tenuous, being pregnant in the workplace has become much more risky. Just look at the number of pregnant women who are blogging about job discrimination, filing lawsuits for unfair removal and turning to advocacy groups for relief after being targeted in job cuts. Claims of pregnancy discrimination are on the rise, maternity leaves are a luxury and conducting a job search while pregnant is like trying to win the lottery...',
		'Job-related Claims of Pregnancy Bias on the Rise',
		'Cindy Krischer Goodman',
		'(c) 2009, The Miami Herald. Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_09_08_kniga_8339-0048-WRK-BALANCINGACT.MI',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-09-03T18:46:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Recession Speeds Workforce Aging';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Recession Speeds Workforce Aging',
		'Tough economic times are aging the U.S. labor force as older workers stay in jobs and younger workers, unable to find work, stay in school, a survey found. "The recession appears to be ... keeping older adults in the labor force and younger ones out of it," the study by the independent Pew Research Center in Washington said. The survey highlights U.S. labor market shifts due to longer life spans, an aging baby boomer population and a souring economy that has made it harder to retire...',
		'Recession Speeds Workforce Aging',
		'',
		'Copyright 2009 by United Press International',
		'WASHINGTON, Sep 3, 2009 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2009_09_03_up_0000-2685-bc-us-workplace',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-21T10:03:35');
	publicationMetadata = new MakePublicationMetadata('The Colorado Springs Business Journal');

	title = 'Don\'t Even Think About "Friending" Your Boss on Facebook';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Don\'t Even Think About "Friending" Your Boss on Facebook',
		'Nearly half the nation\'s top executives surveyed by Office Team are "uncomfortable" being "friended" by an employee they manage or by their bosses. However, being friended by coworkers was ranked "somewhat comfortable" by 38 percent of respondents. Senior executives at the nation\'s 1,000 largest companies weighed in on the survey. Office Team offered the following tips for "saving face" on Facebook. If you\'re tagged in an embarrassing photo, untag yourself and change your privacy settings so photos are viewable only by your close friends...',
		'Don\'t Even Think About "Friending" Your Boss on Facebook',
		'Tonn, Rebecca',
		'(C) 2009 The Colorado Springs Business Journal. via ProQuest Information and Learning Company; All Rights Reserved',
		'Aug 20, 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_21_10764_1838954011-0280-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-12T06:14:58');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Fidelity: Workers Again Putting More into 401(k)s';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Fidelity: Workers Again Putting More into 401(k)s',
		'Workers are again embracing 401(k) plans after the market meltdown and ongoing recession left many unable or unwilling to set aside some of their paychecks for retirement, according to the nation\'s largest workplace savings plan provider. In the second quarter, more participants in Fidelity Investments\' defined contribution plans raised the amount they set aside rather than decreased the percentage of pay they put into their savings. In a study to be released Wednesday, the Boston-based company said it\'s the first time that\'s happened in a year...',
		'Fidelity: Workers Again Putting More into 401(k)s',
		'By MARK JEWELL (AP Personal Finance Writer)',
		'Copyright 2009 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_2009_08_12_ap.online.biz.general_D9A1A8C01_news_ap_org.anpa',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-10T10:03:29');
	publicationMetadata = new MakePublicationMetadata('Black Enterprise');

	title = 'Authentic Networking';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Authentic Networking',
		'With the unemployment rate the highest it\'s been in 25 years - 9.4% in May, according to the U.S. Bureau of Labor Statistics - those who still have jobs are concerned about their future and those out of work are frustrated with the job search. As many are reviewing their skill set and credentials, there\'s one very important question that every professional - working or unemployed - needs to assess: How strong is my network?',
		'Authentic Networking',
		'Hutson, Brittany',
		'(C) 2009 Black Enterprise. via ProQuest Information and Learning Company; All Rights Reserved',
		'Aug 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_10_23796_1823201621-0176-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-09T07:05:01');
	publicationMetadata = new MakePublicationMetadata('Knight Ridder Washington Bureau');

	title = 'Older Workers Hang on to Jobs Longer, Often Out of Necessity';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Older Workers Hang on to Jobs Longer, Often Out of Necessity',
		'Americans have been losing their jobs in droves, yet one group has gained ground in employment during this recession: workers 55 and older. The reason - economic necessity - says a lot about what aging baby boomers may face as retirement age approaches. The nation\'s unemployment rate stood at 9.5 percent in June and is expected to top 10 percent before a sustainable growth cycle ends the recession. Americans of all working-age groups have lost a significant number of jobs in the downturn, but older workers have fared less poorly as a percentage of the work force...',
		'Older Workers Hang on to Jobs Longer, Often Out of Necessity',
		'',
		'(c) 2009, McClatchy-Tribune Information Services. Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_08_09_kniga_2323-0028-ECONOMY-OLDERWORKERS.WA.ew',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-29T10:03:30');
	publicationMetadata = new MakePublicationMetadata('Mercer Business');

	title = 'How Do You Spell Relief?';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'How Do You Spell Relief?',
		'While uncorking a bottle of Merlot with a group of co-workers at a winery in the countryside may help relieve workplace stress and bring employees closer together, it\'s just as likely a punch in the face during a company-sponsored romp at a kids\' indoor play stadium will also boost morale with stunning results. Likewise, a full-hour spa facial complete with soothing music, a massage and aromatherapy can also pay dividends in the workplace, much the same as pumping iron, an invigorating full-body workout or more serene, cerebral yoga class at a health club. It\'s all about de-stressing and team building for a workforce where the underlying dynamic is to find a way to do more with less...',
		'How Do You Spell Relief?',
		'Hirsch, Rod',
		'(C) 2009 Mercer Business. via ProQuest Information and Learning Company; All Rights Reserved',
		'Jul 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_07_29_12881_1806957131-0153-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-28T10:03:39');
	publicationMetadata = new MakePublicationMetadata('Northeast Pennsylvania Business Journal');

	title = 'Survey: Slashing Salaries Preferred Over Cutting Staff';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Survey: Slashing Salaries Preferred Over Cutting Staff',
		'A newly updated survey shows that the percentage of employers cutting or freezing wages and salaries has nearly doubled since January. More than half (52.4 percent) of human resource executives surveyed in May said their companies had instituted salary cuts or freezes in an effort to cut costs. That was up from 27.2 percent in the same survey last January, according to Challenger, Gray & Christmas Inc., the outplacement consultancy that conducted both polls',
		'Survey: Slashing Salaries Preferred Over Cutting Staff',
		'Anonymous',
		'(C) 2009 Northeast Pennsylvania Business Journal. via ProQuest Information and Learning Company; All Rights Reserved',
		'Jul 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_07_28_12876_1805528981-0433-KEYWORD.Missing',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-06T05:10:02');
	publicationMetadata = new MakePublicationMetadata('St. Louis Post-Dispatch');

	title = 'Should Candy be Banned from Office Vending Machines?';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Should Candy be Banned from Office Vending Machines?',
		'When I\'m having a particularly bad day at work, I often find myself studying the vending machine offerings. Since I can\'t drink wine at the office, which would really improve my mood, it often comes down to a choice between Reese\'s Peanut Butter Cups or Doritos. Apparently, I\'ve got lots of company out there. A new study suggests that unhealthy snacks available at the office are too tempting to resist...',
		'Should Candy be Banned from Office Vending Machines?',
		'Gail Appleson',
		'(c) 2009, St. Louis Post-Dispatch. Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_07_06_kniga_4759-0031-NEWS2USE-HEALTH3.SL',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-30T12:44:28');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Beware the Bully, MBAs Adjusting to Recession';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Beware the Bully, MBAs Adjusting to Recession',
		'The recession is creating a "blank check" for office bullies, said one employee advocate. The downturn\'s layoffs - job rolls have shrunk by 6 million since the recession\'s start - may make a bad situation worse for victims, said Gary Namie, director of the Workplace Bullying Institute, an advocacy group. Namie is the author of the "The Bully at Work." It was originally published in 2000, with an updated version released this June. The "absolute control of an employer is more apparent in a recession," he said. That means workers are feeling the heat, as the bulk of workplace harassment cases involve superiors taunting their employees, he said...',
		'Beware the Bully, MBAs Adjusting to Recession',
		'By TALI ARBEL (AP Business Writer)',
		'Copyright 2009 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_2009_06_30_ap.online.biz.consumer-news_D9954TUO4_news_ap_org.anpa',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-30T08:06:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'The Office Can Help Make You Fat';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'The Office Can Help Make You Fat',
		'Unhealthy snacks lingering around the company office are derailing employees\' efforts to stay healthy, a U.S. study finds. A study investigating workplace eating habits sponsored by Peapod Business Delivery, shows that 63 percent of workers find it a challenge to eat healthy in the workplace. Seven percent of respondents report they eat healthier in the office than at home and workers cite unhealthy snack options as the number one obstacle to eating healthy while at work, the study says...',
		'The Office Can Help Make You Fat',
		'',
		'Copyright 2009 by United Press International',
		'CHICAGO, Jun 30, 2009 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2009_06_30_up_0000-6561-.dsthealthcare_05.ew',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-23T07:05:02');
	publicationMetadata = new MakePublicationMetadata('The Sacramento Bee, Calif.');

	title = 'College Grads Must Learn to Dress for Work World';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'College Grads Must Learn to Dress for Work World',
		'Jeans, T-shirts and flip-flops: most students graduate from college with little else in their closets. But the faded and frayed won\'t do out in the professional world, say career experts. For many new graduates, knowing what to wear to a job interview - especially amid this year\'s highly competitive work hunt - can be as stressful as cramming for final exams. For years students have been in "college mode," pulling on whatever clothes are clean or crumpled on their floor, said Davis-based career consultant Andrea Weiss. But that\'s a far cry from the corporate culture that most graduates will need to navigate once their tassels and gowns have been packed away...',
		'College Grads Must Learn to Dress for Work World',
		'Nicole Williams',
		'(c) 2009, Sacramento Bee Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_06_23_kniga_8438-0017-WRK-CLOTHES.SA',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-23T07:05:02');
	publicationMetadata = new MakePublicationMetadata('Mclatchy-Tribune News Service.');

	title = 'Your Office Coach: Try New Approach with Spouse Who Has Job-search Phobia';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Your Office Coach: Try New Approach with Spouse Who Has Job-search Phobia',
		'Question: My wife seems to be trapped by her fear of looking for work. She used to do freelance projects, but she has never had to find a permanent position from scratch. Her idea of conducting a job search is to stay home and complete online applications. Because of my job, we recently moved to a new city where she doesn\'t know anyone. If I suggest making phone calls or visiting potential employers, she breaks down. Although she is normally a strong, confident woman, this seems to be a very emotional issue for her. I have tried to build up her self-confidence, but nothing seems to help. Do you have any suggestions?',
		'Your Office Coach: Try New Approach with Spouse Who Has Job-search Phobia',
		'Marie G. McIntyre',
		'(C) 2009 Mclatchy-Tribune News Service.. All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_06_23_kniga_8473-0023-WRK-COACH.MCT',
		'01253038601421',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = '236_STS_HOME';
	contentSetName = 'STS_HOME';
	contentSetLanguage = '';
	contentSetPublishedDate = '2009-09-15T13:16:49';

	id = '236_STS_HOME';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);

