	function disableButton(btn, title, target)
	{
		if (title)
		{
			btn.value = title;
			if (!btn.style.width)
			{
				btn.style.width = "100px";
			}
		}
		btn.disabled = true; 
		if(target)
		{
			location.href = target;	
		}
		else
		{
			btn.form.submit();
		}
	}

