ScrollCycleCount)){return;}
StartScrollingHyperlinks(temp, CurrentItem);
}
function ScrollHyperlinks(){
if(NN4){
ScrollItemContainerFrom.left-=ScrollStepSize;
if(ScrollItemContainerTo.left-ScrollStepSize<=ScrollItemContainerToTarget){
ScrollItemContainerTo.left=ScrollItemContainerToTarget;
clearInterval(intervalID);
ScrollItemContainerFrom.visibility="hidden";
timeoutID=setTimeout("ScrollControl()",DisplayInterval);
}
else{
ScrollItemContainerTo.left-=ScrollStepSize;
}
}
else{
ScrollItemContainerFrom.pixelLeft-=ScrollStepSize;
if(ScrollItemContainerTo.pixelLeft-ScrollStepSize<=ScrollItemContainerToTarget){
ScrollItemContainerTo.pixelLeft=ScrollItemContainerToTarget;
clearInterval(intervalID);
ScrollItemContainerFrom.visibility="hidden";
timeoutID=setTimeout("ScrollControl()",DisplayInterval);
}
else{
ScrollItemContainerTo.pixelLeft-=ScrollStepSize;
}
}
}
function StartScrollingHyperlinks(ContainerItemFrom,ContainerItemTo){
ScrollItemContainerFrom = ScrollItemContainer(ContainerItemFrom);
ScrollItemContainerTo = ScrollItemContainer(ContainerItemTo);
if(NN4){
ScrollItemContainerTo.left = ScrollItemContainerFrom.left + (ScrollTextAvgLength*TextToPixelMult*ScrollItemsCount); // mine: ScrollTextLength[ContainerItemFrom]*6.5*ScollItemsCount
ScrollItemContainerToTarget = ScrollItemContainerFrom.left;
}
else{
ScrollItemContainerTo.pixelLeft = ScrollItemContainerFrom.pixelLeft + (ScrollTextAvgLength*TextToPixelMult*ScrollItemsCount); // mine: ScrollTextLength[ContainerItemFrom]*6.5*ScollItemsCount
ScrollItemContainerToTarget = ScrollItemContainerFrom.pixelLeft;
}
SetItemVisibility(ContainerItemTo,true);
intervalID = setInterval("ScrollHyperlinks()", ScrollStepSpeed);
}
function CreateItemContainersForIE(){
var text='';
document.body.insertAdjacentHTML("BeforeEnd",text);
}
function CreateItemContainersForNN(){
var scroller = new Layer(ScrollerWidth);
with(scroller){
clip.right=ScrollerWidth;
clip.bottom=ScrollerHeight;
moveTo(ScrollerLeft,ScrollerTop);
visibility="show";
}
for(var i=0; i" // j was HyperlinkCount
newsStr += ScrollItemTextAndURL[j][TheItemText] + " "; // j was HyperlinkCount
}
if(NN4){
with(TheScrollItemContainer.document)
{
write(newsStr);
close();
}
}
else{
TheScrollItemContainer.innerHTML = newsStr;
}
HyperlinkCount++;
if(HyperlinkCount == ScrollItemTextAndURL.length)
HyperlinkCount=0;
}
}
function ReloadPage(){
window.location.reload();
}