').css({
"left":"50%",
"top":"50%",
"position":"fixed",
"min-height":"240px",
"min-width":"240px",
"z-index":$.getzIndex()
}).appendTo("body"),
dialogClose = function(){
modal.remove();
box.remove();
},
loadingImg = $('

').css({
"height":"32px",
"width":"32px",
"margin-left":"-16px",
"margin-top":"-16px"
}).appendTo(box),
loadImg = function(){
var imgurl = hdImgUrl(),
img = new Image();
img.src = imgurl;
img.onload = function(){
var h = img.height,w = img.width;
loadingImg.remove();
$(img).css({
"height":h+"px",
"width":w+"px",
"margin-left":"-"+w/2+"px",
"margin-top":"-"+h/2+"px",
"border-radius":"3px",
"box-shadow":"0 0 15px rgba(127, 173, 220, 0.8), 0 0 15px #7FADDC inset",
"cursor":"url(\"https://tb2.bdstatic.com/tb/img/frs/cur_zout.cur\"), pointer"
}).attr('title',uname).appendTo(box);
};
};
loadImg();
box.click(dialogClose);
modal.element.click(dialogClose);
}
})();