
document.write('<div id="ijnewsfeed_scrollbox" style="width:300px;">');
document.write('<div style="padding:3px;font-size:12px;">');
document.write('	<div style="padding:3px;background-color:#eee;font-family:arial,helvetica,sans-serif;font-weight:bold;color:black">Today\'s Insurance News</div>');
document.write('	<div style="font-size:smaller;font-family:verdana,sans-serif;">');
document.write('	<div style="background-color:white;">Provided by <a href="http://www.insurancejournal.com/" style="white-space:nowrap;" target="_top">Insurance Journal</a></div>');
document.write('	<div style="background-color:white;">Updated 24 Hours a Day</div>');
document.write('	</div>');
document.write('</div>');
document.write('<div id="ijnewsfeed_holdspace" style="position:relative;width:300px;height:120px;z-index:1;"><!-- --></div>');
document.write('</div>');

var ij_interval = 20;
var ij_increment = 1;
var ij_pause = 3000;
var ij_scrollerColor = 'ffffff';
var ij_scrollerLeftPadding = 4;
var ij_scrollerTopPadding = 4;

var ij_holdspace = document.getElementById('ijnewsfeed_holdspace');
var ij_itemprefix = 'ij_newsitem';

var ij_scrollerLeft = ij_holdspace.offsetLeft;
var ij_scrollerTop = ij_holdspace.offsetTop;
var ij_scrollerWidth = ij_holdspace.style.pixelWidth;
var ij_scrollerHeight = ij_holdspace.style.pixelHeight;

