 // Super Simple Barrier Free Horizontal Ticker (Freeware)
 // (c) 2006 Jan Sandig/Syntax Phreaks Germany - www.syntaxphreaks.com
 // inspired by a work of Stephen Chapman
 // not 100% standards-compliant due to "offsetWidth", and not 100% "clean"
 // due to hard-coded scrolltext width, but better than any form-based ticker...
 // Note: THIS DOES NOT WORK ON NS 4!

 var mySpeed   = 2;    // px per interval
 var myTime    = 50;   // value to call setInterval
 var myWidth   = 990;  // width of #innertick div
 var cRight    = 2000; // max. width of scroll text  4850 w/all
 var inHeight  = 15;   // height of the scroller line

 var marquee, inTicker, myWidth, offWidth, cRight, cRestart, scrolldelay, marqueeLeft;

 function initTicker(){
  if (document.getElementById) {

    document.getElementById("scrolltext").width = cRight + "px";
    marquee    = document.getElementById("marquee");
    offWidth   = document.getElementById("ticker").offsetWidth;

    inTicker   = document.getElementById("innertick");
    inTicker.style.overflow = "hidden";      // set with JS to make higher when JS is off
    inTicker.style.height = inHeight + "px"; // set with JS to make higher when JS is off

    cRestart = 0 - cRight;                   // restarts ticker when content scrolled out
    marquee.style.whitespace = "nowrap";     //  set with JS to allow wrap when JS is off
    marquee.style.left        = myWidth + "px";

    scrolldelay               = setInterval("scroller()", myTime);
  }
 }

 function scroller(){
  marqueeLeft  = parseInt(marquee.style.left);
  if(marqueeLeft > cRestart ) {
    marquee.style.left  = marqueeLeft  - mySpeed + "px";
  }else{
    marquee.style.left  =  offWidth + "px";
  }
 }

 window.onload=initTicker;



 // Super Simple Barrier Free Image Map Titles (Freeware)
 // (c) 2010 Jan Sandig/Syntax Phreaks Germany - www.syntaxphreaks.com
 // This shows the title text of a given ID in a div named title_ID
 function showTitle(thisTitle){
 }
