functionconsoleMain(str,nsecond,mask){

clearTimeout(consoleTime);

nsecond=nsecond?nsecond*1000:3000;

mask=mask?'':'';

vardiv=ementById('console_main');

HTML=''+str+'