header("Job Description", project.HJobDetailImage, ""); function noNull (str) { var v = (str==null) ? "" : str; return(v); }; write(''); dbConnect(); cursor = database.cursor("SELECT * FROM JOB WHERE JID=" + request.jid +";"); if (cursor.next()!=true){ write("


The requested job record is unavailable " + "and may have been deleted by another user.
" + "Please back out of this form.


"); HaltOperations(); }; fields = new FieldsList("JOB");

if (client.hrEnabled=="yes"){ //**** Use by HR ***** header2(fetchV("title"), "Requisition No. "+ fetchV("req"), button("Edit", null, "jobedit.html?jid=" + request.jid + "&mode=edit"), button("Add", null, "jobedit.html?jid=" + "0" + "&mode=add" ), button("Copy", null, "jobedit.html?jid=" + request.jid + "&mode=copy"), button("Delete", null, "javascript:doDelete()") ); }else{ //**** ordinary user ***** header2(fetchV("title"), "Requisition No. "+ fetchV("req"), button("Apply", null, "jobapply.html?jid=" + request.jid + "&title=" + escape(cursor.title) + "&hiringmgr=" + escape(cursor.hiringmgr) + "&department=" + escape(cursor.department) + "&site=" + escape(cursor.site) + "&req=" + escape(cursor.req)), "","","" ); };

Job Description: fetchW("dlong"); temp=fetchV("mgrnote"); if (temp!=null && temp.length>2){write("

Message from Hiring Manager: "+temp)};



Department:fetchW("department") Position Level:fetchW("jobgrade")
Location:fetchW("site") Salary Range:fetchW("salarylow"); write(" - "); fetchW("salaryhigh")
temp=fetchV("siteaddress1"); if (temp==""){fetchW("siteaddress2") } else { write(temp); temp=fetchV("siteaddress2"); if (temp!="") {write("
"+temp) }; }
Job posted:write(dateToString(cursor.tcreated))
fetchW("sitecity");write(", ");fetchW("sitestate") Recent edit:write(dateToString(cursor.tedit))
dbDisconnect(); footer();