/*! jQuery centershow - v1.0.0 - 2014-12-19
* Copyright (c) 2014 kssfilo; Licensed MIT */
(function($){
$.fn.centershow=function(){
var back=$('
');
$('body').append(back);
var close=$('
');
close.appendTo(back);
this.each(function(){
var self=$(this);
self.css({
position:'fixed',
'top':'50%',
'left':'50%',
'margin-left':-self.width()/2,
'margin-top':-self.height()/2,
'z-index':1,
});
self.appendTo(back);
});
};
})(jQuery);