﻿
/*Example message arrays for the two demo scrollers*/

var pausecontent=new Array()

pausecontent[0]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Only private sector college to introduce Creative Media Production Course</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 10/10/2010 ]</a><br>City of London Academy is proud to be the first and only private sector college to introduce Creative Media Production Course...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[1]='<a target="_blank" class="weblinknewstexthoverheading" href = "http://sundaytimes.lk/100815/Education/ed25.html">Article about City of London Academy is published in Sunday Times, Sri Lanka</a><br><a target="_blank" href="http://sundaytimes.lk/100815/Education/ed25.html" class="weblinknewstexthoverdate">[ 15/10/2010 ]</a><br>Article about City of London Academy is published in Sunday Times, Sri Lanka. <a target="_blank" href="http://sundaytimes.lk/100815/Education/ed25.html" class="weblinknewstexthoverreadmore">Please click here to visit the online article.</a>'
pausecontent[2]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Seminar at Colombo, Sri Lanka</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 20/10/2010 ]</a><br>CLA is pleased to announce that senior staff from the college will be in Colombo, Sri Lanka from Friday 23rd July until Tuesday... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[3]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA to offer EFB</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 25/10/2010 ]</a><br>CLA is pleased to announce that we are accredited centre... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[4]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">New Batch for Business and Computing</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 30/10/2010 ]</a><br>New Batch for Business and Computing courses... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[5]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">New Course on HND Computing</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 05/11/2010 ]</a><br>CLA is happy to announce the launch... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[6]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA celeberates its first Anniversary</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 10/11/2010 ]</a><br>CLA is happy to announce its first year anniversary and will like to take this opportunity to... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[7]='<a target="_blank" class="weblinknewstexthoverheading" href = "http://www.ukba.homeoffice.gov.uk/sitecontent/documents/employersandsponsors/pointsbasedsystem/registerofsponsorseducation">CLA Rating</a><br><a target="_blank" href="http://www.ukba.homeoffice.gov.uk/sitecontent/documents/employersandsponsors/pointsbasedsystem/registerofsponsorseducation" class="weblinknewstexthoverdate">[ 12/11/2010 ]</a><br>“City of London Academy is an A Rated (Trusted) Sponsor”<a target="_blank" href="http://www.ukba.homeoffice.gov.uk/sitecontent/documents/employersandsponsors/pointsbasedsystem/registerofsponsorseducation" class="weblinknewstexthoverreadmore">Please click here to read more.</a>'
pausecontent[8]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Approved Study Centre</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 15/11/2010 ]</a><br>Approved study centre of... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[9]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA Charity Donations – EDUKAid</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 20/11/2010 ]</a><br>CLA Charity Donations – EDUKAid Following the recent introduction of the CLA\'s weekly Charity Collection for \'Casual Fridays\', we are... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[10]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Happy Diwali</a>'
pausecontent[11]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Film Festival</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 30/11/2010 ]</a><br>London Turkish... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[12]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA CHARITY DONATION – NOVEMBER 2010</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 05/12/2010 ]</a><br>The City of London Academy is pleased... <a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[13]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Happy New Year</a>'
pausecontent[14]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">Irene Fang</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 09/02/2011 ]</a><br>CLA would like to welcome Irene Fang to be part of CLA team as a Lecturer for Business Strategy'
pausecontent[15]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA CHARITY DONATION – JANUARY 2011</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 11/02/2011 ]</a><br>The City of London Academy is pleased to announce its monthly charity donations for December and January totalled £51.25...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[16]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">International Students House</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 17/02/2011 ]</a><br>CLA is pleased to announce that we have joined International Students House, located opposite Regent’s Park...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[17]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA is currently recruiting Lecturers</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 24/02/2011 ]</a><br>CLA is currently recruiting Lecturers for Level 4,5, 6 and 7...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[18]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA English Social Trip to Covent Garden</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 25/03/2011 ]</a><br>On Friday 25th of March a group of English students and their teachers went on an afternoon visit to Covent Garden...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[19]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA English Social Trip to the National Gallery</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 08/04/2011 ]</a><br>On this very sunny Friday morning, the English students accompanied by the teachers Lisa, Charlotte and Peter walked to Trafalgar Square and the National Gallery...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[20]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA Birthday</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 18/05/2011 ]</a><br>On Wednesday 18th of May CLA celebrated its 2nd Birthday. Students and staff came together and enjoyed a special cake to mark the occasion...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[21]='<a href="doc/newsletter_june2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/newsletter_june2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ June 2011 ]</a><br>To view the newsletter please <a href="doc/newsletter_june2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'
pausecontent[22]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">CLA CHARITY DONATION – JUNE 2011</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 30/06/2011 ]</a><br>The City of London Academy is pleased to announce it made a staff charity donation of £21 for the month of June. In return for the charity donations each Friday, staff have a casual dress code in the office...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[23]='<a href="doc/newsletter_july2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/newsletter_july2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ July 2011 ]</a><br>To view the newsletter please <a href="doc/newsletter_july2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'
pausecontent[24]='<a href="general_noticeboard.html" class="weblinknewstexthoverheading">English Summer School</a><br><a href="general_noticeboard.html" class="weblinknewstexthoverdate">[ 08/07/2011 - 20/07/2011 ]</a><br>CLA was pleased to welcome a group of 26 French students to the college for a short course of General English classes...<a href="general_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent[25]='<a href="doc/newsletter_august2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/newsletter_august2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ August 2011 ]</a><br>To view the newsletter please <a href="doc/newsletter_august2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'
pausecontent[26]='<a href="doc/newsletter_september2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/newsletter_september2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ September 2011 ]</a><br>To view the newsletter please <a href="doc/newsletter_september2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'
pausecontent[27]='<a href="doc/newsletter_nov2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/newsletter_nov2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ November 2011 ]</a><br>To view the newsletter please <a href="doc/newsletter_nov2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'
pausecontent[28]='<a href="doc/CLA-Newsletter-Dec2011.pdf" target="_blank" class="weblinknewstexthoverheading">CLA Newsletter</a><br><a href="doc/CLA-Newsletter-Dec2011.pdf" target="_blank" class="weblinknewstexthoverdate">[ December 2011 ]</a><br>To view the newsletter please <a href="doc/CLA-Newsletter-Dec2011.pdf" target="_blank" class="weblinknewstexthoverreadmore">click here</a>'

