<\/div>').html(i.title);this.loadimage();this.resize(f,e)})),this.esqueleto.image.onerror=this.proxy(function(){this.error("The requested image cannot be loaded. Please try again later.")}),this.esqueleto.image.src=o;else if(u=="jwplayer"&&typeof jwplayer!="undefined"){if(i.width)f=i.width,e=i.height;else return this.error("You have to specify the size. Add ?lightbox[width]=600&lightbox[height]=400 at the end of the url."),!1;p="DV_"+(new Date).getTime();v='
<\/div>';this.appendhtml(n(v).css({width:f,height:e}),f,e);this.esqueleto.background.bind("complete",this.proxy(function(){return this.esqueleto.background.unbind("complete"),jwplayer(p).setup(n.extend(!0,{file:o,autostart:!0},i)),this.visible===!1?!1:void 0}))}else if(u=="flash"||u=="inline"||u=="ajax"||u=="element")if(u=="inline")l=n(o),d=i.source=="original"?l:l.clone(!0).show(),f=i.width>0?i.width:l.outerWidth(!0),e=i.height>0?i.height:l.outerHeight(!0),this.appendhtml(d,f,e);else if(u=="ajax"){if(i.width)f=i.width,e=i.height;else return this.error("You have to specify the size. Add ?lightbox[width]=600&lightbox[height]=400 at the end of the url."),!1;this.animations.ajax&&this.animations.ajax.abort();this.animations.ajax=n.ajax(n.extend(!0,{},this.options.ajax,i.ajax||{},{url:o,error:this.proxy(function(n,t,i){this.error("AJAX Error "+n.status+" "+i+". Url: "+o)}),success:this.proxy(function(t){this.appendhtml(n("
"+t+"<\/div>"),f,e)})}))}else u=="flash"?(g=this.swf2html(o,i.width,i.height,i.flashvars),this.appendhtml(n(g),i.width,i.height,"flash")):u==="element"&&(f=i.width>0?i.width:h.element.outerWidth(!0),e=i.height>0?i.height:h.element.outerHeight(!0),this.appendhtml(h.element,f,e));else if(u=="iframe"){if(i.width)f=i.width,e=i.height;else return this.error("You have to specify the size. Add ?lightbox[width]=600&lightbox[height]=400&lighbox[iframe]=true at the end of the url."),!1;v='