document.write('

Loading....

'); function A4AC9E73A_0116_BFEB_734FF34B6C5C6D5F(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); } A4AC9E73A_0116_BFEB_734FF34B6C5C6D5F({"recordcount":5,"columnlist":"date,duty_station,formatted_date,job_id,link,subject,title","data":{"date":["2024-04-27 22:59:00.0","2024-04-30 00:00:00.0","2024-05-05 22:59:00.0","2024-05-07 22:59:00.0","2024-05-08 00:00:00.0"],"duty_station":["Kabul, Afghanistan","Kandahar Province","Kabul, Afghanistan","Afghanistan","Kabul with travel to Provinces"],"formatted_date":["27-April-2024","30-April-2024","5-May-2024","7-May-2024","8-May-2024"],"job_id":[17570,116007,17732,17768,115990],"link":["https://estm.fa.em2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/requisitions/job/17570","https://jobs.undp.org/cj_view_job.cfm?cur_job_id=116007","https://estm.fa.em2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/requisitions/job/17732","https://estm.fa.em2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/requisitions/job/17768","https://jobs.undp.org/cj_view_job.cfm?cur_job_id=115990"],"subject":["Monitoring & Evaluation Associate - Kabul, Afghanistan","Local Security Assistant - Kandahar Province","Information Communication Technology Officer (Nationals Only) - Kabul, Afghanistan","Procurement Analyst (Nationals Only) (4 Positions) - Afghanistan","Security Specialist - Kabul with travel to Provinces"],"title":["Monitoring & Evaluation Associate","Local Security Assistant","Information Communication Technology Officer (Nationals Only)","Procurement Analyst (Nationals Only) (4 Positions)","Security Specialist"]}},'A4AC9E73B-F397-3942-548E221F307B40A7')