var btn;
function swap(obj,style)
{
	btn=new construct(obj,style);
	if(btn) btn.obj.className=btn.ov;
}

function restore()
{
	if(btn) btn.obj.className=btn.def;
}

function construct(obj,style)
{
	if(document.getElementById(obj))
	{
		this.obj=document.getElementById(obj);
		this.def=this.obj.className;
		this.ov=style;
	}
}