var scrollerwidth='315px'
var scrollerheight='315px'
var pausebetweenimages=2000

var slideimages=new Array()
slideimages[0]='<IMG src="images/refbanw.jpg" alt="City Centre Campaign" SAVE><H4>Campaigning in the City Centre</H4></a>'
slideimages[1]='<IMG src="images/lysmile.jpg" alt="Reform Party Leader" SAVE><H4>Reform Party Leader Lyana Armstrong-Emery</H4>'
slideimages[2]='<IMG src="images/antba.jpg"  alt="Anthony Balloqui" SAVE><H4>Anthony Balloqui, our "Elder Statesman"</H4>'
slideimages[3]='<IMG src="images/acacia.jpg"  alt="Acacia Taylor" SAVE><H4>Acacia Taylor addresses our A.G.M.</H4>'
slideimages[4]='<IMG src="images/marchdemo.jpg"  alt="British Gibraltar Demonstration" SAVE><H4>Members at the British Gibraltar Demo</H4>'
slideimages[5]='<IMG src="images/social3.jpg"  alt="Social Evening" SAVE><H4>Adrian, Tom and Anthony "warming up" for a party Social Evening</H4>'
slideimages[6]='<IMG src="images/stevemount.jpg" alt="Steven Mountford" SAVE><H4>Steven Mountford, Party Member and former UK Liberal Party Home Affairs Spokesman</H4>'
slideimages[7]='<IMG src="images/lyanamep1.jpg" alt="Lyana with Jean Lambert" SAVE><H4>Lyana with Jean Lambert MEP</H4></a>'
slideimages[8]='<img src="images/lyanamep2.jpg" alt="Lyana with Caroline Lucas" SAVE><H4>Lyana with Caroline Lucas MEP</H4><B>'
slideimages[9]='<IMG src="images/lyananorris.jpg"  alt="Lyana with John Norris" SAVE><H4>Lyana with John Norris<BR>Green Party International Co-ordinator</H4></a>'
slideimages[10]='<IMG src="images/lydavid.jpg"  alt="Leader with David Taylor" SAVE><H4>Party Leader with David Taylor, S.W. England Greens</H4>'
slideimages[11]='<IMG src="images/lancgrp.jpg"  alt="South West Conference" SAVE><H4>South West Green Party with Lyana at Lancaster Conference</H4>'
slideimages[12]='<IMG src="images/lynader.jpg"  alt="Lyana with Ralph Nader" SAVE><H4>Lyana in Berlin with Ralph Nader, former US Presidential candidate</H4>'
slideimages[13]='<IMG src="images/alpic2.jpg"  alt="Al" SAVE><H4>Al, a Founder Member</H4>'
slideimages[14]='<IMG src="images/viv.jpg"  alt="Vivien" SAVE><H4>Vivien Dawson, Activist</H4>'

var ie=document.all
var dom=document.getElementById

if (slideimages.length>2)
i=2
else
i=0

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout("move1(tlayer)",pausebetweenimages)
setTimeout("move2(document.main.document.second)",pausebetweenimages)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout("move1(tlayer)",50)
}
else{
tlayer.top=parseInt(scrollerheight)
tlayer.document.write(slideimages[i])
tlayer.document.close()
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout("move2(tlayer2)",pausebetweenimages)
setTimeout("move1(document.main.document.first)",pausebetweenimages)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout("move2(tlayer2)",50)
}
else{
tlayer2.top=parseInt(scrollerheight)
tlayer2.document.write(slideimages[i])
tlayer2.document.close()
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
tdiv.style.top=0+"px"
setTimeout("move3(tdiv)",pausebetweenimages)
setTimeout("move4(second2_obj)",pausebetweenimages)
return
}
if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
setTimeout("move3(tdiv)",50)
}
else{
tdiv.style.top=scrollerheight
tdiv.innerHTML=slideimages[i]
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
tdiv2.style.top=0+"px"
setTimeout("move4(tdiv2)",pausebetweenimages)
setTimeout("move3(first2_obj)",pausebetweenimages)
return
}
if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
setTimeout("move4(second2_obj)",50)
}
else{
tdiv2.style.top=scrollerheight
tdiv2.innerHTML=slideimages[i]
if (i==slideimages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (ie||dom){
first2_obj=ie? first2 : document.getElementById("first2")
second2_obj=ie? second2 : document.getElementById("second2")
move3(first2_obj)
second2_obj.style.top=scrollerheight
second2_obj.style.visibility='visible'
}
else if (document.layers){
document.main.visibility='show'
move1(document.main.document.first)
document.main.document.second.top=parseInt(scrollerheight)+5
document.main.document.second.visibility='show'
}
}