
function mover(obj){
	img = document.getElementById('imn'+obj);
	theObj =  document.getElementById('mn'+obj);
		theObj.style.cursor='hand';
	if(img.src.indexOf('arrowblind.png')!=-1){
		img.src='img/tabmenu/arrowO.png';
	}
}

function mout(obj){
	img = document.getElementById('imn'+obj);
	theObj =  document.getElementById('mn'+obj);
	theObj.style.cursor='pointer';
	if(img.src.indexOf('arrowO.png')!=-1){
		img.src='img/tabmenu/arrowblind.png';
	}
}

function  clickTab(it,maxit){

for(i=1; i<=maxit; i++){
		obj = document.getElementById('mn'+i);
		img = document.getElementById('imn'+i);
		tr = document.getElementById('tr'+i);
		if((i==it)&&(img.src.indexOf('arrowO.png')!=-1)){
			obj.style.backgroundImage="url('img/tabmenu/backon.png')";
			img.src='img/tabmenu/arrow.png';
			obj.style.color='#fff';
			tr.style.display='block';
		}else if((i==it)&&(img.src.indexOf('arrow.png')!=-1)){
			
		}else{
			obj.style.backgroundImage="url('img/tabmenu/backoff.png')";
			img.src='img/tabmenu/arrowblind.png';
			obj.style.color='#ec7814';
			tr.style.display='none';
		}
	}
}


function  loadTab(it,maxit){
//alert(it);
for(i=1; i<=maxit; i++){
		obj = document.getElementById('mn'+i);
		img = document.getElementById('imn'+i);
		tr = document.getElementById('tr'+i);
		if((i==it)){
			obj.style.backgroundImage="url('img/tabmenu/backon.png')";
			img.src='img/tabmenu/arrow.png';
			obj.style.color='#fff';
			tr.style.display='block';
		}else{
			obj.style.backgroundImage="url('img/tabmenu/backoff.png')";
			img.src='img/tabmenu/arrowblind.png';
			obj.style.color='#ec7814';
			tr.style.display='none';
		}
	}
}
