/*!
 * jQuery.dialog  0.88
 *
 * Copyright 2010, Hudong.com
 * Dual licensed under the MIT and GPL licenses.
 * author: panxuepeng
 * blog: http://dushii.blog.163.com
 * $Date: 2008-08-31 $
 * $Last: 2010-08-26 $
 */
(function(e){function q(){var a=e._dialog;if(a){a.scrollTop=e(document).scrollTop();a.scrollLeft=e(document).scrollLeft();a.windowHeight=e(window).height();a.windowWidth=e(window).width();a.bodyPosition=e(document).find("body").css("position");a.bodyWidth=e(document).find("body").width();a.bodyLeft=e(document).find("body").position().left;if(!a.bodyLeft&&a.windowWidth>a.bodyWidth)a.bodyLeft=(a.windowWidth-a.bodyWidth)/2}}function t(){var a=0,c=0;e._dialog.init();q();e(window).bind("resize",function(){c&&
clearTimeout(c);c=setTimeout(function(){q();var b=e._dialog,d;for(id in b.list)if(b.isShow(id)){d=b.options[id];b.show(id);d.overlay&&b.setOverlay(id)}},200);return false});e(window).bind("scroll",function(){var b=e._dialog;a&&clearTimeout(a);a=setTimeout(function(){b.scrollTop=e(document).scrollTop();for(id in b.options){var d=b.options[id],g=b.getPosition(d.id),f=b.list[id];f.stop();if(d.minScrollTop){d.minScrollTop>b.scrollTop?f.css({visibility:"hidden"}):f.show().css({left:g.left,top:g.top,visibility:"visible"});
return}if(e.IE6&&d.fixed&&b.isShow(id))typeof d.resetTime=="number"&&d.resetTime>0?f.show().animate({left:g.left,top:g.top},d.resetTime):f.css({left:g.left,top:g.top}).show()}},200);return false})}var s=navigator.userAgent;e.IE=e.browser.msie;e.Firefox=/Firefox/i.test(s);e.IE6=function(){if(/MSIE [7891]\d?/.test(s))return false;if(/MSIE [56]/.test(s))return true;return false}();e(document).ready(function(){t()});e._dialog={version:0.88,list:{},isOpen:[],isClose:[],options:{},parts:{},fn_clockScroll:[],
skins:{},keys:{},config:{lastid:"",id:"default",skin:"default",offsetClick:{},focusStart:false,zIndex:2010,effect_time_up:500,effect_time_down:500,effect_time_fade:200,base:".",htmlImgLoading:"",imgLoading:"indicator.gif",imgClose:"close.jpg",imgTitleBg:"bg_box_hand.gif"},defaults:{id:"default",key:"",skin:"default",move:true,overlay:true,model:"default",zIndex:2010,title:"",content:"",type:"",url:"",callback:null,callbackTimeout:500,position:"middle",offsetX:0,offsetY:0,fixed:false,effects:"",autoClose:0,
forceClose:1,width:350,height:200,fixedWidth:0,minScrollTop:0,onOk:null,onCancel:null,onClose:null,textOk:"\u786e\u5b9a",textCancel:"\u53d6\u6d88",closeImg:true,resetTime:100,resizable:1,styleDialog:{},styleTitle:{},styleContent:{},styleBtn:{},styleOk:{},styleCancel:{},styleOverlay:{opacity:0.3},valign:""},init:function(){this.config.htmlImgLoading='<img src="'+this.config.base+"/"+this.config.imgLoading+'"/>';var a="div.hudong_dialog {border:1px solid #8C8C8C;background-color:#FFFFFF;overflow:hidden;}\t\t\t\n div.hudong_dialog h2.title{margin:0;height:22px;background:url("+
this.config.base+"/"+this.config.imgTitleBg+");\t\t\t\tborder-bottom:1px solid #E0E0E0;padding:3px 5px;font-weight:bold;font-size:14px;overflow:hidden;-moz-user-select:none;line-height:22px;}\t\t\t\n div.hudong_dialog .close{display:block;float:right;cursor:pointer;width:16px;height:16px;margin:0;\t\t\t\ttop:5px;right:5px;position:absolute;background:url("+this.config.base+"/"+this.config.imgClose+");}\t\t\t\n div.hudong_dialog div.content{padding:5px;text-align:center;background-color:#FFFFFF;position:relative;}\t\t\t\n div.hudong_dialog div.button{position:absolute;width:100%;left:0;bottom:0;text-align:center;height:25px;padding:4px 10px 10px;}\t\t\t\n div.hudong_dialog div.button input{text-align:center;margin-right:10px;}\t\t\t\n div.hudong_overlay{z-index:2001;cursor:default;background-color:#ffffff;\t\t\t\twidth:100%;height:100%;top:0px;left:0px;position:absolute;margin:0 auto;}";
a+="div.bluebox {border:5px solid #666666;}\t\t\t\n div.bluebox h2.title{background:none;background-color:#009DF0;color:#FFFFFF;font-size:14px;}\t\t\t\n div.bluebox .close{top:5px;right:5px;}\t\t\t\n div.bluebox div.button{background-color:#E8E8E8;padding:5px 10px 2px;}";a+="div.noborder {border:0;background-color:transparent;}\n div.noborder .close{top:10px;right:10px;}";e("style#hudong_dialog_style").size()==0&&e("head").append('<style id="hudong_dialog_style">'+a+"</style>")},open:function(a){function c(f,
h){var k;for(var j in f){k=typeof h[j];if(k=="undefined")h[j]=f[j];else k=="object"&&c(f[j],h[j])}}function b(f,h){return typeof f=="number"?f:h}var d=this;if(document.getElementsByTagName("body").length==0){e(document).ready(function(){d.open(a)});return false}if(typeof a!="object"){alert('arguments must be a object, like {id:"id", title:"title"}.');return false}var g=d.config.id=a.id;if(typeof g!="string"&&typeof g!="number"){alert("the type of id must be string or number.");return false}a.skin||
(a.skin=d.config.skin);c(d.defaults,a);a.autoClose=b(a.autoClose,0);a.width=b(a.width,350);a.height=b(a.height,200);if(a.autoClose>0&&a.autoClose<100)a.autoClose*=1E3;if(typeof a.position=="object"||a.height>d.windowHeight)a.fixed=false;if(typeof a.fixed=="string")a.fixed=a.fixed.toLowerCase();a.effects=/up|down|fade/i.test(a.effects)?a.effects.toLowerCase():"";if(!a.type&&a.content)if(/^[\w\/:&?,=-]+\.(jpg|gif|png)$/i.test(a.content)){a.type="img";a.url=a.content}else if(/^[\w\/:&?,=-]+\.html?$/i.test(a.content)){a.type=
"url";a.url=a.content}d.options[g]=a;a.overlay&&d.setOverlay(g);if(a.model.indexOf("alone")>-1)for(i in d.list)i!=g&&d.options[i]&&d.options[i].model.indexOf("together")<0&&d.close(i);d.build(a);a.isLoad=1;return d},setContent:function(a,c){this.list[a]||alert("dialog "+a+" is not exist.");this.parts[a].content.html(c);return this},reset:function(a,c){var b=this;c=c||100;setTimeout(function(){b.resize(a);var d=b.list[a],g=b.getPosition(a),f=b.options[a];if(f.resetTime>0)d.animate({top:g.top,left:g.left},
f.resetTime);else f.resetTime==0&&d.css({top:g.top,left:g.left})},c)},setOptions:function(a){function c(j,l){if(typeof a[l]=="object")try{j.css(a[l])}catch(m){alert("id = ["+a.id+"]\u7684\u7a97\u53e3\uff0c\u81ea\u5b9a\u4e49css\u6837\u5f0f\u5b58\u5728\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5css\u7684 "+l+" \u90e8\u5206\u3002")}}var b=a.id,d="",g="",f=this,h=f.list[b];d=f.parts[b];if(a.type=="url"){g=a.url;if(f.config.url==g){f.show(b);return f}f.config.url=g;f.setContent(b,f.config.htmlImgLoading);e.get(g,
function(j,l){if(!f.isClose[b])if(l=="success"){f.setContent(b,j);f.reset(b);e.IE&&f.reset(b,200);e.isFunction(a.callback)&&a.callback(h)}else f.setContent(b,"Loading failure!")})}else if(a.type=="img"){g=a.url;if(f.config.url==g){f.show(b);return f}f.config.url=g;f.setContent(b,f.config.htmlImgLoading);d=f.getPosition(b);h.css({top:d.top,left:d.left,opacity:""});var k=new Image;k.onload=function(){if(!f.isClose[b]){f.setContent(b,'<img src="'+g+'" width="'+(k.width>950?950:k.width)+'" />');f.reset(b);
e.IE&&f.reset(b,200);e.isFunction(a.callback)&&a.callback(h)}};k.onerror=function(){f.setContent(b,a.error)};k.src=g;f.parts[b].content.dblclick(function(){e.dialog.close(b)})}else if(a.type=="iframe"){d="<iframe id='"+b+"_iframe' name='"+b+"_iframe' border='0' width='"+(a.width-20)+"' height='"+(a.height-50)+"' frameborder='no'  marginwidth='0' marginheight='0' scrolling='no' allowtransparency='yes'></iframe>";f.setContent(b,d);f.reset(b);e("#"+b+"_iframe").load(function(){e.isFunction(a.callback)&&
setTimeout(function(){a.callback(h)},a.callbackTimeout)}).attr("src",a.url)}else if(a.type=="selector"){if(d=e(a.url||a.content).html()){f.setContent(b,d);f.reset(b)}e.isFunction(a.callback)&&setTimeout(function(){a.callback(h)},a.callbackTimeout)}else{if(a.type!="customize")if(a.valign&&/center|top|middle|baseline|bottom/.test(a.valign)){if("center"==a.valign)a.valign="middle";d=a.height-40;if(typeof a.onOk=="function"||typeof a.onCancel=="function")d-=25;f.setContent(b,'<table width="100%" height="'+
d+'"><tr><td valign="'+a.valign+'">'+a.content+"</td></tr></table>")}else f.setContent(b,a.content);f.reset(b);!a.type&&e.isFunction(a.callback)&&setTimeout(function(){a.callback(h)},a.callbackTimeout)}d=f.parts[b];a.title?d.title.show():d.title.hide();a.move&&d.title.css("cursor","move");if(a.type!="customize"){a.width&&h.width(a.width);a.height&&h.height(a.height)}a.closeImg?d.close.show().unbind("click").click(function(){var j=e(this).parent().attr("id").replace("dialog_","");e.dialog.close(j)}):
d.close.hide();if(e.isFunction(a.onOk)||e.isFunction(a.onCancel)){d.button.show();e.isFunction(a.onOk)?d.ok.show():d.ok.hide();e.isFunction(a.onCancel)?d.cancel.show():d.cancel.hide();e.isFunction(a.onOk)&&d.ok.unbind("click").click(function(){a.onOk(h)});e.isFunction(a.onCancel)&&d.cancel.unbind("click").click(function(){a.onCancel(h)})}else d.button.hide();c(d.content,"styleContent");c(d.title,"styleTitle");c(d.button,"styleBtn");c(d.ok,"styleOk");c(d.cancel,"styleCancel");c(h,"styleDialog");f.show(b);
return f},resize:function(a){var c=this.list[a],b=this.parts[a];a=this.options[a];if(!(a.type=="customize"||!a.resizable)){var d,g,f=0,h=b.content.children("div,img,table,iframe").eq(0),k=parseInt(b.content.css("paddingTop"))+parseInt(b.content.css("paddingBottom"))+5;d=parseInt(b.content.css("paddingLeft"))+parseInt(b.content.css("paddingRight"));c.css({height:""});e.IE6||b.content.css({height:""});if(a.onOk||a.onCancel)f+=b.button.outerHeight();if(a.title)f+=b.title.outerHeight();d=h.size()?h.outerWidth()+
d:b.content.outerWidth();g=b.content.outerHeight();a.height&&g<a.height-f-k&&b.content.height(a.height-f-k);if(!a.fixedWidth){if(a.width&&a.width>d||!h.css("width")){d=a.width;b.content.width(a.width-parseInt(b.title.css("paddingTop"))*2)}c.css({width:d+"px"})}g>this.windowHeight&&c.css("top",this.scrollTop)}},show:function(a){if(!a)a=this.config.id;var c=this,b=c.list[a],d=c.options[a],g,f=function(){b.css({opacity:""})};g=c.getPosition(a);c.setPosition(a,g);if(d.minScrollTop)d.minScrollTop>c.scrollTop&&
b.css({visibility:"hidden"});else{if(d.effects&&typeof d.isLoad=="undefined"){var h=g.top,k=b.height();b.stop().show();switch(d.effects){case "down":b.css({left:g.left,top:-1000,opacity:0.1}).animate({top:h,opacity:1},c.config.effect_time_down,f);setTimeout(function(){f()},c.config.effect_time_down);break;case "up":b.css({left:g.left,top:h+k,opacity:0.1}).animate({top:h,opacity:1},c.config.effect_time_up,f);setTimeout(function(){f()},c.config.effect_time_up);break;case "fade":b.css({left:g.left,top:g.top,
opacity:0.1});b.animate({opacity:1},c.config.effect_time_fade,f);setTimeout(function(){f()},c.config.effect_time_fade);break}}else if(d.effects){b=c.list[a];/^(?:up|down)$/i.test(d.effects)&&d.resetTime>0?b.show().animate({top:g.top,left:g.left,opacity:1},d.resetTime,f):b.show().css({top:g.top,left:g.left,opacity:""})}else b.css({top:g.top,left:g.left,opacity:""}).show();b.css({zIndex:++c.config.zIndex})}setTimeout(function(){var j=b.find(":text").filter(":visible");j.length||(j=b.find("textarea:visible"));
if(j.length){j.eq(0).focus();j=j.eq(0)[0];if(j.createTextRange){j=j.createTextRange();j.select();j.collapse(c.config.focusStart);j.select()}else if(j.setSelectionRange)c.config.focusStart?j.setSelectionRange(0,0):j.setSelectionRange(j.value.length,j.value.length)}},200);c.isOpen[a]=1;c.isClose[a]=0;return c},autoClose:function(a){var c=this.options[a];c.clockAutoClose&&clearTimeout(c.clockAutoClose);c.clockAutoClose=setTimeout(function(){e.dialog.close(a)},c.autoClose);return false},close:function(a){function c(){d.stop().css({top:-1999,
opacity:"",display:"none"});b.isOpen[a]=0;b.isClose[a]=1;b.hideOverlay()}a||(a=this.list.length-1);if(typeof this.list[a]!="undefined"){var b=this,d=b.list[a],g=b.options[a],f=d.height(),h=b.getPosition(a);if(d&&b.isShow(a)){b.fn_clockScroll[g.id]&&e(window).unbind("scroll",b.fn_clockScroll[g.id]);g.clockAutoClose&&clearTimeout(g.clockAutoClose);d.unbind("mouseleave").stop();var k={duration:200,complete:c};switch(g.effects){case "down":d.animate({top:-1999,opacity:0.1},k);break;case "up":d.animate({top:h.top+
f+100,opacity:0.1},k);break;case "fade":d.animate({opacity:0.1},k);break;default:c()}}else d&&c();if(d)if(g.effects||e.IE6)setTimeout(function(){c()},500)}},isShow:function(a){if(this.isClose[a])return false;if(this.isOpen[a])return true},build:function(a){var c=this,b=a.id,d=c.list[b],g;g="dialog_"+b;var f=0;c.config.zIndex++;if(d){f=1;g=c.parts[b];g.title.html(a.title)}else{f=0;d=e("#"+g);var h=a.fixed&&!e.IE6?"fixed":"absolute";if(d.size()){d.css({position:h}).attr("customize","1");a.skin&&d.addClass(a.skin);
a.type="customize"}else{h='<div class="hudong_dialog '+a.skin+'" id="'+g+'" style="position:'+h+';">';h+='<h2 class="title">'+a.title+"</h2>";h+='<div class="content"></div>';h+='<div class="button">';h+='<input type="button" class="ok" name="ok" value="'+a.textOk+'"/>';h+='<input type="button" class="cancel" name="cancel" value="'+a.textCancel+'"/>';h+='</div><img class="close"></img></div>';e("body").append(h);d=e("#"+g)}c.list[b]=d;g=c.parts[b]={title:d.children("h2.title"),close:d.children("img.close"),
content:d.children("div.content"),button:d.children("div.button"),ok:d.find("input.ok"),cancel:d.find("input.cancel")};if(!g.title)g.title=d.find("[name='dialog_title']");if(!g.close)g.close=d.find("[name='dialog_close']")}d.stop().css({zIndex:c.config.zIndex++,opacity:""});if(a.key&&c.keys[b]==a.key)if(c.isShow(b))e.dialog.close(b);else{c.show(b);e.isFunction(a.callback)&&setTimeout(function(){a.callback(d)},a.callbackTimeout)}else{c.setOptions(a);c.keys[b]=a.key?a.key:"";if(a.autoClose){a.autoClose=
parseInt(a.autoClose);a.autoClose=isNaN(a.autoClose)?2E3:a.autoClose;c.autoClose(a.id);a.title&&!a.forceClose&&d.unbind("mouseover").mouseover(function(){clearTimeout(a.clockAutoClose)}).unbind("mouseleave").mouseleave(function(){var k=e(this).attr("id").replace("dialog_","");c.autoClose(k)})}if(!f){d.unbind("click").click(function(){var k,j;k=e(this).attr("id").replace("dialog_","");j=e.dialog.get(k);if(c.config.id!=k){c.config.lastid=c.config.id;c.config.id=k;c.config.zIndex+=1;j.css({opacity:"",
zIndex:c.config.zIndex})}});if(g.title.length){a.move&&g.title.unbind("mousedown").mousedown(function(k){var j,l;j=e(this).parents(".hudong_dialog").attr("id").replace("dialog_","");l=e.dialog.get(j);c.config.zIndex+=1;l.css({zIndex:c.config.zIndex});var m=l.offset();c.config.offsetClick={width:k.pageX-m.left,height:k.pageY-m.top,left:l.css("left"),top:l.css("top")};var o=function(n){c.move(n,j);return false},p=function(){return false};e(document).mousemove(o).bind("selectstart",p);e(document).one("mouseup",
function(n){var r=c.config.offsetClick;r={left:r.left,top:r.top};if(n.clientY<0||n.clientX<2||n.clientX>e(document).width()||n.clientY>e(window).height())l.css(r);e(document).unbind("mousemove",o).unbind("selectstart",p);return false});return false});a.title&&a.model.indexOf("mini")>-1&&g.title.unbind("dblclick").bind("dblclick",function(){var k=e(this).parents(".hudong_dialog").attr("id").replace("dialog_","");c.parts[k].content.toggle();return false});g.title.unbind("selectstart").bind("selectstart",
function(){return false})}return this}}},move:function(a,c){var b=this.list[c];c=this.options[c];var d=this.config.offsetClick,g=a.pageX-d.width;a=a.pageY-d.height;this.bodyLeft=this.bodyLeft||e("body").position().left;if(c.fixed)e.IE6||(a-=this.scrollTop);else g=parseInt(g-this.bodyLeft);b.css({left:g,top:a});return false},setPosition:function(a,c){var b=this.list[a],d=this.options[a];c=c||this.getPosition(a);if(typeof c=="object")/up|down/i.test(d.effects)||b.css(c)},getPosition:function(a){var c=
0,b=0,d=this.list[a];a=this.options[a];var g=this.windowWidth,f=this.windowHeight,h=this.scrollTop,k=this.scrollLeft,j=d.outerHeight();d=d.outerWidth();a.position=a.position||"middle";switch(a.position){case "center":case "middle":case "c":case "m":c=(g-d)/2;b=(f-j)/2;break;case "rb":case "br":case "rightBottom":case "bottomRight":c=g-d-4;b=f-j-3;break;case "rt":case "tr":case "rightTop":case "topRight":c=g-d-4;b=1;break;case "lt":case "tl":case "leftTop":case "topLeft":b=c=0;break;case "ct":case "tc":case "centerTop":case "topCenter":c=
(g-d)/2;b=0;break;case "cb":case "bc":case "centerBottom":case "bottomCenter":c=(g-d)/2;b=f-j;break;case "lb":case "bl":case "leftBottom":case "bottomLeft":c=0;b=f-j-3;break;default:if(typeof a.position!="object")break;c=e(a.position);if(!e.IE&&c.find("img").length>0)c=c.find("img");var l=c.offset(),m=c.outerHeight();c=c.outerWidth();var o,p,n;o=l.left-k+c;p=g+k-l.left;b=l.top-h+m;n=f+h-l.top;c=p>d&&o>d?p>o?l.left-3:l.left+c-d+3:p>d?l.left-3:o>d?l.left+c-d+3:k+(g-d)/2;b=n>j?m<50?l.top+m:l.top:b>j?
m<50?l.top-j:l.top-j+m:h+(f-j)/2;b=b>h?b:h;b=f+h>l.top+m?b:f+h-j}if(typeof a.position!="object"&&(!a.fixed||e.IE6)){c+=k;b+=h}this.bodyLeft||q();if(!a.fixed&&this.bodyPosition=="relative")c-=this.bodyLeft;else if(a.fixed&&e.IE6)c-=this.bodyLeft;c+=a.offsetX;b+=a.offsetY;b=b>0?b:0;c=c>0?c:0;return{left:c,top:b}},hideOverlay:function(){for(id in this.options)if(this.options[id].overlay&&this.isShow(id))return false;e("div.hudong_overlay").hide()},setOverlay:function(a){var c="hudong_overlay"+a,b=e(document).height(),
d="100%",g=0;a=this.options[a];var f=e("div#"+c);if(f.length>0)f.show();else{e("body").append('<div class="hudong_overlay" id="'+c+'"></div>');f=e("div#"+c)}this.windowWidth=e(window).width();this.bodyLeft=e(document).find("body").position().left;if(!this.bodyLeft&&this.windowWidth>this.bodyWidth)this.bodyLeft=(this.windowWidth-this.bodyWidth)/2;this.bodyLeft||q();if(this.bodyPosition=="relative"){d=this.windowWidth;g=-this.bodyLeft}a.styleOverlay&&f.css(a.styleOverlay);f.css({left:g,width:d,height:b,
zIndex:this.config.zIndex});return this}};e.dialog=function(a){e._dialog.open(a)};e.extend(e.dialog,{box:function(a,c,b,d,g){this.open(a,c,b,d,g,{valign:"center",styleOverlay:{backgroundColor:"#FFFFFF"}})},get:function(a){var c=e._dialog.list[a];if(c)return c;else alert("\u63d0\u793a\uff1aid\u4e3a"+a+"\u7684dialog\u4e0d\u5b58\u5728\u3002")},options:function(a){return e._dialog.options[a]},open:function(a,c,b,d,g,f){a={id:a,title:c,position:d,callback:g,width:350,height:200};if(f&&typeof f=="object")for(var h in f)a[h]=
f[h];if(b.substr(0,4)=="url:"){a.type="url";a.url=b.substr(4)}else if(b.substr(0,4)=="img:"){a.type="img";a.url=b.substr(4)}else if(b.substr(0,7)=="iframe:"){a.type="iframe";a.url=b.substr(7)}else if(b.substr(0,9)=="selector:"){a.type="selector";a.content=b.substr(9)}else a.content=b;e._dialog.open(a)},tip:function(a,c,b,d,g,f){c=c||"\u63d0\u793a";b=b||3E4;d=d||e._dialog.config.skin;f=f||"jquery_dialog_tip";height=typeof g=="function"?180:200;e._dialog.open({id:f,title:c,position:"c",skin:d,content:a,
valign:"center",width:320,height:height,autoClose:b,onOk:g,styleContent:{verticalAlign:"middle"},offsetY:-80,resetTime:0,resizable:0})},alert:function(a,c,b,d,g){g=g||"jquery_dialog_alert";this.tip(a,c,b,d,function(){e._dialog.close(g)},g)},addSkin:function(a){a=a.replace(/{base}/i,e._dialog.config.base);e("head").append("<style>"+a+"</style>")},close:function(a){var c=e._dialog.options[a];if(typeof c=="undefined")alert("\u63d0\u793a\uff1aid="+a+" \u7684dialog\u4e0d\u5b58\u5728\uff01");else{e.isFunction(c.onClose)&&
c.onClose();e._dialog.close(a)}},resize:function(a){e._dialog.resize(a)},show:function(a){e._dialog.show(a)},ok:function(a){e._dialog.close(a)},exist:function(a){return e._dialog.list[a]},setConfig:function(a,c,b){if(!a)return this;b=b||"config";if(typeof a=="string"&&c!==null)e._dialog[b][a]=c;else typeof a=="object"&&e.extend(e._dialog[b],a);return this},setDefaults:function(a,c){return this.setConfig(a,c,"defaults")},content:function(a,c){if(c){e._dialog.setContent(a,c);e._dialog.resize(a)}else return(a=
this.get(a))?a.find("div.content").html():""},remove:function(a){this.get(a).remove();e._dialog.list[a]=null;e._dialog.options[a]=null},initSize:function(){q()}});/^http:\/\/(\w+\.){1,2}hudong\.com/i.test(location.href)&&e.dialog.setConfig({base:"http://www.huimg.cn/lib/dialog",skin:"bluebox"})})(jQuery);

