//-------------------------------------------------------------------------
// Vertical Scrolling News Ticker
// XHTML Compat
// Version 2.0
// Copyright 2006 DevDude.com
//-------------------------------------------------------------------------
	
	//scroller width
var swidth=250;

//scroller height
var sheight=440;

//background color 
var sbcolor="#FFFFFF";

//scroller's speed
var sspeed=7;

var msg='';

//Your messages go below:

				
msg='<ul><li><font color="#5C98D6" 13px "Trebuchet MS"><b>Zephyr ProteomiX introduces its first commercial microarray product the Zircon™, aiming for the antibody microarray applications.</li></font></b>'+

'<li><br><i>Kiryat Shmona, Israel, August, 16, 2007</i><br/></li>'+


'<li>The Zircon™  Zephyr’s first commercial product is a "plug-and-play" kit aiming for the production of a self-fabricated antibody-based microarray and combines Zephyr’s proprietary technology. The kit that was recently introduced, enables scientists in both biotech industries and academic institutions to easily and effectively tailor their own antibody microarray. For more information please contact us at <a href="contact.html" target="_blank" title="Contact">contact@zephyr.co.il</a>.</li>'+
		'<li>&nbsp;</li></ul>'+
//MSG 2
'<ul><li><b><font color="#5C98D6" 13px "Trebuchet MS">Zephyr ProteomiX initiates a service of microarrays fabrication for the Israeli market.</li></b>'+
	'<li><br><i>Kiryat Shmona, Israel, September, 20, 2006</i><br/></li>'+
'<li>Zephyr ProteomiX, a key player in the development and commercialization of protein, peptide and small molecule microarrays announced today the introduction of a comprehensive services for microarrays fabrication using its proprietary technology. The services includes arraying peptides and antibodies of interest and will initially target the Israeli market. "We believe that there is a growing demand for such services" said Dr. Ely Morag Zephyr’s CTO. For more information please contact us at <a href="contact.html" target="_blank" title="Contact">contact@zephyr.co.il</a>.</li>';


// et lopetada siis kohal panen + asmele ; | ehk kui mitte teha kolmandat uudist
//MSG 3
//'<ul><li><a href="http://zephyrn.reinerdaniel.com" target="_blank" title="Welcome to Zephyr ProteomiX">Welcome to Zephyr ProteomiX</a></li>'+
	//	'<li>Zephyr ProteomiX</li>'+
		// see rida peab olemas siin, muidu ei toota!!!
		'<li>&nbsp;</li></ul>';
//End of your messages


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 += 50;
	iediv.style.pixelTop=sheight
	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 += 50;
	ns6div.style.top=sheight + "px";
	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()
	}
}
