  var newsarray_hr = [
    "Franchise & Partnership Expo • Croatia • Zagreb • svibanj 2005",
    "Obavijest za izlagače - za sudjelovanje na sajmu popunite <a href='" + rootDir + "expo2005/reg1.asp'>on-line prijavnicu</a>.",
    "Prijave za sudjelovanje na sajmu zaprimaju se do 15.4.2005.",
    "<a href='" + rootDir + "expo2005/banb.asp'>BITI A NE BITI PRISUTAN!</a> - kako sudjelovati na sajmu, a da niste fizički prisutni?",
    "Sve cijene iskazane su u EUR bez PDV-a, plativo u HRK"
  ]
  var newsarray_en = [
    "Franchise & Partnership Expo • Croatia • Zagreb • May 2005",
    "Notice for exhibitors - for participation the fair fill <a href='" + rootDir + "expo2005/reg1.asp?lang=en'>on-line application form</a>.",
    "The last date for application is 15th April 2005.",
    "<a href='" + rootDir + "expo2005/banb.asp?lang=en'>TO BE YET NOT TO BE!</a> - How to participate the fair yet not to be here?",
    "All prices are in net amounts (without VAT) in €."
  ]
  var newsarray_it = [
    "Franchise & Partnership Expo • Croazia • Zagabria • Maggio 2005",
    "Avviso per espozitori - per paticipare la fiera compilare <a href='" + rootDir + "expo2005/reg1.asp?lang=it'>seguente modulo</a>.",
    "L´ultima data per presentare la richiesta di partecipazione e 15. Aprile 2005",
    "<a href='" + rootDir + "expo2005/banb.asp?lang=it'>ESSERCI MA NON ESSERCI!</a> - o come partecipare la fiera ma non essere presente?",
    "Tutti i prezzi sono in €, IVA non compresa."
  ]


  var speed = 10
  var step = 12
  var width = 470
  var delay = 4000
  var pointer = 0
  var stop;
  var offset


  function pad(id,nr,lang)
  {
   document.getElementById(id).style.left=nr;
   offset = document.getElementById("tickerContent").offsetWidth;
   nr-=step;
   if(nr < - offset) setText(id,lang)
     else {
     if((nr < 2) &&(stop == false))  {stop=true;setTimeout("pad('" + id + "'," + nr + ",'" + lang + "')",delay);}
       else setTimeout("pad('" + id + "'," + nr + ",'" + lang + "')",speed);
     }
  }

  function setText(id,lang)
  {
    /*newsarray = eval('newsarray_' + lang)
    stop = false
    document.getElementById("tickerContent").innerHTML = newsarray[pointer];
    pointer++;
    if(pointer >= newsarray.length) pointer = 0;
    pad(id,width,lang);*/
  }


