if (!document.getElementById) {
document.getElementById = function(strID) {
if (document.layers) return document[strID];
if (document.all) return document.all[strID];
return null; // expect the unexpected
}
}
var scrollState = 0;
function anim0Go(){
animLSpacerDown.animate();
animLeftOpacityOut.animate();
anim0Up.animate();
anim1Down.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim1Go(){
animLSpacerOut.animate();
animLeftOpacityIn.animate();
anim0Down.animate();
anim1Up.animate();
anim2Down.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim2Go(){
anim1Down.animate();
anim2Up.animate();
anim3Down.animate();
anim0Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim3Go(){
anim2Down.animate();
anim3Up.animate();
anim4Down.animate();
anim0Out.animate();
anim1Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim4Go(){
anim3Down.animate();
anim4Up.animate();
anim5Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim5Go(){
anim4Down.animate();
anim5Up.animate();
anim6Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim7Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim6Go(){
anim5Down.animate();
anim6Up.animate();
anim7Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim8Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim7Go(){
anim6Down.animate();
anim7Up.animate();
anim8Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim9Out.animate();
anim10Out.animate();
}
function anim8Go(){
anim7Down.animate();
anim8Up.animate();
anim9Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim10Out.animate();
}
function anim9Go(){
animRSpacerOut.animate();
animRightOpacityIn.animate();
anim8Down.animate();
anim9Up.animate();
anim10Down.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
}
function anim10Go(){
animRSpacerDown.animate();
animRightOpacityOut.animate();
anim9Down.animate();
anim10Up.animate();
anim0Out.animate();
anim1Out.animate();
anim2Out.animate();
anim3Out.animate();
anim4Out.animate();
anim5Out.animate();
anim6Out.animate();
anim7Out.animate();
anim8Out.animate();
}
function goLeft(){
if(scrollState == 1) {
anim0Go();
scrollState = 0;
}
else if(scrollState == 1) {
anim0Go();
scrollState = 0;
}
else if(scrollState == 2) {
anim1Go();
scrollState = 1;
}
else if(scrollState == 3) {
anim2Go();
scrollState = 2;
}
else if(scrollState == 4) {
anim3Go();
scrollState = 3;
}
else if(scrollState == 5) {
anim4Go();
scrollState = 4;
}
else if(scrollState == 6) {
anim5Go();
scrollState = 5;
}
else if(scrollState == 7) {
anim6Go();
scrollState = 6;
}
else if(scrollState == 8) {
anim7Go();
scrollState = 7;
}
else if(scrollState == 9) {
anim8Go();
scrollState = 8;
}
else if(scrollState == 10) {
anim9Go();
scrollState = 9;
}
}
function goRight(){
if(scrollState == 0) {
anim1Go();
scrollState = 1;
}
else if(scrollState == 1) {
anim2Go();
scrollState = 2;
}
else if(scrollState == 2) {
anim3Go();
scrollState = 3;
}
else if(scrollState == 3) {
anim4Go();
scrollState = 4;
}
else if(scrollState == 4) {
anim5Go();
scrollState = 5;
}
else if(scrollState == 5) {
anim6Go();
scrollState = 6;
}
else if(scrollState == 6) {
anim7Go();
scrollState = 7;
}
else if(scrollState == 7) {
anim8Go();
scrollState = 8;
}
else if(scrollState == 8) {
anim9Go();
scrollState = 9;
}
else if(scrollState == 9) {
anim10Go();
scrollState = 10;
}
}
function scrollerInit(scrollerElement) {
scrollerContent = "













";
document.getElementById(scrollerElement).innerHTML = scrollerContent;//spacer animation routines
animLSpacerDown = new YAHOO.util.Anim('lspacemaker', {
width: { to: 150 },
height: { to: 115 }
}, 1, YAHOO.util.Easing.easeOut);
animLSpacerOut = new YAHOO.util.Anim('lspacemaker', {
width: { to: 0 },
height: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
animRSpacerDown = new YAHOO.util.Anim('rspacemaker', {
width: { to: 150 },
height: { to: 115 }
}, 1, YAHOO.util.Easing.easeOut);
animRSpacerOut = new YAHOO.util.Anim('rspacemaker', {
width: { to: 0 },
height: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
//Opacity changes for the arrows
animLeftOpacityOut = new YAHOO.util.Anim('leftarrow',{
opacity: { to: 0 }
}, 1);
animLeftOpacityIn = new YAHOO.util.Anim('leftarrow',{
opacity: { to: 1 }
}, 1);
animRightOpacityOut = new YAHOO.util.Anim('rightarrow',{
opacity: { to: 0 }
}, 1);
animRightOpacityIn = new YAHOO.util.Anim('rightarrow',{
opacity: { to: 1 }
}, 1);
anim0Up = new YAHOO.util.Anim('scrollImage0', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim0Down = new YAHOO.util.Anim('scrollImage0', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim0Out = new YAHOO.util.Anim('scrollImage0', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim1Up = new YAHOO.util.Anim('scrollImage1', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim1Down = new YAHOO.util.Anim('scrollImage1', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim1Out = new YAHOO.util.Anim('scrollImage1', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim2Up = new YAHOO.util.Anim('scrollImage2', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim2Down = new YAHOO.util.Anim('scrollImage2', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim2Out = new YAHOO.util.Anim('scrollImage2', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim3Up = new YAHOO.util.Anim('scrollImage3', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim3Down = new YAHOO.util.Anim('scrollImage3', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim3Out = new YAHOO.util.Anim('scrollImage3', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim4Up = new YAHOO.util.Anim('scrollImage4', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim4Down = new YAHOO.util.Anim('scrollImage4', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim4Out = new YAHOO.util.Anim('scrollImage4', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim5Up = new YAHOO.util.Anim('scrollImage5', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim5Down = new YAHOO.util.Anim('scrollImage5', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim5Out = new YAHOO.util.Anim('scrollImage5', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim6Up = new YAHOO.util.Anim('scrollImage6', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim6Down = new YAHOO.util.Anim('scrollImage6', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim6Out = new YAHOO.util.Anim('scrollImage6', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim7Up = new YAHOO.util.Anim('scrollImage7', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim7Down = new YAHOO.util.Anim('scrollImage7', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim7Out = new YAHOO.util.Anim('scrollImage7', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim8Up = new YAHOO.util.Anim('scrollImage8', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim8Down = new YAHOO.util.Anim('scrollImage8', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim8Out = new YAHOO.util.Anim('scrollImage8', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim9Up = new YAHOO.util.Anim('scrollImage9', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim9Down = new YAHOO.util.Anim('scrollImage9', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim9Out = new YAHOO.util.Anim('scrollImage9', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
anim10Up = new YAHOO.util.Anim('scrollImage10', {
width: { to: 300 },
height: {to: 230 },
opacity: { to: 1 }
}, 1, YAHOO.util.Easing.easeOut);
anim10Down = new YAHOO.util.Anim('scrollImage10', {
width: { to: 150 },
height: {to: 115 },
opacity: { to: .5 }
}, 1, YAHOO.util.Easing.easeOut);
anim10Out = new YAHOO.util.Anim('scrollImage10', {
width: { to: 0 },
height: {to: 0 },
opacity: { to: 0 }
}, 1, YAHOO.util.Easing.easeOut);
goRight();
}