jQuery.fn.centerXParent = function () {
    leftPos = (this.parent().width() / 2) - (this.outerWidth() / 2);
	
	this.css("left", leftPos + "px");
	
    return this;
}
