Small jquery functions to center an element within its parent element.