
var IsSearch=(location.pathname.toLowerCase()=='/LPFSearch.aspx')
var IsPowerSearch=(location.pathname.toLowerCase()=='/powersearch.aspx'||location.pathname.toLowerCase()=='/powersearch3cols.aspx'||location.pathname.toLowerCase()=='/advancedsearch.aspx')
var US_LOCATION_ID=316;
;

_g.namespace('_s.lpf').canTrack={ch:null,init:function(cbs){$(document).ready(function(){setTimeout(function(){try{cb=_s.lpf.canTrack.regCH
if(cbs=="tpv"){cb=_s.lpf.canTrack.track;}
_s.scriptLoader.AsyncLoadExternalScript("http://jdn.monster.com/render/adimage.aspx/can.js",cb);}
catch(e){}},0);});},regCH:function(){try{if(!_s.lpf.canTrack.ch&&typeof(monsterCan)!="undefined"){_s.lpf.canTrack.ch=monsterCan.getPartnership("e6d8f931-8e1b-4f5b-8bcf-92f28bee89e2");}}
catch(err){}},track:function(){try{if(!_s.lpf.canTrack.ch){_s.lpf.canTrack.regCH();}
_s.lpf.canTrack.ch.trackPageview();}
catch(e){}},trackI:function(){try{if(typeof(monsterCan)=="undefined"){_s.lpf.canTrack.init("tpv");}else{_s.lpf.canTrack.track();}}
catch(e){}}}
;

