contract Ownable {

	// Contract's owner.
	address owner;

	modifier onlyOwner() {
		require (msg.sender == owner);
		_;
	}

	// Constructor.
	function Ownable() public {
		owner = msg.sender;
	}

	// Returns current contract's owner.
	function getOwner() public constant returns(address) {
		return owner;
	}

	// Transfers contract's ownership.
	function transferOwnership(address newOwner) onlyOwner public {
		require(newOwner != address(0));
		owner = newOwner;
	}
}
function Ownable() public {
		owner = msg.sender;
	}
// Constructor.