/***********************************************
* Pausing updown message scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//configure the below five variables to change the style of the scroller
var scrollerdelay='5000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='495px'
var scrollerheight='28px'
var scrollerbgcolor='#eee'
//set below to '' if you don't wish to use a background image
var scrollerbackground='images/background-ticker.gif'
//configure the below variable to change the contents of the scroller
var messages=new Array()
//messages[0]="Click here to go back to Dynamicdrive.com frontpage
then we have some text that if I have typed enough of will hhopefully go over two lines and we can see how well it has worked baby!"
messages[0]="2008 RAD Award Winners
View all the winners from the RAD Awards 2008"
messages[1]="2008 RAD Awards Sponsors
A list of the sponosrs of the RAD Awards this year"
messages[2]="Find out more about the UKs leading Recruitment Marketing Agencies
Click here to vist recruitment-marketing.co.uk"
//messages[0]="True Costs, Javelins and Tweaks...
...some of the thoughts in the TCS Speakers Corner"
//messages[1]="Axis Communications
"
//messages[2]="Barkers London has been appointed by restaurnat chain Wagamama
Wagamama was voted one of the top three coolest brands of 2005 and is a highly successful and rapidly growing international company. It’s a fantastic win"
//messages[3]=" Stafford Long + Partners
Award winning company + All your candidate attraction needs......www.staffordlong.com "
//messages[4]="SMRS recruitment solutions
communication that moves people"
//messages[5]="Hat trick for Hodes at this year's RADs
Hodes was recognised for expertise in employer branding & website development for work with Enterprise Rent-a-Car & Yahoo!"
//messages[6]="Another first from Pearsons
On line Admin Talent Pool launched . . .the first of its kind. see Sector1.net for details"
//messages[7]="Blackbridge Communications
"
//messages[8]="aia
we win hearts, we win minds, we win awards...let us win you over. "
//messages[9]="ThirtyThree Ltd
ThirtyThree's client PriceWaterHouseCoopers scooped 3 awards at the Target Graduate Recruitment Awards, including Best Student Marketing Campaign!"
//messages[10]="JWT win another digital contract... the Teacher Training Agency - planning, design and build
"
///////Do not edit pass this line///////////////////////
var ie=document.all
var dom=document.getElementById
if (messages.length>2)
i=2
else
i=0
function move(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move(tdiv)",scrollerdelay)
setTimeout("move2(second2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move(tdiv)",50)
}
else{
tdiv.style.top=parseInt(scrollerheight)+"px"
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}
function move2(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move2(tdiv2)",scrollerdelay)
setTimeout("move(first2_obj)",scrollerdelay)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move2(second2_obj)",50)
}
else{
tdiv2.style.top=parseInt(scrollerheight)+"px"
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}
function startscroll(){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}
if (ie||dom){
document.writeln('