
clientIndustries = [
	[0, 'Heavy Manufacturing'],
	[1, 'Healthcare'],
	[2, 'Metal Fabrication'],
	[3, 'Automotive']
];

function industryLinks()
	{
		for(i=0;i<clientIndustries.length;i++)
		{
		count = (i+1);
		document.write('<a href=\"profiles.aspx?showProfileNumber='+count+'">'+clientIndustries[i][1]+'</a> | ');
		}
	}

function industryLinks2()
	{
		for(i=0;i<clientIndustries.length;i++)
		{
		count = (i+1);
		document.write('<a href=\"profiles.aspx?showProfileNumber='+count+'">'+clientIndustries[i][1]+'</a><br />');
		}
	}

clientProfiles = [
// WELDSHIP:
	[0, 'Manufacturing &mdash; Trailer Repair &amp; Fabrication / Certification &amp; Testing of High Pressure Gas Cylinders', 'Heavy manufacturing environment with 70 employees at 2 locations in eastern Pennsylvania. ERCM provides on-going safety compliance and training services, safety committee support and oversight, and claims handling. ECRM has successfully reduced workers compensation costs and OSHA accident rates.', '$165,712', '$85,650', '$15,784', '$15,107', '22', '9', '7', '5', '6', '5', '2', '1', '15', '16', '8', '6', '22.1', '25.7', '11.0', '7.5', '12.2', '12.2', '12.2', '12.2', 'February 2004'],

//MAXCARE:
	[1, 'Home Health Care', 'Home Health Care company with 275 employees operating in Eastern Pennsylvania performing home health care services throughout a four county area.', '$210,204', '$103,981', '$15,782', 'n/a', '13', '12', '6', 'n/a', '8', '5', '3', 'n/a', '11', '6', '3', 'n/a', '9.2', '5.6', '3.1', 'n/a', '26.1', '26.1', '26.1', 'n/a', 'February 2003'],

//EvidenceBinderPDS:
	[2, 'Manufacturing &mdash; Machine Shop Operation', 'Single location Manufacturing/Machining operation in Southwestern Pennsylvania with 95 employees. ECRM provides comprehensive services including Risk Management and Accident Prevention Programs, OSHA Compliance and Claims Handling. ', '$34,993', '$12,443', '$9,678', '$758', '9', '11', '8', '3', '1', '1', '1', '0', '7', '9', '10', '3', '8.7', '10.5', '10.1', '3.4', '7.5', '7.5', '7.5', '7.5', 'January 2005'], 

//EvidenceBinderKROSS:
	[3, 'Automotive Dealership', 'Automotive and Light Truck Dealership with 550 employees and five separate locations in Southwestern Pennsylvania. ECRM provides comprehensive services including Risk Management and Accident Prevention Programs, OSHA Compliance and Claims Handling. Client retained ECRM to continue performing comprehensive services during second policy year-2006.',  '$500,916', '$200,575', '$833,187', '$122,656', '$12,395', '76', '94', '117', '31', '12', '13', '11', '16', '2', '0', '68', '74', '98', '30', '11', '14.4', '15.7', '20.8', '6.3', '5.5', '7.1', '7.1', '7.1', '7.1', '7.1', 'November 2004']
];

footnotes = [
	[0, 'Recordable Cases', 'Total cases recorded on the OSHA 300 Log. Recordable cases are those that meet the criteria defined by OSHA recordkeeping standard 29 CFR 1904.'],
	[1, 'Recordable Case Rate', '<table border="0" cellpadding="5"><tr><td nowrap><u>(# of Recordable Cases) x (200,000)</u><br />Total Hours Worked By All Employees</td><td>200,000 = Base for 100 equivalent full-time workers working 40 hours per week, 50 weeks per year.</td><tr></table>'],
	[2, 'BLS Industry Average', 'Based upon the Bureau of Labor Statistics, U.S. Department of Labor injury and illnesses data; 2003']
];
	

