Tack för att du delat uppdraget på Facebook!<\/h2>
Innan du kan söka uppdraget måste du ladda upp ett foto på dig till ditt CV.<\/p>Jag vill ladda upp bild nu<\/a><\/div>',u=function(){ImageUpload("?jobpositionid="+r.attr("data-sp-jobpositionid")+"&aea=1")}),MagnificPrepare(),$.magnificPopup.open({mainClass:"mfp-sptip mfp-fade",fixedContentPos:!0,items:{src:t,type:"inline"},callbacks:{afterClose:u}}))}}))}});$(".jobadtables").on("click",".jobapptoggle",function(){var n=$(this),t=n.next("div"),i=n.closest(".jobad").find(".jobsim");t.is(":visible")?(t.hide(),i.show(),n.removeClass("toggled")):(t.show(),i.hide(),n.addClass("toggled"))});$(".jobadtables").on("click",".clientlistitem",function(){var n=$(this).attr("data-sp-jobseekerid"),t=$(this).hasClass("selected");$(".jobapptoggle.toggled:not([data-sp-jobseekerid="+n+"])").trigger("click");$(".jobapptoggle[data-sp-jobseekerid="+n+"]").trigger("click");$(".jobappcont").find("#applydigicvresult:not([data-sp-jobseekerid="+n+"])").hide();$(".jobappcont").find("#applydigicvresult[data-sp-jobseekerid="+n+"]").text().length>0&&$(".jobappcont").find("#applydigicvresult[data-sp-jobseekerid="+n+"]").toggle();$(".clientlistitem").removeClass("selected").removeClass("unselected");t||($(this).addClass("selected"),$(".clientlistitem:not([data-sp-jobseekerid="+n+"])").addClass("unselected"))});$(".jobadtables").on("click",".clientsearch",function(){var n=$(this);n.find("input").is(":visible")||(n.css("min-width","230px"),setTimeout(function(){n.find("input").fadeIn()},400));$(".clientlistitem.selected").trigger("click");n.find("input").focus()});$(".jobadtables").on("mouseenter",".clientlistitem",function(){$(this).nextUntil(":not(.clientlistitem").length<3&&$(".clientsearch input:visible").length>0&&$(".clientsearch input").val().length===0&&i()});$(".jobadtables").on("keyup",".clientsearch input",function(){var n=$(this).val().replace(/\s/gi,"").toLowerCase();($(".clientlistitem").show(),n.length!==0)&&($(".clientlistitem").each(function(){$(this).find("span").text().replace(/\s/gi,"").toLowerCase().indexOf(n)<0&&$(this).hide()}),n.length>1&&i(n))});$("#jobaddetailscontent").on("click","#jobdetailsclose",function(){n!=null&&n.hide();$("table[data-sp-jobpositionid].selected,a[data-sp-jobpositionid].selected").removeClass("selected");$("#jobaddetails").css({display:"none","z-index":"inherit"}).children("style").remove();$("#greybg").remove();$("#jobmap").length>0&&$("html,body").animate({scrollTop:$("#jobmap").offset().top-6},1e3)});$("#jobaddetailscontent").on("click","#jobdetailsremove",function(){var t=$("div[data-sp-jobpositionid]").attr("data-sp-jobpositionid"),i=$(this).children("span.fal").length>0;$.ajax({type:"GET",url:"/controls/jobaddetails.aspx?action=flag&jobpositionid="+t+"&flag=3&op="+(i?"1":"0"),cache:!1,success:function(i){i!="ER"&&(n!=null&&n.hide(),$("table[data-sp-jobpositionid].selected,a[data-sp-jobpositionid].selected").removeClass("selected"),$("table[data-sp-jobpositionid='"+t+"']").remove(),$("#jobaddetails").css({display:"none","z-index":"inherit"}).children("style").remove(),$("#greybg").remove())}})});$("#jobaddetailscontent").on("click","#jobdetailsfavorite",function(){var i=$("div[data-sp-jobpositionid]").attr("data-sp-jobpositionid"),r=$(this).children("span").first(),t=r.hasClass("fal"),u=$("table[data-sp-jobpositionid].selected .tagse");$.ajax({type:"GET",url:"/controls/jobaddetails.aspx?action=flag&jobpositionid="+i+"&flag=4&op="+(t?"1":"0"),cache:!1,success:function(f){f!="ER"&&(r.removeClass("fal fas").addClass(t?"fas":"fal"),u.find("span[data-sp-jobseekerflags='4']").remove(),t&&u.append('Favorit<\/span><\/a><\/span>'),$(".tagtrash[data-sp-jobseekerflags='3']").length!=0)&&(n!=null&&n.hide(),$("table[data-sp-jobpositionid].selected,a[data-sp-jobpositionid].selected").removeClass("selected"),$("table[data-sp-jobpositionid='"+i+"']").remove(),$("#jobaddetails").css({display:"none","z-index":"inherit"}).children("style").remove(),$("#greybg").remove())}})});$("div.jobadtables>h1").length>0&&($("div.jobadtables>h1").before($("#jobaddetails")),$(".jobappcont #applycvbody").each(function(){var n=$(this);n.maxlength({feedback:n.closest(".jobappcont").find(".maxlen span"),maxlength:1e3})}));(location+"").indexOf("aea=1")>-1&&$(".jobappcont").show();$("#jobaddetailscontent").on("change blur","#applycvid",FileReqCheck);$(document).on("click",".shareearn input",function(){navigator.userAgent.match(/ipad|ipod|iphone/i)?$(this).focus(function(){return this.setSelectionRange(0,9999),!1}).mouseup(function(){return!1}):$(this).select()});$(document).on("click",".shareearnicon",function(){r($(this).next())});$(document).on("click",function(n){$(".shareearn:visible").each(function(){$(this).is(n.target)||$(this).has(n.target).length!==0||$(this).prev().is(n.target)||$(this).prev().has(n.target).length!==0||r($(this))})})})