function $(id)
{
	if(document.getElementById)
	{
		return document.getElementById(id);
	}
	else
	{
		return document.all[id];
	}
}

String.prototype.toPosition = function()
{
	return parseInt(this.replace('px', ''))
}
