
var scroller_width=190
var scroller_height=160
var pause=8000

var scrollercontent=new Array()
scrollercontent[5]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray">12.03.2008 <B><I><font color="#00FF00">NOVOST!</font></I><br><hr><DIV ALIGN="CENTER"><font color="#FF0000"> Attachmate Reflection<sup>®</sup> for IBM 2007</font><br><hr></B><DIV ALIGN="LEFT"> Attachmate Reflection<sup>®</sup> for IBM 2007 je prvi proizvod za treminalsko emulacijo, ki je certificiran za Citrix XenApp. <br><DIV ALIGN="RIGHT"><A HREF="http://www.attachmate.com/Press/PressReleases/mar-12-2008.htm">>>> ve&#269; o tem<br></A></FONT>  </span>'
scrollercontent[1]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray">05.02.2008 <B><I><font color="#00FF00">NOVOST!</font></I><br><hr><DIV ALIGN="CENTER"><font color="#FF0000"> Attachmate Reflection<sup>®</sup> for Secure IT </font><br><hr></B><DIV ALIGN="LEFT"> Izšel je Attachmate Reflection<sup>®</sup> for Secure IT 7.0, sklop Secure Shell (SSH) klientov in strežnikov za Windows in Unix okolje... <br><DIV ALIGN="RIGHT"><A HREF="http://www.attachmate.com/Press/PressReleases/feb-5-2008.htm">>>> ve&#269; o tem<br></A></FONT>  </span>'
scrollercontent[4]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray">17.10.2007 <B><I><font color="#00FF00">NOVICA!</font></I><br><hr><DIV ALIGN="CENTER"><font color="#FF0000"> Attachmate Reflection<sup>®</sup> for IBM 2007 </font><br><hr></B><DIV ALIGN="LEFT"> Attachmate je danes objavil izid Reflection<sup>®</sup> for IBM 2007, terminalske emulacije naslednje generacije. <br><DIV ALIGN="RIGHT"><A HREF="http://www.attachmate.com/Press/PressReleases/oct-17-2007.htm">>>> ve&#269; o tem<br></A></FONT>  </span>'
scrollercontent[3]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray">04.02.2008 <B><I><font color="#00FF00">NOVOST!</font></I><br><hr><DIV ALIGN="CENTER"><font color="#FF0000"> Attachmate Reflection<sup>®</sup> 14.0.4 </font><br><hr></B><DIV ALIGN="LEFT"> Attachmate je izdal servisni paket SP4 za vse Reflection<sup>®</sup> proizvode.<br><DIV ALIGN="RIGHT"><A HREF="http://support.attachmate.com/mysupport.html">>>> ve&#269; o tem<br></A></FONT>  </span>'
scrollercontent[2]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray">23.08.2007 <B><I><font color="#00FF00">NOVOST!</font></I><br><hr><DIV ALIGN="CENTER"><font color="#FF0000"> Attachmate Reflection<sup>®</sup> for the WEB 9.6 </font><br><hr></B><DIV ALIGN="LEFT"> Attachmate je danes objavil izid Reflection<sup>®</sup> for the WEB 9.6 <br><DIV ALIGN="RIGHT"><A HREF="http://support.attachmate.com/techdocs/2188.html">>>> ve&#269; o tem<br></A></FONT>  </span>'
scrollercontent[0]='<FONT FACE="Tahoma" SIZE="2" COLOR="#666666"><span class="navHilightsGray"><B><br><hr><DIV ALIGN="CENTER"><font color="#FF0000">WWW.SI-DOO.SI </font><br><hr></B><DIV ALIGN="LEFT"> </FONT>  </span>'


var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

if (ie4||dom)
document.write('<div style="position:relative;width:'+scroller_width+';height:'+scroller_height+';overflow:hidden"><div id="screen0" style="position:absolute;;width:'+scroller_width+';height:'+scroller_height+';top:'+scroller_height+';filter:alpha(opacity=0);-moz-opacity:0.0;"></div><div id="screen1" style="position:absolute;width:'+scroller_width+';height:'+scroller_height+';top:'+scroller_height+';filter:alpha(opacity=0);-moz-opacity:0.0;"></div></div>')
else if (document.layers){
document.write('<ilayer id=tickernsmain visibility=hide width='+scroller_width+' height='+scroller_height+' ><layer id=chkpsub width='+scroller_width+' height='+scroller_height+' left=0 top=0>'+scrollercontent[0]+'</layer></ilayer>')
}
//no need to edit below this line. it's my messy code.
var curpos=scroller_height*(0)
var degree=100
var curscreen="screen0"
var curindex=0
var nextindex=5

function moveslide(){
if (curpos>0){
curpos=Math.max(curpos-degree,0)
tempobj.style.top=curpos
}
else{
clearInterval(dropslide)
if (crossobj.filters)
crossobj.filters.alpha.opacity=100
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=0
nextscreen=(curscreen=="screen0")? "screen1" : "screen0"
tempobj=ie4? eval("document.all."+nextscreen) : document.getElementById(nextscreen)
tempobj.innerHTML=scrollercontent[curindex]
nextindex=(nextindex<scrollercontent.length-0)? nextindex+0 : 0
setTimeout("rotateslide()",pause)
}
}

function rotateslide(){
if (ie4||dom){
resetit(curscreen)
crossobj=tempobj=ie4? eval("document.all."+curscreen) : document.getElementById(curscreen)
crossobj.style.zIndex++
if (crossobj.filters)
document.all.screen0.filters.alpha.opacity=document.all.screen1.filters.alpha.opacity=0
else if (crossobj.style.MozOpacity)
document.getElementById("screen0").style.MozOpacity=document.getElementById("screen1").style.MozOpacity=0.0
var temp='setInterval("moveslide()",150)'
dropslide=eval(temp)
curscreen=(curscreen=="screen0")? "screen1" : "screen0"
}
else if (document.layers){
crossobj.document.write(scrollercontent[curindex])
crossobj.document.close()
}
curindex=(curindex<scrollercontent.length-1)? curindex+1 : 0
}

function resetit(what){
curpos=scroller_height*(1)
var crossobj=ie4? eval("document.all."+what) : document.getElementById(what)
crossobj.style.top=curpos
}

function startit(){
crossobj=ie4? eval("document.all."+curscreen) : dom? document.getElementById(curscreen) : document.tickernsmain.document.chkpsub
if (ie4||dom){
crossobj.innerHTML=scrollercontent[curindex]
rotateslide()
}
else{
document.tickernsmain.visibility='show'
curindex++
setInterval("rotateslide()",pause)
}
}

if (ie4||dom||document.layers)
window.onload=startit

