lfl24's news/currency/stock ticker

<style type="text/css">
 html{
  height:100%;
  font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
 }
 body{
  margin:0px;
  padding:0px;
  text-align:left;
  height:100%;
 }
 #mainContainer{
  width:760px;
  border-left:0px solid #000;
  border-right:0px solid #000;
  margin:0 auto;
  height:90%;
  text-align:left;
 }
 #topRow{

 }
 #mainContent{
  padding-left:0px;
  padding-right:0px;
 }

 #dhtmlgoodies_marquee{
  /* general marquee layout*/
  padding-top:0px;
  height:18px;
  background-color: #b2ff00;


  /* End general marquee layout */


  position:absolute;
  left:0px;
  z-index:1000;
  bottom:0px;
  display:none;
  width:100%;
  overflow:hidden;
 }
 body > div#dhtmlgoodies_marquee{ /* Firefox rule */
  position:fixed;
 }
 #dhtmlgoodies_marquee .textObj{ /* Layout for the marquee text */
  position:absolute;
  color: #FFF;
  font-weight:normal;
  white-space:nowrap;
  font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
 }
 /* Just some layout classes used in this example script */
 .highlighted{
  color:#F00; // Red color
 }
 .greenText{
  color:#0F0; // Green color
 }
 </style>
 <script type="text/javascript">
 /************************************************************************************************************
 (C) www.dhtmlgoodies.com, October 2005

 This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.

 Terms of use:
 You are free to use this script as long as the copyright message is kept intact. However, you may not
 redistribute, sell or repost it without our permission.

 Thank you!

 www.dhtmlgoodies.com
 Alf Magne Kalleland

 ************************************************************************************************************/
 var dhtmlgoodies_marqueeSteps = 2; // Higher = Faster, Lower = slower and more smoothly
 var dhtmlgoodies_marqueeSpeed = 8; // Lower value = Faster
 var dhtmlgoodies_marqueeStopOnMouseOver = false; // Make the marquee stop moving when user moves his mouse over it
 var dhtmlgoodies_marqueePosition = 'bottom'; // "top" or "bottom"

 /* Don't change anything below here */
 var dhtmlgoodies_marqueeObj;
 var dhtmlgoodies_marqueeTextObj;
 var dhtmlgoodies_marqueeTmpStep;
 var dhtmlgoodies_marqueeTextObjects = new Array();
 var dhtmlgoodies_marqueeHiddenSpans = new Array();

 var dhtmlgoodies_marqueeIndex = 0;
 function repositionMarquee(e,timeout)
 {
  if(document.all)e=event;
  if(dhtmlgoodies_marqueePosition.toLowerCase()=='top'){
   dhtmlgoodies_marqueeObj.style.top = '0px';
  }else{
   dhtmlgoodies_marqueeObj.style.bottom = '-1px';
  }
  if(document.all && !timeout)setTimeout('repositionMarquee(false,true)',500)
 }
 function marqueeMove()
 {
  var leftPos = dhtmlgoodies_marqueeTextObj.offsetLeft;
  leftPos = leftPos - dhtmlgoodies_marqueeTmpStep;
  var rightEdge = leftPos + dhtmlgoodies_marqueeHiddenSpans[dhtmlgoodies_marqueeIndex].offsetLeft;
  if(rightEdge<0){
   leftPos = document.documentElement.offsetWidth;
   dhtmlgoodies_marqueeTextObj.style.display='none';
   dhtmlgoodies_marqueeIndex++;
   if(dhtmlgoodies_marqueeIndex>=dhtmlgoodies_marqueeTextObjects.length)dhtmlgoodies_marqueeIndex = 0;
   dhtmlgoodies_marqueeTextObj = dhtmlgoodies_marqueeTextObjects[dhtmlgoodies_marqueeIndex];
   dhtmlgoodies_marqueeTextObj.style.display='block';

  }
  dhtmlgoodies_marqueeTextObj.style.left = leftPos + 'px';

 }

 function stopMarqueeMove()
 {
  if(dhtmlgoodies_marqueeStopOnMouseOver)dhtmlgoodies_marqueeTmpStep = 0;
 }
 function resumeMarqueeMove()
 {
  dhtmlgoodies_marqueeTmpStep = dhtmlgoodies_marqueeSteps;
 }
 function initMarquee()
 {
  dhtmlgoodies_marqueeObj = document.getElementById('dhtmlgoodies_marquee');

  var spans = dhtmlgoodies_marqueeObj.getElementsByTagName('DIV');
  for(var no=0;no<spans.length;no++){
   if(spans[no].className=='textObj'){
    if(!dhtmlgoodies_marqueeTextObj){
     dhtmlgoodies_marqueeTextObj = spans[no];
     spans[no].style.display='block';
    }else spans[no].style.display='none';
    dhtmlgoodies_marqueeTextObjects.push(spans[no]);
    var hiddenSpan = document.createElement('SPAN');
    hiddenSpan.innerHTML = ' '
    spans[no].appendChild(hiddenSpan);
    dhtmlgoodies_marqueeHiddenSpans.push(hiddenSpan);

   }
  }

  var oldIE = isOldIe();

  if(dhtmlgoodies_marqueePosition.toLowerCase()=='top'){
   dhtmlgoodies_marqueeObj.style.top = '0px';
  }else{
   if(oldIE){
    dhtmlgoodies_marqueeObj.style.bottom = '0px';
   }else{
    dhtmlgoodies_marqueeObj.style.bottom = '-1px';
   }
  }




  dhtmlgoodies_marqueeObj.style.display='block';
  dhtmlgoodies_marqueeTextObj.style.left = document.documentElement.offsetWidth + 'px';
  dhtmlgoodies_marqueeObj.onmouseover = stopMarqueeMove;
  dhtmlgoodies_marqueeObj.onmouseout = resumeMarqueeMove;
  if(oldIE)window.onscroll = repositionMarquee; else dhtmlgoodies_marqueeObj.style.position = 'fixed';

  dhtmlgoodies_marqueeObj.style.display='block';
  dhtmlgoodies_marqueeTmpStep = dhtmlgoodies_marqueeSteps;

  setInterval('marqueeMove()',dhtmlgoodies_marqueeSpeed);
 }

 function isOldIe() {
  var isMsie = navigator.userAgent.indexOf('MSIE') >=0;
  if(isMsie) {
   string = '';
   for(var prop in navigator) {
    string = string + prop + ':' + navigator[prop] + '
';

   }
   var version = navigator.userAgent;
   for(var i=4;i<=7;i++) {
    if(version.indexOf('MSIE ' + i) >=0){
     return true;
    }
   }
   return false;
  }else{
   return false;
  }

 }

 </script>