var MAX_SAVE_SEARCHES_NOT_SUBSCRIBED=5;$(document).ready(function(){var locationHref=window.location.href.toLowerCase();if(!IsPowerSearch){CurrentSearchBox_DocumentReadyInit();$('#CurrentSearchBox').show();}});function CurrentSearchBox_DocumentReadyInit(){if(typeof(CurrentSearchBox_Registered)!="undefined"&&CurrentSearchBox_Registered){_g.security.onLoginCancel().bind(closeModal);$("#rbtnEmailRsultsOpt00").text(EmailFrequencyValues[0]);$("#rbtnEmailRsultsOpt01").text(EmailFrequencyValues[1]);$("#rbtnEmailRsultsOpt07").text(EmailFrequencyValues[7]);$("#rbtnEmailRsultsOpt14").text(EmailFrequencyValues[14]);$("#rbtnEmailRsultsOpt30").text(EmailFrequencyValues[30]);$("#CurrentSearchFacets dd:last").css("borderBottom","none");$("#CurrentSearchFacets dd:last").css("paddingBottom","0px");$('#CurrentSearchBox span').click(function(){$('#CurrentSearchBox span.BoxIndicator_collapsed').toggle();$('#CurrentSearchBox span.BoxIndicator_expanded').toggle();if($("#CurrentSearchContent").is(":hidden")){$("#CurrentSearchContent").slideDown("normal");$("#currentSearchBoxTitle").removeClass("collapsedContent").addClass("expandedContent");}else{$("#CurrentSearchContent").slideUp("normal",function(){$("#currentSearchBoxTitle").removeClass("expandedContent").addClass("collapsedContent");});}});$('#CurrentSearchFacets > dt').click(function(){$(this).toggleClass("expandedSearchFacet");$(this).toggleClass("collapsedSearchFacet");$(this).next().slideToggle("normal");});$('#tbxSaveSearchAs').click(clearTextField);}}
function SaveSearch(){var parser=new Querystring.Parser(QS);if(!IsPowerSearch||(!parser.has("where"))){parser.remove("rad");parser.remove("rad_units");}
var checkedSavedSearchID;EmailFrequency=$('select[name="rbtnEmailResults"]').val();SaveSearchName=$.trim($('#tbxSaveSearchAs').val());SaveSearchName=SaveSearchName.replace(/</g,"").replace(/>/g,"").replace(/javascript/gi,"").replace(encodeURI("<"),"").replace(encodeURI(">"),"")
if(decodeURI(SaveSearchName).toLowerCase().indexOf("javascript")>-1)
SaveSearchName=decodeURI(SaveSearchName).replace(/</g,"").replace(/>/g,"").replace(/javascript/gi,"");if(SaveSearchName==""||SaveSearchName==CurrentSearchJSParams.Msg_203638){displaySaveSearchMsg(CurrentSearchJSParams.Msg_203639);return;}
if(ReachedLimitOfSavedSearches){checkedSavedSearchID=$('input[name=rbtnSaveSearchesList]:checked').val();if(typeof(checkedSavedSearchID)=="undefined"){displaySaveSearchMsg(CurrentSearchJSParams.Msg_209064);return;}}
var altLoader=CurrentSearchJSParams.Msg_203640;displaySaveSearchMsg('<img src="http://media.newjobs.com/mm/redux/ajax/loading.gif" alt="'+altLoader+'" />');if(typeof(checkedSavedSearchID)!="undefined"){UpdateSaveSearch(checkedSavedSearchID);return;}
if(typeof(LastSaveSearchName)!="undefined"&&LastSaveSearchName.length>0){if(LastSaveSearchName==SaveSearchName){PerformSaveSearch(false);}
else{parser.remove("ssid");QS=parser.buildRequest();_s.services.post('saveSearch/savedSearchExists',{'savedSearchName':SaveSearchName},SavedSearchExistsSuccess);}}
else{_s.services.post('saveSearch/savedSearchExists',{'savedSearchName':SaveSearchName},SavedSearchExistsSuccess);}}
function SaveSearchSuccess(result){if(result.Status==0){closeModal();}
else if((result.Status==-3)&&(result.Message!=null)&&(result.Message.length>0)){window.location=result.Message;}}
function SaveSearchError(result){displaySaveSearchMsg(CurrentSearchJSParams.Msg_203642+" "+result.Message);}
function displaySaveSearchMsg(msg){$('#saveSearchError').html(msg).show();}
function fillSaveSearchBasicModalControls(){var currentSearchCriteria;if(!IsPowerSearch)currentSearchCriteria=jsResults.JobSearchList.CurrentSearchCriteria;var parser=new Querystring.Parser(QS);var keywordText=parser.get("q");var jobTitleText=parser.get("tjt");var experienceText=parser.get("ye");var searchJobTitleOnly=Boolean(parser.get("jto")==1);var includeNonTraditionalJobOpportunities=false;var allJTParams=parser.getAll("jt");for(var i=0;i<allJTParams.length;i++){if(allJTParams[i]==32){includeNonTraditionalJobOpportunities=true;break;}}
var thisExactPhrase=Boolean(parser.get("qt")=="phrase");var excludeKeywordsText=parser.get("xq");var locationTextNew;if(IsPowerSearch)
locationTextNew=parser.get("where");else
locationTextNew=currentSearchCriteria.NewLocations[0];var radiusText=parser.get("rad");var radiusUnitsText=parser.get("rad_units");if(!IsPowerSearch&&currentSearchCriteria.Radius==0){radiusText="";radiusUnitsText=""}
var showCriteriaHeading=false;var locationID=parser.get("lid");SaveSearchID=parser.get("ssid");LastSaveSearchName=parser.get("ssname");if(typeof(LastSaveSearchName)!="undefined"&&LastSaveSearchName.length>0){var emailFrequencyVal=parseInt(parser.get("tm"));$('select[name="rbtnEmailResults"]').val(emailFrequencyVal);}
$('#tbxSaveSearchAs').val(LastSaveSearchName);if(typeof(keywordText)!="undefined"&&keywordText.length>0){$('#lblKeywordText').text(keywordText);$('#CurrentSearchBoxKeywordDiv').show();showCriteriaHeading=true;if(searchJobTitleOnly){$('#lblSearchJobTitleOnly').show();}
if(thisExactPhrase){$('#lblThisExacatPhrase').show();}
if(typeof(excludeKeywordsText)!="undefined"&&excludeKeywordsText.length>0){$('#lblNotTheseKeywordsText').text(excludeKeywordsText);$('#CurrentSearchBoxNotTheseKeywords').show();}}
if(includeNonTraditionalJobOpportunities){$('#IncludeNonTraditionalJobOpportunitiesDiv').show();}
if(typeof(jobTitleText)!="undefined"&&jobTitleText.length>0){$('#lblJobTitleText').text(jobTitleText);$('#CurrentSearchBoxJobTitleDiv').show();showCriteriaHeading=true;}
if(typeof(experienceText)!="undefined"&&experienceText.length>0){$('#lblExperienceText').text(experienceText);$('#CurrentSearchBoxExperienceDiv').show();showCriteriaHeading=true;}
if(IsPowerSearch){if(typeof(locationTextNew)!="undefined"&&locationTextNew.length>0){$('#lblLocationText').html(locationTextNew);}
else{$('#lblLocationText').html(CurrentSearchJSParams.Msg_209324);}
$('#CurrentSearchBoxLocationDiv').show();showCriteriaHeading=true;}
else{if(typeof(locationTextNew)!="undefined"&&locationTextNew.Data.length>0){var locationTextToDisplay="";if(locationTextNew.ID!=US_LOCATION_ID)
locationTextToDisplay=locationTextNew.Data;else
locationTextToDisplay=locationTextNew.UrlValue;$('#lblLocationText').html(locationTextToDisplay);$('#CurrentSearchBoxLocationDiv').show();showCriteriaHeading=true;}
else{$('#lblLocationText').html(CurrentSearchJSParams.Msg_209324);$('#CurrentSearchBoxLocationDiv').show();showCriteriaHeading=true;}}
if(typeof(radiusText)!="undefined"&&radiusText.length>0){$('#lblRadiusText').text(radiusText+" "+radiusUnitsText);$('#CurrentSearchBoxRadiusDiv').show();showCriteriaHeading=true;}
if(typeof(pagingTotalJobsId)!="undefined"){$('#numberOfJobsFound').text($(pagingTotalJobsId).text());}
var occupationListText="";if(!IsPowerSearch){for(var i=0;i<currentSearchCriteria.Occupations.length;i++){var item=currentSearchCriteria.Occupations[i]
occupationListText+=item.Data+"<br/>";for(var j=0;j<item.ChildOccupations.length;j++){var subItem=item.ChildOccupations[j];occupationListText+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+subItem.Data;if(j<item.ChildOccupations.length-1){occupationListText+="<br/>";}}}
if(currentSearchCriteria.Occupations.length>0){$('#lblOccupationText').html(occupationListText);$('#CurrentSearchBoxOccupationDiv').show();showCriteriaHeading=true;}}
else{var categories=parser.getAll("occ");for(var j=0;j<categories.length;j++){if(categories[j]!=null){occupationListText=occupationListText+$("#moreFilters_filterCategories").find("input[value="+categories[j]+"]").parent().parent().parent().find("label").text()+"<br/>";}}
if(occupationListText.length>0){$('#lblOccupationText').html(occupationListText);$('#CurrentSearchBoxOccupationDiv').show();showCriteriaHeading=true;}}
if(!IsPowerSearch){if(typeof(currentSearchCriteria.Company)!="undefined"&&currentSearchCriteria.Company!=null&&currentSearchCriteria.Company.length>0){$('#lblCurrentSearchBoxCompanyText').html(currentSearchCriteria.Company);$('#CurrentSearchBoxCompanyDiv').show();showCriteriaHeading=true;}}
else{var company=parser.getAll("cn");if(company!=null&&company.length>0){$('#lblCurrentSearchBoxCompanyText').html(company);$('#CurrentSearchBoxCompanyDiv').show();showCriteriaHeading=true;}}
var industriesListText="";if(!IsPowerSearch){for(var i=0;i<currentSearchCriteria.Industries.length;i++){var item=currentSearchCriteria.Industries[i];industriesListText+=item.Data;if(i<currentSearchCriteria.Industries.length-1){industriesListText+="<br/>";}}
if(industriesListText.length>0){$('#lblCurrentSearchBoxIndustriesText').html(industriesListText);$('#CurrentSearchBoxIndustriesDiv').show();showCriteriaHeading=true;}}
else{var industries=parser.getAll("indid");for(var j=0;j<industries.length;j++){if(industries[j]!=null){industriesListText=industriesListText+$("#moreFilters_filterIndustries").find("input[value="+industries[j]+"]").parent().parent().parent().find("label").text()+"<br/>";}}
if(industriesListText.length>0){$('#lblCurrentSearchBoxIndustriesText').html(industriesListText);$('#CurrentSearchBoxIndustriesDiv').show();showCriteriaHeading=true;}}
var jobTypesListText="";if(!IsPowerSearch){for(var i=0;i<currentSearchCriteria.JobTypes.length;i++){var item=currentSearchCriteria.JobTypes[i];jobTypesListText+=item.Data;if(i<currentSearchCriteria.JobTypes.length-1){jobTypesListText+="<br/>";}}
if(jobTypesListText.length>0){$('#lblCurrentSearchBoxJobTypesText').html(jobTypesListText);$('#CurrentSearchBoxJobTypesDiv').show();showCriteriaHeading=true;}}
else{var jobTypes=parser.getAll("jt");for(var i=0;i<jobTypes.length;i++){if(jobTypes[i]!=null){jobTypesListText=jobTypesListText+$('#filterJobStatus').find("input[value="+jobTypes[i]+"]").parent().parent().find("label").text()+"<br/>";}}
if(jobTypesListText.length>0){$('#lblCurrentSearchBoxJobTypesText').html(jobTypesListText);$('#CurrentSearchBoxJobTypesDiv').show();showCriteriaHeading=true;}}
if(!IsPowerSearch){if(currentSearchCriteria.PostingDate.length>0){$('#lblCurrentSearchBoxJobPostingDateText').html(currentSearchCriteria.PostingDate[0].Data);$('#CurrentSearchBoxJobPostingDateDiv').show();showCriteriaHeading=true;}}
else{var postingDate=parser.get("tm");if(postingDate.length>0){$('#lblCurrentSearchBoxJobPostingDateText').html(postingDate);$('#CurrentSearchBoxJobPostingDateDiv').show();showCriteriaHeading=true;}}
var careerLevelListText="";if(!IsPowerSearch){for(var i=0;i<currentSearchCriteria.CareerLevel.length;i++){var item=currentSearchCriteria.CareerLevel[i];careerLevelListText+=item.Data;if(i<currentSearchCriteria.CareerLevel.length-1){careerLevelListText+="<br/>";}}
if(currentSearchCriteria.CareerLevel.length>0){$('#lblCurrentSearchBoxCareerLevelText').html(careerLevelListText);$('#CurrentSearchBoxCareerLevelDiv').show();showCriteriaHeading=true;}}
else{var careerLevels=parser.getAll("lv");for(var i=0;i<careerLevels.length;i++){if(careerLevels[i]!=null){careerLevelListText=careerLevelListText+$('#filterCareerLevels').find("input[value="+careerLevels[i]+"]").parent().parent().find("label").text()+"<br/>";}}
if(careerLevelListText.length>0){$('#lblCurrentSearchBoxCareerLevelText').html(careerLevelListText);$('#CurrentSearchBoxCareerLevelDiv').show();showCriteriaHeading=true;}}
if(!IsPowerSearch){if(currentSearchCriteria.YearsExperience.length>0){$('#lblCurrentSearchBoxYearsOfExperienceText').html(currentSearchCriteria.YearsExperience[0].Data);$('#CurrentSearchBoxYearsOfExperienceDiv').show();showCriteriaHeading=true;}}
else{var yrExp=parser.get("ye");if(yrExp!=null&&yrExp.length>0){$('#lblCurrentSearchBoxYearsOfExperienceText').html(yrExp);$('#CurrentSearchBoxYearsOfExperienceDiv').show();showCriteriaHeading=true;}}
var educationLevelListText="";if(!IsPowerSearch){for(var i=0;i<currentSearchCriteria.EducationLevel.length;i++){var item=currentSearchCriteria.EducationLevel[i];educationLevelListText+=item.Data;if(i<currentSearchCriteria.EducationLevel.length-1){educationLevelListText+="<br/>";}}
if(currentSearchCriteria.EducationLevel.length>0){$('#lblCurrentSearchBoxEducationLevelText').html(educationLevelListText);$('#CurrentSearchBoxEducationLevelDiv').show();showCriteriaHeading=true;}}
else{var eduLevels=parser.getAll("eid");for(var i=0;i<eduLevels.length;i++){if(eduLevels[i]!=null){educationLevelListText=educationLevelListText+$('#filterEducationLevels').find("input[value="+eduLevels[i]+"]").parent().parent().find("label").text()+"<br/>";}}
if(educationLevelListText.length>0){$('#lblCurrentSearchBoxEducationLevelText').html(educationLevelListText);$('#CurrentSearchBoxEducationLevelDiv').show();showCriteriaHeading=true;}}
if(showCriteriaHeading){$('#currentSearchBoxCurrentSearchCriteria').show();}}
function fillSaveSearchExpandedModalControls(){FillSavedSearchesRadioButtonList();fillSaveSearchBasicModalControls();}
function FillSavedSearchesRadioButtonList(){_s.services.post('saveSearch/getSavedSearchData',{},function(result){var radioButtons="";var parser=new Querystring.Parser(QS);SaveSearchID=parser.get("ssid");for(var i=0;i<result.ItemsCount;i++){var CurrentSavedSearchID=result.Items[i].SavedSearchID;radioButtons+="  <input id='rbtnSaveSearch"+i+"' type='radio' name='rbtnSaveSearchesList' align='left' value='"+
CurrentSavedSearchID+"'";if(SaveSearchID==CurrentSavedSearchID){radioButtons+=" checked=checked";}
radioButtons+=" />  "+result.Items[i].SavedSearchName+" <br />";}
$('#savedSearchesRadioButtonList').empty();$('#savedSearchesRadioButtonList').append(radioButtons);},function(error){})}
function clearTextField(){if($.trim($(this).val())==CurrentSearchJSParams.Msg_203643)
$(this).val('');}
function OpenCurrentSearchBoxMoreThanOneLocationInfoModal(){$('#CurrentSearchBoxMoreThanOneLocationInfo').modal({onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},appendTo:'.mainForm',draggable:false});}
function OpenCurrentSearchBoxOldStyleLocationsNotAllowed(locationText){$('#CurrentSearchBoxOldStyleLocationText').empty();$('#CurrentSearchBoxOldStyleLocationText').append(locationText);$('#CurrentSearchBoxOldStyleLocationsNotAllowed').modal({onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},appendTo:'.mainForm',draggable:false});}
function OpenSaveSearchBasicModal(){overrideSimpleModalDrag();$('#saveSearchBasic').modal({heading:CurrentSearchJSParams.Msg_203622,onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},onClose:function(modal){closeModal();},appendTo:'.mainForm',draggable:true,width:300});}
function OpenSaveSearchExpandedModal(){overrideSimpleModalDrag();$('#saveSearchExpanded').show();$('#saveSearchBasicInfoMessage').hide();$('#saveSearchBasic').modal({heading:CurrentSearchJSParams.Msg_205167,onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},onClose:function(modal){closeModal();},appendTo:'.mainForm',draggable:true,width:600});}
function overrideSimpleModalDrag(){(function($){$.ui.draggable.prototype.drag=function(e){this.position={top:e.pageY-this.offset.top,left:e.pageX-this.offset.left};this.positionAbs={left:e.pageX-this.clickOffset.left,top:e.pageY-this.clickOffset.top};var oldPosition=this.position.top;this.position=this.propagate("drag",e)||this.position;if(this.position.top<0)this.position.top=(oldPosition>0?oldPosition:0);this.helper.css({left:this.position.left+'px',top:this.position.top+'px'});if($.ui.ddmanager)$.ui.ddmanager.drag(this,e);return false;};})(jQuery);}
function OpenCurrentSearchBoxOverWriteSavedSearchDialogModal(){closeModal();$('#CurrentSearchBoxOverWriteSavedSearchDialog').modal({heading:'',onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},appendTo:'.mainForm',draggable:false});}
function DeleteAllSavedSearchesConfirmation(){closeModal();$('#deleteAllSearchesConfirmation').modal({heading:CurrentSearchJSParams.Msg_204769,onOpen:function(modal){modal.overlay.fadeIn('slow');modal.data.show();modal.container.fadeIn('slow');},appendTo:'.mainForm',draggable:false});}
function SavedSearchExistsSuccess(result){if(result.Status==0){SaveSearchID=result.ExistingSavedSearchID;$('#lblSavedSearchName').text('\"'+SaveSearchName+'\". ');OpenCurrentSearchBoxOverWriteSavedSearchDialogModal();}
else{PerformSaveSearch(true);}}
function PerformSaveSearch(isNewSearch){if(isNewSearch){var parser=new Querystring.Parser(QS);parser.set("ssnew",1);if(LPF_FN!=null&&LPF_FN.length>0){parser.set("occ",LPF_FN);}
else if(LPF_QW!=null&&LPF_QW.length>0){parser.set("q",LPF_QW);}
if(LPF_LID!=null&&parseInt(LPF_LID)>0){parser.set("lid",parseInt(LPF_LID));}
if(LPF_WHERE!=null&&LPF_WHERE.length>0){parser.set("where",LPF_WHERE);}
if(!IsPowerSearch&&(parser.get("where"))&&(typeof(parser.get("lid"))=="undefined")&&(myData.CurrentSearchCriteria.NewLocations.length>0)){var objLocation=jsResults.JobSearchList.CurrentSearchCriteria.NewLocations[0];if(objLocation.ChildLocations.length>0)
objLocation=objLocation.ChildLocations[0];if((!IsPowerSearch&&(objLocation.UrlValue.indexOf(parser.get("where"))!=-1))||(IsPowerSearch&&(objLocation.Data.indexOf(parser.get("where"))!=-1))){if(objLocation.Lid!=0)parser.set("lid",objLocation.Lid);if(objLocation.Lat!=0)parser.set("qlt",objLocation.Lat);if(objLocation.Lon!=0)parser.set("qln",objLocation.Lon);}}
parser.remove("rad");parser.remove("rad_units");QS=parser.buildRequest();}
var agentTypeID=IsPowerSearch?2:1;if(QS.toLowerCase().indexOf(location.host)==-1){QS=location.host.toLowerCase()+"?"+QS;}
$('#savedSearchesLabel').stop();$('#savedSearchesLabel').attr('style','background-color:#D0DF8B;');_s.services.post('saveSearch/performSaveSearch',{'qs':QS,'saveSearchName':SaveSearchName,'emailFrequency':EmailFrequency,'agentTypeID':agentTypeID},SaveSearchSuccess);}
function UpdateSaveSearch(saveSearchID){var parser=new Querystring.Parser(QS);parser.set("ssid",saveSearchID);QS=parser.buildRequest();PerformSaveSearch(true);}
function SavedSearchExistsError(result){}
function SaveSearchModal(){var sPath=window.location.pathname;var sPage=sPath.substring(sPath.lastIndexOf('/')+1);dcsMultiTrack('DCS.dcsuri','/'+sPage+'_click.evt','DCSext.en','CLPFSvSrch');var parser=new Querystring.Parser(Querystring.Utils.GetHash());var locationTextOldStyle=parser.get("cnme");var lid=LPF_LID;if(LPF_FN!=null&&LPF_FN.length>0){parser.set("occ",LPF_FN);}
else if(LPF_QW!=null&&LPF_QW.length>0){parser.set("q",LPF_QW);}
if(LPF_LID!=null&&parseInt(LPF_LID)>0){parser.set("lid",parseInt(LPF_LID));}
if(typeof(locationTextOldStyle)!="undefined"&&locationTextOldStyle.length>0&&typeof(lid)=="undefined"){OpenCurrentSearchBoxOldStyleLocationsNotAllowed(locationTextOldStyle);return;}
var returnUrl=window.location.pathname;var search=window.location.search;if(search.length>0&&search.charAt(0)=="?"){search=search.substr(1,search.length-1);}
var hash=window.location.hash;if(hash.length>0&&hash.charAt(0)=="#"){hash=hash.substr(1,hash.length-1);}
if($.trim(hash)!=""){returnUrl=returnUrl+"?"+hash;}
else if($.trim(search)!=""){returnUrl=returnUrl+"?"+search;}
$.cookie("SaveSearchReturnURL",returnUrl,{path:"/",domain:_g.getHostName()});LocationBeforeSignUp="JobSearch_SaveSearch";QS=parser.buildRequest();var callOpts={addQueryString:true,error:""}
_s.services.post('JobSearch/Search',{'pageName':window.location.pathname.substring(1).toLowerCase(),'queryString':QS,'sortField':"",'autoSortByDate':false},function(msg){jsResults=msg;if(typeof(jsResults.JobSearchList)=="string"){jsResults.JobSearchList=eval("("+jsResults.JobSearchList+")");}
myData=jsResults.JobSearchList;_g.security.call(_g.security.level.high,function(){_s.services.post('saveSearch/getSavedSearchesCount',{},function(result){if(result.Count<MAX_SAVE_SEARCHES_NOT_SUBSCRIBED){_g.security.call(_g.security.level.high,function(){ReachedLimitOfSavedSearches=false;OpenSaveSearchBasicModal();fillSaveSearchBasicModalControls();$.cookie("SaveSearchReturnURL",null,{path:"/",domain:_g.getHostName()});});}
else{_g.security.call(_g.security.level.high,function(){ReachedLimitOfSavedSearches=true;OpenSaveSearchExpandedModal();fillSaveSearchExpandedModalControls();$('#modalContainer').attr('class','modalContainer wideModal');$.cookie("SaveSearchReturnURL",null,{path:"/",domain:_g.getHostName()});});}},function(error){})},function(){_s.urlSecurity.loginWithCookies(window.location,'LPFSaveSearch','');});},null,callOpts);}
function closeModal(){$.modal.close();LocationBeforeSignUp="";}
function DoBrowseJobsSearch(){var searchUrl="/Search.aspx?";if(brdParam!=null){searchUrl+="brd="+brdParam+"&";}
if(BrowseJobs.currentQueryString!=null&&BrowseJobs.currentQueryString!=""){searchUrl+=BrowseJobs.currentQueryString+"&";}
if((searchUrl.indexOf("?cy=")==-1)&&(searchUrl.indexOf("&cy=")==-1)){searchUrl+="cy="+JSConfigValues.CountryAbbrev+"&";}
var WTData="re=508&k=JobSearch;Browse";searchUrl+=WTData+"&"
if(searchUrl.charAt(searchUrl.length-1)=="&")searchUrl=searchUrl.substring(0,searchUrl.length-1);window.location=searchUrl;}
var currentSearchPageLoad=true;function currentSearchBoxParseQueryString(){var currentSearchCriteria=jsResults.JobSearchList.CurrentSearchCriteria;jsResults.JobSearchList=jsResults.JobSearchList;if(currentSearchPageLoad){currentSearchPageLoad=false;}
else{$('#CurrentSearchCriteria').html(jsResults.JobSearchList.CriteriaToRender);if(jsResults.JobSearchList!=null){if(!CurrentSearchBox_IsBrowseJobs){if((currentSearchCriteria.Radius!=null)&&(currentSearchCriteria.Radius!=0)){JsLocUtil.RadiusDropDown.Show();JsLocUtil.RadiusDropDown.Set(currentSearchCriteria.Radius);}
else{JsLocUtil.RadiusDropDown.Hide();}}
else{JsLocUtil.RadiusDropDown.Hide();}}}
if(jsResults.JobSearchList!=null){if(!CurrentSearchBox_IsBrowseJobs){if((currentSearchCriteria.Radius!=null)&&(currentSearchCriteria.Radius!=0)){JsLocUtil.Radius.Set(currentSearchCriteria.Radius);}}}}
function CurrentSearchBox_RemoveParamFromQueryString(itemToRemove,imageRef,doSearch,removeAll){if(doSearch==null){doSearch=true;}
if(removeAll==null){removeAll=false;}
var cntlId=itemToRemove.getAttribute('cntlid');var cntltype=itemToRemove.getAttribute('cntltype');var qsKey=itemToRemove.getAttribute('qskey');var qsValue=itemToRemove.getAttribute('qsvalue');removeFacetQueryParameter="";if(cntltype!=null){if(CurrentSearchBox_IsBrowseJobs){var qs=new Querystring.Parser(BrowseJobs.currentQueryString);if(cntltype.toLowerCase()=='facet'){removeFacetQueryParameter="r_"+qsKey+"="+qs.get(qsKey,"");qs.remove(qsKey,qsValue);}
else if(cntltype.toLowerCase()=='facet_special'){var tmpKey="r_"+qsKey+"=";var qsValues=qs.getAll(qsKey);for(i=0;i<qsValues.length;i++){removeFacetQueryParameter+=tmpKey+qsValues[i];}
qs.remove(qsKey);}
else if(cntltype.toLowerCase()=='dropdown'){var processDefault=true;var checkBoxId=itemToRemove.getAttribute('checkBoxId');if(qsKey=='occ'&&!removeAll){var occsStorage=itemToRemove.parentNode;if(occsStorage!=null){if($(occsStorage).children().size()==1){var splittedOccParam=checkBoxId.split('.');var occIdToSearch=0;if(splittedOccParam.length>0){occIdToSearch=parseInt(splittedOccParam[0]);}
var qsOccs='';for(var i=0;i<OccupationsStorage.Categories.length;i++){if(OccupationsStorage.Categories[i].CategoryID==occIdToSearch){for(var j=0;j<OccupationsStorage.Categories[i].Occupations.length;j++){if(qsOccs!=''){qsOccs+='&';}
qsOccs+='occ='+occIdToSearch+'.'+OccupationsStorage.Categories[i].Occupations[j];}}}
removeFacetQueryParameter="r_"+qsKey+"="+checkBoxId;qs.remove(qsKey,checkBoxId);var newQs=qs.buildRequest()+'&'+qsOccs;qs=new Querystring.Parser(newQs);processDefault=false;}}}
if(processDefault){removeFacetQueryParameter="r_"+qsKey+"="+checkBoxId;qs.remove(qsKey,checkBoxId);}}
else if(cntltype.toLowerCase()=='location'){var removeLocationFromSearch=false;var stateControl=itemToRemove.parentNode.parentNode;if(stateControl!=null){removeFacetQueryParameter="r_where="+qs.get("where","");removeFacetQueryParameter+="r_lid="+qs.get("lid","");removeFacetQueryParameter+="r_qlt="+qs.get("qlt","");removeFacetQueryParameter+="r_qln="+qs.get("qln","");qs.remove('where');qs.remove('lid');qs.remove('qlt');qs.remove('qln');qsLid=$(stateControl).attr('lid');if(qsLid!=null&&qsLid!=''){qs.set('lid',qsLid);}
qsCountry=qs.get('cy');if(qsCountry!=null&&qsCountry!=''){qs.remove('cy');qs.set('cy',qsCountry);}
qsKey=$(stateControl).attr('qskey');qsValue=$(stateControl).attr('qsvalue');if(qsKey=='where'&&qsValue!=null&&qsValue!=''){qs.set(qsKey,qsValue);}
else{removeLocationFromSearch=true;}}
else{removeLocationFromSearch==true;}
if(removeLocationFromSearch){removeFacetQueryParameter="r_where="+qs.get("where","");removeFacetQueryParameter+="r_lid="+qs.get("lid","");removeFacetQueryParameter+="r_qlt="+qs.get("qlt","");removeFacetQueryParameter+="r_qln="+qs.get("qln","");removeFacetQueryParameter+="r_cy="+qs.get("cy","");qs.remove('where');qs.remove('lid');qs.remove('cy');qs.remove('qlt');qs.remove('qln');}}
BrowseJobs.currentQueryString=qs.buildRequest();itemToRemove.parentNode.removeChild(itemToRemove);if(doSearch){BrowseJobs.processFacetSearch();}}
else{if(cntltype.toLowerCase()=='text'){removeFacetQueryParameter="r_"+qsKey+"="+qsValue;CurrentSearchBox_RemoveParamsFromQueryString(itemToRemove,null,false);var cntl=eval(JsMain.Inputs[cntlId].id+'_tbwh');cntl.elem.value='';cntl.ResetPrompt();}
else if(cntltype.toLowerCase()=='dropdown'){var processDefault=true;var checkBoxId=itemToRemove.getAttribute('checkBoxId');if(qsKey=='occ'&&!removeAll){var occsStorage=itemToRemove.parentNode;if(occsStorage!=null){if($(occsStorage).children().size()==1){JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveKey=qsKey;JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveValue=checkBoxId;removeFacetQueryParameter="r_"+qsKey+"="+checkBoxId;var splittedOccParam=checkBoxId.split('.');var occIdToSearch=0;if(splittedOccParam.length>0){occIdToSearch=parseInt(splittedOccParam[0]);}
var qsOccs='';for(var i=0;i<OccupationsStorage.Categories.length;i++){if(OccupationsStorage.Categories[i].CategoryID==occIdToSearch){for(var j=0;j<OccupationsStorage.Categories[i].Occupations.length;j++){if(qsOccs!=''){qsOccs+='&';}
qsOccs+='occ='+occIdToSearch+'.'+OccupationsStorage.Categories[i].Occupations[j];}}}
JobSearch20.Controls.JSResultsView.facetsSearchParameters=qsOccs;processDefault=false;}}}
if(processDefault){removeFacetQueryParameter="r_"+qsKey+"="+checkBoxId;var cntl=JsMain.Inputs[cntlId];cntl.selectValueByID(cntl,checkBoxId,false);}}
else if(cntltype.toLowerCase()=='location'){var qs=new Querystring.Parser(Querystring.Utils.GetHash());if(qsKey=='where'){var removeLocationFromSearch=false;var stateControl=itemToRemove.parentNode.parentNode;if(stateControl!=null){removeFacetQueryParameter="r_where="+qs.get("where","");removeFacetQueryParameter+="r_lid="+qs.get("lid","");removeFacetQueryParameter+="r_qlt="+qs.get("qlt","");removeFacetQueryParameter+="r_qln="+qs.get("qln","");qsKey=$(stateControl).attr('qskey');qsValue=$(stateControl).attr('qsvalue');var lid=$(stateControl).attr('lid');if(qsKey=='where'&&qsValue!=null&&qsValue!=''){JsLocUtil.PtbInternational.Reset();JsLocUtil.PtbLocal.Reset();if(JsLocConfig.AutoComplete){JsLocUtil.Latitude.Reset();JsLocUtil.Longitude.Reset();}
if(JsLocUtil.LocationId.Count>1){JsLocUtil.LocationText.Set(qsValue);if(lid!=null&&lid!=''){JsLocUtil.LocationId.Add(lid);}}
else{JsLocUtil.LocationText.Set(qsValue);if(lid!=null&&lid!=''){JsLocUtil.LocationId.Set(lid);}}}
else{removeLocationFromSearch=true;}}
else{removeLocationFromSearch==true;}
if(removeLocationFromSearch){removeFacetQueryParameter="r_where="+qs.get("where","");removeFacetQueryParameter+="r_lid="+qs.get("lid","");removeFacetQueryParameter+="r_qlt="+qs.get("qlt","");removeFacetQueryParameter+="r_qln="+qs.get("qln","");removeFacetQueryParameter+="r_cy="+qs.get("cy","");JsLocUtil.Country.Reset();JsLocUtil.PtbInternational.Reset();JsLocUtil.PtbLocal.Reset();if(JsLocUtil.DdlCountries.IsLoaded()){JsLocUtil.DdlCountries.Get().unselectAll();}
JsLocUtil.PtbInternational.Disable();JsLocUtil.Tab.Switch(JsLocUtil.Enums.Tab.Local);if(JsLocConfig.AutoComplete){JsLocUtil.Latitude.Reset();JsLocUtil.Longitude.Reset();}}}}
else if(cntltype.toLowerCase()=='checkbox'){removeFacetQueryParameter="r_"+qsKey+"="+qsValue;var cntlRealId=eval(cntlId);var cntl=$('#'+cntlRealId)[0];if(cntl!=null){cntl.checked=false;}}
else if(cntltype.toLowerCase()=='facet'){removeFacetQueryParameter="r_"+qsKey+"="+qsValue;JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveKey=qsKey;JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveValue=qsValue;}
else if(cntltype.toLowerCase()=='facet_special'){var qs=new Querystring.Parser(Querystring.Utils.GetHash());var tmpKey="r_"+qsKey+"=";var qsValues=qs.getAll(qsKey);for(i=0;i<qsValues.length;i++){removeFacetQueryParameter+=tmpKey+qsValues[i];}
JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveKey=qsKey;JobSearch20.Controls.JSResultsView.facetsSearchParametersRemoveValue=null;}
itemToRemove.parentNode.removeChild(itemToRemove);if(doSearch){JobSearch20.Controls.SearchButton.Re="0";JobSearch20.Controls.SearchButton.Click();}}}}
function CurrentSearchBox_WriteRemoveWebTrendsTag(itemToRemove){var facetID=$(itemToRemove).attr('facetid');var facetAbbrev=$(itemToRemove).attr('facetabbrev');var qsKey=$(itemToRemove).find('ul li').attr('qskey');if(typeof(facetID)!="undefined"){if(CurrentSearchBox_IsBrowseJobs)BrowseJobs.WriteWebTrendsTags(qsKey,facetID,facetAbbrev,'/Browse.aspx_FacetSelect.evt','Facet','D',null);}}
function CurrentSearchBox_RemoveParamsFromQueryString(itemToRemove,imageRef,doSearch){var qsKey=$(itemToRemove).find('ul li').attr('qskey');if(doSearch==null){doSearch=true;}
var itemsToProcess=$(itemToRemove).find('ul');if(itemsToProcess!=0&&itemsToProcess.length>0){$(itemsToProcess).each(function(i){$(this).children().each(function(j){CurrentSearchBox_RemoveParamFromQueryString(this,imageRef,false,true);});});}
if(doSearch){var qsKey=$(itemToRemove).attr('qskey');var qsValue=$(itemToRemove).attr('qsvalue');if((qsKey=='where')||(qsKey=='cnme')){if(CurrentSearchBox_IsBrowseJobs){var qs=new Querystring.Parser(BrowseJobs.currentQueryString);qs.remove(qsKey);qs.remove('lid');qs.remove('cy');BrowseJobs.currentQueryString=qs.buildRequest();}
else{JsLocUtil.Country.Reset();JsLocUtil.PtbInternational.Reset();JsLocUtil.PtbLocal.Reset();if(JsLocUtil.DdlCountries.IsLoaded())JsLocUtil.DdlCountries.Get().unselectAll();JsLocUtil.PtbInternational.Disable();JsLocUtil.Tab.Switch(JsLocUtil.Enums.Tab.Local);if(JsLocConfig.AutoComplete){JsLocUtil.Latitude.Reset();JsLocUtil.Longitude.Reset();}}}
else if(qsKey=='lid'){if(CurrentSearchBox_IsBrowseJobs){var qs=new Querystring.Parser(BrowseJobs.currentQueryString);qs.remove(qsKey);BrowseJobs.currentQueryString=qs.buildRequest();}
else{var lastLid=true;var queryArr=Querystring.Utils.GetHash().toLowerCase().split('&');var lidCount=0;for(var i=0;i<queryArr.length;++i){var q=queryArr[i].split('=');if(q[0]=='lid'){lidCount=lidCount+1;if((lidCount>1)||(Querystring.Utils.UrlDecode(q[1]).indexOf(',')!=-1)){lastLid=false;break;}}}
if(lastLid){JsLocUtil.Country.Reset();JsLocUtil.PtbInternational.Reset();JsLocUtil.PtbLocal.Reset();if(JsLocUtil.DdlCountries.IsLoaded()){JsLocUtil.DdlCountries.Get().unselectAll();}
JsLocUtil.PtbInternational.Disable();JsLocUtil.Tab.Switch(JsLocUtil.Enums.Tab.Local);if(JsLocConfig.AutoComplete){JsLocUtil.Latitude.Reset();JsLocUtil.Longitude.Reset();}}
else{JsLocUtil.LocationId.Remove(qsValue);}}}
itemToRemove.parentNode.removeChild(itemToRemove);if(CurrentSearchBox_IsBrowseJobs){BrowseJobs.processFacetSearch();}
else{JobSearch20.Controls.SearchButton.Re="0";JobSearch20.Controls.SearchButton.Click();}}}
function addAtlasSaveSearchTag(){if(typeof(JSResultsMessages.Atlas_JobsearchAgentCompleted_168889)!='undefined'&&jQuery.trim(JSResultsMessages.Atlas_JobsearchAgentCompleted_168889)){$('#Atlas_JobsearchAgentCompleted').remove();$('#aspnetForm').append('<div id="Atlas_JobsearchAgentCompleted">'+JSResultsMessages.Atlas_JobsearchAgentCompleted_168889+'</div>');}}
;
;_g.namespace("_s.seeker").YPN={ctxt_ad_interface_default:"http://cm.noram.srv.ysm.yahoo.com/js_1_0/",ctxt_ad_width_default:728,ctxt_ad_height_default:90,ctxt_ad_config_default:'22045345629',ctxt_ref_url_default:document.referrer,ctxt_ad_source_default:'monster_ctxt',ctxt_ad_url_default:$(location).attr('href'),ctxt_ad_id_default:'LPF',ctxt_ad_keywords_default:'Jobs',ctxt_ad_css_default:'http://css-seeker.newjobs.com/MONS/v3.4.6.296d/LPF_css.axd',ctxt_ad_frameborder_default:0,ctxt_ad_title_default:'"Ads by Yahoo!"',init:function(){ctxt_ad_interface=_s.seeker.YPN.ctxt_ad_interface_default;ctxt_ad_config=_s.seeker.YPN.ctxt_ad_config_default;ctxt_ad_width=_s.seeker.YPN.ctxt_ad_width_default;ctxt_ad_height=_s.seeker.YPN.ctxt_ad_height_default;ctxt_ad_source=_s.seeker.YPN.ctxt_ad_source_default;ctxt_ad_type='';ctxt_ad_keywords=_s.seeker.YPN.ctxt_ad_keywords_default;ctxt_ad_url=_s.seeker.YPN.ctxt_ad_url_default;ctxt_ref_url=_s.seeker.YPN.ctxt_ref_url_default;ctxt_ad_id=_s.seeker.YPN.ctxt_ad_id_default;ctxt_ad_mkt='US';ctxt_ad_css=_s.seeker.YPN.ctxt_ad_css_default;ctxt_ad_frameborder=_s.seeker.YPN.ctxt_ad_frameborder_default;ctxt_ad_title=_s.seeker.YPN.ctxt_ad_title_default;},writeYPNAd:function(adContainerID){var w=window;if(!w.ctxt_ad_brs){$("#"+adContainerID).html(('<ifr'+'ame'+' title='+_s.seeker.YPN.ctxt_ad_title_default+' src='+_s.seeker.YPN.getAdInterfaceFull()+' width='+ctxt_ad_width+' height='+ctxt_ad_height+' frameborder='+ctxt_ad_frameborder+' hspace=0'+' vspace=0'+' scrolling=no'+' marginwidth=0'+' marginheight=0'+' allowtransparency=true'+' name=iframe0></ifr'+'ame>'));}
ctxt_ad_interface=null;ctxt_ad_width=null;ctxt_ad_height=null;ctxt_ad_partner=null;ctxt_ad_source=null;ctxt_ad_section=null;ctxt_ad_type=null;ctxt_ad_url=null;ctxt_ad_url_cat=null;ctxt_ad_market=null;ctxt_ad_id=null;ctxt_ad_keywords=null;ctxt_ad_id_rotate=null;ctxt_ad_keywords_rotate=null;ctxt_ad_frameborder=null;ctxt_ad_newwin=null;ctxt_ad_cw=null;ctxt_ad_css=null;ctxt_ad_css=null;ctxt_ad_ie=null;ctxt_ad_oe=null;ctxt_ad_bg=null;ctxt_ad_bc=null;ctxt_ad_cc=null;ctxt_ad_tc=null;ctxt_ad_lc=null;ctxt_ad_uc=null;ctxt_ad_brs=null;},correctedEscape:function(string){if(string){if(typeof(encodeURIComponent)=="function"){return encodeURIComponent(string);}
else{return escape(string);}}
return string;},getAdInterfaceFull:function(){var w=window;if(ctxt_ad_interface==null){ctxt_ad_interface=_s.seeker.YPN.ctxt_ad_interface_default;}
if(w.ctxt_ad_display_unit==null){ctxt_ad_display_unit=1;}else{ctxt_ad_display_unit++;}
ctxt_ad_url_encoded=_s.seeker.YPN.correctedEscape(ctxt_ad_url);ctxt_ad_url_encoded=ctxt_ad_url_encoded.substring(0,1023);ctxt_ad_url_encoded=ctxt_ad_url_encoded.replace(/%[0-9]?$/,'');try{ctxt_ref_url_encoded=_s.seeker.YPN.correctedEscape(ctxt_ref_url);ctxt_ref_url_encoded=ctxt_ref_url_encoded.substring(0,1023);ctxt_ref_url_encoded=ctxt_ref_url_encoded.replace(/%[0-9]?$/,'');}catch(e){ctxt_ref_url=null;}
if(w.ctxt_ad_partner!=null&&w.ctxt_ad_config!=null){alert("Cannot set both ctxt_ad_partner and ctxt_ad_config.  "+"No ads will be served");w.ctxt_ad_config=null;w.ctxt_ad_partner=null;}
if(w.ctxt_ad_partner==null&&w.ctxt_ad_config==null){ctxt_ad_partner=ctxt_ad_partner_default+'-'+
window.location.hostname+'-'+ctxt_ad_width+'x'+ctxt_ad_height;}
if(ctxt_ad_frameborder==null){ctxt_ad_frameborder=_s.seeker.YPN.ctxt_ad_frameborder_default;}
if(w.ctxt_ad_cw){if(w.ctxt_ad_cw.match(/[>''\s""]/)){if(w.testing_cw){alert("Your clickwrapper ["+w.ctxt_ad_cw+"] contains illegal "+"characters. Proceeding with the request without the "+"clickwrapper.");}
w.ctxt_ad_cw=null;}else{ctxt_ad_cw_encoded=_s.seeker.YPN.correctedEscape(ctxt_ad_cw);ctxt_ad_cw_encoded=ctxt_ad_cw_encoded.substring(0,1023);ctxt_ad_cw_encoded=ctxt_ad_cw_encoded.replace(/%[0-9]?$/,'');}}
ctxt_ad_interface_full=ctxt_ad_interface+'?';if(w.ctxt_ad_partner!=null){ctxt_ad_interface_full=ctxt_ad_interface_full+'Partner='+ctxt_ad_partner;}
if(w.ctxt_ad_config!=null){ctxt_ad_interface_full=ctxt_ad_interface_full+'config='+ctxt_ad_config;}
if(w.ctxt_ad_section){ctxt_ad_interface_full=ctxt_ad_interface_full+"&type="+ctxt_ad_section;}else{if(w.ctxt_ad_type){ctxt_ad_interface_full=ctxt_ad_interface_full+"&type="+ctxt_ad_type;}}
if(ctxt_ad_id){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtId="+_s.seeker.YPN.correctedEscape(ctxt_ad_id);}
if(ctxt_ad_keywords){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtKeywords="+_s.seeker.YPN.correctedEscape(ctxt_ad_keywords);}
if(w.ctxt_ad_keywords_rotate||w.ctxt_ad_id_rotate){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtRotate=1";}
if(w.ctxt_ad_id_rotate){for(var idx=0;idx<w.ctxt_ad_id_rotate.length;idx++){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtId="+_s.seeker.YPN.correctedEscape(w.ctxt_ad_id_rotate[idx]);}}
if(w.ctxt_ad_keywords_rotate){for(var idx=0;idx<w.ctxt_ad_keywords_rotate.length;idx++){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtKeywords="+_s.seeker.YPN.correctedEscape(w.ctxt_ad_keywords_rotate[idx]);}}
ctxt_ad_interface_full=ctxt_ad_interface_full+"&keywordCharEnc=utf8";if(w.ctxt_ad_market){ctxt_ad_interface_full=ctxt_ad_interface_full+"&mkt="+correctedEscape(ctxt_ad_market);}
if(ctxt_ad_source){ctxt_ad_interface_full=ctxt_ad_interface_full+"&source="+_s.seeker.YPN.correctedEscape(ctxt_ad_source);}
ctxt_ad_interface_full=ctxt_ad_interface_full+"&adwd="+ctxt_ad_width;ctxt_ad_interface_full=ctxt_ad_interface_full+"&adht="+ctxt_ad_height;ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtUrl="+ctxt_ad_url_encoded;if(w.ctxt_ad_url_cat){ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtCat="+_s.seeker.YPN.correctedEscape(ctxt_ad_url_cat);}
if(w.ctxt_ad_oe){ctxt_ad_interface_full=ctxt_ad_interface_full+"&outputCharEnc="+ctxt_ad_oe;}
if(w.ctxt_ad_cw){ctxt_ad_interface_full=ctxt_ad_interface_full+"&cw="+ctxt_ad_cw_encoded;}
if(w.ctxt_ad_css){ctxt_ad_interface_full=ctxt_ad_interface_full+"&css_url="+ctxt_ad_css;}
if(w.ctxt_css_url){ctxt_ad_interface_full=ctxt_ad_interface_full+"&css_url="+ctxt_css_url;}
if(w.ctxt_ad_newwin){ctxt_ad_interface_full=ctxt_ad_interface_full+"&tg="+ctxt_ad_newwin;}
if(w.ctxt_ad_position){ctxt_ad_interface_full=ctxt_ad_interface_full+"&adPos="+ctxt_ad_position;}
if(w.ctxt_ad_bg){ctxt_ad_interface_full=ctxt_ad_interface_full+"&bg="+ctxt_ad_bg;}
if(w.ctxt_ad_bc){ctxt_ad_interface_full=ctxt_ad_interface_full+"&bc="+ctxt_ad_bc;}
if(w.ctxt_ad_cc){ctxt_ad_interface_full=ctxt_ad_interface_full+"&cc="+ctxt_ad_cc;}
if(w.ctxt_ad_lc){ctxt_ad_interface_full=ctxt_ad_interface_full+"&lc="+ctxt_ad_lc;}
if(w.ctxt_ad_tc){ctxt_ad_interface_full=ctxt_ad_interface_full+"&tc="+ctxt_ad_tc;}
if(w.ctxt_ad_uc){ctxt_ad_interface_full=ctxt_ad_interface_full+"&uc="+ctxt_ad_uc;}
if(w.ctxt_ref_url){ctxt_ad_interface_full=ctxt_ad_interface_full+"&refUrl="+ctxt_ref_url_encoded;}
if(w.ctxt_ad_display_unit){ctxt_ad_interface_full=ctxt_ad_interface_full+"&du="+ctxt_ad_display_unit;}
ctxt_ad_interface_full=ctxt_ad_interface_full+"&cb="+(new Date()).getTime();var num_bytes=2035-ctxt_ad_interface_full.length;if(num_bytes>0){var num_chars=num_bytes>500?500:num_bytes;var ctxt_content=_s.seeker.YPN.correctedEscape(document.getElementsByTagName("HTML")[0].innerHTML.substr(0,num_chars)).substr(0,num_bytes);ctxt_content=ctxt_content.replace(/%\w?$/,"");ctxt_ad_interface_full=ctxt_ad_interface_full+"&ctxtContent="+ctxt_content;}
return ctxt_ad_interface_full;},getPageURL:function(){if(_s.seeker.YPN.ctxt_ad_url_default==null){ret_url=document.referrer;if(top.location==document.location){_s.seeker.YPN.ctxt_ad_url_default=document.location;}}
try{if(_s.seeker.YPN.ctxt_ref_url_default==null){_s.seeker.YPN.ctxt_ad_url_default=top.document.referrer;}}
catch(e){_s.seeker.YPN.ctxt_ad_url_default=null;}}};_g.namespace("_s.seeker").lpf={viewAllJobsText:"",viewFewJobsText:"",JSLuceneURL:"",JSTrovixURL:"",setJobViewSeoCookie:function(jobViewSEO){var JOBVIEW_SEO="JobViewSEO"
var jobViewParams=jobViewSEO;$.cookie(JOBVIEW_SEO,jobViewParams,{path:"/",domain:_g.getHostName()});},checkInterruptedAction:function(){if($.cookie('InterruptedActionType')!=undefined&&$.cookie('InterruptedActionParameter')!=undefined&&_g.security.getUserLevel()==_g.security.level.high){var actionType=$.cookie('InterruptedActionType');var actionParameter=$.cookie('InterruptedActionParameter');$.cookie('InterruptedActionType',null,{path:'/',domain:_g.getHostName()});$.cookie('InterruptedActionParameter',null,{path:'/',domain:_g.getHostName()});switch(actionType){case"LPFSaveSearch":SaveSearchModal();break;default:break;}}
else{$.cookie('InterruptedActionType',null,{path:'/',domain:_g.getHostName()});$.cookie('InterruptedActionParameter',null,{path:'/',domain:_g.getHostName()});}},showBenchmarking:function(){$(".divSnapshot").hide();$(".divBenchmarking").show();$(".divRelatedCareers").hide();$("#"+idMap.liSnapshot).removeClass("tabs_active");$("#"+idMap.liBenchmarking).addClass("tabs_active");$("#"+idMap.liRelatedCareers).removeClass("tabs_active");return false;},showSnapshot:function(){$(".divBenchmarking").hide();$(".divSnapshot").show();$(".divRelatedCareers").hide();$("#"+idMap.liBenchmarking).removeClass("tabs_active");$("#"+idMap.liSnapshot).addClass("tabs_active");$("#"+idMap.liRelatedCareers).removeClass("tabs_active");return false;},showRelatedCareers:function(){$(".divBenchmarking").hide();$(".divSnapshot").hide();$(".divRelatedCareers").show();$("#"+idMap.liBenchmarking).removeClass("tabs_active");$("#"+idMap.liSnapshot).removeClass("tabs_active");$("#"+idMap.liRelatedCareers).addClass("tabs_active");return false;},rssDCSTrack:function(){var sPath=window.location.pathname;var sPage=sPath.substring(sPath.lastIndexOf('/')+1);dcsMultiTrack('DCS.dcsuri','/'+sPage+'_click.evt','DCSext.en','CLPFRSS');},launchBookMarks:function(){shareLayer.launch("anchorShare1",14);},launchEduBookMarks:function(){shareLayer.launch("eduAnchorShare",14);},hideBookMarks:function(e){e.preventDefault();shareLayer.hide();},toggleContent:function(){if($("#listJobsTable").css('display')=='none'){$("#listJobsTable").show();$("#lpfViewAllJobs").html(_s.seeker.lpf.viewAllJobsText);}
else{$("#listJobsTable").hide();$("#lpfViewAllJobs").html(_s.seeker.lpf.viewFewJobsText);}},ToggleJSRURL:function(event){if($.cookie('scsjsv')==0){$('#'+idMap.lnkViewAllJobs).attr('href',_s.seeker.lpf.JSLuceneURL);$('#'+idMap.lnkViewAllJobsBot).attr('href',_s.seeker.lpf.JSLuceneURL);}
else{$('#'+idMap.lnkViewAllJobs).attr('href',_s.seeker.lpf.JSTrovixURL);$('#'+idMap.lnkViewAllJobsBot).attr('href',_s.seeker.lpf.JSTrovixURL);}}};_g.namespace("_s.lpf").userControls={sortableCols:null,layoutString:"lpf_JSRWdg|lpf_BLWdg,lpf_BA1Wdg,lpf_CRHWdg,lpf_ARTWdg,lpf_COMWdg,lpf_BA2Wdg|",Sortables:function(els){$revert=true;if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var ieversion=new Number(RegExp.$1);if(ieversion>=3)$revert=false;}
$(els.toString()).sortable({accept:$(els.toString()),items:'div.wdgContainer',helper:'sortHelper',appendTo:'body',connectWith:$(els.toString()),placeholder:'sortHelper2',tolerance:'pointer',opacity:0,scroll:true,revert:$revert,update:function(e,ui){},sort:function(e,ui){},change:function(e,ui){var w=ui.helper.height();ui.placeholder.height(w);},start:function(e,ui){var ht=ui.helper.height();ui.placeholder.height(ht);var w=ui.helper.width();ui.placeholder.width(w-10);},stop:function(e,ui){$(_s.lpf.userControls.sortableCols.toString()).sortable("refresh");var columns=[];$(_s.lpf.userControls.sortableCols.toString()).each(function(){columns.push($(this).sortable('toArray').join(','));});_s.lpf.userControls.layoutString=columns.join("|");$(_s.lpf.userControls.sortableCols.toString()).sortable("refresh");}}).disableSelection();},restoreSortableOrder:function(){var $els=$(_s.lpf.userControls.sortableCols.toString());_s.lpf.userControls.Sortables(_s.lpf.userControls.sortableCols.toString());var lpfLayout="LFPLAYOUT";if(!_s.lpf.userControls.layoutString){$(_s.lpf.userControls.sortableCols.toString()).sortable("option","disabled",true);return;}
var oo=_s.lpf.userControls.layoutString.split("|");var ooo={};var rebuild=new Array();$(oo).each(function(index,value){var subStr=index+1;var lpfLayoutID=lpfLayout+subStr;if(ooo[lpfLayoutID]){if(!ooo[lpfLayoutID].push){ooo[lpfLayoutID]=[ooo[lpfLayoutID]];}
ooo[lpfLayoutID].push(value||'');}else{ooo[lpfLayoutID]=value||'';}
$.each(value.split(","),function(index,value){rebuild[value]=value;});});var obj=$.parseJSON($.toJSON(ooo));var index=0;$.each(obj,function(key,value){if(value){if($els[index]!=null){var IDs=value.split(',');for(var j=0,m=IDs.length;j<m;j++){var itemID=IDs[j];if(itemID in rebuild){var item=rebuild[itemID];var child=$("div.ui-sortable").children("#"+item);var savedOrd=$("div.ui-sortable").children("#"+itemID).clone();child.remove();savedOrd.find("script[id^='AdScript']").remove();savedOrd.appendTo($("div#"+$els[index].id+".ui-sortable"));}}}}
index++;});$(_s.lpf.userControls.sortableCols.toString()).sortable("refresh");$(_s.lpf.userControls.sortableCols.toString()).sortable("option","disabled",true).enableSelection();}};_g.namespace('_s').genericPromptingInput=function(inputControl){this.control=inputControl.eq(0);this.prompt=this.control.val();this.clearPrompt=function(){if(this.control.val()==this.prompt){this.control.val('');}};this.resetPrompt=function(){if(this.control.val().length==0){this.control.val(this.prompt);}};this.hasText=function(){return(this.control.val().length>0&&this.control.val()!=this.prompt);};this.getText=function(){return(this.HasText()?this.control.val():'');}
this.control.bind("focus",this,function(e){e.data.clearPrompt();});this.control.bind("blur",this,function(e){e.data.resetPrompt();});};
;

window.Modernizr=function(a,b,c){function G(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)t[a[b]]=!!(a[b]in l);return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function F(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return!!E(d,b)}function E(a,b){for(var d in a)if(k[a[d]]!==c&&(!b||b(a[d],j)))return!0}function D(a,b){return(""+a).indexOf(b)!==-1}function C(a,b){return typeof a===b}function B(a,b){return A(o.join(a+";")+(b||""))}function A(a){k.cssText=a}var d="1.7",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v,w=function(a){var c=b.createElement("style"),d=b.createElement("div"),e;c.textContent=a+"{#modernizr{height:3px}}",h.appendChild(c),d.id="modernizr",g.appendChild(d),e=d.offsetHeight===3,c.parentNode.removeChild(c),d.parentNode.removeChild(d);return!!e},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div");var f=(d="on"+d)in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=C(e[d],"function"),C(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y=({}).hasOwnProperty,z;C(y,c)||C(y.call,c)?z=function(a,b){return b in a&&C(a.constructor.prototype[b],c)}:z=function(a,b){return y.call(a,b)},r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return a.getContext&&a.getContext("2d")},r.canvastext=function(){return e.canvas&&C(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return"ontouchstart"in a||w("@media ("+o.join("touch-enabled),(")+"modernizr)")},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b<c;){var d=p[b].toLowerCase();if(a[d+"_indexedDB"]||a[d+"IndexedDB"])return!0}return!1},r.hashchange=function(){return x("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return!!(a.history&&history.pushState)},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){return"WebSocket"in a},r.rgba=function(){A("background-color:rgba(150,255,150,.5)");return D(k.backgroundColor,"rgba")},r.hsla=function(){A("background-color:hsla(120,40%,100%,.5)");return D(k.backgroundColor,"rgba")||D(k.backgroundColor,"hsla")},r.multiplebgs=function(){A("background:url(//:),url(//:),red url(//:)");return(new RegExp("(url\\s*\\(.*?){3}")).test(k.background)},r.backgroundsize=function(){return F("backgroundSize")},r.borderimage=function(){return F("borderImage")},r.borderradius=function(){return F("borderRadius","",function(a){return D(a,"orderRadius")})},r.boxshadow=function(){return F("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){B("opacity:.55");return/^0.55$/.test(k.opacity)},r.cssanimations=function(){return F("animationName")},r.csscolumns=function(){return F("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";A((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return D(k.backgroundImage,"gradient")},r.cssreflections=function(){return F("boxReflect")},r.csstransforms=function(){return!!E(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var a=!!E(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=w("@media ("+o.join("transform-3d),(")+"modernizr)"));return a},r.csstransitions=function(){return F("transitionProperty")},r.fontface=function(){var a,c,d=h||g,e=b.createElement("style"),f=b.implementation||{hasFeature:function(){return!1}};e.type="text/css",d.insertBefore(e,d.firstChild),a=e.sheet||e.styleSheet;var i=f.hasFeature("CSS2","")?function(b){if(!a||!b)return!1;var c=!1;try{a.insertRule(b,0),c=/src/i.test(a.cssRules[0].cssText),a.deleteRule(a.cssRules.length-1)}catch(d){}return c}:function(b){if(!a||!b)return!1;a.cssText=b;return a.cssText.length!==0&&/src/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(b.split(" ")[0])===0};c=i('@font-face { font-family: "font"; src: url(data:,); }'),d.removeChild(e);return c},r.video=function(){var a=b.createElement("video"),c=!!a.canPlayType;if(c){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return c},r.audio=function(){var a=b.createElement("audio"),c=!!a.canPlayType;c&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;"));return c},r.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},r.webWorkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache},r.svg=function(){return!!b.createElementNS&&!!b.createElementNS(q.svg,"svg").createSVGRect},r.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var H in r)z(r,H)&&(v=H.toLowerCase(),e[v]=r[H](),u.push((e[v]?"":"no-")+v));e.input||G(),e.crosswindowmessaging=e.postmessage,e.historymanagement=e.history,e.addTest=function(a,b){a=a.toLowerCase();if(!e[a]){b=!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b;return e}},A(""),j=l=null,f&&a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function p(a,b){var c=-1,d=a.length,e,f=[];while(++c<d)e=a[c],(b=e.media||b)!="screen"&&f.push(p(e.imports,b),e.cssText);return f.join("")}function o(a){var b=-1;while(++b<e)a.createElement(d[b])}var c="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",d=c.split("|"),e=d.length,f=new RegExp("(^|\\s)("+c+")","gi"),g=new RegExp("<(/*)("+c+")","gi"),h=new RegExp("(^|[^\\n]*?\\s)("+c+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),i=b.createDocumentFragment(),j=b.documentElement,k=j.firstChild,l=b.createElement("body"),m=b.createElement("style"),n;o(b),o(i),k.insertBefore(m,k.firstChild),m.media="print",a.attachEvent("onbeforeprint",function(){var a=-1,c=p(b.styleSheets,"all"),k=[],o;n=n||b.body;while((o=h.exec(c))!=null)k.push((o[1]+o[2]+o[3]).replace(f,"$1.iepp_$2")+o[4]);m.styleSheet.cssText=k.join("\n");while(++a<e){var q=b.getElementsByTagName(d[a]),r=q.length,s=-1;while(++s<r)q[s].className.indexOf("iepp_")<0&&(q[s].className+=" iepp_"+d[a])}i.appendChild(n),j.appendChild(l),l.className=n.className,l.innerHTML=n.innerHTML.replace(g,"<$1font")}),a.attachEvent("onafterprint",function(){l.innerHTML="",j.removeChild(l),j.appendChild(n),m.styleSheet.cssText=""})}(a,b),e._enableHTML5=f,e._version=d,g.className=g.className.replace(/\bno-js\b/,"")+" js "+u.join(" ");return e}(this,this.document)
;

