!function(i){function s(){var s=i(window).width(),c=i(window).height(),d=i(".fl").outerwidth(),e=i(".fl").outerheight();i(".fl").css({position:"absolute",left:s/2-d/2,top:c/2-e/2})}i.fn.fakeloader=function(c){var d=i.extend({timetohide:1200,pos:"fixed",top:"0px",left:"0px",width:"100%",height:"100%",zindex:"999",bgcolor:"#2ecc71",spinner:"spinner7",imagepath:""},c),e='
',l='
',n='
',v='
',a='
',r='
',t='
',o=i(this),h={position:d.pos,width:d.width,height:d.height,top:d.top,left:d.left};return o.css(h),o.each(function(){var i=d.spinner;switch(i){case"spinner1":o.html(e);break;case"spinner2":o.html(l);break;case"spinner3":o.html(n);break;case"spinner4":o.html(v);break;case"spinner5":o.html(a);break;case"spinner6":o.html(r);break;case"spinner7":o.html(t);break;default:o.html(e)}""!=d.imagepath&&o.html('
'),s()}),settimeout(function(){i(o).fadeout()},d.timetohide),this.css({backgroundcolor:d.bgcolor,zindex:d.zindex})},i(window).load(function(){s(),i(window).resize(function(){s()})})}(jquery);