<!-- Start of marquee HTML code -->
<div id="dhtmlgoodies_marquee">
 <div class="textObj"><span class="highlighted"></span>  </div>
 <div class="textObj"><span class="highlighted"></span> <span class="greenText"></span> <span class="greenText"> </span> <span class="greenText"></span> </div>
 <div class="textObj"><span class="highlighted"> </span> </div>
 <div class="textObj"><span class="highlighted"> </span> </div>

 <iframe name="ticker" id="ticker" src="http://infowars.gobyte.net/index.php?fcol=000000&bcol=00ffd2&hcol=000000" style="width:964px;height:17px;" frameborder="0"></iframe></right>

 <!-- EXCHANGERATES.ORG.UK LIVE CURRENCY RATES TICKER START -->
<iframe src="http://www.exchangerates.org.uk/widget/ER-LRTICKER.php?w=725&s=2&mc=CAD&mbg=ffce00&bs=no&bc=000000&f=arial&fs=8.5px&fc=000000&lc=000000&lhc=000000&vc=B300FF&vcu=008DFF&vcd=f40303&" width="200" height="17" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"></iframe>
<!-- EXCHANGERATES.ORG.UK LIVE CURRENCY RATES TICKER END -->


<right><iframe src="http://www.tr4der.com/quote-ticker/^DJI-^NDX-^GSPC-^GDAXI-^N225-^FTSE-^IBEX-^FHCI-^MIB30-^HSI-^STOXX50E-^PSI20-^BVSP-^AEX-^AORD-^HUI-^BFX-^MXX/5/ffffff/" width="250" height=17 frameborder=0 marginheight=0 marginwidth=0></iframe>

</div>
<!-- END OF MARQUEE HTML CODE -->
<script type="text/javascript">
initMarquee(); // Initialize marquee script
</script>