if (window.matchMedia("(min-width: 768px)").matches) {
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1461794630658-6'); });
document.write('
');
} else {
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1461794630658-13'); });
document.write('
');
}
var _sf_async_config = _sf_async_config || {};
/** CONFIGURATION START **/
_sf_async_config.uid = 5066; //CHANGE THIS
_sf_async_config.domain = 'spokesman.com'; //CHANGE THIS
_sf_async_config.useCanonical = true;
_sf_async_config.sections = 'Change this to your Section name'; //CHANGE THIS
_sf_async_config.authors = 'Change this to your Author name'; //CHANGE THIS
/** CONFIGURATION END **/
(function() {
function loadChartbeat() {
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', 'https://static.chartbeat.com/js/chartbeat.js');
document.body.appendChild(e);
}
var oldonload = window.onload;
window.onload = (typeof window.onload != 'function') ?
loadChartbeat : function() {
oldonload();
loadChartbeat();
};
})();
(function($) {
$("#mobile_move_to").append($('.mobile_move:hidden').html());
if ($(".content-sidebar").length == 0){
$('.story-text').removeClass('ml6-l');
}
}) (jQuery);
// SMS links
window.plinks = (function() {
var exports = {};
var isIosDevice = (function() {
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("iphone") > -1 || ua.indexOf("ipad") > -1) {
return true;
} else {
return false;
}
})();
/**
* Call plinks.smsLink('myMessage') to get a proper SMS link href
* The phone number cannot be pre-populated.
*/
exports.smsLink = function(message) {
var msg = encodeURIComponent(message), href;
if(isIosDevice) {
href = "sms:&body=" + msg;
} else {
href = "sms:?body=" + msg;
}
return href
};
return exports
}).call(this);
// Media query to display either reddit or sms buttons
if(window.matchMedia('(max-width: 768px)').matches){
var sms_links = document.querySelectorAll('a[data-sms]');
Array.prototype.forEach.call(sms_links, function(el, i){
el.parentNode.style.display = "table-cell"
el.href = plinks.smsLink(el.getAttribute('data-sms'));
});
} else {
var reddit_links = document.querySelectorAll('a[data-reddit]');
Array.prototype.forEach.call(reddit_links, function(el, i){
el.parentNode.style.display = "table-cell"
});
}
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"url": "http://www.spokesman.com/stories/2018/may/23/mexican-mafia-busted-for-running-crime-in-la-count/",
"headline": "Mexican Mafia busted for running crime in LA County jails",
"publisher": {
"type": "Organization",
"name": "The Spokesman-Review",
"logo": {
"type": "ImageObject",
"url": "https://media.spokesman.com/img/logos/sr200.png",
"width": "200px",
"height": "200px"
}
},
"datePublished": "May 23, 2018, 6:30 p.m.",
"dateModified": "May 23, 2018, 6:30 p.m.",
"discussionUrl": "http://www.spokesman.com/stories/2018/may/23/mexican-mafia-busted-for-running-crime-in-la-count/comments/",
"image": {
"type": "ImageObject",
"url": "https://media.spokesman.com/photos/2018/05/23/Mexican_Mafia.JPG.jpg",
"width": "375px",
"height": "250px"
},
"author":{
"type": "Person",
"name": "Brian Melley"
},
"sourceOrganization":{
"type": "Organization",
"name": "Associated Press"
}
}
$(document).ready(function() {
// If the 'hide cookie is not set we show the message
if (!readCookie('Siderail')) {
$(".outerDiv").show();
}else{
$(".outerDiv").hide();
}
// Check to see if the siderail is set to display
if ($(".displayDiv").html() == "") {
$(".outerDiv").hide();
} else {
$(".outerDiv").show();
}
});
function hideSiderail(){
$(".outerDiv").parent().hide();
createCookie('Siderail');
//return false;
}
function createCookie(name) {
var today = new Date();
var expire = new Date();
expire.setTime(today.getTime() + 300000); // cookie time set to 5 min.
document.cookie = name+"=1;path=/;expires="+expire.toGMTString();
alert(name);
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
if (window.matchMedia("(min-width: 768px)").matches) {
document.write('
');
document.write('
');
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1536261590446-0'); });
document.write('
');
document.write('
');
document.write('');
document.write('');
} else {
// No mobile sidebar
window.addEventListener('load',function () {
if ($('#div-gpt-ad-1536261590446-0').html() == '') {
$(".closeDiv").parent().hide();
}
});
}
if (Modernizr.mq('only screen and (min-width: 1690px)')){
document.write('
');
if (typeof(GA_googleFillSlot) != "undefined"){
GA_googleFillSlot("Spokesman_homepage_peelback");
}
document.write('');
}
else if (Modernizr.mq('only all and (min-width: 320px)')){
//
}
$(document).ready(function() {
// If the 'hide cookie is not set we show the message
if (!readCookie('hideSrAnchor')) {
$(".outerDiv99").show();
}else{
$(".outerDiv99").hide();
}
// Check to see if the catfish is set to display
if ($('.outerDiv999').html() == "") {
$(".outerDiv99").hide();
} else {
$(".outerDiv99").show();
}
});
function hideSideAnchor(){
$(".outerDiv99").parent().hide();
createCookie('hideSrAnchor');
//return false;
}
function createCookie(name) {
var today = new Date();
var expire = new Date();
expire.setTime(today.getTime() + 300000); // cookie time set to 5 min.
document.cookie = name+"=1;path=/;expires="+expire.toGMTString();
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
if (Modernizr.mq('only screen and (min-width: 480px)')){
if ((document.location.pathname.lastIndexOf("/blogs/")==-1) && (document.location.pathname.lastIndexOf("/sponsored/")==-1)){
document.write('
');
document.write('
');
document.write('
');
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1458000924904-0'); });
document.write('
');
document.write('');
document.write('');
}
} else if (Modernizr.mq('only all and (min-width: 320px)')){
if ((document.location.pathname.lastIndexOf("/galleries/") != 0)) {
document.write('
');
document.write('
');
document.write('
');
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1458074630906-0'); });
document.write('
');
document.write('
');
document.write('
');
} else if ((document.location.pathname.lastIndexOf("/video/") != 0)) {
document.write('
');
document.write('
');
document.write('
');
document.write('
');
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1458074630906-0'); });
document.write('
');
document.write('
');
document.write('
');
}
window.addEventListener('load',function () {
if ($('#div-gpt-ad-1458074630906-0').html() == '') {
$(".outerDiv99").parent().hide();
}
});
}