


//configure the below five variables to change the style of the scroller
var scrollerwidth=750
var scrollerheight=100
var scrollerbgcolor='#273C33';
var scrollerbgcolor='#FFFFFF';
//set below to '' if you don't wish to use a background image
var scrollerbackground=''

//configure the below variable to change the contents of the scroller
var messages=new Array()

messages[0]="<IMG SRC='images/new/scrolling/Rear heading.jpg' border=0><IMG SRC='images/new/scrolling/A1A.jpg' border=0><IMG SRC='images/new/scrolling/A3A.jpg' border=0><IMG SRC='images/new/scrolling/A6A.jpg' border=0><IMG SRC='images/new/scrolling/A7A.jpg' border=0>";
messages[1]="<IMG SRC='images/new/scrolling/Front heading.jpg' border=0><IMG SRC='images/new/scrolling/front opening1A.jpg' border=0><IMG SRC='images/new/scrolling/front opening3A.jpg' border=0><IMG SRC='images/new/scrolling/front opening5A.jpg' border=0><IMG SRC='images/new/scrolling/front opening6A.jpg' border=0>";
messages[2]="<IMG SRC='images/new/scrolling/Rear heading.jpg' border=0><IMG SRC='images/new/scrolling/A1A.jpg' border=0><IMG SRC='images/new/scrolling/A3A.jpg' border=0><IMG SRC='images/new/scrolling/A6A.jpg' border=0><IMG SRC='images/new/scrolling/A7A.jpg' border=0>";
messages[3]="<IMG SRC='images/new/scrolling/Front heading.jpg' border=0><IMG SRC='images/new/scrolling/front opening1A.jpg' border=0><IMG SRC='images/new/scrolling/front opening3A.jpg' border=0><IMG SRC='images/new/scrolling/front opening5A.jpg' border=0><IMG SRC='images/new/scrolling/front opening6A.jpg' border=0>";

///////Do not edit pass this line///////////////////////

if (messages.length>1)
i=2
else
i=0

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.left>0&&tlayer.left<=1){
tlayer.left=0
setTimeout("move1(tlayer)",1)
setTimeout("move2(document.main.document.second)",1)
return
}
if (tlayer.left>=tlayer.document.width*-1){
tlayer.left-=1
setTimeout("move1(tlayer)",1)
}
else{
tlayer.left=scrollerwidth
tlayer.document.write(messages[i])
tlayer.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.width>0&&tlayer2.width<=1){
tlayer2.width=0
setTimeout("move2(tlayer2)",1)
setTimeout("move1(document.main.document.first)",1)
return
}
if (tlayer2.left>=tlayer2.document.width*-1){
tlayer2.left-=1
setTimeout("move2(tlayer2)",1)
}
else{
tlayer2.top=scrollerwidth
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelLeft>0&&tdiv.style.pixelLeft<=1){
tdiv.style.pixelLeft=0
setTimeout("move3(tdiv)",1)
setTimeout("move4(second2)",1)
return
}
if (tdiv.style.pixelLeft>=tdiv.offsetWidth*-1){
tdiv.style.pixelLeft-=1
setTimeout("move3(tdiv)",1)
}
else{
tdiv.style.pixelLeft=scrollerwidth
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelLeft>0&&tdiv2.style.pixelLeft<=1){
tdiv2.style.pixelLeft=0
setTimeout("move4(tdiv2)",1)
setTimeout("move3(first2)",1)
return
}
if (tdiv2.style.pixelLeft>=tdiv2.offsetWidth*-1){
tdiv2.style.pixelLeft-=1
setTimeout("move4(second2)",1)
}
else{
tdiv2.style.pixelLeft=scrollerwidth
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (document.all){
move3(first2)
second2.style.left=scrollerwidth
second2.style.visibility='visible'
}
else if (document.layers){
document.main.visibility='show'
move1(document.main.document.first)
document.main.document.second.top=scrollerwidth+1
document.main.document.second.visibility='show'
}
}

window.onload=startscroll






document.writeln('<ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>')
document.writeln('<layer id="first" left=1 top=0 width=&{scrollerwidth};>')

if (document.layers)
document.write(messages[0])

document.writeln('</layer>')
document.writeln('<layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide>')

if (document.layers)
document.write(messages[1])

document.writeln('</layer>')
document.writeln('</ilayer>')


if (document.all){
document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:1;top:0;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0;visibility:hidden">')
document.write(messages[1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</span>')
}