function showFootnotes()
	{
	document.write('<h4 style="margin-top: 25px;"><b>Footnotes:</b></h4>');
	document.write('<table id=\"footnotes2\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">');
	for(i=0;i<footnotes.length;i++)
		{
		var num = (i+1);
		document.write('<td valign=\"top\">'+num+'</td>');
		document.write('<td valign=\"top\" class=\"left\" ><b>'+footnotes[i][1]+': </b><br />');
		document.write(''+footnotes[i][2]+'</td></tr>');
		}
		document.write('</table>');
	}
	

	
function oneClientPofile(cNum)
	{
		i = cNum;
		count = (i+1);
		if (i == 3) //FOR AUTO DEALERSHIP, CLIENT PROFILE No. 4
			{
			document.write('<h2>Client Profile:  '+clientIndustries[3][1]+'</h2>');
			document.write('<table class=\"clientProfile1\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">');
			document.write('<tr><th colspan=\"6\">Industry</th></tr>');
			document.write('<tr><td colspan=\"6\">'+clientProfiles[i][1]+'</td></tr>');
			document.write('<tr><th colspan=\"6\">Operations & Exposures</th></tr>');
			document.write('<tr><td colspan=\"6\" class=\"left\" >'+clientProfiles[i][2]+'</td></tr>');
			document.write('<tr><td></td><td class=\"beforeCell\" colspan=\"3\"><i>Before ECRM</i></td>');
			document.write('<td class=\"withECRMcell\" colspan=\"2\" nowrap>With <img src=\"images/tinyECRMlogo.gif\" border=\"0\" align=\"middle\" /></td></tr>');
			document.write('<tr><th class=\"right\" style=\"font-size: 85%;\">Workers Compensation</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th><th>2006</th></tr><tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">Incurred Costs</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][3]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][4]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][5]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][6]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][7]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">Number of Claims</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][8]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][9]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][10]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][11]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][12]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">No. of Lost Work Day Claims</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][13]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][14]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][15]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][16]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][17]+'</td>');
			document.write('</tr><tr>');
			document.write('<th class=\"right\" style=\"font-size: 85%;\">OSHA Rates</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th><th>2006</th></tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">Recordable Cases<sup>1</sup></td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][18]+'</td>');
			document.write('<td class=\"beforeCell\" >'+clientProfiles[i][19]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][20]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][21]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][22]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">Recordable Case Rate<sup>2</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][23]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][24]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][25]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][26]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][27]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" style=\"font-size: 85%;\">BLS Industry Average<sup>3</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][28]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][29]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][30]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][31]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][32]+'</td>');
			document.write('</tr><tr>');
			document.write('<td colspan=\"6\" class=\"footnote1\">With East Coast Risk Management since <b>'+clientProfiles[i][33]+'</b></td>');
			document.write('</tr></table>');
			showFootnotes();
//			document.write('<p><a href=\"#top\">top</a>&uarr;</p>');
			}
		else if (i == 1) //FOR HOME HEALTH CARE, CLIENT PROFILE No. 2
			{
			document.write('<h2>Client Profile:  '+clientIndustries[1][1]+'</h2>');
			document.write('<table class=\"clientProfile1\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">');
			document.write('<tr><th colspan=\"5\">Industry</th></tr>');
			document.write('<tr><td colspan=\"5\">'+clientProfiles[i][1]+'</td></tr>');
			document.write('<tr><th colspan=\"5\">Operations & Exposures</th></tr>');
			document.write('<tr><td colspan=\"5\" class=\"left\" >'+clientProfiles[i][2]+'</td></tr>');
			document.write('<tr><td></td><td class=\"beforeCell\"><i>Before ECRM</i></td>');
			document.write('<td class=\"withECRMcell\" colspan=\"3\" nowrap>With <img src=\"images/tinyECRMlogo.gif\" border=\"0\" align=\"middle\" /></td></tr>');
			document.write('<tr><th class=\"right\">Workers Compensation</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th></tr><tr>');
			document.write('<td class=\"right\">Incurred Costs</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][3]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][4]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][5]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][6]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\">Number of Claims</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][7]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][8]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][9]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][10]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\">Number of Lost Work Day Claims</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][11]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][12]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][13]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][14]+'</td>');
			document.write('</tr><tr>');
			document.write('<th class=\"right\">OSHA Rates</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th></tr>');
			document.write('<td class=\"right\" nowrap>Recordable Cases<sup>1</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][15]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][16]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][17]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][18]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" nowrap>Recordable Case Rate<sup>2</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][19]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][20]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][21]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][22]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" nowrap>BLS Industry Average<sup>3</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][23]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][24]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][25]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][26]+'</td>');
			document.write('</tr><tr>');
			document.write('<td colspan=\"5\" class=\"footnote1\">With East Coast Risk Management since <b>'+clientProfiles[i][27]+'</b></td>');
			document.write('</tr></table>');
			showFootnotes();
//			document.write('<p><a href=\"#top\">top</a>&uarr;</p>');
			}
		else  //standard format
			{
			if (i == 0) //FOR HVY MFR 1 - 
			{ document.write('<h2>Client Profile:  '+clientIndustries[0][1]+'</h2>'); }
			if (i == 2) //FOR MFR 2 - METAL FABRCIATION
			{ document.write('<h2>Client Profile:  '+clientIndustries[2][1]+'</h2>'); }

			document.write('<table class=\"clientProfile1\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">');
			document.write('<tr><th colspan=\"5\">Industry</th></tr>');
			document.write('<tr><td colspan=\"5\">'+clientProfiles[i][1]+'</td></tr>');
			document.write('<tr><th colspan=\"5\">Operations & Exposures</th></tr>');
			document.write('<tr><td colspan=\"5\" class=\"left\" >'+clientProfiles[i][2]+'</td></tr>');
			document.write('<tr><td></td><td class=\"beforeCell\" colspan=\"2\"><i>Before ECRM</i></td>');
			document.write('<td class=\"withECRMcell\" colspan=\"2\" nowrap>With <img src=\"images/tinyECRMlogo.gif\" border=\"0\" align=\"middle\" /></td></tr>');
			document.write('<tr><th class=\"right\">Workers Compensation</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th></tr><tr>');
			document.write('<td class=\"right\">Incurred Costs</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][3]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][4]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][5]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][6]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\">Number of Claims</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][7]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][8]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][9]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][10]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\">Number of Lost Work Day Claims</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][11]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][12]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][13]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][14]+'</td>');
			document.write('</tr><tr>');
			document.write('<th class=\"right\">OSHA Rates</th><th>2002</th><th>2003</th><th>2004</th><th>2005</th></tr>');
			document.write('<td class=\"right\" nowrap>Recordable Cases<sup>1</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][15]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][16]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][17]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][18]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" nowrap>Recordable Case Rate<sup>2</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][19]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][20]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][21]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][22]+'</td>');
			document.write('</tr><tr>');
			document.write('<td class=\"right\" nowrap>BLS Industry Average<sup>3</sup></td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][23]+'</td>');
			document.write('<td class=\"beforeCell\">'+clientProfiles[i][24]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][25]+'</td>');
			document.write('<td class=\"withECRMcell2\">'+clientProfiles[i][26]+'</td>');
			document.write('</tr><tr>');
			document.write('<td colspan=\"5\" class=\"footnote1\">With East Coast Risk Management since <b>'+clientProfiles[i][27]+'</b></td>');
			document.write('</tr></table>');
			showFootnotes();
//			document.write('<p><a href=\"#top\">top</a>&uarr;</p>');
			}
		}
	

function allClientProfiles()
	{
	for(i=0;i<clientProfiles.length;i++)
		{
			oneClientPofile(i);
		}
	document.write('<h4 style="margin-top: 25px;"><b>Footnotes:</b></h4>');
	document.write('<table id=\"footnotes2\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\">');
	for(i=0;i<footnotes.length;i++)
		{
		var num = (i+1);
		document.write('<td valign=\"top\">'+num+'</td>');
		document.write('<td valign=\"top\" class=\"left\" ><b>'+footnotes[i][1]+': </b><br />');
		document.write(''+footnotes[i][2]+'</td></tr>');
		}
		document.write('</table>');
		document.write('<p><a href=\"#top\">top</a>&uarr;</p>');
	}
	

function clientProfileLinks()
	{
	document.write(' | ');
	for(i=0;i<clientProfiles.length;i++)
		{
		count = (i+1);
		document.write('<a href=\"profiles.aspx?showProfileNumber='+count+'">'+count+'</a> | ');
		}
	}
	
	