/**************************************
* http://vertical-scroller.vbarsan.com/
*    This notice may not be removed 
**************************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=250;

//scroller's height
var sheight=130;


//scroller's speed 
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause 
var spause=2000;

//scroller's background
var sbcolor="#ffffff";

//messages: set your own; use as many as you'd like; set up Hyperlinks to
//URLs as you normally do: <a target=... href="... URL ...">..message..</a>;
var singletext=new Array();
singletext[0]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td  valign="middle"><table align="center"><tr><td align="left"><A target="_blank" href="http://cbs5.com/crime/shooting.oakland.homicide.2.817301.html " style="color: blue;"><b>4 Weekend Shootings Bring Oakland Homicides To 101</b></A></td></tr></table><div>Oakland (CBS 5 / AP / BCN) ? Four fatal shootings in Oakland during the weekend brought the city homicide count this year to 101, the third year in a row the  .........<A target="_blank" href="http://cbs5.com/crime/shooting.oakland.homicide.2.817301.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
singletext[1]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td  valign="middle"><table align="center"><tr><td align="left"><A target="_blank" href="http://cbs5.com/crime/fatal.hit.and.2.817306.html" style="color: blue;"><b>1 Dead, 2 Hurt After SUV Runs Them Down In SJ Park</b></A></td></tr></table><div>San Jose (CBS 5 / AP / BCN) ? The driver of a large sport utility vehicle was under arrest after allegedly running down three men at a San Jose park Sunday  ......<A target="_blank" href="http://cbs5.com/crime/fatal.hit.and.2.817306.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
singletext[2]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td valign="middle"><table align="center"><tr><td align="left"><A  target="_blank" href="http://cbs5.com/crime/bludgeoning.garden.hoe.2.817510.html" style="color: blue;"><b>Sonoma Co. Man Allegedly Hit Teen With Garden Hoe</b></A></td></tr></table><div>Sonoma (AP) ? An 18-year-old Sonoma County man is under arrest on suspicion of attempted murder after a teenager was bludgeoned in the. ....  <A target="_blank" href="http://cbs5.com/crime/bludgeoning.garden.hoe.2.817510.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
singletext[3]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td  valign="middle"><table align="center"><tr><td align="left"><A  target="_blank" href="http://cbs5.com/crime/murder.suicide.santa.2.817074.html" style="color: blue;"><b>Santa Rosa Man Kills Girlfriend Mom, Kills Self</b></A></td></tr></table><div>Santa Rosa (BCN) ? In a tragic murder-suicide Saturday morning, a 27-year-old man attacked his girlfriend and her mother with a knife before . .....  <A target="_blank" href="http://cbs5.com/crime/murder.suicide.santa.2.817074.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
singletext[4]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td  valign="middle"><table align="center"><tr><td align="left"><A  target="_blank" href="http://cbs5.com/crime/fatal.stabbing.santa.2.816937.html" style="color: blue;"><b>2 Dead, 1 Hurt In Santa Rosa Domestic Dispute</b></A></td></tr></table><div>Santa Rosa (BCN) ? Santa Rosa police are investigating a domestic dispute that left two dead and one injured from stab wounds Saturday morning. ....<A target="_blank" href="http://cbs5.com/crime/fatal.stabbing.santa.2.816937.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
//singletext[5]='<table CELLSPACING="0" CELLPADDING="0" align="center" class="ntxt"><tr><td  valign="middle"><table align="center"><tr><td align="left"><A  target="_blank" href="http://cbs5.com/crime/drive.by.shooting.2.811525.html" style="color: blue;"><b>Vacaville Boy Shot In Drive-By Near Elem. School</b></A></td></tr></table><div>Vacaville (BCN) ? Vacaville police are investigating what they believe was a gang-related drive-by shooting that injured a juvenile boy early Saturday morning......<A target="_blank" href="http://cbs5.com/crime/drive.by.shooting.2.811525.html" style="color: blue;"><b>Read More</b></a></div></td></tr></table>';
//singletext[...]='...';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
//-- end Algorithm -->

