
/*
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-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',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-09-02T23:17:17');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Study: Unemployed Feel "Traumatized" by Recession';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Study: Unemployed Feel "Traumatized" by Recession',
		'A new study finds that the recession has left many jobless workers struggling to cope with the psychological stress caused by becoming unemployed in a weak economy. Researchers at the John J. Heldrich Center for Workforce Development at Rutgers University said the financial strain that comes with being out of work combined with the sometimes daunting task of seeking new employment in a difficult job market has left many Americans "traumatized..."',
		'Study: Unemployed Feel "Traumatized" by Recession',
		'By BRUCE SHIPKOWSKI (Associated Press 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(
		'ap_2009_09_02_ap.worldstream.english.business_D9AFK6IG0_news_ap_org.anpa',
		'01252591878658',
		'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',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-09-02T10:03:38');
	publicationMetadata = new MakePublicationMetadata('Healthcare Executive');

	title = 'Leading the Multigenerational Work Force';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Leading the Multigenerational Work Force',
		'From the late 1990s through 2009, a unique phenomenon occurred in the American workplace, particularly in healthcare. A majority of leaders and employees shared a common generational attitude - they were all part of the baby boomer generation. This congruence of generational attitudes during the last 10 years clearly has led to a distinctly more positive work environment and a more aligned and engaged work force. This, however, is about to change...',
		'Leading the Multigenerational Work Force',
		'Haeberle, Kevin; Herzberg, Jami; Hobbs, Terry',
		'(C) 2009 Healthcare Executive. via ProQuest Information and Learning Company; All Rights Reserved',
		'Sep/Oct 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_09_02_14232_1850912351-0353-KEYWORD.Missing',
		'01252591878658',
		'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',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-21T10:03:31');
	publicationMetadata = new MakePublicationMetadata('Marketplace');

	title = 'A Sharper Focus';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'A Sharper Focus',
		'...According to the U.S. Small Business Administration, 56 percent of businesses with fewer than 100 employees have fewer than five employees. Those employees are with the company because they know and can do the business at hand. But they may not be experts in accounting, managing warehouse inventory or incorporating computer technology in ways that will improve productivity. For example, Greenville-based Tech Guides Inc. provides a range of information technology services for companies with fewer than 50 computers. But the nine-employee company chooses to outsource to other functions not related to its core business, says owner Dave Anderson...',
		'A Sharper Focus',
		'Mangan, Gina',
		'(C) 2009 Marketplace. via ProQuest Information and Learning Company; All Rights Reserved',
		'Aug 4, 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_21_10742_1838260961-0187-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-15T10:03:25');
	publicationMetadata = new MakePublicationMetadata('Florida Trend');

	title = 'Hire Calling';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Hire Calling',
		'...Arriola says creating a Best Companies environment is not a matter of paying the highest wages and having the most generous benefits. The highest wage often attracts "mercenaries," he says. The key for Inktel, says HR manager Miguel Arguelles, is its emphasis on opportunity and merit. Nearly the entire staff receives some form of incentive- based pay. A walk through the offices shows some of the culture at work. A flat-screen TV in one call center displays the names of the "A" players who will be lunching with the CEO...',
		'Hire Calling',
		'Vogel, Mike',
		'(C) 2009 Florida Trend. via ProQuest Information and Learning Company; All Rights Reserved',
		'Aug 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_15_27824_1829617091-0052-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-13T10:03:30');
	publicationMetadata = new MakePublicationMetadata('People and Strategy');

	title = 'Conflict Management as a Core Competency for HR Professionals';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Conflict Management as a Core Competency for HR Professionals',
		'...The biggest misconception that people hold about conflict is that it is intrinsically bad. However conflict in and of itself is an inevitable social and organizational reality. It is rooted in the human condition and is not necessarily an indicator of dysfunction. It just is. While conflict can cause great harm, it has another side - one that is often overlooked. The dynamic tension that results when executives go head-to-head can be a source of great creativity, excitement and even strength. It can help an organization develop the muscle it needs to vanquish less wellendowed competitors...',
		'Conflict Management as a Core Competency for HR Professionals',
		'Guttman, Howard M',
		'(C) 2009 People and Strategy. via ProQuest Information and Learning Company; All Rights Reserved',
		'2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_13_17618_1827313111-0163-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-12T14:40:57');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Some Pockets of Hiring Exist Amid Slowdown';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Some Pockets of Hiring Exist Amid Slowdown',
		'Even with most U.S. businesses still reluctant to add new employees, some pockets of hiring are emerging in industries such as accounting, information technology and restaurants, government data show. Signs of hope are also evident in some private surveys. Nearly a third of manufacturing companies plan to add employees in August, the highest proportion since October, according to a survey by the Society for Human Resource Management. Still, the percentages of both manufacturing and service-sector companies planning to hire is down from a year ago, the group said...',
		'Some Pockets of Hiring Exist Amid Slowdown',
		'By CHRISTOPHER S. RUGABER (AP Economics 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_13_ap.online.biz.general_D9A1HLHG0_news_ap_org.anpa',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-11T07:05:03');
	publicationMetadata = new MakePublicationMetadata('The State, Columbia, S.C.');

	title = 'Helping Workers to Reach Out; Stress of Tough Economic Times Heightens Need for Employee Assistance Programs';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Helping Workers to Reach Out; Stress of Tough Economic Times Heightens Need for Employee Assistance Programs',
		'The theater scene played out like this: A husband and wife sitting around the breakfast table. He\'s working two jobs. She has been laid off. Their daughter wants to attend a $175 cheerleading camp. The electric bill is $175 and past due. A fight erupts. The husband leaves and heads to work. There, he asks his boss for time off to take care of the late utility bill. The boss is upset because of the man\'s increasing requests to leave work for personal reasons. This theatrical scenario was presented last week to a group of human resource managers and insurance providers, who nodded their heads and whispered among themselves, "This is pretty typical..."',
		'Helping Workers to Reach Out; Stress of Tough Economic Times Heightens Need for Employee Assistance Programs',
		'Noelle Phillips',
		'(c) 2009, The State (Columbia, S.C.). Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_08_11_kniga_3697-0017-WRK-STRESS.CS',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-11T10:03:34');
	publicationMetadata = new MakePublicationMetadata('People and Strategy');

	title = 'Networking the Way to Success: Online Social Networks for Workplace and Competitive Advantage';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Networking the Way to Success: Online Social Networks for Workplace and Competitive Advantage',
		'In the last few years, online social networks like Facebook and MySpace, along with professional networking sites like Linkedln, have exploded in popularity, with an estimated aggregate total of more than 170 million subscribers. New social media tools are cropping up every day. While many employers view social networking as a threat to productivity and block access to popular sites, some visionary employers have figured out how to leverage powerful social media tools and online communities for efficiencies and competitive advantage...',
		'Networking the Way to Success: Online Social Networks for Workplace and Competitive Advantage',
		'Leader-Chiv&eacute;e, Lauren; Hamilton, Booz Allen; Cowan, Ellen',
		'(C) 2008 People and Strategy. via ProQuest Information and Learning Company; All Rights Reserved',
		'2008',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_11_17618_1825358481-0283-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-11T10:03:34');
	publicationMetadata = new MakePublicationMetadata('People and Strategy');

	title = 'The Future of Work-Cubed';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'The Future of Work-Cubed',
		'The economic miracle of the last 25 years produced a worldwide boom in the numbers of scientists, engineers and other professionals. This development, along with advances in computing and telecommunications, fostered the beginnings of a global market for "knowledge workers." This trend will continue to evolve in sync with long-term economic development and population growth. Looking ahead, there is a fresh set of convergent technologies that will enable knowledge workers to collaborate in new ways. To capitalize on the opportunities that these advances present, companies will require innovative human resource strategies and sophisticated organizational models...',
		'The Future of Work-Cubed',
		'Rubens, Kevin',
		'(C) 2008 People and Strategy. via ProQuest Information and Learning Company; All Rights Reserved',
		'2008',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_08_11_17618_1825358331-0269-KEYWORD.Missing',
		'01252591878658',
		'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',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-08-06T08:25:21');
	publicationMetadata = new MakePublicationMetadata('International Herald Tribune');

	title = 'Online Scammers Targeting Job Seekers';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Online Scammers Targeting Job Seekers',
		'With U.S. unemployment high and rising, more people are streaming onto the Web in search of jobs, and running into costly scams. When Claude Vera responded to the customer-service job opening he saw on the online-classified site Geebo.com back in February, it seemed like one of a hundred small acts that might get him back to work. Most of his e-mail messages to prospective employers were going unanswered, so he was relieved when Penguin Express replied the very next day with a work-from-home job...',
		'Online Scammers Targeting Job Seekers',
		'Riva Richmond',
		'(C) 2009 International Herald Tribune. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2009_08_05_INHT_0000-3068-KEYWORD.Missing',
		'01252591878658',
		'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',
		'01252591878658',
		'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',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-19T19:30:15');
	publicationMetadata = new MakePublicationMetadata('Boston Herald');

	title = 'Once Immune Classes Feeling Sting of Recession';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Once Immune Classes Feeling Sting of Recession',
		'As the economic crisis drags on, families that once enjoyed a middle-class lifestyle are finding their financial stability far more fragile than they ever imagined - easily shattered by job loss or illness. And for the first time in their lives they are turning to resources usually tapped by the chronically poor to make ends meet. Sandra Herforth, 57, of Newton built an impressive resume in engineering and technology at firms including Motorola and EMC Corp., earning a six-figure salary and maintaining a second home in New York for work. Her past jobs include senior posts in management, marketing and engineering. But a year after being laid off, Herforth has not found a job and struggles to support a family of three on a paltry unemployment check due to run out in 13 weeks...',
		'Once Immune Classes Feeling Sting of Recession',
		'LAURA CRIMALDI; RENEE NADEAU By LAURA CRIMALDI and RENEE NADEAU',
		'(C) 2009 Boston Herald. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2009_07_19_BHLD_0000-3083-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-16T05:05:02');
	publicationMetadata = new MakePublicationMetadata('The Sacramento Bee, Calif.');

	title = 'Teens Find Summer Job Market Ice-cold';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Teens Find Summer Job Market Ice-cold',
		'Report cards are out. Time cards are in. But the job market is a bear this year for teenagers looking for work during their summer vacation. Eateries, clothing stores and other businesses that typically hire teens in entry-level positions have been hammered by the recession and are cutting staff. Nearly 10 percent of Americans, and more than 11 percent of Californians, are unemployed. Adults with college degrees are now working in minimum-wage jobs traditionally held by teenagers...',
		'Teens Find Summer Job Market Ice-cold',
		'Cynthia Hubert and Jillian Keenan',
		'(c) 2009, The Sacramento Bee (Sacramento, Calif.). Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_07_16_kniga_0237-0010-TEENS-JOBMARKET.SA',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-07-02T17:27:23');
	publicationMetadata = new MakePublicationMetadata('Associated Press');

	title = 'Older Job Seekers Struggle to Overcome Age Barrier';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Older Job Seekers Struggle to Overcome Age Barrier',
		'Like many unemployed older workers, 64-year old Allan Kellum fears his age has made it harder to find a new job. At a recent job fair, Kellum expressed interest in a supervisory role coordinating an international health assistance program. A recruiter set him straight: "The people applying for that are young." So now Kellum, who lives in McLean, Va., takes no chances. He\'s deleted his college graduation date from his resume and reduced the number of years it covers. He\'s hoping that will help move his resume past any screeners who would be put off by his age...',
		'Older Job Seekers Struggle to Overcome Age Barrier',
		'By CHRISTOPHER S. RUGABER (AP Economics 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_07_03_ap.online.biz.general_D996J8IG0_news_ap_org.anpa',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-30T07:05:03');
	publicationMetadata = new MakePublicationMetadata('The Miami Herald');

	title = 'Jobless Opt for Entrepreneurship Over Job Hunting';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Jobless Opt for Entrepreneurship Over Job Hunting',
		'Clara Mateus, a graphic designer, arrived home from work in tears. Just a few months after she was named employee of the year, her boss at a Florida bank announced her department would be eliminated and told her she no longer had a job. Seeing his wife distraught, Allen Borza spent the evening giving her a pep talk. But the next day, Borza, also a graphic designer, was laid off from his job at a landscape architecture firm. Instead of completely flipping out, Borza said, "I told Clara, this is opportunity knocking..."',
		'Jobless Opt for Entrepreneurship Over Job Hunting',
		'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_06_30_kniga_2416-0024-WRK-BALANCINGACT.MI',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-30T07:05:03');
	publicationMetadata = new MakePublicationMetadata('The Bradenton Herald, Fla.');

	title = 'From Sending Cakes to Crafting Paper Birds, Job Seekers Get Creative';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'From Sending Cakes to Crafting Paper Birds, Job Seekers Get Creative',
		'Hoveround\'s human resources staff will never forget the shiny, red Chinese takeout box a job seeker sent them. The candidate, who was going after an art director\'s position, sent the department the box with his resume inside. It was folded into an origami bird. "This was obviously a very creative individual," said Sam Porcelli, human resources assistant at Hoveround, a Manatee County, Fla., manufacturer of power chairs. "He made a great impression on us. While he didn\'t get the job, because we interviewed someone earlier that day we fell in love with, we will not forget this guy. The impression was significant..."',
		'From Sending Cakes to Crafting Paper Birds, Job Seekers Get Creative',
		'Grace Gagliano',
		'(c) 2009, Bradenton Herald (Bradenton, Fla.). Distributed by Mclatchy-Tribune News Service.',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'krt_2009_06_30_knihm_2685-0047-WRK-CREATIVEPITCH.BR',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-30T04:01:00');
	publicationMetadata = new MakePublicationMetadata('Hugin');

	title = 'Age Research: Learning Capability Does Not Decrease with Age But by Lack of Practice';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Age Research: Learning Capability Does Not Decrease with Age But by Lack of Practice',
		'...Without training, older employees are affected by a reduced speed of information reception, a reduced ability to react, reduced mobility and a decreased capacity to perform under time pressure - all skills that require so- called fluid intelligence. But, as fluid intelligence decreases over time, older people generally develop a higher degree of crystallised intelligence, enabling them to make better use of work experience, wisdom, discernment and to develop a superior capability for integrative thinking. Research results show that learning capability does not necessarily decrease with age, but mainly by lack of practice. As long as the brain is trained continuously, learning is possible throughout one\'s entire life...',
		'Age Research: Learning Capability Does Not Decrease with Age But by Lack of Practice',
		'',
		'(C) 2009 Hugin. All Rights Reserved',
		'Jun 30, 2009 (Hugin via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2009_06_30_hg_0000-4343-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-28T13:50:11');
	publicationMetadata = new MakePublicationMetadata('The Providence Journal');

	title = 'Leaving Home, Families for a Job';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Leaving Home, Families for a Job',
		'After seven months without a paycheck, Tim Ryan turned into a werewolf. Laid off from a construction job, Ryan finally found work last month playing the wolfman at Clark\'s Trading Post, a tourist attraction in the White Mountains of New Hampshire. For $12 an hour, about half what he made before, he dons furry rags, a coonskin cap and an eye patch and jumps out of the woods when the Trading Post\'s steam train chugs by, snarling and growling at passengers. The job is nearly two hours north of his home in Pittsfield, N.H., too far to commute. So Ryan sleeps in an old, mold-ridden cottage with no running water that someone lets him use free. "These days, you have to do things you never thought you would," says the 52-year- old. "You have to go to extremes..."',
		'Leaving Home, Families for a Job',
		'Jennifer Levitz; Tim Ryan; Cathey Beaty Jennifer Levitz, The Wall Street Journal',
		'(C) 2009 The Providence Journal. via ProQuest Information and Learning Company; All Rights Reserved',
		'',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsuper_2009_06_28_PRJR_0000-0973-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-18T10:03:43');
	publicationMetadata = new MakePublicationMetadata('Financial Executive');

	title = 'Balancing Cost Reduction and Talent Management';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Balancing Cost Reduction and Talent Management',
		'Despite the pressures of the economic crisis, most United States companies continue to view their retirement as a vital part of their workplace relationship with employees, while struggling to balance cost and talent-management issues. This is according to a survey of nearly 500 human resources and benefit executives from mid-size and large organizations, which was conducted in February by professional services firm Towers Perrin...',
		'Balancing Cost Reduction and Talent Management',
		'Heffes, Ellen M',
		'(C) 2009 Financial Executive. via ProQuest Information and Learning Company; All Rights Reserved',
		'Jun 2009',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'bhsgml_2009_06_18_16118_1749576401-0484-KEYWORD.Missing',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	documentMetadata = new MakeDocumentMetadata('internal', '2009-06-17T09:03:00');
	publicationMetadata = new MakePublicationMetadata('United Press International');

	title = 'Employers Cut Back Wellness Programs';
	metadata = new MakeMetadata(documentMetadata, publicationMetadata, '', '', '', '');

	core = new MakeCore(
		'Employers Cut Back Wellness Programs',
		'U.S. workplace wellness programs such as smoking cessation and weight-loss efforts are being targeted for elimination by employers, experts say. Laurel Pickering, executive director of the New York Business Group on Health, a coalition representing employers on health benefit issues, told Wednesday\'s USA Today that employers are eliminating the programs as a way to cope with the economic downturn...',
		'Employers Cut Back Wellness Programs',
		'',
		'Copyright 2009 by United Press International',
		'WASHINGTON, Jun 17, 2009 (UPI via COMTEX)',
		'',
		''
		);

	article = new MakeArticle(title, metadata, core, '');

	contents[++Index] = new MakeContent(
		'comtex_2009_06_17_up_0000-7431-bc-us-workerhealth',
		'01252591878658',
		'article',
		'en-US',
		'',
		article
		);

		
	

//////////////////////// End PER ARTICLE section

	contentSetId = '236_STS_HRP';
	contentSetName = 'STS_HRP';
	contentSetLanguage = '';
	contentSetPublishedDate = '2009-09-10T09:11:29';

	id = '236_STS_HRP';
	contentType = '';

} // End data initialization block.

if (typeof ContentIndex == "undefined") {
	ContentIndex = -1;
}

SMContentSet[++ContentIndex] = new MakeContentSet(contentSetId, contentSetName, contentSetLanguage, contentSetPublishedDate, contents);
