function manageNavi(index,lastIndex, circleStep, Interval, name){

	this.firstIndex = index;
	this.lastIndex = lastIndex;
	this.timeout = circleStep;
	this.Intervaltime = Interval;
	this.varname = 	name;
	this.menuElem = "";
}

manageNavi.prototype.setMenu = function(MenuElem){
	
	this.menuElem = MenuElem;
}

manageNavi.prototype.startInterval = function(){

	this.IntervalObjekt = window.setInterval(""+this.varname+".RunAni()",this.Intervaltime); 
}

manageNavi.prototype.stopInterval = function(){

  clearInterval(this.IntervalObjekt);	
}

manageNavi.prototype.RunAni = function(){

	this._startAni(this.firstIndex);	
}


manageNavi.prototype._startAni = function(index){

	if(index <= this.lastIndex){
		 this._enlight(index);
		 setTimeout(""+this.varname+"._startAni("+(index+1)+")",this.timeout);
	}
	else{
			this._dislight();
		}	
}

manageNavi.prototype.MouseOver = function(index){
	this._enlight(index);
	this.stopInterval();
}

manageNavi.prototype.MouseOut = function(){
	this._dislight();
	this.startInterval();
}

manageNavi.prototype._enlight = function(index){

	this.menuElem.src='images/layout/btn0'+index+'_hi.gif';
}

manageNavi.prototype._dislight = function(){
	
	this.menuElem.src='images/layout/space.gif';
}