/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  December 17th 2009 4:18:43 PM PST                            */
/*      Machine:  10.16.140.106                                                */
/*       Source:  Global Cache                                                 */
/*     Location:  js/2t7vk7tgavwg0w8o.pkg.js h:33zsmvwb                        */
/*       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(a){toggle(a.childNodes[1]);CSS.toggleClass(a,'department_open');CSS.toggleClass(a,'department_closed');return false;},openReq:function(c,a,b){this.clearAllReqSelections();CSS.addClass(c.parentNode,'UICareersPage_SelectedRequisition');var d=DOM.find($('content'),'div.right_content');d.addClass('req_visible');this.displayRequisition(a,b);return false;},hideReq:function(a){var b=DOM.find($('content'),'div.right_content');b.removeClass('req_visible');this.displayRequisition(a,-1);this.clearAllReqSelections();},clearAllReqSelections:function(){var c=DOM.find($('content'),'ul.careers_list');var b=c.childNodes;for(var a=0;a<b.length;a++)CSS.removeClass(b[a],'UICareersPage_SelectedRequisition');},displayRequisition:function(a,b){var c='/careers/requisitions_endpoint.php?dept='+a+'&req_id='+b;new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(c).send();},displayPosition:function(b){var a=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI('/careers/positions_endpoint.php?id='+b);new Dialog().setAsync(a).setContentWidth(600).setModal().setHandler(function(){var c=new URI(window.location);c.setPath('/careers/apply.php');c.setQueryData({id:b});goURI(c.toString());}).show();},displayVideo:function(b){var a=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI('/careers/video_endpoint.php?id='+b).send();}});
var OPEN_DEPT='';function position_dialog(c,a){var d='/jobs/async.php?st='+c;var b=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(d);new Dialog().setAsync(b).setContentWidth(600).setModal().setHandler(function(e){goURI(a);}).show();}function benefits_dialog(c,b){b=b||0;var d='/jobs/async.php?st='+c+'&nwk='+b;var a=new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(d);new Dialog().setAsync(a).setContentWidth(600).setModal().show();}function jobsToggleDept(a){if(OPEN_DEPT!=''&&OPEN_DEPT!='dept_id'){CSS.setClass(ge(OPEN_DEPT),'shut_dept');hide(OPEN_DEPT+'_positions');}OPEN_DEPT=a;CSS.setClass(ge(OPEN_DEPT),'open_dept');show(OPEN_DEPT+'_positions');return false;}

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