/**
 * Gets the object of the dom model with the given id.
 *
 * @param $id string
 * @return domObject
 */
function domGet(id)
{
	return document.getElementById(id);
}

/**
 * Removes an object from the dom model.
 *
 * @param $obj domObject
 */
function domRemove(obj)
{
	obj.parentNode.removeChild(obj);
}

/**
 * Shows an object in the dom model.
 *
 * @param $obj domObject
 */
function domShow(obj)
{
    obj.style.display = 'block';
}

/**
 * Hides an object in the dom model.
 *
 * @param $obj domObject
 */
function domHide(obj)
{
    obj.style.display = 'none';
}