var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
});
device = device.default;
//this function refreshes [adhesion] ad slot every 60 second and makes prebid bid on it every 60 seconds
// Set timer to refresh slot every 60 seconds
function setIntervalMobile() {
if (!device.mobile()) return
if (adhesion) setInterval(function(){
googletag.pubads().refresh([adhesion]);
}, 60000);
}
if(device.desktop())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [728, 90], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
else if(device.tablet())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [320, 50], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
else if(device.mobile())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [320, 50], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
googletag.cmd.push(function() {
// Enable lazy loading with...
googletag.pubads().enableLazyLoad({
// Fetch slots within 5 viewports. // fetchMarginPercent: 500,
fetchMarginPercent: 100,
// Render slots within 2 viewports. // renderMarginPercent: 200,
renderMarginPercent: 100,
// Double the above values on mobile, where viewports are smaller
// and users tend to scroll faster.
mobileScaling: 2.0
});
});
We Believe in You. Let's Find Your Next Job.
Create a job alert
Save your search progress and never miss an update
";
var filter_customjsSrc = $(customjsString).attr('onload-script-src');
if(filter_customjsSrc) {
$.getScript(filter_customjsSrc).done(function(script, textStatus) {
var search_url ="https://www.lawcrossing.com/utl_search_job_title.php";
if($("input#kwd_searchbox_home").length) {
keywordSearchHome(search_url);
} else if($("input#kwd_searchbox").length) {
keywordSearch(search_url);
}
if($('#seekerSearchcountry').length) {
var location_url = "https://www.lawcrossing.com/lcjsgetcitybycountryid_new.php?type=1&country="+document.getElementById('seekerSearchcountry').value;
if($("input#seekerLocationquery_home").length) {
searchLocationHome(location_url);
} else if($("input#seekerLocationquery").length) {
searchLocation(location_url);
}
}
});
}
});
$(document).on('click','.getaccessemail',function(){
var emailvalue=$(this).parent().parent().find('.seekerEmail').val();
if(emailvalue)
{
emailvalue=btoa(emailvalue);
emailvalue=encodeURI(emailvalue);
var urlredirect='https://www.lawcrossing.com/lcsignup.php?emailact='+emailvalue;
window.location.href=urlredirect;
}
else
{
alert('Enter Email ID first');
}
});