function Ultimate2(Utype2,Umsgs2,Ucursor2,Uwidth2,Uheight2,Ubgcolor2,Ubackground2,Uspeed2,Udelay2,Ufirst2) {
		
	document.writeln('<span id="Ubox" style="position:relative;width:'+Uwidth2+';height:'+Uheight2+';overflow:hiden;background-color:'+Ubgcolor2+' ;background-image:url('+Ubackground2+')">')
	document.writeln('<div style="position:absolute;width:'+Uwidth2+';height:'+Uheight2+';clip:rect(0 '+Uwidth2+' '+Uheight2+' 0);left:0;top:0">')
	
	if (Utype2==0) {
		document.writeln('<div id="Utxt2" style="position:absolute;width:'+Uwidth2+';left:0;top:'+Uheight2+';">')
		document.write(Umsgs2[Ufirst2]);
		Uscroll2(Utxt2,Umsgs2,Uheight2,Uspeed2,Udelay2,Ufirst2);
	}
	if (Utype2==1) {
		document.writeln('<div id="Utxt2"  style="position:absolute;width:'+Uwidth2+';left:'+Uwidth2+';top:0;">')
		document.write(Umsgs2[Ufirst2]);
		Uside2(Utxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ufirst2);
	}
	if (Utype2==2) {
		document.writeln('<div id="Utxt2"  style="position:absolute;width:'+Uwidth2+';left:'+(Uwidth2*-1)+';top:0;">')
		document.write(Umsgs2[Ufirst2]);
		Ureverseside2(Utxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ufirst2,false);
	}
	if (Utype2==3) {
		document.writeln('<div id="Utxt2"  style="position:absolute;width:'+Uwidth2+';left:0;top:0;overflow:hiden;background-color:'+Ubgcolor2+' ;">')
		document.write(Umsgs2[Ufirst2]);
		document.writeln('</div>')
		document.writeln('<div id="Umask"  style="position:absolute;width:'+Uwidth2+';left:0;top:0;overflow:hiden;background-color:'+Ubgcolor2+' ;">')
		document.write(Ucursor2);
		Utouch2(Utxt2,Umask,Umsgs2,Ucursor2,Uwidth2,Uspeed2,Udelay2,Ufirst2,1,false);
	}
	document.writeln('</div>')
	document.writeln('</div>')
	document.writeln('</span>')
}

// Moves
function Uscroll2(IDdiv2,Umsgs2,Uheight2,Uspeed2,Udelay2,Ufirst2){
	ttxt2=eval(IDdiv2);
	Ustep2=eval(Ufirst2);
	if (ttxt2.style.pixelTop>0&&ttxt2.style.pixelTop<=5){
	ttxt2.style.pixelTop=0;
	setTimeout("Uscroll2(ttxt2,Umsgs2,Uheight2,Uspeed2,Udelay2,Ustep2)",Udelay2);
	return
	}
	else {
		if (ttxt2.style.pixelTop>=ttxt2.offsetHeight*-1){
		ttxt2.style.pixelTop-=5
		setTimeout("Uscroll2(ttxt2,Umsgs2,Uheight2,Uspeed2,Udelay2,Ustep2)",Uspeed2);
		return
		}
		else {
		ttxt2.style.pixelTop=Uheight2;
		if (Ustep2>=Umsgs2.length-1)
			Ustep2=0
			else		
			Ustep2++;
		ttxt2.innerHTML=Umsgs2[Ustep2];
		Uscroll2(ttxt2,Umsgs2,Uheight2,Uspeed2,Udelay2,Ustep2);
		}
	}
}

function Uside2(IDdiv2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ufirst2){
	ttxt2=eval(IDdiv2);
	Ustep2=eval(Ufirst2);
	if (ttxt2.style.pixelLeft>0&&ttxt2.style.pixelLeft<=5){
	ttxt2.style.pixelLeft=0;
	setTimeout("Uside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2)",Udelay2);
	return
	}
	else {
		if (ttxt2.style.pixelLeft>=ttxt2.offsetWidth*-1){
		ttxt2.style.pixelLeft-=5
		setTimeout("Uside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2)",Uspeed2);
		return
		}
		else {
		ttxt2.style.pixelLeft=Uwidth2;
		if (Ustep2>=Umsgs2.length-1)
			Ustep2=0
			else		
			Ustep2++;
		ttxt2.innerHTML=Umsgs2[Ustep2];
		Uside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2);
		}
	}
}

function Ureverseside2(IDdiv2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ufirst2,stop){
	ttxt2=eval(IDdiv2);
	Ustep2=eval(Ufirst2);
	if (ttxt2.style.pixelLeft>0&&ttxt2.style.pixelLeft<=5&&(!stop)) {
	setTimeout("Ureverseside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2,true)",Udelay2);
	return
	}
	else {
		if (ttxt2.style.pixelLeft<ttxt2.offsetWidth){
		ttxt2.style.pixelLeft+=5;
		setTimeout("Ureverseside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2)",Uspeed2);
		return
		}
		else {
		ttxt2.style.pixelLeft=Uwidth2*-1;
		if (Ustep2>=Umsgs2.length-1)
			Ustep2=0
			else		
			Ustep2++;
		ttxt2.innerHTML=Umsgs2[Ustep2];
		Ureverseside2(ttxt2,Umsgs2,Uwidth2,Uspeed2,Udelay2,Ustep2);
		}
	}
}

function Utouch2(IDdiv2,IDmask2,Umsgs2,Ucursor2,Uwidth2,Uspeed2,Udelay2,Ufirst2,Ufirstsens2,stop){
	ttxt2=eval(IDdiv2);
	tmask2=eval(IDmask2);
	Ustep2=eval(Ufirst2);
	Usens2=eval(Ufirstsens2);
	if (tmask2.style.pixelLeft>Uwidth2){
	tmask2.style.pixelLeft=Uwidth2;
	setTimeout("Utouch2(ttxt2,tmask2,Umsgs2,Ucursor2,Uwidth2,Uspeed2,Udelay2,Ustep2,-1)",Udelay2);
	return
	}
	else if (tmask2.style.pixelLeft>=-5&&tmask2.style.pixelLeft<0&&(!stop)){
	tmask2.style.pixelLeft=-5;
	if (Ustep2>=Umsgs2.length-1)
			Ustep2=0
			else		
			Ustep2++;
	ttxt2.innerHTML=Umsgs2[Ustep2];
	setTimeout("Utouch2(ttxt2,tmask2,Umsgs2,Ucursor2,Uwidth2,Uspeed2,Udelay2,Ustep2,1,true)",Udelay2);
	return
	}
	else {
		tmask2.style.pixelLeft+=(5*Usens2);
		setTimeout("Utouch2(ttxt2,tmask2,Umsgs2,Ucursor2,Uwidth2,Uspeed2,Udelay2,Ustep2,Usens2)",Uspeed2);
		return
	}
}
