

message     = "WELCOME TO RURAL INSTITUTE OF MEDICAL SCIENCES & RESEARCH SAIFAI$"  +"THANKS FOR VISIT  !$" +"$"
scrollSpeed = 15
lineDelay   = 500

txt         = ""

function scrollText(pos) 
{
	if (message.charAt(pos) != '$') 
	{
		txt    = txt + message.charAt(pos)
		status = txt
		pauze  = scrollSpeed
	}
 	else
	{
		pauze = lineDelay
		txt   = ""
		if (pos == message.length-1) pos = -1
	}
	pos++
	setTimeout("scrollText('"+pos+"')",pauze)
 }
 
scrollText(0)


