/* Compressed by the perl version of jsmin. */
/* JavaScript::Minifier 0.02 */

function VSGlobals(nameValue){this.name=nameValue;this.scrollHeight=160;this.scrollPause=100;this.scrollDistance=5;this.scrollPID=0;this.bottomDiv="";this.textCount=0;this.sliderText=new Array();this.sliderBlocks=new Array();}
function shiftAll(whichScroller){var divCount=0;for(divCount=0;divCount<whichScroller.sliderBlocks.length;divCount++){moveTextBlock(whichScroller.sliderBlocks[divCount],whichScroller);}
whichScroller.scrollPID=setTimeout("shiftAll("+whichScroller.name+")",whichScroller.scrollPause);}
function moveTextBlock(whichDiv,whichScroller){var thisDiv,thisBottom
if(document.getElementById){thisDiv=document.getElementById(whichDiv);thisBottom=document.getElementById(whichScroller.bottomDiv);if(parseInt(thisDiv.style.top)>=parseInt(thisDiv.style.height)*-1){thisDiv.style.top=parseInt(thisDiv.style.top)-whichScroller.scrollDistance;}else{thisDiv.style.top=parseInt(thisBottom.style.top)+parseInt(thisBottom.style.height);whichScroller.bottomDiv=thisDiv.id;thisDiv.innerHTML=whichScroller.sliderText[whichScroller.textCount];if(whichScroller.textCount==whichScroller.sliderText.length-1){whichScroller.textCount=0;}else{whichScroller.textCount++;}}}else if(document.layers){thisDiv=document.layers[whichScroller.name+"scrollArea"].document.layers[whichDiv];thisBottom=document.layers[whichScroller.name+"scrollArea"].document.layers[whichScroller.bottomDiv];if(thisDiv.top>=thisDiv.clip.height*-1){thisDiv.top-=whichScroller.scrollDistance;}else{if(thisDiv.name!=whichScroller.name+"scrollArea"){thisDiv.top=thisBottom.top+thisBottom.clip.height;whichScroller.bottomDiv=thisDiv.name;thisDiv.document.open();thisDiv.document.write(whichScroller.sliderText[whichScroller.textCount]);thisDiv.document.close();if(whichScroller.textCount==whichScroller.sliderText.length-1){whichScroller.textCount=0;}else{whichScroller.textCount++;}}}}else if(document.all){thisDiv=document.all(whichDiv);thisBottom=document.all(whichScroller.bottomDiv);if(thisDiv.style.pixelTop>=thisDiv.offsetHeight*-1){thisDiv.style.pixelTop-=whichScroller.scrollDistance;}else{thisDiv.style.pixelTop=thisBottom.style.pixelTop+thisBottom.offsetHeight;whichScroller.bottomDiv=thisDiv.name;thisDiv.innerHTML=whichScroller.sliderText[textCount]
if(whichScroller.textCount==whichScroller.sliderText.length-1){whichScroller.textCount=0;}else{whichScroller.textCount++;}}}}
function initScrolling(whichScroller){var thisObject,scrollObject;whichScroller.bottomDiv=whichScroller.sliderBlocks[whichScroller.sliderBlocks.length-1];if(document.getElementById){scrollObject=document.getElementById(whichScroller.name+"scrollArea");}
else{scrollObject=document.layers[whichScroller.name+"scrollArea"];}
for(var loopCounter=0;loopCounter<whichScroller.sliderBlocks.length;loopCounter++){if(document.getElementById){thisObject=document.getElementById(whichScroller.sliderBlocks[loopCounter]);thisObject.style.top=loopCounter*50;thisObject.style.left=4;thisObject.style.height=60;thisObject.style.visibility="visible";}
else if(document.layers){thisObject=scrollObject.layers[whichScroller.sliderBlocks[loopCounter]];thisObject.top=loopCounter*50;thisObject.left=scrollObject.left+4;thisObject.visibility="show";}
else if(document.all){document.all(whichScroller.sliderBlocks[loopCounter]).left=4;document.all(whichScroller.sliderBlocks[loopCounter]).top=loopCounter*50;document.all(whichScroller.sliderBlocks[loopCounter]).visibility="visible";}}
shiftAll(whichScroller);}
function startScroll(whichScroller){if(!whichScroller.scrollPID){shiftAll(whichScroller);}}
function stopScroll(whichScroller){if(whichScroller.scrollPID){clearTimeout(whichScroller.scrollPID);whichScroller.scrollPID=false;}}
function changeSpeed(speedType,changeAmmount){if(speedType=="distance"){scrollDistance+=changeAmmount;if(scrollDistance<-10){scrollDistance=-10;}
if(scrollDistance>10){scrollDistance=10;}}else{scrollPause+=changeAmmount;if(scrollPause<5){scrollPause=5}
if(scrollPause>500){scrollPause=500}}}
function writeDivOrLayer(tagname,value){if(isNS(4)&&!isNS(5)){document.write('<layer name="'+tagname+'" width="142" height="50" visibility="hide" clip="142,50">');document.write(value);document.write("</layer>");}
else{document.write('<div id="'+tagname+'" class="scrollingArea">');document.write(value);document.write("</div>");}}