var ij_news = new Array(
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/national/2010/07/29/112009.htm" style="color:9777373;" target="_top">Survey: Public Opposes Allowing Policyholder Suits Against Insurers</a></div><div style="font-size:smaller;">National News - July 29, 2010</div><div>A majority of Americans believe that laws allowing people to sue their own ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/national/2010/07/29/112000.htm" style="color:9777373;" target="_top">BP: Claims Payments Top $256 Million</a></div><div style="font-size:smaller;">National News - July 29, 2010</div><div>BP said it estimates it will pay at least $60 million in advance payments in ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/national/2010/07/29/111997.htm" style="color:9777373;" target="_top">Bill to Eliminate Oil Liability Limit Comes Under Fire</a></div><div style="font-size:smaller;">National News - July 29, 2010</div><div>Republicans and some moderate Democrats in the U.S. Senate Wednesday began ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/national/2010/07/28/111986.htm" style="color:9777373;" target="_top">Marsh: Offshore Energy Insurance Costs to Increase &#39;Modestly&#39;</a></div><div style="font-size:smaller;">National News - July 28, 2010</div><div>Major losses sustained in the Gulf of Mexico will not have the same ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/east/2010/07/29/112023.htm" style="color:9777373;" target="_top">Foremost Insurance Group Launches Auto Program in New York</a></div><div style="font-size:smaller;">East News - July 29, 2010</div><div>Foremost announces their DISTINCTCHOICE auto program in New York. ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/east/2010/07/29/112011.htm" style="color:9777373;" target="_top">Crosby to Head OneBeacon&#39;s New E&#38;S Division</a></div><div style="font-size:smaller;">East News - July 29, 2010</div><div>Massachusetts-based OneBeacon Insurance Group said it is launching a new ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/east/2010/07/29/112010.htm" style="color:9777373;" target="_top">Agent Gets 3 Years for Pocketing Premiums in New Jersey</a></div><div style="font-size:smaller;">East News - July 29, 2010</div><div>A former Pennsylvania insurance agent has been sentenced to three years in ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/east/2010/07/29/112003.htm" style="color:9777373;" target="_top">Diette Joins Target Insurance Services</a></div><div style="font-size:smaller;">East News - July 29, 2010</div><div>Connecticut-based managing general underwriter Target Insurance Services has ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/midwest/2010/07/29/112020.htm" style="color:9777373;" target="_top">Smith Named Missouri Insurance Agents&#39; Person of the Year</a></div><div style="font-size:smaller;">Midwest News - July 29, 2010</div><div>Dennis Smith of Columbia, Mo., has been honored as the Missouri Association ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/midwest/2010/07/29/112019.htm" style="color:9777373;" target="_top">Neace Lukens Opens Dayton, Ohio, Office; Grows Construction Group</a></div><div style="font-size:smaller;">Midwest News - July 29, 2010</div><div>Louisville, Ky.-based insurance broker Neace Lukens has opened a new office ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/midwest/2010/07/29/112008.htm" style="color:9777373;" target="_top">North Dakota Property Crime Rate Down, but Violent Crimes on Rise</a></div><div style="font-size:smaller;">Midwest News - July 29, 2010</div><div>Attorney General Wayne Stenehjem says North Dakota&#39;s crime rate dropped ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/midwest/2010/07/29/111989.htm" style="color:9777373;" target="_top">Camelback Captive Services Appoints Mead Executive VP</a></div><div style="font-size:smaller;">Midwest News - July 29, 2010</div><div>Phoenix-based Camelback Captive Services Inc. has appointed Justin C. Mead ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southeast/2010/07/29/112028.htm" style="color:9777373;" target="_top">Kentucky&#39;s Arison Insurance Acquires Benefits Solutions</a></div><div style="font-size:smaller;">Southeast News - July 29, 2010</div><div>Louisville, Ky.-based insurance and benefits broker Arison Insurance ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southeast/2010/07/29/112004.htm" style="color:9777373;" target="_top">South Carolina Court Upholds $10 Million Award Against Bar, Owners</a></div><div style="font-size:smaller;">Southeast News - July 29, 2010</div><div>South Carolina liquor stores, bars and their owners may be liable for ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southeast/2010/07/29/111998.htm" style="color:9777373;" target="_top">North Carolina Mother, Daughter Charged with Insurance Fraud</a></div><div style="font-size:smaller;">Southeast News - July 29, 2010</div><div>A Winterville, North Carolina mother and daughter have been accused of ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southeast/2010/07/28/111969.htm" style="color:9777373;" target="_top">Florida Citizens&#39; Rate Increases Way Below Actuaries&#39; Indications</a></div><div style="font-size:smaller;">Southeast News - July 28, 2010</div><div>If insurance actuaries had their way, rates for homeowners insured through ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southcentral/2010/07/29/112026.htm" style="color:9777373;" target="_top">Texas Mutual Successful on Appeal in Workers&#39; Comp Bad Faith Case</a></div><div style="font-size:smaller;">Texas / South Central News - July 29, 2010</div><div>A Houston Court of Appeals has dismissed a case involving workers&#39; ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southcentral/2010/07/29/112015.htm" style="color:9777373;" target="_top">Crews Work to Cap New Oil Leak Along Louisiana&#39;s Coast</a></div><div style="font-size:smaller;">Texas / South Central News - July 29, 2010</div><div>Crews are working to cap a new oil leak in a Louisiana coastal inlet after a ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southcentral/2010/07/28/111980.htm" style="color:9777373;" target="_top">$264K Proposed as Compensation for New Louisiana Citizens CEO</a></div><div style="font-size:smaller;">Texas / South Central News - July 28, 2010</div><div>A committee of the Louisiana Citizens Property Insurance Corp. board has ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/southcentral/2010/07/28/111977.htm" style="color:9777373;" target="_top">Lepanen Joins Higginbotham to Lead Employee Benefits Practice</a></div><div style="font-size:smaller;">Texas / South Central News - July 28, 2010</div><div>Texas-based Higginbotham &amp; Associates has appointed Dick Lepanen ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/west/2010/07/29/112001.htm" style="color:9777373;" target="_top">Best Lowers Business Alliance Ratings after Adverse Court Decision</a></div><div style="font-size:smaller;">West News - July 29, 2010</div><div>A.M. Best Co. has downgraded the financial strength rating to &#39;B+&#39; ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/west/2010/07/29/111999.htm" style="color:9777373;" target="_top">SeaBright Files California Rate Increase</a></div><div style="font-size:smaller;">West News - July 29, 2010</div><div>SeaBright Holdings Inc. announced that its subsidiary, SeaBright Insurance ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/west/2010/07/29/111990.htm" style="color:9777373;" target="_top">Oakland Large-Scale Pot Farms Will Require $2M in Liability Insurance</a></div><div style="font-size:smaller;">West News - July 29, 2010</div><div>The Oakland City Council has given final approval to a plan that makes ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/west/2010/07/29/111988.htm" style="color:9777373;" target="_top">Williams Promoted to Assistant VP at Bolton &#38; Co.</a></div><div style="font-size:smaller;">West News - July 29, 2010</div><div>Bolton &amp; Co. announced that Phillip D. Williams has been promoted to ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/international/2010/07/29/112027.htm" style="color:9777373;" target="_top">Ratings Recap: Skandia, Al Fajer Re</a></div><div style="font-size:smaller;">International News - July 29, 2010</div><div>A.M. Best Co. has affirmed the financial strength rating of &#39;A ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/international/2010/07/29/112018.htm" style="color:9777373;" target="_top">S&#38;P Raises Arch Capital Group&#39;s Ratings to &#39;A-&#39;; Outlook Stable</a></div><div style="font-size:smaller;">International News - July 29, 2010</div><div>Standard &amp; Poor&#39;s Ratings Services has raised its counterparty ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/international/2010/07/29/112017.htm" style="color:9777373;" target="_top">Japan Supertanker Probe Reveals Crash Impact</a></div><div style="font-size:smaller;">International News - July 29, 2010</div><div>A Japanese supertanker, which triggered fears of an attack in the sensitive ...</div>',
'<div style="font-family:verdana,arial,sans-serif;color:777373font=arial;font-size:12;"><div><a href="http://www.insurancejournal.com/news/international/2010/07/29/111996.htm" style="color:9777373;" target="_top">Ten Key Indicators Show &#39;Global Warming is Undeniable&#39;</a></div><div style="font-size:smaller;">International News - July 29, 2010</div><div>Melting glaciers, more humid air and eight other key indicators, show that ...</div>');

