<!-- Begin
var sURL = new Array(
     "http://www.uniontrib.com/",
     "http://www.sddt.com/",
     "http://www.primenews.com/",
     "http://www.sdnews.com/",
     "http://www.pomeradonews.com/"
      );
var sMsg = new Array(
     "  Tribune  ",
     " Transcript",
     "  Headline ",
     " Community ",
     "PomeradoNews"  
     );
var txtW=300;
var iWait=3000; 
var sMover_color='#E1FFE1';
var sMout_color='#ffe4b5';
var iCnt=0;
var ns6= document.getElementById&&!document.all ;
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1;

if (ie4||ns6){
 document.write('<form name="frmNews_bar">'+
                 '<input type="button" value="^"'+ 
                  'onclick="moveit(0)" class="scrollerstyle" style="width:22; height:22; border-right-width:0px;BACKGROUND-COLOR: RoyalBlue"'+ 
                  'name="prev" title="Previous News"><input type="button"'+ 
                  'name="txtNews" title ="Around San Diego" onclick="goURL();"'+ 
                  'style=   "color:#000000;background:#ffe4b5; width:' +  
                   txtW + 'height:27;'+ 'border-width:1;'+  
                  'border-color:#000000;'+'cursor:hand;FONT-WEIGHT: bold; FONT-SIZE: medium;"'+
                  'onmouseover="this.style.background='+
                  'sMover_color"'+'onmouseout="this.style.background=sMout_color">'+ 
                  '<input type="button" value="+" onclick="moveit(1)"'+  
                  'class="scrollerstyle" style="width:22; height:22;'+  
                  'border-left-width:0px;BACKGROUND-COLOR: RoyalBlue" name="btNext" title="Next News"></form>');
}
else{
document.write('<form name="news_bar"><input type="button" value="Previous" onclick="moveit(0)">')
if (navigator.userAgent.indexOf("Opera")!=-1)
document.write('<input type="button" name="news_bar_but" onclick="goURL();" style="width:'+txtW+'" border="0">')
else
document.write('<input type="button" name="news_bar_but" onclick="goURL();" width="'+txtW+'" border="0">')
document.write('<input type="button" value="Next" onclick="moveit(1)" id=button1 name=button1></form>')
}
setInterval("moveit(1)",iWait)
function init_news_bar(){
  document.frmNews_bar.txtNews.value=sMsg[iCnt];
}

function moveit(how){

if (how==1){
  if (iCnt<sMsg.length-1)
      iCnt++
   else
     iCnt=0
}
else{ 
if (iCnt=0)
  iCnt=sMsg.length-1

else
 iCnt--
 if(iCnt==-1)iCnt =0;
} 


document.frmNews_bar.txtNews.value = sMsg[iCnt];}
function goURL(){
var winChrome="menubars=no,location=no,toolbars=no,scrollbars=yes,"+"width=820,height=650,top=187,left=100";

winP = window.open(sURL[iCnt],"",winChrome);

if (winP.opener == null) {
		winP.opener = window
	}
}
init_news_bar();
//  End -->
