
function startTicker()
{
theCurrentStory = -1;
theCurrentLength = 0;
if (document.getElementById) {
theAnchorObject = document.getElementById("tickerAnchor");
runTheTicker();
} else {
document.write("<style type=\"text/css\">.ticki{display:none;}.ticko{border:0px; padding:0px;}</style>");
return true;
}
}

function runTheTicker()
{
var myTimeout;

if(theCurrentLength == 0)
{
theCurrentStory++;
theCurrentStory = theCurrentStory % theItemCount;
theStorySummary = theSummaries[theCurrentStory].replace(/&quot;/g,'"');
theTargetLink = theSiteLinks[theCurrentStory];
theAnchorObject.href = theTargetLink;
thePrefix = "<span style=\"font-size: 11px; font-weight: bold;\" title=\"Click to read more news and information\">" + theLeadString + "</span>";
}

theAnchorObject.innerHTML = thePrefix +
theStorySummary.substring(0,theCurrentLength) + whatWidget();

if(theCurrentLength != theStorySummary.length)
{
theCurrentLength++;
myTimeout = theCharacterTimeout;
}
else
{
theCurrentLength = 0;
myTimeout = theStoryTimeout;
}

setTimeout("runTheTicker()", myTimeout);
}

function whatWidget()
{
if(theCurrentLength == theStorySummary.length)
{
return theWidgetNone;
}
if((theCurrentLength % 2) == 1)
{
return theWidgetOne;
}
else
{
return theWidgetTwo;
}
}


var arrayDayNames = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");

var arrayMonthNames = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

function getDateCurrent () {
    var today = new Date() 
    var day = (today.getDay());
		
    var monthName_List = new Date()
    monthNumber = (today.getMonth());
	
    dayNumber=today.getDate();
    if(dayNumber < 10){
        dayNumber="0" + dayNumber;
    } 
    var yearNumber = today.getYear();
    if(yearNumber < 1000) {
        yearNumber+=1900;
    }
	if (document.getElementById('print'))
	{
	document.write(dayNumber + " " + arrayMonthNames[monthNumber] +   ", " + yearNumber);
	}
	else
	{
    document.write(arrayDayNames[day] + ", " + dayNumber + " " + arrayMonthNames[monthNumber] +", " + yearNumber);	
	}
	
} 


function HideContent(d) {
document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
document.getElementById(d).style.display = "block";
}


function ReverseDisplay(d,e) {
f=d+e;
fc='ca_'+e;
fi='isc_'+e;
fq='qvs_'+e;
fs='size_'+e;
sp='space_'+e;
t='table_'+e;

if(document.getElementById(f).style.display == "none") { document.getElementById(f).style.display = "block";}
else { document.getElementById(f).style.display = "none"; }

if ((document.getElementById(fc).style.display == "block") || (document.getElementById(fi).style.display == "block") || (document.getElementById(fq).style.display == "block") || (document.getElementById(fs).style.display == "block") ){document.getElementById(sp).style.display = "block";}
else 
{ document.getElementById(sp).style.display = "none"; }


var alltags=document.getElementsByTagName("*");



}

