/*  RURAQ  */
var statTimer=null;
//20-80/50
function statusIn (text)//rename to TypeIn
{
	var statusbar=document.getElementById('status');
	var bits="_";
	var delay=20;
	var txt="";
	var char=2;//skip
	
	statusbar.className='';
	clearTimeout(statTimer);//clearInterval(statTimer);
	function core(){
		txt=text.substring(0,char);
		char++;
		if (char<=text.length){
			txt+=bits;
			statTimer=setTimeout(core,delay * (char-2)/(char+1) );
		}//+text.length*.3
		else{
			clearTimeout(statTimer);
			statTimer=setTimeout(function(){
				statusbar.innerHTML='NEW CLASS HERE!';
				clearTimeout(statTimer);
				statTimer=setTimeout(function(){
					statusbar.innerHTML=' : status : ';
					clearTimeout(statTimer);
					statTimer=null;
				},2000)
			},2000);
		}
		statusbar.innerHTML = "[ &nbsp; " + txt + " &nbsp; ]";
	}
	core()
}