function onmouseoutTabDeactivate(caller){
	return;
}

function onmouseoverTabActivate(caller){
	return;
}

function onmouseoutButton(caller){
	if(caller.tagName==='INPUT'){
		caller.style.backgroundPosition='center 0';
	}
	else if(caller.tagName==='SPAN'){
		var spans = caller.getElementsByTagName('span');
		if(spans[0]){
			spans[0].style.backgroundPosition='left 0';
			spans[1].style.backgroundPosition='center 0';
			spans[2].style.backgroundPosition='right 0';
		}
		else{
			caller.style.backgroundPosition='left 0';
		}
	}
}

function onmouseoverButton(caller){
	if(caller.tagName==='INPUT'){
		var delta=caller.offsetHeight;
		caller.style.backgroundPosition='center -'+delta+'px';
	}
	else if(caller.tagName==='SPAN'){
		var spans=caller.getElementsByTagName('span');
		if(spans[0]){
			var delta=spans[0].offsetHeight;
			spans[0].style.backgroundPosition='left -'+delta+'px';
			spans[1].style.backgroundPosition='center -'+delta+'px';
			spans[2].style.backgroundPosition='right -'+delta+'px';
		}
		else{
			var delta=caller.offsetHeight;
			caller.style.backgroundPosition='left -'+delta+'px';
		}
	}
}

function onmousedownButton(caller){
	if(caller.tagName==='INPUT'){
		var delta=caller.offsetHeight;
		caller.style.backgroundPosition='center -'+2*delta+'px';
	}
	else if(caller.tagName==='SPAN'){
		var spans=caller.getElementsByTagName('span');
		if(spans[0]){
			var delta=spans[0].offsetHeight;
			spans[0].style.backgroundPosition='left -'+2*delta+'px';
			spans[1].style.backgroundPosition='center -'+2*delta+'px';
			spans[2].style.backgroundPosition='right -'+2*delta+'px';
		}
		else{
			var delta=caller.offsetHeight;
			caller.style.backgroundPosition='left -'+2*delta+'px';
		}
	}
}