//define scroll functions//1680 is the screen width of the content frame//500 is the distance to scroll to the rightvar i = 0;var j = 0;var t;//define right scrollfunction ScrollRight(dist) {	if (j < 1200) {		 if(i > 0) {		 	 dist = 500;		 }	 	scrollEnd = j + dist;		j = j + 8;		i++;		ScrollRight2();	 } else if (i>= 4) {		j = 0;		i = 0;		clearTimeout(t)		ScrollRight(100);	 }}function ScrollRight2() {	if (j < scrollEnd) {		parent.frames.bottom.scroll(j,0);		j = j + 8;		t = setTimeout('ScrollRight2()',75);	}	else {		j = scrollEnd;	}}//define left scrollfunction ScrollLeft(dist2) {	j = dist2 	if (j > 0) {	 scrollEnd = j - dist2;	 j = j - 8;	 ScrollLeft2(); }} function ScrollLeft2() {	if (j > scrollEnd) {		parent.frames.bottom.scroll(j,0);		j = j - 8;		setTimeout('ScrollLeft2()',1);	}	else {		j = scrollEnd;	}}
