// Copyright (c) 1996-1997 Athenia Associates.
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.

function setCookie (name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) + (expires ? "; expires=" + expires : "") +
(path ? "; path=" + path : "") + (domain ? "; domain=" + domain : "") + (secure ? "secure" : "");
document.cookie = curCookie;
}

function getCookie (name) {
var prefix = name + '=';
var c = document.cookie;
var nullstring = '';
var cookieStartIndex = c.indexOf(prefix);
if (cookieStartIndex == -1)
return nullstring;
var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1)
cookieEndIndex = c.length;
return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}

function deleteCookie (name, path, domain) {
if (getCookie(name))
document.cookie = name + "=" + ((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}

function fixDate (date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0)
date.setTime(date.getTime() - skew);
}

function rememberMe (f) {
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
now = now.toGMTString();
if (f.author != undefined)
setCookie('mtcmtauth', f.author.value, now, '/', '', '');
if (f.email != undefined)
setCookie('mtcmtmail', f.email.value, now, '/', '', '');
if (f.url != undefined)
setCookie('mtcmthome', f.url.value, now, '/', '', '');
}

function forgetMe (f) {
deleteCookie('mtcmtmail', '/', '');
deleteCookie('mtcmthome', '/', '');
deleteCookie('mtcmtauth', '/', '');
f.email.value = '';
f.author.value = '';
f.url.value = '';
}

function hideDocumentElement(id) {
var el = document.getElementById(id);
if (el) el.style.display = 'none';
}

function showDocumentElement(id) {
var el = document.getElementById(id);
if (el) el.style.display = 'block';
}

function showAnonymousForm() {
showDocumentElement('comments-form');

}


var commenter_name;
var commenter_blog_ids;
var is_preview;
var mtcmtmail;
var mtcmtauth;
var mtcmthome;

function individualArchivesOnLoad(commenter_name) {



hideDocumentElement('trackbacks-info');



if ( commenter_name &&
( !commenter_id
|| commenter_blog_ids.indexOf("'253'") > -1))
{
hideDocumentElement('comment-form-name');
hideDocumentElement('comment-form-email');
showDocumentElement('comments-open-text');
showDocumentElement('comments-open-footer');
} else {
hideDocumentElement('comments-open-data');
hideDocumentElement('comments-open-text');
hideDocumentElement('comments-open-footer');
}



if (document.comments_form) {
if (!commenter_name && (document.comments_form.email != undefined) &&
(mtcmtmail = getCookie("mtcmtmail")))
document.comments_form.email.value = mtcmtmail;
if (!commenter_name && (document.comments_form.author != undefined) &&
(mtcmtauth = getCookie("mtcmtauth")))
document.comments_form.author.value = mtcmtauth;
if (document.comments_form.url != undefined &&
(mtcmthome = getCookie("mtcmthome")))
document.comments_form.url.value = mtcmthome;
if (document.comments_form["bakecookie"]) {
if (mtcmtauth || mtcmthome) {
document.comments_form.bakecookie.checked = true;
} else {
document.comments_form.bakecookie.checked = false;
}
}
}
}

function writeCommenterGreeting(commenter_name, entry_id, blog_id, commenter_id, commenter_url) {

if ( commenter_name &&
( !commenter_id
|| commenter_blog_ids.indexOf("'" + blog_id + "'") > -1))
{
var url;
if (commenter_id) {
url = 'http://www.insidesocal.com/mt/mt-comments.cgi?__mode=edit_profile&commenter=' + commenter_id + '&blog_id=' + blog_id;
if (entry_id) {
url += '&entry_id=' + entry_id;
} else {
url += '&static=1';
}
} else if (commenter_url) {
url = commenter_url;
} else {
url = null;
}
var content = 'Thanks for signing in, ';
if (url) {
content += '<a href="' + url + '">' + commenter_name + '</a>';
} else {
content += commenter_name;
}
content += '. Now you can comment. (<a href="http://www.insidesocal.com/mt/mt-comments.cgi?__mode=handle_sign_in&amp;static=1&amp;logout=1&entry_id=' + entry_id + '">sign out</a>)';
document.write(content);
} else if (commenter_name) {
document.write('You do not have permission to comment on this blog. (<a href="http://www.insidesocal.com/mt/mt-comments.cgi?__mode=handle_sign_in&amp;static=1&amp;logout=1&entry_id=' + entry_id + '">sign out</a>)');
} else {

document.write('<a href="http://www.insidesocal.com/mt/mt-comments.cgi?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1">Sign in' + '</a>' + ' to comment on this entry.');

}

}


if ('www.insidesocal.com' != 'www.insidesocal.com') {
document.write('<script src="http://www.insidesocal.com/mt/mt-comments.cgi?__mode=cmtr_name_js"></script>');
} else {
commenter_name = getCookie('commenter_name');
ids = getCookie('commenter_id').split(':');
commenter_id = ids[0];
commenter_blog_ids = ids[1];
commenter_url = getCookie('commenter_url');
}


function MVheadlines() {

var pageLocation = new String(window.location);
var locationLength = pageLocation.length;
var contentIdStart = pageLocation.indexOf("blogs.");
var contentIdEnd = pageLocation.indexOf(".com");
var contentId = new String(pageLocation.substring(contentIdStart+6, contentIdEnd));



if (contentId == 'dailynews') {
document.write('
    <h2>LA Daily News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058708?source=rss_viewed">Wanted in wife's abduction and slaying, man shot and killed in Valley by officers at Best Buy </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062095?source=rss_viewed">Ralphs, Kroger accused of overcharging in LA</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060040?source=rss_viewed">White House: VP Joe Biden's son hospitalized</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062062?source=rss_viewed">Authorities ID woman killed by estranged husband in Long Beach</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062079?source=rss_viewed">Firefighters douse grass fire in Sylmar area</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058966?source=rss_viewed">Utah coach Sloan: Lakers star Bryant is like `Miss America'</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060018?source=rss_viewed">&lt; /&gt;</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060011?source=rss_viewed">Skid Row shelter goes wild with bear tacos</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060006?source=rss_viewed">LA layoffs would trigger raises for other workers</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060032?source=rss_viewed">UPDATED: Boeing C-17 strike begins shortly after midnight</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'sbsun') {
document.write('
    <h2>San Bernardino County Sun Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15057180?source=rss_viewed">Man charged with stabbing bus driver also threatened teacher</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15056538?source=rss_viewed">Apple Valley teen escapes from juvenile hall, is shot by Indio police after confrontation</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15058042?source=rss_viewed">Sig Alert issued in Colton for overturned big rig carrying 40,000 pounds of chicken</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15057259?source=rss_viewed">Fontana recycler files $100M lawsuit against county</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15058049?source=rss_viewed">Man arrested after pointing laser at Fontana police helicopter</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15056468?source=rss_viewed">Argument leads to stabbing outside Boston's restaurant in Rancho Cucamonga</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15057350?source=rss_viewed">Crime and Public Safety, May 11</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15056011?source=rss_viewed">Charges filed against SB parents for baby's death</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15056973?source=rss_viewed">New wells proposed to reduce earthquake risks downtown</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_15061285?source=rss_viewed">UPDATE: Woman killed in Wrightwood crash identified</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'dailybulletin') {
document.write('
');
}
else if (contentId == 'sgvtribune') {
document.write('
    <h2>San Gabriel Valley Tribune Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15056431?source=rss_viewed">One killed in Azusa shooting</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15056392?source=rss_viewed">Body discovered in Hacienda Heights</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15056363?source=rss_viewed">Pomona teen recovering after impaling self on javelin </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15059243?source=rss_viewed">La Puente Planning Commission postpones vote on medical marijuana ban</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15057204?source=rss_viewed">Parents, teachers remember Monrovia kindergarten teacher who died in car collision </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15061280?source=rss_viewed">Man killed in Monterey Park crash identified</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15062160?source=rss_viewed">El Monte shooting victim remains in 'death imminent' condition</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15047621?source=rss_viewed">El Monte shooting victim listed as &quot;death imminent&quot; at hospital</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15051985?source=rss_viewed">Young man shot to death in West Valinda </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_15055147?source=rss_viewed">Montebello man charged with capital murder in rampage that killed three</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'whittierdailynews') {
document.write('
    <h2>Whittier Daily News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15055073?source=rss_viewed">Police pull suspected drunken driver from car after he passes out at Whittier intersection</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15056860?source=rss_viewed">Montebello man charged with Hawaiian Gardens triple killings </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15057260?source=rss_viewed">Multiple area street projects will go on through the summer </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15055104?source=rss_viewed">Downey man accused of threatening to kill mother and sister on Mother's Day</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15034103?source=rss_viewed">Whittier police plan DUI, license checkpoint today </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15056401?source=rss_viewed">Burglars bungle Norwalk bank break-in</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15057367?source=rss_viewed">Whittier area cities pay more than $20 million to the state </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15030071?source=rss_viewed">Alcohol may have been a factor in deadly crash</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15055804?source=rss_viewed">Pico Rivera council to discuss temporary freeze on new fast food restaurants</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_15055089?source=rss_viewed">Car collides with ambulance in Norwalk</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'pasadenastarnews') {
document.write('
    <h2>Pasadena Star-News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_14989503?source=rss_viewed">HIGH SCHOOL TRACK: Jewelry snafu costs South Pasadena</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15058484?source=rss_viewed">ArcLight Pasadena opens its doors at Paseo Colorado </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15057410?source=rss_viewed">Rose Bowl taking initial step towards possible World Cup game hosting </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15057204?source=rss_viewed">Parents, teachers remember Monrovia kindergarten teacher who died in car collision </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15021043?source=rss_viewed">Beverly Hills couple found shot to death in apparent murder-suicide</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15050226?source=rss_viewed">Monrovia elementary school teacher killed in car crash</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15056411?source=rss_viewed">Driver dies in Monterey Park crash</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15056498?source=rss_viewed">Pasadena cuts $10.8 million check in state redevelopment lawsuit</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15054241?source=rss_viewed">Arrests in Hayward shooting that left 2 teens dead</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_15058675?source=rss_viewed">Pasadena projected to run another budget deficit next year; city loses $10.8M to state   </a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'presstelegram') {
document.write('
    <h2>Long Beach Press Telegram Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15054553?source=rss_viewed">UPDATED: Woman slain in downtown Long Beach; suspect killed in Valley</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15056037?source=rss_viewed">UPDATED: Boeing C-17 strike begins shortly after midnight</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15057971?source=rss_viewed">Compton High teacher charged with having sex with 3 students</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15062768?source=rss_viewed">Woman killed in Monday's downtown Long Beach shooting identified</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15056560?source=rss_viewed">Long Beach teachers union, district reach deal for five furlough days; contract could save 200 jobs</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15060994?source=rss_viewed">Shot Bell Gardens teen dies of injuries</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15056835?source=rss_viewed">Trial delayed for Long Beach teens charged with 2008 gang revenge killing</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15059140?source=rss_viewed">KRIKORIAN: Nash's injury leaves Alexander in stitches</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15059480?source=rss_viewed">Compton teacher accused of having sex with 3 students</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_15055742?source=rss_viewed">UPDATED: Victorian-style Long Beach home heavily damaged in fire</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'dailybreeze') {
document.write('
    <h2>Daily Breeze Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15056238?source=rss_viewed">Woman suspected in boyfriend's fatal shooting kills herself</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15060794?source=rss_viewed">Compton teacher accused of having sex with 3 students</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15057443?source=rss_viewed">Big Cat Sighting?</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15057504?source=rss_viewed">Local nonprofits may lose tax break</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15061566?source=rss_viewed">US man found dead, body burned in Mexico</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15055998?source=rss_viewed">UPDATED: Suspect in woman's slaying in Long Beach killed by police</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15058020?source=rss_viewed">Strike! Boeing C-17 workers walk out</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15060993?source=rss_viewed">3 gang members arrested for allegedly firing on LA Airport officer</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15054049?source=rss_viewed">Car-to-car shooting victim listed as 'death imminent'</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_15050145?source=rss_viewed">Torrance traffic tickets up 60%</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'la') {
document.write('
    <h2>LA Daily News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058708?source=rss_viewed">Wanted in wife's abduction and slaying, man shot and killed in Valley by officers at Best Buy </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062095?source=rss_viewed">Ralphs, Kroger accused of overcharging in LA</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060040?source=rss_viewed">White House: VP Joe Biden's son hospitalized</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062062?source=rss_viewed">Authorities ID woman killed by estranged husband in Long Beach</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062079?source=rss_viewed">Firefighters douse grass fire in Sylmar area</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058966?source=rss_viewed">Utah coach Sloan: Lakers star Bryant is like `Miss America'</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060018?source=rss_viewed">&lt; /&gt;</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060011?source=rss_viewed">Skid Row shelter goes wild with bear tacos</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060006?source=rss_viewed">LA layoffs would trigger raises for other workers</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060032?source=rss_viewed">UPDATED: Boeing C-17 strike begins shortly after midnight</a>
    


        </li>
        
    </ul>

');
}
else {
document.write('
    <h2>LA Daily News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058708?source=rss_viewed">Wanted in wife's abduction and slaying, man shot and killed in Valley by officers at Best Buy </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062095?source=rss_viewed">Ralphs, Kroger accused of overcharging in LA</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060040?source=rss_viewed">White House: VP Joe Biden's son hospitalized</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062062?source=rss_viewed">Authorities ID woman killed by estranged husband in Long Beach</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15062079?source=rss_viewed">Firefighters douse grass fire in Sylmar area</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15058966?source=rss_viewed">Utah coach Sloan: Lakers star Bryant is like `Miss America'</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060018?source=rss_viewed">&lt; /&gt;</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060011?source=rss_viewed">Skid Row shelter goes wild with bear tacos</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060006?source=rss_viewed">LA layoffs would trigger raises for other workers</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_15060032?source=rss_viewed">UPDATED: Boeing C-17 strike begins shortly after midnight</a>
    


        </li>
        
    </ul>

');
}
}

