I've created a bid module that allows the users to bid on an auction through a node reference. I'm using hook_form_alter() to create the form on the 'create bid' page, and I would like to perform some SQL queries dealing with the referenced node.
How do I load the node reference?