/* $Id: jobs.js,v 1.8 2010/02/10 01:45:46 dben Exp $ */
/**
 * Atlas Ergonomics Web Application
 * Copyright 2006 - 2010 Atlas Ergonomics. All Rights Reserved.
 */ 

function displayJobs(maxJobs){

	var jobPath = "jobs/";
	
  var jobs = new Array(
		Array('Feb. 15, 2009','FSP_locations.pdf','Full Service Provider Locations'),
		Array('Feb. 15, 2009','FSP_needed.pdf','Full Service Providers Needed'),
		Array('Feb. 15, 2009','OIESP_locations.pdf','Office Individual Ergonomic Service Provider Locations'),
		Array('Feb. 15, 2009','OIESP_needed.pdf','Office Individual Ergonomic Service Providers Needed')
  );

  if(!maxJobs){
    maxJobs = jobs.length;
  }

	document.write('<table cellpadding="0" cellspacing="0" class="articleList">');
	for(i=0;i<maxJobs;i++){
		document.write('  <tr>');
		document.write('    <td class="articleDate">'+jobs[i][0]+'</td>');
		document.write('    <td class="articleTitle"><a href="'+jobPath+jobs[i][1]+'">'+jobs[i][2]+'</a></td>');
		document.write('  </tr>');
	}
	document.write('</table>');

}
