var protection_interval_id = 0;
var protection_object = false;
function copy_protection()
{
	document.getElementById('copy_protection').select();
	if (window.opera && protection_object)
	{
		protection_object.focus();
		protection_object.blur();
	}
}

function copy_protection_on(obj)
{
	copy_protection_off();
	protection_object = obj || false;
	protection_interval_id = setInterval("copy_protection()", 1);
}

function copy_protection_off()
{
	protection_object = false;
	clearTimeout(protection_interval_id);
}
