document.write('
');
function CF359743_9A42_03D1_2CC625F9F1CBAF8D(obj,divid) {
if (obj.recordcount) {
//var div_disp = document.createElement('DIV');
//div_disp.className = 'scroll';
var ct = document.createElement('TABLE');
var thead_main = document.createElement('THEAD');
var row = document.createElement('TR');
var container = document.createElement('TH');
var theData = document.createTextNode('Job Title');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Location');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Deadline');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('');
container.appendChild(theData);
row.appendChild(container);
thead_main.appendChild(row);
ct.appendChild(thead_main);
var tmp = document.createElement('TBODY');
//ct.appendChild(tmp);
for (var i=0; i < obj.recordcount; i++) {
//alert(obj.data.title[i]);
var tr = document.createElement('TR');
//tr.setAttribute('valign', 'top');
var td3 = document.createElement('TD');
td3.appendChild(document.createTextNode(obj.data.title[i]));
tr.appendChild(td3);
var td4 = document.createElement('TD');
if (obj.data.cty_sht_t && obj.data.cty_sht_t !== '') {
td4.appendChild(document.createTextNode(obj.data.duty_station[i] + ', ' + obj.data.cty_sht_t[i]));
}
else {
td4.appendChild(document.createTextNode(obj.data.duty_station[i]));
}
tr.appendChild(td4);
var td2 = document.createElement('TD');
td2.className = 'nowrap';
td2.appendChild(document.createTextNode(obj.data.formatted_date[i]));
tr.appendChild(td2);
var td5 = document.createElement('TD');
var a = document.createElement('A');
a.className = 'button button-primary button-arrow';
a.setAttribute('href', obj.data.link[i]);
a.appendChild(document.createTextNode('View'));
td5.appendChild(a);
tr.appendChild(td5);
tmp.appendChild(tr);
}
ct.appendChild(tmp);
//div_disp.appendChild(ct);
}
else {
var ct = document.createElement('P');
var theData = document.createTextNode('There are no job postings at this time. Please check back later.');
ct.appendChild(theData);
}
// removes the "Loading...."
document.getElementById(divid).removeChild(document.getElementById(divid).childNodes[0]);
document.getElementById(divid).appendChild(ct);
}
CF359743_9A42_03D1_2CC625F9F1CBAF8D({"recordcount":0,"columnlist":"date,duty_station,formatted_date,job_id,link,subject,title","data":{"date":[],"duty_station":[],"formatted_date":[],"job_id":[],"link":[],"subject":[],"title":[]}},'CF359744-BB70-D6B5-0B5FB1B2E4FF2FA2')