var chr = -1, txt, txtlen, pcarret = '', txtlistindex = 0;
var txtlist = new Array();
txtlist[0] = 'To find what you need: Select document type, select manufacturer, select product line and model';
txtlist[1] = 'To find what you need: Select document type, select manufacturer, select product line and model';
txtlist[2] = 'To find what you need: Select document type, select manufacturer, select product line and model';
txtlist[3] = 'To find what you need: Select document type, select manufacturer, select product line and model';

function changetext()
{
 var obj = document.getElementById('typetext');
 if (!obj) return;

 if (chr < 0) 
   {  // старт показа
    obj.innerHTML = ''; 
    txt = txtlist[txtlistindex]; 
    txtlen = txt.length; 

    txtlistindex ++;
    if (txtlistindex > 3) txtlistindex = 0;
   }

 chr ++;
 t = obj.innerHTML;
 tt = t.substring(0,t.length-pcarret.length);

 if (txt.charAt(chr) != "<")
   {
    obj.innerHTML= tt + txt.charAt(chr) + pcarret;
   }
 else 
   {
    obj.innerHTML= tt + txt.substring(chr, chr+4) + pcarret;
    chr = chr + 3;
   }

 if (chr >= txtlen) { setTimeout("changetext()", 4000); chr = -1; return; }

 setTimeout("changetext()", 60);
}

function str(num) 
{
 var s = "";
 for (i = 0; i < num; i ++) { s = s + " "; }
 return s;
}