function ij_makescroller()
{
  var ij_newstext = '<div id="ijnewsfeed_items" style="position:absolute;font-family:arial,verdana,sans-serif;font-size:13px;">';
  for (var i = ij_news.length - 1; i >= 0; i--) {
    ij_newstext += '<div id="' + ij_itemprefix + i + '" style="position:absolute;"></div>';
  }
  ij_newstext += '</div>';
  // insert the code into our placeholder
	ij_holdspace.insertAdjacentHTML("BeforeEnd", ij_newstext);
	
  with (ijnewsfeed_items.style) {
    width = ij_scrollerWidth;
    height = ij_scrollerHeight;
    clip = "rect(0 " + ij_scrollerWidth + " " + ij_scrollerHeight + " 0)";
		backgroundColor = ij_scrollerColor;
    left = ij_scrollerLeft+'px';
    top = ij_scrollerTop+'px';
    left = 0+'px';
    top = 0+'px';
  }
	
  // define the child elements' properties
  for (i = 0; i < ij_news.length; i++) {
    with (eval(ij_itemprefix + i + ".style")) {
      visibility = "hidden";
      pixelLeft = ij_scrollerLeftPadding;
      pixelTop = ij_scrollerTopPadding;
      width = ij_scrollerWidth - ij_scrollerLeftPadding;
    }
  }
}

function ij_fillscroller()
{
  var whichEl;
  for (var i=0; i < ij_news.length; i++) {
    whichEl = document.getElementById(ij_itemprefix + i);
    whichEl.innerHTML = ij_news[i];
  }
}

function ij_showitem(n, show)
{
	whichEl = document.getElementById(ij_itemprefix + n);
  whichEl.style.visibility = (show) ? "visible" : "hidden";
}

function ij_scrollitem(from, to)
{
	fromEl = document.getElementById(ij_itemprefix + from);
	toEl = document.getElementById(ij_itemprefix + to);

  toEl.style.pixelTop = fromEl.style.pixelTop + ij_scrollerHeight;
  toElTarget = fromEl.style.pixelTop;
	
  ij_showitem(to, true); // show the upcoming message
  intervalID = setInterval("ij_moveup()", ij_interval);
}

function ij_nextitem()
{
  var fromInd = ij_current;
  ij_current = (fromInd == ij_news.length - 1) ? 0 : fromInd + 1;
  ij_scrollitem(fromInd, ij_current);
}

function ij_moveup()
{
  fromEl.style.pixelTop -= ij_increment;
  if (toEl.style.pixelTop - ij_increment <= toElTarget) {
    toEl.style.pixelTop = toElTarget;
    clearInterval(intervalID);
    fromEl.style.visibility = "hidden";
    timeoutID = setTimeout("ij_nextitem()", ij_pause);
  } else {
    toEl.style.pixelTop -= ij_increment;
  }
}

function ij_startscroller()
{
  ij_makescroller();
  ij_fillscroller();
  ij_showitem(0, true);
  ij_current = 0;
  timeoutID = setTimeout("ij_nextitem()", ij_pause);
}

window.onload = ij_startscroller;
