/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  February 9th 2010 7:22:31 PM PST                             */
/*      Machine:  10.16.140.106                                                */
/*       Source:  Backing Store                                                */
/*     Location:  js/2t7vk7tgavwg0w8o.pkg.js h:endnnpv4                        */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/2t7vk7tgavwg0w8o.pkg.js                                   */

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/2t7vk7tgavwg0w8o.pkg.js"]); }

function JobsController(){}copy_properties(JobsController.prototype,{toggleDepartment:function(_L0){toggle(_L0.childNodes[1]);CSS.toggleClass(_L0,'department_open');CSS.toggleClass(_L0,'department_closed');return false;},openReq:function(_L0,_L1,_L2){this.clearAllReqSelections();CSS.addClass(_L0.parentNode,'UICareersPage_SelectedRequisition');var _L3=DOM.find($('content'),'div.right_content');_L3.addClass('req_visible');this.displayRequisition(_L1,_L2);return false;},hideReq:function(_L0){var _L1=DOM.find($('content'),'div.right_content');_L1.removeClass('req_visible');this.displayRequisition(_L0,-1);this.clearAllReqSelections();},clearAllReqSelections:function(){var ul=DOM.find($('content'),'ul.careers_list');var _L1=ul.childNodes;for(var i=0;i<_L1.length;i++)CSS.removeClass(_L1[i],'UICareersPage_SelectedRequisition');},displayRequisition:function(_L0,id){var uri='/careers/requisitions_endpoint.php?dept='+_L0+'&req_id='+id;new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(uri).send();},displayPosition:function(id){var _L1=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI('/careers/positions_endpoint.php?id='+id);new Dialog().setAsync(_L1).setContentWidth(600).setModal().setHandler(function(){var uri=new URI(window.location);uri.setPath('/careers/apply.php');uri.setQueryData({id:id});goURI(uri.toString());}).show();},displayVideo:function(id){var _L1=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI('/careers/video_endpoint.php?id='+id).send();}});
var OPEN_DEPT='';function position_dialog(_L0,_L1){var _L2='/jobs/async.php?st='+_L0;var _L3=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(_L2);new Dialog().setAsync(_L3).setContentWidth(600).setModal().setHandler(function(_L4){goURI(_L1);}).show();}function benefits_dialog(_L0,_L1){_L1=_L1||0;var _L2='/jobs/async.php?st='+_L0+'&nwk='+_L1;var _L3=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(_L2);new Dialog().setAsync(_L3).setContentWidth(600).setModal().show();}function jobsToggleDept(_L0){if(OPEN_DEPT!=''&&OPEN_DEPT!='dept_id'){CSS.setClass(ge(OPEN_DEPT),'shut_dept');hide(OPEN_DEPT+'_positions');}OPEN_DEPT=_L0;CSS.setClass(ge(OPEN_DEPT),'open_dept');show(OPEN_DEPT+'_positions');return false;}

if (window.Bootloader) { Bootloader.done(["js\/2t7vk7tgavwg0w8o.pkg.js"]); }