//scroller width
var swidth=200;

//scroller height
var sheight=220;

//background color
var sbcolor='#ffffff';

//scroller's speed
var sspeed=1.8;

var msg=''

//Your messages go below:

msg +=

  	'<a href="news.htm" class="newsitem"><span class="newsalt"><b>MooD 2010 now available</font></span><br />Salamander’s latest software release.</a><br />'+

	'<a href="news_patents.htm" class="newsitem"><span class="newsalt">Salamander achieves further US patent</font></span> - for distinctive technology: architecture beyond diagrams.</a><br />'+
	
	'<a href="news_community.htm" class="newsitem"><span class="newsalt">Salamander CEO works with local schools</font></span> - raising funds for investment in music education</a><br />'+

	'<a href="events.htm" class="newsitem"><span class="newsalt">Salamander Events</span><br />View details of our corporate events.</a><br />'+
	
	'<a href="Salamander_PDFs/MooDPlatform_Butler.pdf" class="newsitem" target="_blank"><span class="newsalt">Butler Group Technology Audit</span> - MooD Platform considered well aligned with the requirements of large, distributed, and decentralised organizations.</a><br />'+

	'<a href="Salamander_PDFs/News%20PDFs/Race%20Across%20America%20news.pdf" class="newsitem" target="_blank"><span class="newsalt">Salamander sponsors UK Bike M.A.D. in Race Across America</span> - the ultimate cycling endurance race.</a><br />'+

	'<a href="Salamander_PDFs/News%20PDFs/Salamander_Everware.pdf" class="newsitem" target="_blank"><span class="newsalt">Salamander further challenges market</span> with new ground-breaking platform for business-driven SOA.</a><br />'+

	'<a href="Salamander_PDFs/News%20PDFs/Salamander_BusOrch_news.pdf" class="newsitem" target="_blank"><span class="newsalt">MooD Business Orchestration</span> launch delivers SOA value.</a><br />'+

'';

//End of your messages
// Begin the ticker code

var resumesspeed=sspeed
function start() {
		if (document.all) iemarquee(ticker);
		else if (document.getElementById)
				ns6marquee(document.getElementById('ticker'));
}

function iemarquee(whichdiv){
		iediv=eval(whichdiv)
		sheight += 0;
		iediv.style.pixelTop=20
		iediv.innerHTML=msg
		sizeup=iediv.offsetHeight
		ieslide()
}

function ieslide(){
		if (iediv.style.pixelTop>=sizeup*(-1)){
				iediv.style.pixelTop-=sspeed
				setTimeout("ieslide()",100)
		}
		else{
				iediv.style.pixelTop=sheight
				ieslide()
		}
}

function ns6marquee(whichdiv){
		ns6div=eval(whichdiv)
		sheight += 0;
		ns6div.style.top="20px";
		ns6div.innerHTML=msg
		sizeup=ns6div.offsetHeight
		ns6slide()
}
function ns6slide(){
		if (parseInt(ns6div.style.top)>=sizeup*(-1)){
				theTop = parseInt(ns6div.style.top)-sspeed
				ns6div.style.top = theTop + "px";
				setTimeout("ns6slide()",100)
		}
		else {
				ns6div.style.top = sheight + "px";
				ns6slide()
		}
}