var VacanciesAreOnThisPage = true //window.onerror = function nada(){} function centerWin(zwidth,zheight){ var winHeight var winWidth winHeight = screen.availHeight winWidth = screen.width if (zwidth > winWidth){zwidth=winWidth} if (zheight > winHeight){zheight=winHeight} zleft = parseInt((winWidth/2)-(zwidth/2)) if (zleft < 10){zleft = 0} ztop = parseInt((winHeight/2)-(zheight/2)) if (ztop < 25){ztop = 0} var x = "width=" + zwidth + ",height=" + zheight + ",left=" + zleft + ",top=" + ztop return x } function applyFor(posJobCode,posFirstChoice,posSpecialty){ var openwindow = false if (document.layers){ alert("Please go back and then click 'Start an Application' to apply for this position.") return false; } var OpenWin = true try { if (typeof self.opener.updateApp == "boolean"){ OpenWin = false } } catch (e) { OpenWin = true } if (OpenWin){ var applyFor = window.open("https://www.generalasp.com/D128/onlineapp/0applyFor.asp?posJobCodes=" + posJobCode + "&posFirstChoice=" + posFirstChoice + "&posSpecialty=" + posSpecialty,"applyFor","location=no,resizable=yes,scrollbars=yes," + centerWin(635,430)) applyFor.focus() } else { window.opener.location = "javascript: applyFor('" + posJobCode + "','" + posFirstChoice + "','" + posSpecialty + "')" self.close() } } function oldWay(){ var openwindow = false if (document.layers){ alert("Please go back and then click 'Start an Application' to apply for this position.") return false; } if (opener == null){ var applyFor = window.open("https://www.generalasp.com/D128/onlineapp/0applyFor.asp?posJobCodes=" + posJobCode + "&posFirstChoice=" + posFirstChoice + "&posSpecialty=" + posSpecialty,"applyFor","location=no,resizable=yes,scrollbars=yes," + centerWin(635,430)) applyFor.focus() }else{ if (typeof self.opener == "undefined"){ var applyFor = window.open("https://www.generalasp.com/D128/onlineapp/0applyFor.asp?posJobCodes=" + posJobCode + "&posFirstChoice=" + posFirstChoice + "&posSpecialty=" + posSpecialty,"applyFor","location=no,resizable=yes,scrollbars=yes," + centerWin(635,430)) applyFor.focus() }else{ if (typeof self.opener.updateApp == "boolean"){ window.opener.location = "javascript: applyFor('" + posJobCode + "','" + posFirstChoice + "','" + posSpecialty + "')" self.close() }else{ var applyFor = window.open("https://www.generalasp.com/D128/onlineapp/0applyFor.asp?posJobCodes=" + posJobCode + "&posFirstChoice=" + posFirstChoice + "&posSpecialty=" + posSpecialty,"applyFor","location=no,resizable=yes,scrollbars=yes," + centerWin(635,430)) applyFor.focus() } } } } function applyForInternal(posJobCode,posFirstChoice,posSpecialty){ var applyFor = window.open("https://www.generalasp.com/D128/onlineapp/0applyFor.asp?posJobCodes=" + posJobCode + "&posFirstChoice=" + posFirstChoice + "&posSpecialty=" + posSpecialty,"applyFor","location=no,resizable=yes,scrollbars=yes," + centerWin(635,430)) applyFor.focus() } function toggle_block(i) { if (document.getElementById(i).style.display == 'none'){ document.getElementById(i).style.display = 'block';} else {document.getElementById(i).style.display = 'none';} setUpPageBreaks() return false; } function submitAppliTrackSearch(){ searchString = document.getElementById("AppliTrackPostingSearch").value if (window.location.search == "") { window.location = window.location + "?AppliTrackPostingSearch=" + escape(searchString) }else{ window.location = window.location + "&AppliTrackPostingSearch=" + escape(searchString) } } function AppliTrackSort(key){ winLoc = window.location.toString() if (window.location.search == "") { window.location = winLoc + "?AppliTrackSort=" + escape(key) }else{ if (window.location.search.indexOf("AppliTrackSort=") > 0){ var currLoc = winLoc.substring(0,winLoc.indexOf("AppliTrackSort=")) window.location = winLoc.replace(/([^a-zA-Z0-9\-\.]+AppliTrackSort=)([a-zA-Z0-9\-\.]+)([&a-zA-Z0-9\-\.]*)/i,'$1' + escape(key) + '$3'); }else{ window.location = winLoc + (winLoc.indexOf("?") < 0?"?":"&") + "AppliTrackSort=" + escape(key) } } } function AppliTrackSearchFocus(){ if (document.getElementById("AppliTrackPostingSearch").value == "Search Postings"){ document.getElementById("AppliTrackPostingSearch").value = "" document.getElementById("AppliTrackPostingSearch").style.color = "black" document.getElementById("AppliTrackPostingSearch").style.fontStyle = "normal" } } function AppliTrackSearchBlur(){ if (document.getElementById("AppliTrackPostingSearch").value == ""){ document.getElementById("AppliTrackPostingSearch").value = "Search Postings" document.getElementById("AppliTrackPostingSearch").style.color = "#999999" document.getElementById("AppliTrackPostingSearch").style.fontStyle = "italic" } } function AppliTrackWatchForEnter(e){ if(window.event) key = window.event.keyCode; //IE else key = e.which; //firefox if (key == 13) { submitAppliTrackSearch() return false; } } function AppliTrackInit(){ try{ document.getElementById("AppliTrackPostingSearch").value = "Search Postings" if (window.location.search.indexOf("category") > 0 || window.location.search.indexOf("AppliTrackPostingSearch") > 0){ document.getElementById("AppliTrackPostings").scrollIntoView(true) } } catch(e){} } setTimeout('AppliTrackInit()',100) document.write('
| Positions are broken into categories. Click a category name to see the positions in that category. |