var slider=null,ticker=null,timer,msgBox=null,onDevice_careers_landing;$(document).ready(function(){onDevice_careers_landing();$(".select-country.mobile-only").each(function(n,t){t=$(t);var i="Select country",r=t.parent().prev();r.attr("data-retaindesktopbuttontext")=="1"&&(i=r.find("span.link").text());t.find("span.link").text(i)});$(window).bind("deviceChanged",function(){onDevice_careers_landing()});$(".countrty").unbind("click").bind("click",function(){msgBox!=null&&msgBox.hide()})});onDevice_careers_landing=function(){var i=$(document).width(),r=!1,t,n,u,f;i>640&&i<=768?(t="msgbox_content_tablet",n=$("div.countryTablet"),r=!0):i>768&&(t="messagebox_content",n=$("div.countryDesktop"),r=!0);r&&(u=function(){$("a.closeButton").unbind("click").bind("click",function(n){n.preventDefault();msgBox.hide()})},msgBox==null?(msgBox=new MessageBox,f="<table cellpadding='0' cellspacing='0' width='100%'>\t\t\t<tr><td class='msgBoxTopLeft'><\/td><td class='msgBoxTopMiddle' width='100%'><\/td><td class='msgBoxTopRight'><a href='/' id='closeButton' class='closeButton'>close dialog<\/a><\/td><\/tr>\t\t\t<tr><td class='imgWhite'><\/td><td class='msgBoxMiddleMiddle'><div class='bg_map'><\/div><!--content--><\/td><td class='imgWhite'><\/td><\/tr>\t\t\t<tr><td class='msgBoxBottomLeft'><\/td><td class='msgBoxBottomMiddle'><\/td><td class='msgBoxBottomRight'><\/td><\/tr>\t\t\t<\/table>",msgBox.setContent(n),msgBox.setEnableTemplates(!0),msgBox.setTemplate(f),msgBox.setContentClass(t),msgBox.setMinTop("25px"),msgBox.setOverlayInlineCss(""),msgBox.setContentInlineCss(""),msgBox.setCallback(u)):(msgBox.setContent(n),msgBox.setContentClass(t)),n!=null&&n.length>0&&msgBox.init(),msgBox.exception==null&&$(".selectCountryLightBox").unbind("click").bind("click",function(n){n.preventDefault();msgBox.setTriggerElement(n.target);$(this).attr("tabindex")&&msgBox.setTabindex($(this).attr("tabindex"));msgBox.show();var t=$("#accessibilityToolTip");t.length>0&&t.remove()}))}