// JavaScript Document
var $=function($){return document.getElementById($);}
function tabSystem(A,B){
	for(var i=0,Z=0,P=false,x="className",t='getElementsByTagName',A=$(A)[t]("LI"),B=$(B)[t]("DIV"),U=A[0];i<A.length;A[i].i=i++){
		var mi='onmouseover',mo='onmouseout';
		A[i][mi]=function(){hot.call(this);	P=true;};
		B[i][mo]=A[i][mo]=function(){P=false;};
		B[i][mi]=function (){P=true;}
	}
	function hot(){B[U.i][x]=U[x]="";B[Z=this.i][x]=this[x]="hover";U=this;}
	(function (){	if(!P){if(++Z>(A.length-1))Z=0;hot.call(A[Z]);}setTimeout(arguments.callee,3000)})();
	return tabSystem;
};
onload=function(){tabSystem("rolinTab","rolinData")}
