function x683(element,top,right,bottom,left)
{
	if(browser=="NS4")
	{
		document.layers[element].clip.top=top;
		document.layers[element].clip.right=right;
		document.layers[element].clip.height=bottom-top;
		document.layers[element].clip.left=left;
	}
	if(browser=="IE"||browser=="NS6"||browser=="Opera")
	{
		document.getElementById(element).style.clip='rect('+top+'px, '+right+'px, '+bottom+'px, '+left+'px)';
	}
};
browser=x08226313404();
os=x065309();

function AJScroller()
{
	posArray=new Array(60);
	this.width=120;
	this.height=150;
	this.scrollspeed=50;
	this.pausedelay=2000;
	this.spacing=10;
	this.pausemouseover=false;
	this.y_offset=0;
	this.x_offset=0;
	this.name='ajscroller';
	this.heightArray=new Array(100);
	this.currentspeed=50;
	this.curTopItem=1;
	this.numItems=0;
	this.stop=true;
	this.x=0;
	this.y=0;
	this.ver="2.22";
	this.id="45163";
	this.timeoutIDArray=new Array(30);
	this.tiac=0;
	this.add=AddAJScrollerItem;
	this.display=function()
	{
		if(browser=="NS4")
		{
			document.write('<ilayer id="ajscroller" id="ajscroller" width="'+this.width+'" height="'+this.height+'">');
			document.write('</ilayer><br>');
		}
		if(browser=="IE"||browser=="NS6"||browser=="Opera")
		{
			document.write('<div id="ajscroller" style="position:relative;width:'+this.width+'px;height:'+this.height+'px;z-index:2" onmouseover="if (aj_scroller.pausemouseover){AJStop();}" onmouseout="if (aj_scroller.pausemouseover){aj_scroller.timeoutIDArray[aj_scroller.tiac++] = setTimeout(\'AJResume()\', 50);}"></div>');
		}x88341497586229(document.write(x71784570651178462(posArray)));};};

function AddAJScrollerItem(text)
{
	this.numItems++;
	if(browser=="NS4")
	{
		document.writeln('<layer id="ajscrolleritm'+this.numItems+'" visibility="hide" width="'+this.width+'">');
		if(arguments.length>=1)
		{
			document.writeln(text);document.writeln('</layer>');
		}
	}
	if(browser=="IE"||browser=="NS6"||browser=="Opera")
	{
		document.writeln('<div id="ajscrolleritm'+this.numItems+'" style="visibility:hidden;position:absolute;width:'+this.width+'px;z-index:3" onmouseover="if (aj_scroller.pausemouseover){AJStop();}"  onmouseout="if (aj_scroller.pausemouseover){aj_scroller.timeoutIDArray[aj_scroller.tiac++] = setTimeout(\'AJResume()\', 50);}">');
		if(arguments.length>=1)
		{
			document.writeln(text);document.writeln('</div>');
		}
	}
};

function LoadAJScroller()
{
	if(os=="Mac"&&browser=="IE")
	{
		aj_scroller.y_offset=parseInt(document.body.topMargin);
		aj_scroller.x_offset=parseInt(document.body.leftMargin);
	}
	if(!(browser=="Opera"&&version==6))setTimeout('x81623123448075()',50);
};

function x81623123448075()
{
	aj_scroller.y=x466187111('ajscroller');
	aj_scroller.x=x3990044603('ajscroller');
	if(posArray==0)
	{return;}
	aj_scroller.curTopItem=1;
	var name='ajscrolleritm';
	var y=aj_scroller.y-1;
	var h;
	for(var i=aj_scroller.curTopItem;i<=aj_scroller.numItems;i++)
	{
		x483140(name+i,y);x3329217(name+i,aj_scroller.x+aj_scroller.x_offset);
		h=x516306672(name+i);aj_scroller.heightArray[i]=h;
		if(y<aj_scroller.y+aj_scroller.y_offset||y+h>aj_scroller.y+aj_scroller.y_offset+aj_scroller.height)
		{
			x683(name+i,Math.max(0,aj_scroller.y+aj_scroller.y_offset-y),aj_scroller.width,Math.min(aj_scroller.y+aj_scroller.y_offset+aj_scroller.height-y,h),0);
		}
		y+=h+aj_scroller.spacing;x2826022670(name+i,true);
	}
	if(y<aj_scroller.y+aj_scroller.height)
	{
		//alert('Warning: The total height of the scroller items have to exceed the display height');
	}
	if(browser=="Opera"&&version!=7)
	{return;}
	if(aj_scroller.stop)
	{
		aj_scroller.stop=false;
		aj_scroller.currentspeed=aj_scroller.scrollspeed;
		if(scrollActive==0)
		{x6666261();}
		else
		{
			setTimeout('x9664517()',aj_scroller.pausedelay);
		}
	}
};

