// JavaScript Document
var t;
function overColor(obj)
{
	if(t!='undefined' && t!=obj)
	{
		obj.style.backgroundColor="#ababab";	
		obj.style.color="#ffffff";
	}
}
function outColor(obj)
{
	if(t!='undefined' && t!=obj)
	{
		obj.style.backgroundColor="#ffffff";
		obj.style.color="#ababab";
	}
}
function changeColor(obj, count)
{
	if(!count)count=1;
	
	//var x=new Array();
	for(i=1; i<=count; i++)
	{
		x=document.getElementById('btn'+i);
		if(x!=null)
		{
			x.style.backgroundColor="#ffffff";	
			x.style.color="#ababab";
		}
	}
	obj.style.backgroundColor="#ababab";
	obj.style.color="#ffffff";
	t=obj;
}