$(function(){var navLis=$("#mainNav > li, #StaticNav > li");var StaticNavLis=$("#StaticNav > li");var arrows=$("div.navArrow",navLis);var subnavs=$("div.subnav",navLis);var StaticSubnavs=$("div.subnav",StaticNavLis);var subnavCloseButtons=subnavs.find("a.subnavClose");subnavCloseButtons.show();if($.browser.msie&&$.browser.version=="6.0"){navLis.css("float","left").css("position","relative").css("z-index","1").css("margin","10px 20px 0 0");subnavs.css("position","absolute");subnavs.hide();}
var navTimer=null;navLis.each(function(){var thisLi=$(this);var thisArrow=thisLi.find("div.navArrow");if(parseInt(thisArrow.size())>0){var thisSubnav=thisLi.find("div.subnav");var thisCloseBtn=thisSubnav.find("a.subnavClose");thisArrow.click(function(){thisSubnav.toggle();});thisCloseBtn.click(function(){hideSubnavsArrows();});thisLi.hover(function(e){hideSubnavsArrows();thisLi.addClass("ddactive");thisArrow.show();$('body').bind("click",bodyClickedNavigation);navTimer=setTimeout(function(){thisSubnav.show();var thisSubnavContent=thisLi.find("div.subnavContent");if($("div.subnavRight",thisSubnavContent).length>0){var thisSubnavLeft=thisSubnavContent.find("div.subnavLeft");var thisSubnavRight=thisSubnavContent.find("div.subnavRight");var thisSLouterHeightInt=parseInt(thisSubnavLeft.outerHeight());var thisSRouterHeightInt=parseInt(thisSubnavRight.outerHeight());var thisSRheightInt=parseInt(thisSubnavRight.height());if(thisSLouterHeightInt>thisSRouterHeightInt){thisSubnavRight.height(thisSRheightInt+thisSLouterHeightInt-thisSRouterHeightInt+'px');}}
navTimer=null;},250);},function(e){clearTimeout(navTimer);navTimer=null;navTimer=setTimeout(function(){hideSubnavsArrows();$('body').unbind('click',bodyClickedNavigation);},250);});}});function hideSubnavsArrows(){clearTimeout(navTimer);navTimer=null;navLis.removeClass("ddactive");subnavs.hide();arrows.hide();}
var bodyClickedNavigation=function(e){var clickedEls=$(e.target);if(!clickedEls.parents().is('.subnav')&&!clickedEls.is('.navArrow')){hideSubnavsArrows();$('body').unbind('click',bodyClickedNavigation);}}});
;

function popHelp(strUrl,strAnchor,strDomain)
{if(strAnchor.length>0){strAnchor="#"+strAnchor;}
var Domain;if(strDomain.length>0){Domain=strDomain}else{Domain=_s.help.link}
var strText=Domain+strUrl+strAnchor;var winHelp=window.open(strText,"help","width=850,height=560,scrollbars=1,resizable=yes");winHelp.focus()}
;

