function Sliding(){
	this.sliding = arguments[0];
	var menuObj = arguments[1];
	this.meuns = $(menuObj).getElementsByTagName("li");
}
Sliding.prototype.Change=function(index){
	this.clearTimeOut();
	var sliding = this.sliding;
	if($(sliding[index]).style.display != "none")
		return;
	for(var i = 0; i<sliding.length;i++){
		try{$(sliding[i]).style.display = "none";}
		catch(e){}
	}
	try{$(sliding[index]).style.display = "";}
	catch(e){}
	var menus = this.meuns;
	for(var i = 0;i<menus.length;i++){
		try{$(menus[i]).className="";}catch(e){}
	}
	try{$(menus[index]).className="on";}catch(e){}
}
Sliding.prototype.TimeOut=function(index,obj){
	this.clearTimeOut();
	this.timeObj = window.setTimeout(obj+".Change("+index+")",250);
}
Sliding.prototype.clearTimeOut=function(index,obj){
	try{
		window.clearTimeout(this.timeObj);
	}catch(e){}
}