//scroller width
var swidth=260;

//scroller height
var sheight=221;

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

//scroller's speed
var sspeed=2;

var msg=''

//Your messages go below:


msg +=

	'<ul><li><a href="news.htm#N300509" title="">30.05.2009</a></li>'+
    '<li>INCS was nominated as cargo GSA of Mercury Air in Israel.</li>'+
    '<li> </li></ul>'+
	
	'<ul><li><a href="news.htm#N240109" title="">24.01.2009</a></li>'+
    '<li>INCS opens offices in Belgium.</li>'+
    '<li> </li></ul>'+

	'<ul><li><a href="news.htm#N180108" title="">18.01.2008</a></li>'+
    '<li>INCS was nominated as appointed agent for Aerosvit Airlines (Ukraine).</li>'+
    '<li> </li></ul>'+   

    '<ul><li><a href="news.htm#N030707" title="">03.07.2007</a></li>'+
    '<li>INCS was nominated as cargo GSA for Adria Airlines.</li>'+
    '<li> </li></ul>'+                     
    
    '<ul><li><a href="news.htm#N010607"  title="">01.06.2007</a></li>'+
    '<li>INCS is offering a new destination in East Africa - EBB.</li>'+
    '<li> </li></ul>'+  
    

'';

//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=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 += 0;
    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()
    }
}

