// JavaScript Document
        //scroller width
        var swidth=350;

        //scroller height
        var sheight=25;

        //background color
        var sbcolor='#ffff66';

        //scroller's speed
        var sspeed=1;

        var msg=''
var msg2=''

        //Your messages go below:


        msg +=        
            '<ul><li><font color="#FF0000">Aug 15, 2010</font>---Volunteer Appreciation Party was held in appreciation of everyone who helped make all our events in 2010 a success. Great turnout from Thai Student Association and our ATA members.</strong></li>'+
			'<ul><li><font color="#FF0000">Oct 13, 2010 - Edmonton:</font>---ATA President, Melissa, attended government of Alberta reception for Mr. Arthayudh Srisamoot, the new Consul General of Thailand.  Anan Kaewmongkol accepts invitation to become an advisor for the ATA Board.</li>'+
			'<li><font color="#FF0000">Nov 20, 2010</font>---Thai Karaoke Night put on by the ATA gave members a chance to enjoy some Karaoke singing and fresh Thai food in a market-square style setting. New and existing mebmers came out and showed off their singing skills.</strong></li>'+
			'<ul><li><font color="#FF0000">Dec 2010</font>---ATA donates $1000 to the Flood Relief Fund in Thailand.</a></li>'+
			'<li><font color="#FF0000">Jan 2011</font>---New 2011 Membership Application available on line. </strong></li>'+
			'<li><font color="#FF0000">Feb 2011</font>---Winter 2010/2011 edition of ATA Newsletter released. Newsletter now called Sawadee Alberta.</li>'
            ;

        //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 += 25;
                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()
                }
}
