
function Job(employer, title, id)  {
  this.title = title;
  this.employer = employer;
  this.id = id;

  function getURL() {
    url = "http://www.careerbuilder.com/JobSeeker/Jobs/RedirectNewspaperJob.aspx?PartnerID=sanluiso&JobID=";
    url += escape(this.id) + "&lr=cbcb_tn&siteid=cbcb_tn094";
    return url;
  }
  function getListing() {
  return "<li class='topjobs_item '>" +
    (this.employer.length > 0 ? "<span class='topjobs_employer'>" + this.employer + "</span><br />" : "") +
    "<a href='javascript:openTopJobsWin(\"" + this.url() + "\")'>" + this.title + "</a></li>\n";
  }
  this.url = getURL;
  this.listing = getListing;
}
jobs = new Array(
	new Job("","ATTORNEY  60,0","6807851"),
	new Job("","CARPET  CLEANI","6807654"),
	new Job("","DENTAL  ASSIST","6807403")
);
	