/*
 * Job display functions
 *
 * Copyright 2010 F.A. Richard and Associates, Inc
 *
 * Date: 02/09/2011
 */

	function open_job_hr(job_id) 
	{
		$(function() {
			$("#dialog-" + job_id ).dialog({
				resizable: true,
				draggable: true,
				width: 750,
				maxHeight: 500,
				position: 'center',
				modal: true,
				buttons: {
					"Click now to apply": function() {
						$( this ).dialog( "close" );
						window.open('http://hr.fara.com/hr/application.cgi?jobid=' + job_id);
						return false;
					}
				}
			});
		});
	}
	
	function open_job_ctr(job_id) 
	{
		window.open('http://contractor.fara.com/cr/questionnaire.cgi?jobid=' + job_id);
	}

