function Decathlon()
{
}

Decathlon.areaCheck = function( value )
{
	var textual = /([0-9.]+)\s*[xX]\s*([0-9.]+)/;
	
	if ( result = value.match( textual ) )
	{
		value = result[1] * result[2];
	}
	
	return parseInt(value);
}

