<!-- Horizontal Scroll JavaScript Applet --
<!-- Revised 1/19/2004
/*
This code requires the 'onload' statement in the <body line to work it also
seems to only work in the browser header.
*/
function scrollit_r2l(N)
{       var msg  = "Welcome to Perma-Cal Industries web site ..... the Direct Drive leader ! ";
        var out = " ";
        var c   = 1;
        if (N > 100) 
	{       N--;
                var cmd="scrollit_r2l(" + N + ")";
                timerTwo=window.setTimeout(cmd,100);
        } 
        else if (N <= 100 && N > 0) 
	{       for (c=0 ; 
                c < N ; 
                c++)
		{       out+=" ";               }
                	out+=msg;
	                N--;
        	        var cmd="scrollit_r2l(" + N + ")";
                	window.status=out;
	                timerTwo=window.setTimeout(cmd,100);
        	} 
        else if (N <= 0) 
        {       if (-N < msg.length) 
		{	out+=msg.substring(-N,msg.length);
                        N--;
                        var cmd="scrollit_r2l(" + N + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else 
		{       window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }
        }
}
//-->