")[0],x=u.each,K.style.cssText="background-color:rgba(1,1,1,.5)",w.rgba=-1s.mod/2?n+=s.mod:n-o>s.mod/2&&(n-=s.mod)),c[i]=A((o-n)*r+n,e)))}),this[e](c)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=v(t)._rgba;return v(u.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return i.wrap(t),i[0]!==o&&!_.contains(i[0],o)||_(o).trigger("focus"),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(_.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),_.each(["top","left","bottom","right"],function(t,e){n[e]=i.css(e),isNaN(parseInt(n[e],10))&&(n[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(n).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!_.contains(t[0],e)||_(e).trigger("focus")),t}}),_.extend(_.effects,{version:"1.12.1",define:function(t,e,i){return i||(i=e,e="effect"),_.effects.effect[t]=i,_.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,e="vertical"!==i?(e||100)/100:1;return{height:t.height()*e,width:t.width()*n,outerHeight:t.outerHeight()*e,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();1").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(I+"placeholder",e)),t.css({position:i,left:n.left,top:n.top}),e},removePlaceholder:function(t){var e=I+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){_.effects.restoreStyle(t),_.effects.removePlaceholder(t)},setTransition:function(n,t,o,s){return s=s||{},_.each(t,function(t,e){var i=n.cssUnit(e);0").appendTo("body").addClass(t.className).css({top:n.top-r,left:n.left-a,height:i.innerHeight(),width:i.innerWidth(),position:o?"fixed":"absolute"}).animate(s,t.duration,t.easing,function(){c.remove(),_.isFunction(e)&&e()})}}),_.fx.step.clip=function(t){t.clipInit||(t.start=_(t.elem).cssClip(),"string"==typeof t.end&&(t.end=V(t.end,t.elem)),t.clipInit=!0),_(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},O={},_.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){O[t]=function(t){return Math.pow(t,e+2)}}),_.extend(O,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),_.each(O,function(t,e){_.easing["easeIn"+t]=e,_.easing["easeOut"+t]=function(t){return 1-e(1-t)},_.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}});var K=_.effects;_.effects.define("blind","hide",function(t,e){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=_(this),o=t.direction||"up",s=n.cssClip(),r={clip:_.extend({},s)},a=_.effects.createPlaceholder(n);r.clip[i[o][0]]=r.clip[i[o][1]],"show"===t.mode&&(n.cssClip(r.clip),a&&a.css(_.effects.clipToBox(r)),r.clip=s),a&&a.animate(_.effects.clipToBox(r),t.duration,t.easing),n.animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),_.effects.define("bounce",function(t,e){var i,n,o=_(this),s=t.mode,r="hide"===s,a="show"===s,c=t.direction||"up",f=t.distance,l=t.times||5,s=2*l+(a||r?1:0),h=t.duration/s,u=t.easing,d="up"===c||"down"===c?"top":"left",p="up"===c||"left"===c,g=0,t=o.queue().length;for(_.effects.createPlaceholder(o),c=o.css(d),f=f||o["top"==d?"outerHeight":"outerWidth"]()/3,a&&((n={opacity:1})[d]=c,o.css("opacity",0).css(d,p?2*-f:2*f).animate(n,h,u)),r&&(f/=Math.pow(2,l-1)),(n={})[d]=c;g").css({position:"absolute",visibility:"visible",left:-n*d,top:-i*p}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:d,height:p,left:o+(h?r*d:0),top:s+(h?a*p:0),opacity:h?0:1}).animate({left:o+(h?0:r*d),top:s+(h?0:a*p),opacity:h?1:0},t.duration||500,t.easing,m)}),_.effects.define("fade","toggle",function(t,e){var i="show"===t.mode;_(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),_.effects.define("fold","hide",function(e,t){var i=_(this),n=e.mode,o="show"===n,s="hide"===n,r=e.size||15,a=/([0-9]+)%/.exec(r),c=!!e.horizFirst?["right","bottom"]:["bottom","right"],f=e.duration/2,l=_.effects.createPlaceholder(i),h=i.cssClip(),u={clip:_.extend({},h)},d={clip:_.extend({},h)},p=[h[c[0]],h[c[1]]],n=i.queue().length;a&&(r=parseInt(a[1],10)/100*p[s?0:1]),u.clip[c[0]]=r,d.clip[c[0]]=r,d.clip[c[1]]=0,o&&(i.cssClip(d.clip),l&&l.css(_.effects.clipToBox(d)),d.clip=h),i.queue(function(t){l&&l.animate(_.effects.clipToBox(u),f,e.easing).animate(_.effects.clipToBox(d),f,e.easing),t()}).animate(u,f,e.easing).animate(d,f,e.easing).queue(t),_.effects.unshift(i,n,4)}),_.effects.define("highlight","show",function(t,e){var i=_(this),n={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(n.opacity=0),_.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(n,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),_.effects.define("size",function(n,e){var o,i=_(this),t=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],r=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=n.mode,c="effect"!==a,f=n.scale||"both",l=n.origin||["middle","center"],h=i.css("position"),u=i.position(),d=_.effects.scaledDimensions(i),p=n.from||d,g=n.to||_.effects.scaledDimensions(i,0);_.effects.createPlaceholder(i),"show"===a&&(a=p,p=g,g=a),o={from:{y:p.height/d.height,x:p.width/d.width},to:{y:g.height/d.height,x:g.width/d.width}},"box"!==f&&"both"!==f||(o.from.y!==o.to.y&&(p=_.effects.setTransition(i,s,o.from.y,p),g=_.effects.setTransition(i,s,o.to.y,g)),o.from.x!==o.to.x&&(p=_.effects.setTransition(i,r,o.from.x,p),g=_.effects.setTransition(i,r,o.to.x,g))),"content"!==f&&"both"!==f||o.from.y!==o.to.y&&(p=_.effects.setTransition(i,t,o.from.y,p),g=_.effects.setTransition(i,t,o.to.y,g)),l&&(l=_.effects.getBaseline(l,d),p.top=(d.outerHeight-p.outerHeight)*l.y+u.top,p.left=(d.outerWidth-p.outerWidth)*l.x+u.left,g.top=(d.outerHeight-g.outerHeight)*l.y+u.top,g.left=(d.outerWidth-g.outerWidth)*l.x+u.left),i.css(p),"content"!==f&&"both"!==f||(s=s.concat(["marginTop","marginBottom"]).concat(t),r=r.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var t=_(this),e=_.effects.scaledDimensions(t),i={height:e.height*o.from.y,width:e.width*o.from.x,outerHeight:e.outerHeight*o.from.y,outerWidth:e.outerWidth*o.from.x},e={height:e.height*o.to.y,width:e.width*o.to.x,outerHeight:e.height*o.to.y,outerWidth:e.width*o.to.x};o.from.y!==o.to.y&&(i=_.effects.setTransition(t,s,o.from.y,i),e=_.effects.setTransition(t,s,o.to.y,e)),o.from.x!==o.to.x&&(i=_.effects.setTransition(t,r,o.from.x,i),e=_.effects.setTransition(t,r,o.to.x,e)),c&&_.effects.saveStyle(t),t.css(i),t.animate(e,n.duration,n.easing,function(){c&&_.effects.restoreStyle(t)})})),i.animate(g,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var t=i.offset();0===g.opacity&&i.css("opacity",p.opacity),c||(i.css("position","static"===h?"relative":h).offset(t),_.effects.saveStyle(i)),e()}})}),_.effects.define("scale",function(t,e){var i=_(this),n=t.mode,n=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==n?0:100),n=_.extend(!0,{from:_.effects.scaledDimensions(i),to:_.effects.scaledDimensions(i,n,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(n.from.opacity=1,n.to.opacity=0),_.effects.effect.size.call(this,n,e)}),_.effects.define("puff","hide",function(t,e){t=_.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});_.effects.effect.scale.call(this,t,e)}),_.effects.define("pulsate","show",function(t,e){var i=_(this),n=t.mode,o="show"===n,s=2*(t.times||5)+(o||"hide"===n?1:0),r=t.duration/s,a=0,c=1,n=i.queue().length;for(!o&&i.is(":visible")||(i.css("opacity",0).show(),a=1);c= 1){return (o-1) <= 0 ? t : (o-1);}else{return t;}}else{if(o < t) {return (o+1);}else{return 1;}}}function upi_log_io(io, p, j) {j_d = {'cmt_wnd':0};if(typeof j=="object"){j_d=jQuery.extend(j_d,j)}jQuery.ajax({type: 'POST', cache: false,url: '/accounts/logio',data: p,dataType: 'json',success: function(d) {if(io == 'i') {var msg = d.msg ? d.msg : 'unable to login';jQuery('.dialog').html(msg);if(d.loggedin) {if(d.hdr) {jQuery('#account_hc').html(d.hdr);}if(j_d.redir) {window.location = '/accounts';} else {upi_ol.close();}}}else{if(d.hdr) {jQuery('#account_hc').html(d.hdr);}}}});}var upi_ol = {go: function(url, op) {upi_ol.ol_shown = 1;var cont_div = jQuery('#upi_ol_div').find('.content');jQuery('#upi_ol_div').css({width: '200px', height: '40px'});cont_div.css({width: '200px', height: '40px'});cont_div.empty().html('

');upi_ol.xy_opac(1);jQuery('#upi_ol_div').fadeIn('fast');var ol_x = op.x ? op.x : 500;var ol_y = op.y ? op.y : 500;if(ol_x >= wnd_x) {ol_x = wnd_x - 100;}if(ol_y >= wnd_y) {ol_y = wnd_y - 100;}if(op.iframe) {cont_div.css({overflow: 'hidden'});cont_div.append('