var pausecontent3=new Array()

pausecontent3[0]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Performance Award Winners</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 10/10/2010 ]</a><br>Congratulations to Robin Pillay Mootoosamy from Level 5, Shahbaz Shahbaz and Janvir Singh from the Level 7 for being awarded a "Performance Award"... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[1]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Best Attendance of 2010</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 15/10/2010 ]</a><br>Suthaharan Subramaniyam from HND Batch 1 has been one of the outstanding... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[2]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Lecture on "Examining the influence of corporate logo on corporate image and corporate reputation"</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 20/10/2010 ]</a><br>A Guest Lecture on "Examining the influence of corporate... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[3]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">New Level 7 Batch Resumes</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 25/10/2010 ]</a><br>New Level 7 Batch will resume... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[4]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Induction for the Level 7 Students</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 30/10/2010 ]</a><br>Induction for the Level 7 students are being held between... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[5]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">New CLA Rating</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 05/11/2010 ]</a><br>City of London Academy has been granted License of Tier... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[6]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">CLA celeberates its first Anniversary</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 10/11/2010 ]</a><br>CLA is happy to announce its first year anniversary and will like to take this opportunity to thank everyone in the academy... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[7]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Start of New Batch for Business and Computing</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 15/11/2010 ]</a><br>New Batch for Business and Computing courses is starting... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[8]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">New Books in Library Arrived</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 20/11/2010 ]</a><br>CLA is pleased to announce the arrival of new books in... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[9]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Happy Halloween from the CLA</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 25/11/2010 ]</a><br>Happy Halloween from the CLA! On Sunday 31st October this traditionally Celtic annual festival takes place. People across the UK will be having... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[10]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Time Update Notice</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 30/11/2010 ]</a><br>Do not forget that on Sunday 31st October the time goes back by 1 hour at 2am, so please... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[11]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">CLA Film Trip</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 05/12/2010 ]</a><br>From the 5-23rd November, the London Korean Film Festival 2010 makes its debut bringing the latest and greatest Korean films... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[12]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Welcome to New Faculty Members</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 10/12/2010 ]</a><br>The CLA is pleased to welcome three new lecturers teaching modules on the BTEC HND in Computing... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[13]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">HOSTED VISIT TO JCB</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 15/12/2010 ]</a><br>HOSTED VISIT TO JCB<br>CLA has arranged for the BTEC Level 7 Advanced Professional Diploma in Management Studies students to... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[14]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Happy New Year</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 20/12/2010 ]</a>'
pausecontent3[15]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Commencement of classes in 2011</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 25/12/2010 ]</a><br>Classes for 2011 starting... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[16]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Result Date for Batch 1 and 2</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 30/12/2010 ]</a><br>All results for Batch 1 and 2 Level 5 & 7 will be displayed... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[17]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">CLA English Social Trip to Covent Garden</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 25/03/2011 ]</a><br>On Friday 25th of March a group of English students and their teachers went on an afternoon visit to Covent Garden... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[18]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">CLA English Social Trip to the National Gallery</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 08/04/2011 ]</a><br>On this very sunny Friday morning, the English students accompanied by the teachers Lisa, Charlotte and Peter walked to Trafalgar Square and the National Gallery... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'
pausecontent3[19]='<a href="student_noticeboard.html" class="weblinknewstexthoverheading">Kingston Cricket Festival 2011</a><br><a href="student_noticeboard.html" class="weblinknewstexthoverdate">[ 25/06/2011 ]</a><br>CLA is proud to be an official sponsor of this event. There will be a 6-A-side cricket tournament with Sri-Lankan food stalls and music... <a href="student_noticeboard.html" class="weblinknewstexthoverreadmore">[read more]</a>'


var pausecontent2=new Array()
pausecontent2[0]='<a href="http://www.news.com">News.com: Technology and business reports</a>'
pausecontent2[1]='<a href="http://www.cnn.com">CNN: Headline and breaking news 24/7</a>'
pausecontent2[2]='<a href="http://news.bbc.co.uk">BBC News: UK and international news</a>'


/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}


