function disableselect(e)
{
	return false
}

function enableselect()
{
	
	document.onselectstart=new Function ("return true")
	//if NS6
	if (window.document)
	{
	document.onmousedown=reEnable
	document.onclick=reEnable
	}
}

function reEnable()
{
	return true
}

function mydisable()
{
		//if IE4+
		document.onselectstart=new Function ("return false")
		//if NS6
		if (window.document)
		{
		document.onmousedown=disableselect
		document.onclick=reEnable
		}
}
