/* Scrolling Marquee
** Netscape 3.0+ compatible
** IExplore 4.0+ compatible
** Written by Roman Potashinskiy
** Last Modified 9/13/2001
** Copyright 2001, e4orce.com.
*/
var S;
function PrepareScroll(W,H,Speed,T){ //Width, Height, Speed, Text
S=2;
var list = "Click the +Google button on the left panel to add ICU to your IGoogle home page. This gives you quick and easy access to our rates and online banking."
if (document.all){
document.write('')
}
if (document.layers){
document.writeln('');
document.writeln('');
document.writeln(list);
document.writeln('\n')
}
}
function StartScroll(){
if (document.layers){
document.NSMarqueeBase.document.NSMarqueeTop.visibility=true;
document.NSMarqueeBase.document.NSMarqueeTop.left = document.NSMarqueeBase.clip.right;
MarqueeScroll();
}
}
function MarqueeScroll (){
if (document.NSMarqueeBase.document.NSMarqueeTop.left >= document.NSMarqueeBase.document.NSMarqueeTop.document.width *(-1))
document.NSMarqueeBase.document.NSMarqueeTop.left -=S*2;
else
document.NSMarqueeBase.document.NSMarqueeTop.left = document.NSMarqueeBase.clip.right;
setTimeout('MarqueeScroll()', S)
}