contract BPToken is StandardToken, Owned {
    // metadata
    string public constant name = "Bilur Panax Token";
    string public constant symbol = "BPT";
    string public version = "1.0";
    uint256 public constant decimals = 8;
    bool public disabled = false;
    uint256 public constant MILLION = (10**6 * 10**decimals);
    // constructor
    function BPToken(uint256 _amount) {
        totalSupply = 10000 * MILLION; 
        balances[msg.sender] = _amount;
    }

    function getOTCTotalSupply() external constant returns(uint256) {
        return totalSupply;
    }

    function setDisabled(bool flag) external onlyOwner {
        disabled = flag;
    }

    function transfer(address _to, uint256 _value) returns (bool success) {
        require(!disabled);
        return super.transfer(_to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        require(!disabled);
        return super.transferFrom(_from, _to, _value);
    }
    function kill() external onlyOwner {
        selfdestruct(owner);
    }
}
function BPToken(uint256 _amount) {
        totalSupply = 10000 * MILLION; 
        balances[msg.sender] = _amount;
    }
// constructor