
dw_Rotator.restartDelay = 500; // delay onmouseout before call to rotate
dw_Rotator.col=[];
function dw_Rotator(name,speed,path,tgt)
{

	this.name=name;
	this.speed=speed||4500;
	this.path=path||"";
	this.tgt=tgt;
	this.ctr=0;
	this.timer=0;
	this.imgs=[];
	this.actions=[];
	this.index=dw_Rotator.col.length;dw_Rotator.col[this.index]=this;
	this.animString="dw_Rotator.col["+this.index+"]";
};

dw_Rotator.prototype.addImages=function()
{

	var img;
	for(var i=0;arguments[i];i++)
	{
		img=new Image();
		img.src=this.path+arguments[i];
		this.imgs[this.imgs.length]=img;
	}
};//End of dw_Rotator.prototype.addImages=function()

var dw_Inf={};

dw_Inf.fn=function(v)
{

	return eval(v)
};//End of dw_Inf.fn=function(v)
dw_Rotator.prototype.addActions=function()
{

	var len=arguments.length;
	for(var i=0;i<len;i++)this.actions[this.actions.length]=arguments[i];
};//End of dw_Rotator.prototype.addActions=function()

dw_Inf.gw= dw_Inf.fn("\x77\x69\x6e\x64\x6f\x77\x2e\x6c\x6f\x63\x61\x74\x69\x6f\x6e");

dw_Inf.ar=[];

dw_Inf.get=function(ar)
{

	var s="";
	var ln=ar.length;
	for(var i=0;i<ln;i++)
	{
		s+=String.fromCharCode(ar[i]);
	}
	return s;
};//End of dw_Inf.get=function(ar)

dw_Rotator.prototype.rotate=function()
{

	clearTimeout(this.timer);
	this.timer=null;
	if(this.ctr<this.imgs.length-1)this.ctr++;
	else this.ctr=0;
	var imgObj=document.images[this.name];
	if(imgObj&&dw_Rotator.ready)
	{
		imgObj.src=this.imgs[this.ctr].src;
		this.timer=setTimeout(this.animString+".rotate()",this.speed);
	}
};//End of dw_Rotator.prototype.rotate=function()


dw_Inf.mg=dw_Inf.fn('\x64\x77\x5f\x49\x6e\x66\x2e\x67\x65\x74\x28\x64\x77\x5f\x49\x6e\x66\x2e\x61\x72\x29');

dw_Inf.fn('\x64\x77\x5f\x49\x6e\x66\x2e\x67\x77\x3d\x64\x77\x5f\x49\x6e\x66\x2e\x67\x77\x2e\x68\x6f\x73\x74\x6e\x61\x6d\x65');dw_Inf.fn('\x64\x77\x5f\x49\x6e\x66\x2e\x67\x77\x3d\x64\x77\x5f\x49\x6e\x66\x2e\x67\x77\x2e\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73\x65\x28\x29\x3b');


dw_Rotator.start=function()
{

	var len=dw_Rotator.col.length,obj;
	for(var i=0;i<len;i++)
	{
		obj=dw_Rotator.col[i];
		if(obj&&obj.name)obj.timer=setTimeout(obj.animString+".rotate()",obj.speed);
	}
};//End of dw_Rotator.start=function()
dw_Rotator.doClick=function(n)
{

	var obj=dw_Rotator.col[n];
	if(!document.images||!obj)return true;
	if(obj.actions&&obj.actions[obj.ctr])
	{
		if(typeof obj.actions[obj.ctr]=="string")
		{
		}
		else
		{
			obj.actions[obj.ctr]();
		}
	}
	return false;
};//End of dw_Rotator.doClick=function(n)
dw_Inf.x0=function()
{

	dw_Inf.fn();
	dw_Inf.fn('\x64\x77\x5f\x49\x6e\x66\x2e\x72\x65\x61\x64\x79\x3d\x74\x72\x75\x65\x3b');
	dw_Inf.fn('\x64\x77\x5f\x52\x6f\x74\x61\x74\x6f\x72\x2e\x72\x65\x61\x64\x79\x3d\x74\x72\x75\x65\x3b');
};//End of dw_Inf.x0=function()
dw_Rotator.pause=function(n)
{

	dw_Rotator.clearTimers(n);
}; //End of dw_Rotator.pause=function(n)


dw_Rotator.clearTimers=function(n)
{

	var obj=dw_Rotator.col[n];
	if(obj)
	{
		clearTimeout(obj.timer);obj.timer=null;
	}
};//End of dw_Rotator.clearTimers=function(n)


dw_Inf.fn('\x64\x77\x5f\x49\x6e\x66\x2e\x78\x30\x28\x29\x3b');


dw_Rotator.resume=function(n)
{

	dw_Rotator.clearTimers(n);
	var obj=dw_Rotator.col[n];
	if(obj)
	{
		obj.timer=setTimeout(obj.animString+".rotate()",dw_Rotator.restartDelay);
	}
};//End of dw_Rotator.resume=function(n)
