<!--
function adRotator() {};
adRotator.initialize=function(o)
{
	// script by blueDestiny

	this._t = new Array();
	this._l = new Array();
	this._p = new Array();
	this._I = new Image();
	this._c = 0;
	this._f = false;
	this._o = o;

	this._timeout = null;
	this._html = "";

	// configration.
	// @ image width
	// @ image height
	// @ rotator speed
	// @ filter type

	this._w = 185;
	this._h = 145;
	this._s = 4;
	this._x = 23;

	return this;
};
adRotator.add=function(p,t,l) { with (this)
{
	_p.push(p);
	_t.push(t);
	_l.push(l);
}};

adRotator.load=function() { with (adRotator)
{
	if( _I.readyState=='complete' )
	{
		if(_p.length-1==_c)
		{
			_f = true;
			_c = 0;
			window.clearTimeout(_timeout);
			//getRef("AdRotator").innerHTML="complete";
			adRotator.play();
		}
		else
		{
			_c++;
			getRef(_o).innerHTML="total images " + _p.length + ", loading picture " + _c + ' ' + _I.readyState + "бн";
			_timeout=window.setTimeout(adRotator.load,10)
		}
	}
	else
	{
		getRef(_o).innerHTML="total images " + _p.length + ", loading picture " + _c + ' ' + _I.readyState + "бн";
		_timeout=window.setTimeout(adRotator.load,10)
	}
}};

adRotator.play=function() { with (adRotator)
{
	if( _f )
	{
	_html = "";
	_html += '<table style="border:1px solid #ffffff;"><tr><td style="font-size:9pt;font-family:tahoma;font-weight:bold;">'
	_html += '<div id="rotatorPlayer"'
			+ ' style="width:' + _w + ''
			+ ';height:"' + _h + '"'
			+ '>'
	_html += '<a href="' + ( _l[_c] ? _l[_c] : "javascript:void(0);" ) + '" target=_blank>';
	_html += '<img id="rotatorPic" src="' + _p[_c] + '"'
			+ ' width="' + _w + '"'
			+ ' height="' + _h + '"'
			+ (_t[_c]?' title="' + _t[_c] + '"':'')
			+ ' style="border:0px solid blue;FILTER:revealTrans(transition=' + _x + ',duration=1);"'
			+ ' >';
	//_html += (_t[_c]?('<div align="center">' + (_c+1) + '. ' + _t[_c] + '</div>'):'<p></p>');
	_html += '</a>';
	_html += "</div>";
	_html += '<div align="right">';

	//for(var I=0; I<_p.length; I++)
		//_html += '<span'
					//+ ' style="border:1px solid #333333;padding:1px 5px 1px 5px;height:20px;text-align:center;cursor:'
					//+ (_c==I ? ('default;background-color:red;"') : 'hand;" onclick="adRotator.select(' + I + ')"')
					//+ '>'
					//+ (I>8?(I+1):('0'+(I+1)))+ '</span> ';

	_html += "</div></td></tr></table>";
	getRef(_o).innerHTML = _html;

	getRef("rotatorPic").filters[0].Apply();
	getRef("rotatorPic").filters[0].Play();

	next();
	}
	else
	{
		_I.src = _p[_c];
		adRotator.load();
	}
}};
adRotator.next=function() { with (this)
{
	(_p.length-1==_c) ? _c=0 : _c++;
	_timeout=window.setTimeout(adRotator.play,_s*1000);
}};
adRotator.select=function(I) { with (this)
{
	window.clearTimeout(_timeout);
	_c=I;
	adRotator.play();
}};
adRotator.set=function(second) { with (this)
{
	window.clearTimeout(_timeout);
	if((/\d+/).test(second)==true)
	{
		_s=second;
		adRotator.play();
	}
	else
	{
		alert("must be digit!")
		adRotator.play();
	}
}};
function getRef(id)
{
	return (document.all?document.all(id):document.getElementById(id));
}
adRotator.initialize("AdRotator");


adRotator.add("/pic/201077164745.JPG","","/english/isee.asp?Id=78");adRotator.add("/pic/20104717827.jpg","","/english/isee.asp?Id=73");adRotator.add("/pic/20104717440.jpg","","/english/isee.asp?Id=72");adRotator.add("/pic/201047165521.JPG","","/english/isee.asp?Id=71");adRotator.add("/pic/20104716518.jpg","","/english/isee.asp?Id=70");adRotator.add("/pic/20095595024.jpg","","/english/isee.asp?Id=67");adRotator.add("/pic/2008125163611.jpg","","/english/isee.asp?Id=44");adRotator.add("/pic/2009559236.jpg","","/english/isee.asp?Id=43");adRotator.add("/pic/2008125163354.jpg","","/english/isee.asp?Id=42");adRotator.add("/pic/201047163624.jpg","","/english/isee.asp?Id=38");adRotator.add("/pic/20087292073.jpg","","/english/isee.asp?Id=37");adRotator.add("/pic/200881153928.jpg","","/english/isee.asp?Id=27");adRotator.add("/pic/2008524151243.jpg","","/english/isee.asp?Id=22");

adRotator.play();
//-->