I've been hacking on a couple of scripts for 3 days now and have finally got it to mostly work except for 1 piece. I just can't figure this out...

what's happening is that there's a gap in the string of images when it slides of to the right before it starts up again. i want it to be continuous, no big gap before it starts up again.

here's the code bits:
Code:
allpics=["http://billb/images/stories/easygallery/thumbs//14/1210188477_ge-1.jpg","http://billb/images/stories/easygallery/thumbs//15/1210360865_ge-2.jpg","http://billb/images/stories/easygallery/thumbs//15/1210796358_ge-6.jpg","http://billb/images/stories/easygallery/thumbs//16/1210360926_ge-4.jpg","http://billb/images/stories/easygallery/thumbs//18/1210947349_ge-3.jpg","http://billb/images/stories/easygallery/thumbs//19/1210947384_ge-4.jpg","http://billb/images/stories/easygallery/thumbs//20/1210947414_ge-5.jpg","http://billb/images/stories/easygallery/thumbs//23/1210949156_30_ss_bm-h-esw_open.jpg","http://billb/images/stories/easygallery/thumbs//24/1210949176_g_2150_sc_diamante.jpg","http://billb/images/stories/easygallery/thumbs//25/1210949194_slc_w-open_dryer.jpg","http://billb/images/stories/easygallery/thumbs//22/1210947587_da_5190.jpg","http://billb/images/stories/easygallery/thumbs//22/1210949219_kitchen_w-30_ss_double_h.jpg","http://billb/images/stories/easygallery/thumbs//21/1210947449_30_ss_bm-h-esw_open.jpg","http://billb/images/stories/easygallery/thumbs//21/1210949233_60_ss_dg_open.jpg"];
var preloadpics = new Array();
for(qq=0; qq < allpics.length; qq++){
preloadpics[qq]=new Image();
preloadpics[qq].src=allpics[qq];
}
var leftimage=new Array();
leftimage[0]='<img src="http://billb/images/stories/easygallery/thumbs//14/1210188477_ge-1.jpg" />';
leftimage[1]='<img src="http://billb/images/stories/easygallery/thumbs//15/1210360865_ge-2.jpg" />';
leftimage[2]='<img src="http://billb/images/stories/easygallery/thumbs//15/1210796358_ge-6.jpg" />';
leftimage[3]='<img src="http://billb/images/stories/easygallery/thumbs//16/1210360926_ge-4.jpg" />';
leftimage[4]='<img src="http://billb/images/stories/easygallery/thumbs//18/1210947349_ge-3.jpg" />';
leftimage[5]='<img src="http://billb/images/stories/easygallery/thumbs//19/1210947384_ge-4.jpg" />';
leftimage[6]='<img src="http://billb/images/stories/easygallery/thumbs//20/1210947414_ge-5.jpg" />';
leftimage[7]='<img src="http://billb/images/stories/easygallery/thumbs//23/1210949156_30_ss_bm-h-esw_open.jpg" />';
leftimage[8]='<img src="http://billb/images/stories/easygallery/thumbs//24/1210949176_g_2150_sc_diamante.jpg" />';
leftimage[9]='<img src="http://billb/images/stories/easygallery/thumbs//25/1210949194_slc_w-open_dryer.jpg" />';
leftimage[10]='<img src="http://billb/images/stories/easygallery/thumbs//22/1210947587_da_5190.jpg" />';
leftimage[11]='<img src="http://billb/images/stories/easygallery/thumbs//22/1210949219_kitchen_w-30_ss_double_h.jpg" />';
leftimage[12]='<img src="http://billb/images/stories/easygallery/thumbs//21/1210947449_30_ss_bm-h-esw_open.jpg" />';
leftimage[13]='<img src="http://billb/images/stories/easygallery/thumbs//21/1210949233_60_ss_dg_open.jpg" />';
var swidth=650;
var sheight=100;
var sspeed=6;
var restart=sspeed;
var rspeed=sspeed;
var scolor="#ccffcc";
var sborder="2"; 
var imagef='';

for(mi=leftimage.length-1;mi>=0;mi--)
	imagef=imagef+leftimage[mi]+" ";

function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}

function start(){
	if(document.getElementById){
		tdiv6=document.getElementById('slider');
		firstns6();
	}
	else if(document.all){
		tdivie=slider;firstie();
	}else if(document.layers){
		tdivns4=document.slider1.document.slider2;
		firstns4();
	}
}

function firstns6(){
	tdiv6.innerHTML=('<nobr>'+imagef+'</nobr>');
	thel=tdiv6.offsetWidth;
	if(operbr!=-1){
		document.getElementById('opslider').innerHTML='<nobr>'+imagef+'</nobr>';
		thel=document.getElementById('opslider').offsetWidth;
	}
	tdiv6.style.left=-thel+"px";
	slidens6();
}

function slidens6(){
	if(parseInt(tdiv6.style.left)<=swidth){
		tdiv6.style.left=parseInt(tdiv6.style.left)+sspeed+"px";
		setTimeout("slidens6()",100);
	}else{
		tdiv6.style.left=-thel+"px";
		slidens6();
	}
}
and the html bits:
HTML Code:
<div style="position:relative;overflow:hidden;width:650px;height:100px;clip:rect(0 650px 100px 0);">
<div id="opslider" style="position:absolute;visibility:hidden;"></div>
<div id="slider" style="position:absolute;height:100px;" onMouseover="sspeed=0;" onMouseout="sspeed=rspeed"></div>
</div><div class="cleardiv"><br /></div>
anyone see my glaring error that i'm missing?