<!-- Begin
//slider's width
var swidth=220

//slider's height
var sheight=85
var sheight1=85

//slider's speed
var sspeed=2

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array()
singletext[0]='<div align="center"><font face=Arial size=2 color="black"><b><a href="products/projects_compare.htm">AMS REALTIME Projects<br>Lite version available</b></a></font></div>'
singletext[1]='<div align="center"><font face=Arial size=2 color="black"><b><a href="a/movies/monte2.htm">Click here to view Risk Analysis</a></font></div>'
singletext[2]='<div align="center"><font face=Arial size=2 color="black"><b><a href="news/press_releases/lmaero.htm">LM Aeronautics selects<br>AMS REALTIME Enterprise</a></font></div>'
singletext[3]='<div align="center"><font face=Arial size=2 color="black"><b><a href="news/articles.htm">Read our interesting<br>and informative articles</a></font></div>'
singletext[4]='<div align="center"><font face=Arial size=2 color="black"><b><a href="products/product_demos.htm">Download an AMS REALTIME presentation (28MB)</a></font></div>'
singletext[5]='<div align="center"><font face=Arial size=2 color="black"><b><a href="support/products/srv_pack_entry70.htm">Supported users can download AMS REALTIME Version 7.0</a></font></div>'
singletext[6]='<div align="center"><font face=Arial size=2 color="black"><b><a href="company/contact_form.htm">Request a web demo of AMS REALTIME 7.0</a></font></div>'
singletext[7]='<div align="center"><font face=Arial size=2 color="black"><b><a href="news/amsnews_0508.htm">Read the latest AMS Newsletter</a></font></div>'


if (singletext.length>1)
	i=1
else
	i=0
function start(){
	if (document.all){
		ieslider1.style.top=sheight1
		iemarquee(ieslider1)
	}
	else if (document.layers){
		document.ns4slider.document.ns4slider1.top=sheight1
		document.ns4slider.document.ns4slider1.visibility='show'
		ns4marquee(document.ns4slider.document.ns4slider1)
	}
	else if (document.getElementById&&!document.all){
		document.getElementById('ns6slider1').style.top=sheight1
		ns6marquee(document.getElementById('ns6slider1'))
	}
}

function iemarquee(whichdiv){
	iediv=eval(whichdiv)
	if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
		iediv.style.pixelTop=0
		setTimeout("iemarquee(iediv)",100)
	}
	if (iediv.style.pixelTop>=sheight1*-1){
		iediv.style.pixelTop-=sspeed
		setTimeout("iemarquee(iediv)",100)
	}
	else{
		iediv.style.pixelTop=sheight1
		iediv.innerHTML=singletext[i]
		if (i==singletext.length-1)
			i=0
		else
			i++
	}
}

function ns4marquee(whichlayer){
	ns4layer=eval(whichlayer)
	if (ns4layer.top>0&&ns4layer.top<=sspeed){
		ns4layer.top=0
		setTimeout("ns4marquee(ns4layer)",100)
	}
	if (ns4layer.top>=sheight1*-1){
		ns4layer.top-=sspeed
		setTimeout("ns4marquee(ns4layer)",100)
	}
	else{
		ns4layer.top=sheight1
		ns4layer.document.write(singletext[i])
		ns4layer.document.close()
		if (i==singletext.length-1)
			i=0
		else
			i++
	}
}

function ns6marquee(whichdiv){
	ns6div=eval(whichdiv)
	if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
		ns6div.style.top=0
		setTimeout("ns6marquee(ns6div)",100)
	}
	if (parseInt(ns6div.style.top)>=sheight1*-1){
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed
		setTimeout("ns6marquee(ns6div)",100)
	}
	else{
		ns6div.style.top=sheight1
		ns6div.innerHTML=singletext[i]
		if (i==singletext.length-1)
			i=0
		else
			i++
	}
}

//  End -->