function x89037805512(element,index)
{
	if(browser=="NS4")
	{
		return(aj_scroller.heightArray[index]);
	}
	if(browser=="IE")
	{
		return(document.all[element].offsetHeight);
	}
	if(browser=="NS6")
	{
		return document.getElementById(element).offsetHeight;
	}
	if(browser=="Opera")
	{
		if(version==7)
		{
			return(document.getElementById(element).offsetHeight);
		}
		else
		{
			return(document.getElementById(element).style.pixelHeight);
		}
	}
};

function x88341497586229()
{
	if(arguments.length==1)
	{
		scrollActive=1;
	}
};

function x9664517()
{
	var y=0;var i;var name='ajscrolleritm';
	var cur_name=name+aj_scroller.curTopItem;
	if(x466187111(cur_name)+x89037805512(cur_name,aj_scroller.curTopItem)<aj_scroller.y)
	{
		x483140(cur_name,-800);
		if(aj_scroller.curTopItem==aj_scroller.numItems)
		{
			aj_scroller.curTopItem=1;
		}
		else
		{
			aj_scroller.curTopItem++;
		}
		cur_name=name+aj_scroller.curTopItem;
	}
	y=x466187111(cur_name)+aj_scroller.y_offset;;aj_scroller.currentspeed=aj_scroller.scrollspeed;
	for(i=aj_scroller.curTopItem;i<=aj_scroller.numItems;i++)
	{
		y=x9664517Loop(name+i,i,y);
	}
	for(i=1;i<aj_scroller.curTopItem;i++)
	{
		y=x9664517Loop(name+i,i,y);
	}
	if(!aj_scroller.stop)
	{
		aj_scroller.timeoutIDArray[aj_scroller.tiac++]=setTimeout('x9664517()',aj_scroller.currentspeed);
	}
};

function x9664517Loop(cur_name,i,y)
{
	if(y<aj_scroller.height+aj_scroller.y)
	{
		var item_y=x466187111(cur_name)+aj_scroller.y_offset;
		var item_h=x89037805512(cur_name,i);
		if(item_y==aj_scroller.y&&aj_scroller.pausedelay>aj_scroller.scrollspeed)
		{
			aj_scroller.currentspeed=aj_scroller.pausedelay;
		}
		if(item_y>-800)
		{x483140(cur_name,item_y-1);}
		else{x483140(cur_name,y);}
		if(item_y<aj_scroller.y+aj_scroller.y_offset||item_y+item_h>aj_scroller.y+aj_scroller.y_offset+aj_scroller.height)
		{
			x683(cur_name,Math.max(0,aj_scroller.y+aj_scroller.y_offset-item_y),aj_scroller.width,Math.min(aj_scroller.y+aj_scroller.y_offset+aj_scroller.height-item_y,item_h),0);
		}
		y+=item_h+aj_scroller.spacing;x2826022670(cur_name,true);
		}
		else
		{
			x483140(cur_name,-800);
		}
		return y;
};

scrollActive=0;posArray=0;

function AJIncreaseSpeed(value)
{
	aj_scroller.scrollspeed=Math.max(2,aj_scroller.scrollspeed-parseInt(value));
};

function AJDecreaseSpeed(value)
{
	aj_scroller.scrollspeed+=parseInt(value);
};

function AJStop()
{
	for(var i=0;i<aj_scroller.tiac;i++)
	{
		clearTimeout(aj_scroller.timeoutIDArray[i]);
	}
	aj_scroller.tiac=0;aj_scroller.stop=true;
};

function AJResume()
{
	if(aj_scroller.stop)
	{
		for(var i=0;i<aj_scroller.tiac;i++)
		{
			clearTimeout(aj_scroller.timeoutIDArray[i]);
		}
		aj_scroller.tiac=0;aj_scroller.stop=false;
		aj_scroller.currentspeed=aj_scroller.scrollspeed;x9664517();
	}
};