<!--
   function switchTab(id)
   {
        var c = document.getElementById("tabNews"+id);
        if (c != undefined)
           c.className = "tabSelected";

        if (id == 1)
        {
           var c = document.getElementById("tabNews2");
           if (c != undefined)
                c.className = "tab";

            toggleLayer("npBicsNewsList", true);
            toggleLayer("npIndustryNewsList", false);
        }
        else
        {
           var c = document.getElementById("tabNews1");
           if (c != undefined)
                c.className = "tab";
                
            toggleLayer("npBicsNewsList", false);
            toggleLayer("npIndustryNewsList", true);
        }
   }
   
function toggleLayer( whichLayer, show )
{
  var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( whichLayer );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[whichLayer];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[whichLayer];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if (show)
    vis.display = 'block';
  else  
    vis.display = 'none';
}   




// Ticker startup
function startNews()
{
	theCurrentStory     = -1;
	theCurrentLength    = 0;
	if (document.getElementById) 
	{	
		    newsFeedLink     = document.getElementById("newsLink");
			displayNews();   	
    }
	else {
            document.write("<style>.ticki{display:none;}.ticko{border:0px; padding:0px;}</style>");
            return true;
	}
}
function displayNews()
{

	var timer;  
	if(theCurrentLength == 0)
	{
		theCurrentStory++;
        theCurrentStory = theCurrentStory % itemCount;
		if (rssTitles[theCurrentStory] != null)
		{
		    theDate              = "<span class=\"niPubDate\">" + rssDates[theCurrentStory] + "</span>";
		    theStorySummary      = rssTitles[theCurrentStory].replace(/&quot;/g,'"');		
		    theTargetLink        = rssLinks[theCurrentStory];
		    newsFeedLink.href = theTargetLink;
		    thePrefix 	     = "";
		}
	}
	// Stuff the current ticker text into the anchor
	newsFeedLink.innerHTML = thePrefix + theDate + 
	theStorySummary.substring(0,theCurrentLength) + whatWidget();
	// Modify the length for the substring and define the timer
	if(theCurrentLength != theStorySummary.length)
	{
		theCurrentLength++;
		timer = theCharacterTimeout;
	}
	else
	{
		theCurrentLength = 0;
		timer = theStoryTimeout;
	}
	// Call up the next cycle of the ticker
	setTimeout("displayNews()", timer);
}
// Widget generator
function whatWidget()
{
	if(theCurrentLength == theStorySummary.length)
	{
		return theWidgetNone;
	}

	if((theCurrentLength % 2) == 1)
	{
		return theWidgetOne;
	}
	else
	{
		return theWidgetTwo;
	}
}

	var theCharacterTimeout = 0;
	var theStoryTimeout     = 5000;
	var theWidgetOne        = "_";
	var theWidgetTwo        = "-";
	var theWidgetNone       = "";
	var feedTitleString     = "LATEST NEWS:&nbsp;";

	var rssDates = new Array();
	var rssTitles = new Array();
	var rssLinks = new Array();

	var itemCount = 4;
  -->