<!--
/**** Ротация рисунков - 3 массивов рисунков в строке ****/
/* для индексного файла */
var action0;
var action1;
var action2;

var i;
var j;
/*Определение массивов для каждой позиции (всего позиций -3)*/

imge0 =new Array(7);
imge0[0]  =new Image(200,47)
imge0[0].src="gif/clients_t/blockLt1.gif"	/* ! стартовый*/

imge0[1]    =new Image(200,47)
imge0[1].src="gif/clients_t/blockLt2.gif"

imge0[2]    =new Image(200,47)
imge0[2].src="gif/clients_t/blockLt3.gif"

imge0[3]    =new Image(200,47)
imge0[3].src="gif/clients_t/blockLt4.gif"

imge0[4]    =new Image(200,47)
imge0[4].src="gif/clients_t/blockLt5.gif"

imge0[5]    =new Image(200,47)
imge0[5].src="gif/clients_t/blockLt6.gif"

imge0[6]    =new Image(200,47)
imge0[6].src="gif/clients_t/blockLt7.gif"

/******************/
imge1 =new Array(7);
imge1[0]  =new Image(200,47)
imge1[0].src="gif/clients_t/blockC1.gif"

imge1[1]    =new Image(200,47)
imge1[1].src="gif/clients_t/blockC2.gif"	/* ! стартовый*/

imge1[2]    =new Image(200,47)
imge1[2].src="gif/clients_t/blockC3.gif"

imge1[3]    =new Image(200,47)
imge1[3].src="gif/clients_t/blockC4.gif"

imge1[4]    =new Image(200,47)
imge1[4].src="gif/clients_t/blockC5.gif"

imge1[5]    =new Image(200,47)
imge1[5].src="gif/clients_t/blockC6.gif"

imge1[6]    =new Image(200,47)
imge1[6].src="gif/clients_t/blockC7.gif"

/******************/
imge2 =new Array(7);
imge2[0]  =new Image(200,47)
imge2[0].src="gif/clients_t/blockRt1.gif"

imge2[1]    =new Image(200,47)
imge2[1].src="gif/clients_t/blockRt2.gif"

imge2[2]    =new Image(200,47)
imge2[2].src="gif/clients_t/blockRt3.gif"	/* ! стартовый*/

imge2[3]    =new Image(200,47)
imge2[3].src="gif/clients_t/blockRt4.gif"

imge2[4]    =new Image(200,47)
imge2[4].src="gif/clients_t/blockRt5.gif"

imge2[5]    =new Image(200,47)
imge2[5].src="gif/clients_t/blockRt6.gif"

imge2[6]    =new Image(200,47)
imge2[6].src="gif/clients_t/blockRt7.gif"

/****************  запуск скрипта по onLoad
/*** i число - ротируемых массивов (нумерация с 0) */

act='action';
a=0;
currAct= new Array();
n= new Array();

function start_movieI(i)
{

for(k=0; k<i; k++)
{
currAct[currAct.length]=act+k;
n[n.length]=k;
}

for(k=0; k<i; k++)
{
	if(currAct[k])
	{
	clearInterval(currAct[k]);
	}
mveName='mveMI'+n[k];
if(!isIE)
{
currAct[k]=window.setInterval(mveName+"()",1000);
}
else{
	currAct[k]=window.setInterval(mveName+"()",2800);
	}
}

}

function mveMI0()
{
ndix0=(Math.round(Math.random()*imge0.length))- 1;
if(ndix0==-1){ndix0+=1;}
clintns0.src=imge0[ndix0].src;
}

function mveMI1()
{
ndix1=(Math.round(Math.random()*imge1.length))- 1;
if(ndix1==-1){ndix1+=1;}
clintns1.src=imge1[ndix1].src;
}

function mveMI2()
{
ndix2=(Math.round(Math.random()*imge2.length))- 1;
if(ndix2==-1){ndix2+=1;}
clintns2.src=imge2[ndix2].src;
}




/********** То же. Ротация только при загрузке ********/

function simple_movieI(i)
{ 
mveMI0();
mveMI1();
mveMI2();
}
//-->
