Changed tooltips to use getElement function. NOT TESTED YET.