(function($){
	
	var $px = $(document.createElement('div')).css({
		position: 'absolute'
	});

	$.fn.px = function(prop) {
		var val;
		if($.browser.msie) {						
			$px
			.clone()
			.css('width', this.css(prop))
			.appendTo(this[0])
			.each(function(){
				val = $(this).width() + 'px';
			})
			.remove();
		} else {
			val = this.css(prop);
		}
		return val;
	};

})(jQuery);