function checkValidBA(){ var index = document.jobFinder.recBusinessArea.selectedIndex; var ba = document.jobFinder.recBusinessArea.options[index].value; if(ba==1010101010) { alert("You must select a valid BUSINESS AREA to search through"); } else { document.jobFinder.submit(); } } function grabRegionRole(url,region){ var baindex = document.jobFinder.recBusinessArea.selectedIndex; var ba = document.jobFinder.recBusinessArea.options[baindex].value; //var roleindex = document.jobFinder.recRole.selectedIndex; //var role = document.jobFinder.recRole.options[roleindex].value; if(ba==1010101010) { alert("You must select a valid BUSINESS AREA to search through"); } else { window.location=url + "?recRegion=" + region + "&recRole=0&recBusinessArea=" + ba; } } function openNewWin(winURL,winName,winFeature){ var newWin = window.open(winURL,winName,winFeature); } function changeButtonImage(butID, butImg) { document.getElementById(butID).src=butImg } function createPopup(title,width,height,url) { var options = 'toolbar=no,titlebar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,fullscreen=no,scrollbars=yes,top=10,left=10,screenX=10,screenY=10,width=' + width + ',height=' + height; window.open(url,title,options) } var nothingSelected = "OxyBox : Error:nPlease make sure you select an element beforenusing the management icons"; var alreadySelected = "OxyBox : Error:nThis already exists in the destination, we can'tnhave two the same now can we?"; var nonSelectable = "OxyBox : Error:nThis element is non-selectable. It cannot be added"; var unableToDelete = "OxyBox : Error:nThis element is unable to be removed from this area"; var cannotView = "OxyBox : Please Select a VALID Element before trying to view this preview"; var selectElementBeforeClick = "OxyBox : Please Select a VALID Element before pressing this button"; var oneSelectOnly = "OxyBox : You can only select ONE element for this menu. You already have an element in your destination window,nPlease remove it before trying to add another"; function CheckArray(source,value) { for(i=0; i