code: function fromAlphabet( str )
  	{
  		str = str.toUpperCase();
  		var l = alpahbets.length, retVal = 1;
  		for ( var x = 1; str.length > 0; x *= l )
  		{
  			retVal += alpahbets.indexOf( str.charAt( str.length - 1 ) ) * x;
  			str = str.substr( 0, str.length - 1 );
  		}
  		return retVal;
  	}
docs: Convert alphabet numbering back to decimal.