// 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 (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) {

}



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_11381694?source=rss_viewed">Clippers cut Davis, Jones, trade for Samb</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382798?source=rss_viewed">Holt leaving USC for Washington</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382829?source=rss_viewed">Bullough in line to be Bruins' defensive coordinator</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382419?source=rss_viewed">L.A. teachers on chopping block</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11369641?source=rss_viewed">Lakers' Bynum can see a difference -- and it's not good</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372264?source=rss_viewed">$150,000 reward in case of slain 15-year-old girl</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372693?source=rss_viewed">Two tickets from Lottery split $380,000 jackpot</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11385923?source=rss_viewed">L.A., Orange County gas prices rise</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386110?source=rss_viewed">Ruling made in `Jackass' daredevil case</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386605?source=rss_viewed">Man killed in Altadena crash identified</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_11484995?source=rss_viewed">Some in Sheriff's Department are cops gone wild</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11486714?source=rss_viewed">Two killed in head-on collision</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11486471?source=rss_viewed">Crime and Public Safety, January 18</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11478898?source=rss_viewed">SB police officer loses job after pleading guilty to attacking girlfriend </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11468270?source=rss_viewed">Man escapes police twice, later nabbed</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11464379?source=rss_viewed">Where will Postmus' arrest lead investigators?</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11484994?source=rss_viewed">Immigration less important, report says</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11478903?source=rss_viewed">2009 doesn't look good for local malls</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11480481?source=rss_viewed">Crime and Public Safety, January 18</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sbsun.com/ci_11478902?source=rss_viewed">Child prostitution surprised Ontario's mayor</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'dailybulletin') {
document.write('
    <h2>Inland Valley Daily Bulletin Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11478888?source=rss_viewed">Restaurant's liquor license suspended for serving minor</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11465160?source=rss_viewed">Suspected prostitute trades sex for merchandise in Montclair</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11478903?source=rss_viewed">2009 doesn't look good for local malls</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11487947?source=rss_viewed">Child prostitution surprises Ontario mayor</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11478887?source=rss_viewed">Man convicted in Mexican Mafia murder plot sentenced to 85 to life</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11483270?source=rss_viewed">Around the Inland Valley</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11465068?source=rss_viewed">Ontario man arrested in Upland killing</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11486326?source=rss_viewed">Crime and Public Safety, January 19</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11480879?source=rss_viewed">Man arrested in Norco on child pornography charges</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybulletin.com/ci_11480874?source=rss_viewed">Crime and Public Safety, January 18</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'sgvtribune') {
document.write('
    <h2>San Gabriel Valley Tribune Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11380784?source=rss_viewed">Attorney: Ortega family funerals to be private </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11382357?source=rss_viewed">Funding freeze delays Cal Poly Building project</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11377651?source=rss_viewed">Pico Rivera woman to receive one-year jail sentence</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11382257?source=rss_viewed">Funding freeze delays Cal Poly building project </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11372066?source=rss_viewed">West Covina man killed in superbike race</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11381666?source=rss_viewed">Man who died in forest crash identified</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11368944?source=rss_viewed">El Monte kidnap, robbery suspect still sought </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11381281?source=rss_viewed">Drawing of suspected cop impersonator released </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11380732?source=rss_viewed">Police release drawing of fake cop</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.sgvtribune.com/ci_11357691?source=rss_viewed">Reformed Azusa gang member shot to death in Kansas </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_11372436?source=rss_viewed">Pico Rivera woman to receive one-year jail sentence</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11382057?source=rss_viewed">Attorney: Ortega family funerals to be private </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11381495?source=rss_viewed">St. Paul football coach Gonzalez fired </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11382062?source=rss_viewed">Drilling begins to assess proposed 710 tunnel </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11360168?source=rss_viewed">Woman kidnapped, raped</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11367027?source=rss_viewed">Pico Rivera boy needs bone marrow transplant </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11369850?source=rss_viewed">3 suspected in Whittier beating, robbery</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11355996?source=rss_viewed">Carjackers punch pregnant woman in stomach</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11367042?source=rss_viewed">Former paramedic sues city, former fire chief for alleged sexual harassment</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.whittierdailynews.com/ci_11373331?source=rss_viewed">Artists asked to work for Whittier </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_11381666?source=rss_viewed">Man who died in forest crash identified</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11377622?source=rss_viewed">Woman to receive one-year jail sentence; crash killed teen</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11382067?source=rss_viewed">Attorney: Ortega family funerals to be private </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11381291?source=rss_viewed">Adobe under threat; district seeks solution </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11381204?source=rss_viewed">Latest rape not related to 2 others, police say</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11327376?source=rss_viewed">Man shot to death in Pasadena</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11368793?source=rss_viewed">Local man killed in freeway crash</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11380732?source=rss_viewed">Police release drawing of fake cop</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11380863?source=rss_viewed">Drilling begins to assess proposed 710 tunnel </a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.pasadenastarnews.com/ci_11380614?source=rss_viewed">Elderly weight-lifter keeps it going </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_11382742?source=rss_viewed">Crimes tainted vet's service</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11382670?source=rss_viewed">Plane runs off Long Beach Airport runway</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11382668?source=rss_viewed">3,000 LAUSD teachers face layoffs</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11385120?source=rss_viewed">Lynwood mortuary fire 'suspicious'</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11382667?source=rss_viewed">Man dies after arrest by sheriff's deputies</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11382832?source=rss_viewed">BURLISON: USC, Utah have shot at No. 2</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11372835?source=rss_viewed">Slain Long Beach soldier had troubled past with Army</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11353235?source=rss_viewed">LB couple killed outside home</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11382090?source=rss_viewed">Young Patients Prepare To Have a Ball</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.presstelegram.com/ci_11368982?source=rss_viewed">Father of slain son had debt</a>
    


        </li>
        
    </ul>

');
}
else if (contentId == 'dailybreeze') {
document.write('
    <h2>Daily Breeze Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11383042?source=rss_viewed">Jailed ex-Manhattan Beach police officer found with drugs in jail cell</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11383060?source=rss_viewed">Bench life a satisfying sequel to bagels</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11255121?source=rss_viewed">&lt;b&gt;DATABASE:&lt;/b&gt; LAPD&amp;apos;s Most Wanted</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11385126?source=rss_viewed">Porn king Larry Flynt sues nephews</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11371371?source=rss_viewed">Torrance Starbucks robbed at gunpoint</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11383038?source=rss_viewed">Art center to raffle Rancho Palos Verdes home</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11383053?source=rss_viewed">Teacher layoffs eyed at LAUSD</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11385888?source=rss_viewed">Angry 4-year-old shoots baby sitter with shotgun</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11382327?source=rss_viewed">Torrance woman lives to teach</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailybreeze.com/ci_11382628?source=rss_viewed">When sisters fight, wise men take cover</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_11381694?source=rss_viewed">Clippers cut Davis, Jones, trade for Samb</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382798?source=rss_viewed">Holt leaving USC for Washington</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382829?source=rss_viewed">Bullough in line to be Bruins' defensive coordinator</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382419?source=rss_viewed">L.A. teachers on chopping block</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11369641?source=rss_viewed">Lakers' Bynum can see a difference -- and it's not good</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372264?source=rss_viewed">$150,000 reward in case of slain 15-year-old girl</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372693?source=rss_viewed">Two tickets from Lottery split $380,000 jackpot</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11385923?source=rss_viewed">L.A., Orange County gas prices rise</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386110?source=rss_viewed">Ruling made in `Jackass' daredevil case</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386605?source=rss_viewed">Man killed in Altadena crash identified</a>
    


        </li>
        
    </ul>

');
}
else {
document.write('
    <h2>LA Daily News Most Viewed</h2>
    <ul>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11381694?source=rss_viewed">Clippers cut Davis, Jones, trade for Samb</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382798?source=rss_viewed">Holt leaving USC for Washington</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382829?source=rss_viewed">Bullough in line to be Bruins' defensive coordinator</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11382419?source=rss_viewed">L.A. teachers on chopping block</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11369641?source=rss_viewed">Lakers' Bynum can see a difference -- and it's not good</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372264?source=rss_viewed">$150,000 reward in case of slain 15-year-old girl</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11372693?source=rss_viewed">Two tickets from Lottery split $380,000 jackpot</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11385923?source=rss_viewed">L.A., Orange County gas prices rise</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386110?source=rss_viewed">Ruling made in `Jackass' daredevil case</a>
    


        </li>
        
        <li>
        
    
        <a href="http://www.dailynews.com/ci_11386605?source=rss_viewed">Man killed in Altadena crash identified</a>
    


        </li>
        
    </ul>

');
}
}

