contract GraphenePowerToken is Crowdsale {
    
    /* Public variables of the token */
	string public standard = 'Token 0.1';

	string public name = 'Graphene Power';

	string public symbol = 'GRP';

	uint8 public decimals = 18;

	uint256 _totalSupply =500000000;

	/* This creates an array with all balances */
	mapping (address => uint256) balances;

	/* This generates a public event on the blockchain that will notify clients */
	event Transfer(address from, address to, uint256 value);

    bool transfersEnable=false;
    
	//*** Total Supply ***//
	function totalSupply() constant returns (uint256 totalSupply) {
		totalSupply = _totalSupply;
	}
	
	/*** Send coins ***/
	function transfer(address _to, uint256 _value) returns (bool success) {
		if (transfersEnable) {
	       require(balanceOf[msg.sender] >= _value);
           balanceOf[msg.sender] -= _value;
           balanceOf[_to] += _value;
           Transfer(msg.sender, _to, _value);
		   return true;
		}
      	else{
	           return false;
	        }
	}
	
	//*** Transfer Enabled ***//
	function transfersEnabled() onlyOwner{
	    require(!transfersEnable);
	    transfersEnable=true;
	}
}
function transfersEnabled() onlyOwner{
    require(!transfersEnable);
    transfersEnable=true;
}

//*** Transfer Enabled ***//