(function(la,ma,na,oa,K,pa,y,qa,B,aa,ba,ra,sa,ca,ta,da,ua,L,va,M,ea,fa,wa,xa,ya,za,Aa,Ba,Ca,Da,b,Ea,Fa,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,db,l,n){var f=Jmol.__$;if(!f.ui)try{var k=f,O=function(a,c){var b,d,e,h=a.nodeName.toLowerCase();return"area"===h?(b=a.parentNode,d=b.name,!a.href||!d||"map"!==b.nodeName.toLowerCase()?!1:(e=k("img[usemap=#"+d+"]")[0],!!e&&N(e))):(/input|select|textarea|button|object/.test(h)?!a.disabled:"a"===h?a.href||c:c)&&N(a)},N=function(a){return k.expr.filters.visible(a)&&
!k(a).parents().andSelf().filter(function(){return"hidden"===k.css(this,"visibility")}).length},ga=0,ha=/^ui-id-\d+$/;k.ui=k.ui||{};if(!k.ui.version){k.extend(k.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});k.fn.extend({_focus:k.fn.focus,focus:function(a,c){return"number"==
typeof a?this.each(function(){var b=this;setTimeout(function(){k(b).focus();c&&c.call(b)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;return k.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?a=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(k.css(this,"position"))&&/(auto|scroll)/.test(k.css(this,"overflow")+k.css(this,"overflow-y")+k.css(this,"overflow-x"))}).eq(0):a=this.parents().filter(function(){return/(auto|scroll)/.test(k.css(this,
"overflow")+k.css(this,"overflow-y")+k.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!a.length?k(document):a},zIndex:function(a){if(void 0!==a)return this.css("zIndex",a);if(this.length){a=k(this[0]);for(var c;a.length&&a[0]!==document;){c=a.css("position");if("absolute"===c||"relative"===c||"fixed"===c)if(c=parseInt(a.css("zIndex"),10),!isNaN(c)&&0!==c)return c;a=a.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++ga)})},removeUniqueId:function(){return this.each(function(){ha.test(this.id)&&
k(this).removeAttr("id")})}});k.extend(k.expr[":"],{data:k.expr.createPseudo?k.expr.createPseudo(function(a){return function(c){return!!k.data(c,a)}}):function(a,c,b){return!!k.data(a,b[3])},focusable:function(a){return O(a,!isNaN(k.attr(a,"tabindex")))},tabbable:function(a){var c=k.attr(a,"tabindex"),b=isNaN(c);return(b||0<=c)&&O(a,!b)}});k(function(){var a=document.body,c=a.appendChild(c=document.createElement("div"));c.offsetHeight;k.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});
k.support.minHeight=100===c.offsetHeight;k.support.selectstart="onselectstart"in c;a.removeChild(c).style.display="none"});k("<a>").outerWidth(1).jquery||k.each(["Width","Height"],function(a,c){function b(a,c,g,e){return k.each(d,function(){c-=parseFloat(k.css(a,"padding"+this))||0;g&&(c-=parseFloat(k.css(a,"border"+this+"Width"))||0);e&&(c-=parseFloat(k.css(a,"margin"+this))||0)}),c}var d="Width"===c?["Left","Right"]:["Top","Bottom"],e=c.toLowerCase(),h={innerWidth:k.fn.innerWidth,innerHeight:k.fn.innerHeight,
outerWidth:k.fn.outerWidth,outerHeight:k.fn.outerHeight};k.fn["inner"+c]=function(a){return void 0===a?h["inner"+c].call(this):this.each(function(){k(this).css(e,b(this,a)+"px")})};k.fn["outer"+c]=function(a,d){return"number"!=typeof a?h["outer"+c].call(this,a):this.each(function(){k(this).css(e,b(this,a,!0,d)+"px")})}});if(k("<a>").data("a-b","a").removeData("a-b").data("a-b")){var Q=k.fn.removeData;k.fn.removeData=function(a){return arguments.length?Q.call(this,k.camelCase(a)):Q.call(this)}}var R=
/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];k.ui.ie=R.length?!0:!1;k.ui.ie6=6===parseFloat(R[1],10);k.fn.extend({disableSelection:function(){return this.bind((k.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});k.extend(k.ui,{plugin:{add:function(a,c,b){var d;a=k.ui[a].prototype;for(d in b)a.plugins[d]=a.plugins[d]||[],a.plugins[d].push([c,b[d]])},call:function(a,
c,b){var d=a.plugins[c];if(d&&a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType)for(c=0;c<d.length;c++)a.options[d[c][0]]&&d[c][1].apply(a.element,b)}},contains:k.contains,hasScroll:function(a,c){if("hidden"===k(a).css("overflow"))return!1;var b=c&&"left"===c?"scrollLeft":"scrollTop";return 0<a[b]?!0:(a[b]=1,a[b]=0,!1)},isOverAxis:function(a,c,b){return a>c&&a<c+b},isOver:function(a,c,b,d,e,h){return k.ui.isOverAxis(a,b,e)&&k.ui.isOverAxis(c,d,h)}})}}catch(eb){System.out.println("coremenu failed to load jQuery.ui.core -- jQuery version conflict?")}if(!f.ui.widget)try{var j=
f,ia=0,S=Array.prototype.slice,ja=j.cleanData;j.cleanData=function(a){for(var c=0,b;null!=(b=a[c]);c++)try{j(b).triggerHandler("remove")}catch(d){}ja(a)};j.widget=function(a,c,b){var d,e,h,m,f=a.split(".")[0];a=a.split(".")[1];d=f+"-"+a;b||(b=c,c=j.Widget);j.expr[":"][d.toLowerCase()]=function(a){return!!j.data(a,d)};j[f]=j[f]||{};e=j[f][a];h=j[f][a]=function(a,c){if(!this._createWidget)return new h(a,c);arguments.length&&this._createWidget(a,c)};j.extend(h,e,{version:b.version,_proto:j.extend({},
b),_childConstructors:[]});m=new c;m.options=j.widget.extend({},m.options);j.each(b,function(a,d){if(j.isFunction(d)){var e=function(){return c.prototype[a].apply(this,arguments)},h=function(b){return c.prototype[a].apply(this,b)};b[a]=function(){var a=this._super,c=this._superApply,b;return this._super=e,this._superApply=h,b=d.apply(this,arguments),this._super=a,this._superApply=c,b}}});h.prototype=j.widget.extend(m,{widgetEventPrefix:e?m.widgetEventPrefix:a},b,{constructor:h,namespace:f,widgetName:a,
widgetBaseClass:d,widgetFullName:d});e?(j.each(e._childConstructors,function(a,c){var b=c.prototype;j.widget(b.namespace+"."+b.widgetName,h,c._proto)}),delete e._childConstructors):c._childConstructors.push(h);j.widget.bridge(a,h)};j.widget.extend=function(a){for(var c=S.call(arguments,1),b=0,d=c.length,e,h;b<d;b++)for(e in c[b])h=c[b][e],c[b].hasOwnProperty(e)&&void 0!==h&&(j.isPlainObject(h)?a[e]=j.isPlainObject(a[e])?j.widget.extend({},a[e],h):j.widget.extend({},h):a[e]=h);return a};j.widget.bridge=
function(a,c){var b=c.prototype.widgetFullName||a;j.fn[a]=function(d){var e="string"==typeof d,h=S.call(arguments,1),m=this;return d=!e&&h.length?j.widget.extend.apply(null,[d].concat(h)):d,e?this.each(function(){var c,e=j.data(this,b);if(!e)return j.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+d+"'");if(!j.isFunction(e[d])||"_"===d.charAt(0))return j.error("no such method '"+d+"' for "+a+" widget instance");c=e[d].apply(e,h);if(c!==e&&void 0!==c)return m=
c&&c.jquery?m.pushStack(c.get()):c,!1}):this.each(function(){var a=j.data(this,b);a?a.option(d||{})._init():j.data(this,b,new c(d,this))}),m}};j.Widget=function(){};j.Widget._childConstructors=[];j.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(a,c){c=j(c||this.defaultElement||this)[0];this.element=j(c);this.uuid=ia++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=j.widget.extend({},this.options,
this._getCreateOptions(),a);this.bindings=j();this.hoverable=j();this.focusable=j();c!==this&&(j.data(c,this.widgetName,this),j.data(c,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===c&&this.destroy()}}),this.document=j(c.style?c.ownerDocument:c.document||c),this.window=j(this.document[0].defaultView||this.document[0].parentWindow));this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:j.noop,_getCreateEventData:j.noop,
_create:j.noop,_init:j.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(j.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:j.noop,widget:function(){return this.element},
option:function(a,c){var b=a,d,e,h;if(0===arguments.length)return j.widget.extend({},this.options);if("string"==typeof a)if(b={},d=a.split("."),a=d.shift(),d.length){e=b[a]=j.widget.extend({},this.options[a]);for(h=0;h<d.length-1;h++)e[d[h]]=e[d[h]]||{},e=e[d[h]];a=d.pop();if(void 0===c)return void 0===e[a]?null:e[a];e[a]=c}else{if(void 0===c)return void 0===this.options[a]?null:this.options[a];b[a]=c}return this._setOptions(b),this},_setOptions:function(a){for(var c in a)this._setOption(c,a[c]);
return this},_setOption:function(a,c){return this.options[a]=c,"disabled"===a&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!c).attr("aria-disabled",c),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(a,c,b){var d,e=this;"boolean"!=typeof a&&(b=c,c=a,a=!1);b?(c=d=j(c),this.bindings=this.bindings.add(c)):
(b=c,c=this.element,d=this.widget());j.each(b,function(b,g){function f(){if(a||!(!0===e.options.disabled||j(this).hasClass("ui-state-disabled")))return("string"==typeof g?e[g]:g).apply(e,arguments)}"string"!=typeof g&&(f.guid=g.guid=g.guid||f.guid||j.guid++);var k=b.match(/^(\w+)\s*(.*)$/),l=k[1]+e.eventNamespace;(k=k[2])?d.delegate(k,l,f):c.bind(l,f)})},_off:function(a,c){c=(c||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;a.unbind(c).undelegate(c)},_delay:function(a,c){var b=
this;return setTimeout(function(){return("string"==typeof a?b[a]:a).apply(b,arguments)},c||0)},_hoverable:function(a){this.hoverable=this.hoverable.add(a);this._on(a,{mouseenter:function(a){j(a.currentTarget).addClass("ui-state-hover")},mouseleave:function(a){j(a.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(a){this.focusable=this.focusable.add(a);this._on(a,{focusin:function(a){j(a.currentTarget).addClass("ui-state-focus")},focusout:function(a){j(a.currentTarget).removeClass("ui-state-focus")}})},
_trigger:function(a,c,b){var d,e=this.options[a];b=b||{};c=j.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();c.target=this.element[0];if(a=c.originalEvent)for(d in a)d in c||(c[d]=a[d]);return this.element.trigger(c,b),!(j.isFunction(e)&&!1===e.apply(this.element[0],[c].concat(b))||c.isDefaultPrevented())}};j.each({show:"fadeIn",hide:"fadeOut"},function(a,c){j.Widget.prototype["_"+a]=function(b,d,e){"string"==typeof d&&(d={effect:d});var h,m=d?!0===d||"number"==
typeof d?c:d.effect||c:a;d=d||{};"number"==typeof d&&(d={duration:d});h=!j.isEmptyObject(d);d.complete=e;d.delay&&b.delay(d.delay);h&&j.effects&&(j.effects.effect[m]||!1!==j.uiBackCompat&&j.effects[m])?b[a](d):m!==a&&b[m]?b[m](d.duration,d.easing,e):b.queue(function(c){j(this)[a]();e&&e.call(b[0]);c()})}});!1!==j.uiBackCompat&&(j.Widget.prototype._getCreateOptions=function(){return j.metadata&&j.metadata.get(this.element[0])[this.widgetName]})}catch(fb){System.out.println("coremenu failed to load jQuery.ui.widget -- jQuery version conflict?")}if(!f.ui.mouse)try{var C=
!1;f(document).mouseup(function(){C=!1});f.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(!0===f.data(c.target,a.widgetName+".preventClickEvent"))return f.removeData(c.target,a.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.unbind("."+
this.widgetName);this._mouseMoveDelegate&&f(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(a){if(!C){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,b=1===a.which,d="string"==typeof this.options.cancel&&a.target.nodeName?f(a.target).closest(this.options.cancel).length:!1;if(!b||d||!this._mouseCapture(a))return!0;(this.mouseDelayMet=!this.options.delay)||(this._mouseDelayTimer=
setTimeout(function(){c.mouseDelayMet=!0},this.options.delay));return this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(a),!this._mouseStarted)?(a.preventDefault(),!0):(!0===f.data(a.target,this.widgetName+".preventClickEvent")&&f.removeData(a.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return c._mouseMove(a)},this._mouseUpDelegate=function(a){return c._mouseUp(a)},f(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+
this.widgetName,this._mouseUpDelegate),a.preventDefault(),C=!0,!0)}},_mouseMove:function(a){return!f.ui.ie||9<=document.documentMode||a.button?this._mouseStarted?(this._mouseDrag(a),a.preventDefault()):(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,a),this._mouseStarted?this._mouseDrag(a):this._mouseUp(a)),!this._mouseStarted):this._mouseUp(a)},_mouseUp:function(a){return f(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+
this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,a.target===this._mouseDownEvent.target&&f.data(a.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(a)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}catch(gb){System.out.println("coremenu failed to load jQuery.ui.mouse -- jQuery version conflict?")}if(!f.ui.position)try{var U=
function(a,c,b){return[parseInt(a[0],10)*(T.test(a[0])?c/100:1),parseInt(a[1],10)*(T.test(a[1])?b/100:1)]};f.ui=f.ui||{};var D,z=Math.max,r=Math.abs,V=Math.round,W=/left|center|right/,X=/top|center|bottom/,Y=/[\+\-]\d+%?/,Z=/^\w+/,T=/%$/,ka=f.fn.position;f.position={scrollbarWidth:function(){if(void 0!==D)return D;var a,c,b=f("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),d=b.children()[0];return f("body").append(b),a=d.offsetWidth,
b.css("overflow","scroll"),c=d.offsetWidth,a===c&&(c=b[0].clientWidth),b.remove(),D=a-c},getScrollInfo:function(a){var c=a.isWindow?"":a.element.css("overflow-x"),b=a.isWindow?"":a.element.css("overflow-y"),b="scroll"===b||"auto"===b&&a.height<a.element[0].scrollHeight;return{width:"scroll"===c||"auto"===c&&a.width<a.element[0].scrollWidth?f.position.scrollbarWidth():0,height:b?f.position.scrollbarWidth():0}},getWithinInfo:function(a){a=f(a||window);var c=f.isWindow(a[0]);return{element:a,isWindow:c,
offset:a.offset()||{left:0,top:0},scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop(),width:c?a.width():a.outerWidth(),height:c?a.height():a.outerHeight()}}};f.fn.position=function(a){if(!a||!a.of)return ka.apply(this,arguments);a=f.extend({},a);var c,b,d,e,h,m=f(a.of),j=f.position.getWithinInfo(a.within),k=f.position.getScrollInfo(j),l=m[0],n=(a.collision||"flip").split(" "),p={};return 9===l.nodeType?(b=m.width(),d=m.height(),e={top:0,left:0}):f.isWindow(l)?(b=m.width(),d=m.height(),e={top:m.scrollTop(),
left:m.scrollLeft()}):l.preventDefault?(a.at="left top",b=d=0,e={top:l.pageY,left:l.pageX}):(b=m.outerWidth(),d=m.outerHeight(),e=m.offset()),h=f.extend({},e),f.each(["my","at"],function(){var c=(a[this]||"").split(" "),b,d;1===c.length&&(c=W.test(c[0])?c.concat(["center"]):X.test(c[0])?["center"].concat(c):["center","center"]);c[0]=W.test(c[0])?c[0]:"center";c[1]=X.test(c[1])?c[1]:"center";b=Y.exec(c[0]);d=Y.exec(c[1]);p[this]=[b?b[0]:0,d?d[0]:0];a[this]=[Z.exec(c[0])[0],Z.exec(c[1])[0]]}),1===n.length&&
(n[1]=n[0]),"right"===a.at[0]?h.left+=b:"center"===a.at[0]&&(h.left+=b/2),"bottom"===a.at[1]?h.top+=d:"center"===a.at[1]&&(h.top+=d/2),c=U(p.at,b,d),h.left+=c[0],h.top+=c[1],this.each(function(){var l,P,t=f(this),u=t.outerWidth(),v=t.outerHeight(),s=parseInt(f.css(this,"marginLeft"),10)||0,w=parseInt(f.css(this,"marginTop"),10)||0,x=u+s+(parseInt(f.css(this,"marginRight"),10)||0)+k.width,y=v+w+(parseInt(f.css(this,"marginBottom"),10)||0)+k.height,q=f.extend({},h),A=U(p.my,t.outerWidth(),t.outerHeight());
"right"===a.my[0]?q.left-=u:"center"===a.my[0]&&(q.left-=u/2);"bottom"===a.my[1]?q.top-=v:"center"===a.my[1]&&(q.top-=v/2);q.left+=A[0];q.top+=A[1];f.support.offsetFractions||(q.left=V(q.left),q.top=V(q.top));l={marginLeft:s,marginTop:w};f.each(["left","top"],function(e,h){f.ui.position[n[e]]&&f.ui.position[n[e]][h](q,{targetWidth:b,targetHeight:d,elemWidth:u,elemHeight:v,collisionPosition:l,collisionWidth:x,collisionHeight:y,offset:[c[0]+A[0],c[1]+A[1]],my:a.my,at:a.at,within:j,elem:t})});f.fn.bgiframe&&
t.bgiframe();a.using&&(P=function(c){var h=e.left-q.left,f=h+b-u,j=e.top-q.top,k=j+d-v,l={target:{element:m,left:e.left,top:e.top,width:b,height:d},element:{element:t,left:q.left,top:q.top,width:u,height:v},horizontal:0>f?"left":0<h?"right":"center",vertical:0>k?"top":0<j?"bottom":"middle"};b<u&&r(h+f)<b&&(l.horizontal="center");d<v&&r(j+k)<d&&(l.vertical="middle");z(r(h),r(f))>z(r(j),r(k))?l.important="horizontal":l.important="vertical";a.using.call(this,c,l)});t.offset(f.extend(q,{using:P}))})};
f.ui.position={fit:{left:function(a,c){var b=c.within,d=b.isWindow?b.scrollLeft:b.offset.left,b=b.width,e=a.left-c.collisionPosition.marginLeft,h=d-e,m=e+c.collisionWidth-b-d,f;c.collisionWidth>b?0<h&&0>=m?(f=a.left+h+c.collisionWidth-b-d,a.left+=h-f):0<m&&0>=h?a.left=d:h>m?a.left=d+b-c.collisionWidth:a.left=d:0<h?a.left+=h:0<m?a.left-=m:a.left=z(a.left-e,a.left)},top:function(a,c){var b=c.within,b=b.isWindow?b.scrollTop:b.offset.top,d=c.within.height,e=a.top-c.collisionPosition.marginTop,h=b-e,m=
e+c.collisionHeight-d-b,f;c.collisionHeight>d?0<h&&0>=m?(f=a.top+h+c.collisionHeight-d-b,a.top+=h-f):0<m&&0>=h?a.top=b:h>m?a.top=b+d-c.collisionHeight:a.top=b:0<h?a.top+=h:0<m?a.top-=m:a.top=z(a.top-e,a.top)}},flip:{left:function(a,c){var b=c.within,d=b.offset.left+b.scrollLeft,e=b.width,h=b.isWindow?b.scrollLeft:b.offset.left,m=a.left-c.collisionPosition.marginLeft,b=m-h,f=m+c.collisionWidth-e-h,m="left"===c.my[0]?-c.elemWidth:"right"===c.my[0]?c.elemWidth:0,j="left"===c.at[0]?c.targetWidth:"right"===
c.at[0]?-c.targetWidth:0,k=-2*c.offset[0];if(0>b){if(d=a.left+m+j+k+c.collisionWidth-e-d,0>d||d<r(b))a.left+=m+j+k}else if(0<f&&(d=a.left-c.collisionPosition.marginLeft+m+j+k-h,0<d||r(d)<f))a.left+=m+j+k},top:function(a,c){var b=c.within,d=b.offset.top+b.scrollTop,e=b.height,b=b.isWindow?b.scrollTop:b.offset.top,h=a.top-c.collisionPosition.marginTop,m=h-b,h=h+c.collisionHeight-e-b,f="top"===c.my[1]?-c.elemHeight:"bottom"===c.my[1]?c.elemHeight:0,j="top"===c.at[1]?c.targetHeight:"bottom"===c.at[1]?
-c.targetHeight:0,k=-2*c.offset[1],l,n;0>m?(n=a.top+f+j+k+c.collisionHeight-e-d,a.top+f+j+k>m&&(0>n||n<r(m))&&(a.top+=f+j+k)):0<h&&(l=a.top-c.collisionPosition.marginTop+f+j+k-b,a.top+f+j+k>h&&(0<l||r(l)<h)&&(a.top+=f+j+k))}},flipfit:{left:function(){f.ui.position.flip.left.apply(this,arguments);f.ui.position.fit.left.apply(this,arguments)},top:function(){f.ui.position.flip.top.apply(this,arguments);f.ui.position.fit.top.apply(this,arguments)}}};var s,w,x,E,F,G=document.getElementsByTagName("body")[0],
H=document.createElement("div");s=document.createElement(G?"div":"body");x={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};G&&f.extend(x,{position:"absolute",left:"-1000px",top:"-1000px"});for(F in x)s.style[F]=x[F];s.appendChild(H);w=G||document.documentElement;w.insertBefore(s,w.firstChild);H.style.cssText="position: absolute; left: 10.7432222px;";E=f(H).offset().left;f.support.offsetFractions=10<E&&11>E;s.innerHTML="";w.removeChild(s);if(!1!==f.uiBackCompat){var $=f.fn.position;
f.fn.position=function(a){if(!a||!a.offset)return $.call(this,a);var c=a.offset.split(" "),b=a.at.split(" ");return 1===c.length&&(c[1]=c[0]),/^\d/.test(c[0])&&(c[0]="+"+c[0]),/^\d/.test(c[1])&&(c[1]="+"+c[1]),1===b.length&&(/left|center|right/.test(b[0])?b[1]="center":(b[1]=b[0],b[0]="center")),$.call(this,f.extend(a,{at:b[0]+c[0]+" "+b[1]+c[1],offset:void 0}))}}}catch(hb){System.out.println("coremenu failed to load jQuery.ui.position -- jQuery version conflict?")}if(!f.ui.menu)try{var I=!1;f.widget("ui.menu",
{version:"1.9.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,f.proxy(function(a){this.options.disabled&&
a.preventDefault()},this));this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true");this._on({"mousedown .ui-menu-item > a":function(a){a.preventDefault()},"click .ui-state-disabled > a":function(a){a.preventDefault()},"click .ui-menu-item:has(a)":function(a){var b=f(a.target).closest(".ui-menu-item");!I&&b.not(".ui-state-disabled").length&&(I=!0,this.select(a),b.has(".ui-menu").length?this.expand(a):this.element.is(":focus")||(this.element.trigger("focus",[!0]),
this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(a){var b=f(a.currentTarget);b.siblings().children(".ui-state-active").removeClass("ui-state-active");this.focus(a,b)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(a,b){var g=this.active||this.element.children(".ui-menu-item").eq(0);b||this.focus(a,g)},blur:function(a){this._delay(function(){f.contains(this.element[0],this.document[0].activeElement)||
this.collapseAll(a)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(a){f(a.target).closest(".ui-menu").length||this.collapseAll(a);I=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();
this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var a=f(this);a.data("ui-menu-submenu-carat")&&a.remove()});this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(a){function b(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,
"\\$&")}var g,d,e,h,m=!0;switch(a.keyCode){case f.ui.keyCode.PAGE_UP:this.previousPage(a);break;case f.ui.keyCode.PAGE_DOWN:this.nextPage(a);break;case f.ui.keyCode.HOME:this._move("first","first",a);break;case f.ui.keyCode.END:this._move("last","last",a);break;case f.ui.keyCode.UP:this.previous(a);break;case f.ui.keyCode.DOWN:this.next(a);break;case f.ui.keyCode.LEFT:this.collapse(a);break;case f.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(a);break;case f.ui.keyCode.ENTER:case f.ui.keyCode.SPACE:this._activate(a);
break;case f.ui.keyCode.ESCAPE:this.collapse(a);break;default:m=!1,g=this.previousFilter||"",d=String.fromCharCode(a.keyCode),e=!1,clearTimeout(this.filterTimer),d===g?e=!0:d=g+d,h=RegExp("^"+b(d),"i"),g=this.activeMenu.children(".ui-menu-item").filter(function(){return h.test(f(this).children("a").text())}),g=e&&-1!==g.index(this.active.next())?this.active.nextAll(".ui-menu-item"):g,g.length||(d=String.fromCharCode(a.keyCode),h=RegExp("^"+b(d),"i"),g=this.activeMenu.children(".ui-menu-item").filter(function(){return h.test(f(this).children("a").text())})),
g.length?(this.focus(a,g),1<g.length?(this.previousFilter=d,this.filterTimer=this._delay(function(){delete this.previousFilter},1E3)):delete this.previousFilter):delete this.previousFilter}m&&a.preventDefault()},_activate:function(a){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(a):this.select(a))},refresh:function(){var a,b=this.options.icons.submenu;a=this.element.find(this.options.menus);a.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,
"aria-hidden":"true","aria-expanded":"false"}).each(function(){var a=f(this),d=a.prev("a"),e=f("<span>").addClass("ui-menu-icon ui-icon "+b).data("ui-menu-submenu-carat",!0);d.attr("aria-haspopup","true").prepend(e);a.attr("aria-labelledby",d.attr("id"))});a=a.add(this.element);a.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});a.children(":not(.ui-menu-item)").each(function(){var a=
f(this);/[^\-+\ufffdG\ufffd\ufffdG\ufffd?+\ufffdG\ufffd\ufffdG\ufffd\ufffd\s]/.test(a.text())||a.addClass("ui-widget-content ui-menu-divider")});a.children(".ui-state-disabled").attr("aria-disabled","true");this.active&&!f.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(a,b){var g;this.blur(a,a&&"focus"===a.type);this._scrollIntoView(b);this.active=b.first();g=this.active.children("a").addClass("ui-state-focus");
this.options.role&&this.element.attr("aria-activedescendant",g.attr("id"));this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active");a&&"keydown"===a.type?this._close():this.timer=this._delay(function(){this._close()},this.delay);g=b.children(".ui-menu");g.length&&/^mouse/.test(a.type)&&this._startOpening(g);this.activeMenu=b.parent();this._trigger("focus",a,{item:b})},_scrollIntoView:function(a){var b,g,d,e,h,m;this._hasScroll()&&(b=parseFloat(f.css(this.activeMenu[0],
"borderTopWidth"))||0,g=parseFloat(f.css(this.activeMenu[0],"paddingTop"))||0,d=a.offset().top-this.activeMenu.offset().top-b-g,e=this.activeMenu.scrollTop(),h=this.activeMenu.height(),m=a.height(),0>d?this.activeMenu.scrollTop(e+d):d+m>h&&this.activeMenu.scrollTop(e+d-h+m))},blur:function(a,b){b||clearTimeout(this.timer);this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",a,{item:this.active}))},_startOpening:function(a){clearTimeout(this.timer);
"true"===a.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close();this._open(a)},this.delay))},_open:function(a){var b=f.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(a.parents(".ui-menu")).hide().attr("aria-hidden","true");a.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(b)},collapseAll:function(a,b){clearTimeout(this.timer);this.timer=this._delay(function(){var g=b?this.element:f(a&&a.target).closest(this.element.find(".ui-menu"));
g.length||(g=this.element);this._close(g);this.blur(a);this.activeMenu=g},this.delay)},_close:function(a){a||(a=this.active?this.active.parent():this.element);a.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(a){var b=this.active&&this.active.parent().closest(".ui-menu-item",this.element);b&&b.length&&(this._close(),this.focus(a,b))},expand:function(a){var b=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();
b&&b.length&&(this._open(b.parent()),this._delay(function(){this.focus(a,b)}))},next:function(a){this._move("next","first",a)},previous:function(a){this._move("prev","last",a)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(a,b,g){var d;this.active&&("first"===a||"last"===a?d=this.active["first"===a?"prevAll":"nextAll"](".ui-menu-item").eq(-1):d=this.active[a+
"All"](".ui-menu-item").eq(0));if(!d||!d.length||!this.active)d=this.activeMenu.children(".ui-menu-item")[b]();this.focus(g,d)},nextPage:function(a){var b,g,d;this.active?this.isLastItem()||(this._hasScroll()?(g=this.active.offset().top,d=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return b=f(this),0>b.offset().top-g-d}),this.focus(a,b)):this.focus(a,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())):this.next(a)},previousPage:function(a){var b,
g,d;this.active?this.isFirstItem()||(this._hasScroll()?(g=this.active.offset().top,d=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return b=f(this),0<b.offset().top-g+d}),this.focus(a,b)):this.focus(a,this.activeMenu.children(".ui-menu-item").first())):this.next(a)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(a){this.active=this.active||f(a.target).closest(".ui-menu-item");var b={item:this.active};this.active.has(".ui-menu").length||
this.collapseAll(a,!0);this._trigger("select",a,b)}})}catch(ib){System.out.println("JSmolMenu failed to load jQuery.ui.menu -- jQuery version conflict?")}var p=Jmol.Swing;p.menuInitialized||(p.menuCounter=0,p.menuInitialized=1,p.__getMenuStyle=function(a){return"\t.jmolPopupMenu{font-family:Arial,sans-serif;font-size:11px;position:absolute;z-index:"+Jmol._getZ(a,"menu")+'}\t.jmolPopupMenu,.jmolPopupMenu .ui-corner-all{border-radius:5px}\t.jmolPopupMenu,.jmolPopupMenu .ui-widget-content{border:1px solid #a6c9e2;background-color:#fcfdfd;color:#222}\t.jmolPopupMenu a{color:#222;font-size:10px;}\t.jmolPopupMenu input[type="checkbox"]{vertical-align:middle;}\t.jmolPopupMenu,.jmolPopupMenu .ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none;box-shadow:1px 1px 5px rgba(50,50,50,0.75)}\t.jmolPopupMenu .ui-menu{margin-top:-3px;position:absolute}\t.jmolPopupMenu .ui-menu-item{cursor:pointer;margin:0 2ex 0 0;padding:0;width:100%}\t.jmolPopupMenu .ui-menu-divider{margin:3px 1px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}\t.jmolPopupMenu .ui-menu-item a{text-decoration:none;display:block;padding:0.05em 0.4em;white-space:nowrap;border:1px solid transparent}\t.jmolPopupMenu .ui-menu-icons{position:relative}\t.jmolPopupMenu .ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}\t.jmolPopupMenu .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;position:absolute;top:.2em;left:.2em}\t.jmolPopupMenu .ui-menu-icon{position:static;float:right}\t.jmolPopupMenu .ui-icon-carat-1-e{min-width:2ex;text-align:right;background-image:none;background-position:0 0}\t.jmolPopupMenu .ui-icon-carat-1-e:after{content:"\\25B8"}\t.jmolPopupMenu .ui-state-default{border:1px solid #c5dbec;background:#dfeffc;color:#2e6e9e}\t.jmolPopupMenu .ui-state-default a{color:#2e6e9e;text-decoration:none}\t.jmolPopupMenu .ui-state-hover,.jmolPopupMenu .ui-state-focus{border:1px solid #79b7e7;background:#d0e5f5;color:#1d5987}\t.jmolPopupMenu .ui-state-hover a{color:#1d5987;text-decoration:none}\t.jmolPopupMenu .ui-state-active{border:1px solid #79b7e7;background:#f5f8f9;color:#e17009}\t.jmolPopupMenu .ui-state-active a{color:#e17009;text-decoration:none}\t.jmolPopupMenu .ui-state-highlight{border:1px solid #fad42e;background:#fbec88;color:#363636}\t.jmolPopupMenu .ui-state-highlight a{color:#363636}\t.jmolPopupMenu .ui-state-disabled *{color:#d6d6d6!important;font-weight:normal;cursor:default}\t.jmolPopupMenu .ui-state-disabled a:hover{background-color:transparent!important;border-color:transparent!important}\t.jmolPopupMenu .ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}'},
p.setMenu=function(a){p.__getMenuStyle&&Jmol.$after("head","<style>"+p.__getMenuStyle(a.applet)+"</style>");p.__getStyle=null;a.tainted=!0;a.popupMenu=a;a.id="top";a.id=p.getMenuID(a);a.applet._menus||(a.applet._menus={});a.applet._menus[a.name]=a;Jmol.$after("body",'<ul id="'+a.id+'" class="jmolPopupMenu"></ul>');a.setContainer(Jmol.$("#"+a.id))},p.showMenu=function(a,b,g){Jmol._showMenuCallback&&Jmol._showMenuCallback(a,b,g);a.tainted&&(a.container.html(a.toHTML()),a.tainted=!1,p.bindMenuActionCommands(a,
!0));a.setPosition();a.container.hide().menu().menu("refresh").show();a._visible=!0;a.timestamp=System.currentTimeMillis();a.dragBind(!0);a.container.unbind("clickoutjsmol");Jmol._persistentMenu||a.container.bind("clickoutjsmol mousemoveoutjsmol",function(){1E3<System.currentTimeMillis()-a.timestamp&&p.hideMenu(a)});a.container.bind("contextmenu",function(){return!1})},p.disposeMenu=function(a){Jmol._persistentMenu||(p.hideMenu(a),p.bindMenuActionCommands(a,!1),delete a.applet._menus[a.name])},p.initMenuItem=
function(a){a.applet=a.popupMenu.applet;a.id=p.getMenuID(a);a.icon&&(a.icon='<img src="'+a.applet._j2sPath+"/"+a.icon+'" style="max-height: 20px;" />')},p.getMenuID=function(a){var b=a.popupMenu;return b.applet._id+"_"+b.name+"_"+a.id+"_"+ ++p.menuCounter},p.hideMenu=function(a){a._visible&&(a.dragBind(!1),a.container.hide(),a._visible=a.isDragging=!1)},p.bindMenuActionCommands=function(a,b){for(var g=a.getComponentCount(),d=0;d<g;d++)p.bindMenuActionCommands(a.getComponent(d),b);Jmol.$documentOff("click",
a.id);b&&Jmol.$documentOn("click",a.id,function(){a.itemListener?(a.selected=a.btnType==javajs.swing.JMenuItem.TYPE_CHECKBOX?Jmol.$prop(a.id+"-cb","checked"):!0,p.hideMenus(a.applet),a.itemListener.itemStateChanged({getSource:function(){return a}})):a.actionListener&&(p.hideMenus(a.applet),a.actionListener.actionPerformed({getSource:function(){return a},getActionCommand:function(){return a.actionCommand}}))})});y("J.popup");B(["J.popup.PopupResource"],"J.popup.MainPopupResourceBundle",["JU.PT","J.i18n.GT",
"JV.JC","$.Viewer"],function(){c$=M(J.popup,"MainPopupResourceBundle",J.popup.PopupResource);n(c$,"getMenuName",function(){return"popupMenu"});n(c$,"buildStructure",function(a){this.addItems(J.popup.MainPopupResourceBundle.menuContents);this.addItems(J.popup.MainPopupResourceBundle.structureContents);null!=a&&this.setStructure(a,new J.i18n.GT)},"~S");c$.Box=l(c$,"Box",function(a){return"if (showBoundBox or showUnitcell) {"+a+"} else {boundbox on;"+a+";boundbox off}"},"~S");n(c$,"getWordContents",
function(){var a=J.i18n.GT.setDoTranslate(!0),c=J.i18n.GT._("{0}% van der Waals"),g=J.i18n.GT._("Export {0} 3D model"),d=J.i18n.GT._("Export {0} image"),e=J.i18n.GT._("Reload {0}"),h=J.i18n.GT._("Scale {0}"),f=J.i18n.GT._("{0} \u00c5"),j=J.i18n.GT._("{0} px"),c=b(-1,["cnmrMenu",J.i18n.GT._("13C-NMR"),"hnmrMenu",J.i18n.GT._("1H-NMR"),"aboutMenu",J.i18n.GT._("About..."),"negativeCharge",J.i18n.GT._("Acidic Residues (-)"),"allModelsText",J.i18n.GT._("All {0} models"),"allHetero",J.i18n.GT._('All PDB "HETATM"'),
"Solvent",J.i18n.GT._("All Solvent"),"Water",J.i18n.GT._("All Water"),"selectAll",J.i18n.GT._("All"),"allProtein",null,"allNucleic",null,"allCarbo",null,"altloc#PDB",J.i18n.GT._("Alternative Location"),"amino#PDB",J.i18n.GT._("Amino Acid"),"byAngstromMenu",J.i18n.GT._("Angstrom Width"),"animModeMenu",J.i18n.GT._("Animation Mode"),"FRAMESanimateMenu",J.i18n.GT._("Animation"),"atPairs",J.i18n.GT._("AT pairs"),"atomMenu",J.i18n.GT._("Atoms"),"[color_atoms]Menu",null,"atomsText",J.i18n.GT._("atoms: {0}"),
"auPairs",J.i18n.GT._("AU pairs"),"[color_axes]Menu",J.i18n.GT._("Axes"),"showAxesCB",null,"[set_axes]Menu",null,"axisA",J.i18n.GT._("Axis a"),"axisB",J.i18n.GT._("Axis b"),"axisC",J.i18n.GT._("Axis c"),"axisX",J.i18n.GT._("Axis x"),"axisY",J.i18n.GT._("Axis y"),"axisZ",J.i18n.GT._("Axis z"),"back",J.i18n.GT._("Back"),"proteinBackbone",J.i18n.GT._("Backbone"),"nucleicBackbone",null,"backbone",null,"[color_backbone]Menu",null,"[color_background]Menu",J.i18n.GT._("Background"),"renderBallAndStick",
J.i18n.GT._("Ball and Stick"),"nucleicBases",J.i18n.GT._("Bases"),"positiveCharge",J.i18n.GT._("Basic Residues (+)"),"best",J.i18n.GT._("Best"),"biomoleculeText",J.i18n.GT._("biomolecule {0} ({1} atoms)"),"biomoleculesMenuText",J.i18n.GT._("Biomolecules"),"black",J.i18n.GT._("Black"),"blue",J.i18n.GT._("Blue"),"bondMenu",J.i18n.GT._("Bonds"),"[color_bonds]Menu",null,"bondsText",J.i18n.GT._("bonds: {0}"),"bottom",J.i18n.GT._("Bottom"),"[color_boundbox]Menu",J.i18n.GT._("Boundbox"),"[set_boundbox]Menu",
null,"showBoundBoxCB",null,"PDBheteroComputedMenu",J.i18n.GT._("By HETATM"),"PDBaaResiduesComputedMenu",J.i18n.GT._("By Residue Name"),"PDBnucleicResiduesComputedMenu",null,"PDBcarboResiduesComputedMenu",null,"schemeMenu",J.i18n.GT._("By Scheme"),"[color_]schemeMenu",null,"hbondCalc",J.i18n.GT._("Calculate"),"SIGNEDJAVAcaptureRock",J.i18n.GT._("Capture rock"),"SIGNEDJAVAcaptureSpin",J.i18n.GT._("Capture spin"),"SIGNEDJAVAcaptureMenuSPECIAL",J.i18n.GT._("Capture"),"PDBcarboMenu",J.i18n.GT._("Carbohydrate"),
"cartoonRockets",J.i18n.GT._("Cartoon Rockets"),"PDBrenderCartoonsOnly",J.i18n.GT._("Cartoon"),"cartoon",null,"[color_cartoon]sMenu",null,"pickCenter",J.i18n.GT._("Center"),"labelCentered",J.i18n.GT._("Centered"),"chain#PDB",J.i18n.GT._("Chain"),"chainsText",J.i18n.GT._("chains: {0}"),"colorChargeMenu",J.i18n.GT._("Charge"),"measureAngle",J.i18n.GT._("Click for angle measurement"),"measureDistance",J.i18n.GT._("Click for distance measurement"),"measureTorsion",J.i18n.GT._("Click for torsion (dihedral) measurement"),
"PDBmeasureSequence",J.i18n.GT._("Click two atoms to display a sequence in the console"),"modelSetCollectionText",J.i18n.GT._("Collection of {0} models"),"colorMenu",J.i18n.GT._("Color"),"computationMenu",J.i18n.GT._("Computation"),"configurationMenuText",J.i18n.GT._("Configurations ({0})"),"configurationComputedMenu",J.i18n.GT._("Configurations"),"showConsole",J.i18n.GT._("Console"),"renderCpkSpacefill",J.i18n.GT._("CPK Spacefill"),"stereoCrossEyed",J.i18n.GT._("Cross-eyed viewing"),"showState",
J.i18n.GT._("Current state"),"cyan",J.i18n.GT._("Cyan"),"darkgray",J.i18n.GT._("Dark Gray"),"measureDelete",J.i18n.GT._("Delete measurements"),"SIGNEDJAVAcaptureOff",J.i18n.GT._("Disable capturing"),"hideNotSelectedCB",J.i18n.GT._("Display Selected Only"),"distanceAngstroms",J.i18n.GT._("Distance units Angstroms"),"distanceNanometers",J.i18n.GT._("Distance units nanometers"),"distancePicometers",J.i18n.GT._("Distance units picometers"),"ssbondMenu",J.i18n.GT._("Disulfide Bonds"),"[color_ssbonds]Menu",
null,"DNA",J.i18n.GT._("DNA"),"surfDots",J.i18n.GT._("Dot Surface"),"dotted",J.i18n.GT._("Dotted"),"measureOff",J.i18n.GT._("Double-Click begins and ends all measurements"),"cpk",J.i18n.GT._("Element (CPK)"),"elementsComputedMenu",J.i18n.GT._("Element"),"SIGNEDJAVAcaptureEnd",J.i18n.GT._("End capturing"),"exportMenu",J.i18n.GT._("Export"),"extractMOL",J.i18n.GT._("Extract MOL data"),"showFile",J.i18n.GT._("File Contents"),"showFileHeader",J.i18n.GT._("File Header"),"fileMenu",J.i18n.GT._("File"),
"formalcharge",J.i18n.GT._("Formal Charge"),"front",J.i18n.GT._("Front"),"gcPairs",J.i18n.GT._("GC pairs"),"gold",J.i18n.GT._("Gold"),"gray",J.i18n.GT._("Gray"),"green",J.i18n.GT._("Green"),"group#PDB",J.i18n.GT._("Group"),"groupsText",J.i18n.GT._("groups: {0}"),"PDBheteroMenu",J.i18n.GT._("Hetero"),"off#axes",J.i18n.GT._("Hide"),"showHistory",J.i18n.GT._("History"),"hbondMenu",J.i18n.GT._("Hydrogen Bonds"),"[color_hbonds]Menu",null,"pickIdent",J.i18n.GT._("Identity"),"indigo",J.i18n.GT._("Indigo"),
"none",J.i18n.GT._("Inherit"),"invertSelection",J.i18n.GT._("Invert Selection"),"showIsosurface",J.i18n.GT._("Isosurface JVXL data"),"help",J.i18n.GT._("Jmol Script Commands"),"pickLabel",J.i18n.GT._("Label"),"labelMenu",J.i18n.GT._("Labels"),"[color_labels]Menu",null,"languageComputedMenu",J.i18n.GT._("Language"),"left",J.i18n.GT._("Left"),"Ligand",J.i18n.GT._("Ligand"),"lightgray",J.i18n.GT._("Light Gray"),"measureList",J.i18n.GT._("List measurements"),"loadBiomoleculeText",J.i18n.GT._("load biomolecule {0} ({1} atoms)"),
"SIGNEDloadFileUnitCell",J.i18n.GT._("Load full unit cell"),"loadMenu",J.i18n.GT._("Load"),"loop",J.i18n.GT._("Loop"),"labelLowerLeft",J.i18n.GT._("Lower Left"),"labelLowerRight",J.i18n.GT._("Lower Right"),"mainMenuText",J.i18n.GT._("Main Menu"),"opaque",J.i18n.GT._("Make Opaque"),"surfOpaque",null,"translucent",J.i18n.GT._("Make Translucent"),"surfTranslucent",null,"maroon",J.i18n.GT._("Maroon"),"measureMenu",J.i18n.GT._("Measurements"),"showMeasure",null,"modelMenuText",J.i18n.GT._("model {0}"),
"hiddenModelSetText",J.i18n.GT._("Model information"),"modelkit",J.i18n.GT._("Model kit"),"showModel",J.i18n.GT._("Model"),"FRAMESbyModelComputedMenu",J.i18n.GT._("Model/Frame"),"modelKitMode",J.i18n.GT._("modelKitMode"),"surf2MEP",J.i18n.GT._("Molecular Electrostatic Potential (range -0.1 0.1)"),"surfMEP",J.i18n.GT._("Molecular Electrostatic Potential (range ALL)"),"showMo",J.i18n.GT._("Molecular orbital JVXL data"),"surfMoComputedMenuText",J.i18n.GT._("Molecular Orbitals ({0})"),"surfMolecular",
J.i18n.GT._("Molecular Surface"),"molecule",J.i18n.GT._("Molecule"),"monomer#PDB",J.i18n.GT._("Monomer"),"mouse",J.i18n.GT._("Mouse Manual"),"nextframe",J.i18n.GT._("Next Frame"),"modelSetMenu",J.i18n.GT._("No atoms loaded"),"exceptWater",J.i18n.GT._("Nonaqueous HETATM")+" (hetero and not water)","nonWaterSolvent",J.i18n.GT._("Nonaqueous Solvent")+" (solvent and not water)","PDBnoneOfTheAbove",J.i18n.GT._("None of the above"),"selectNone",J.i18n.GT._("None"),"stereoNone",null,"labelNone",null,"nonpolar",
J.i18n.GT._("Nonpolar Residues"),"PDBnucleicMenu",J.i18n.GT._("Nucleic"),"atomNone",J.i18n.GT._("Off"),"bondNone",null,"hbondNone",null,"ssbondNone",null,"structureNone",null,"vibrationOff",null,"vectorOff",null,"spinOff",null,"pickOff",null,"surfOff",null,"olive",J.i18n.GT._("Olive"),"bondWireframe",J.i18n.GT._("On"),"hbondWireframe",null,"ssbondWireframe",null,"vibrationOn",null,"vectorOn",null,"spinOn",null,"on",null,"SIGNEDloadPdb",J.i18n.GT._("Open from PDB"),"SIGNEDloadFile",J.i18n.GT._("Open local file"),
"SIGNEDloadScript",J.i18n.GT._("Open script"),"SIGNEDloadUrl",J.i18n.GT._("Open URL"),"minimize",J.i18n.GT._("Optimize structure"),"orange",J.i18n.GT._("Orange"),"orchid",J.i18n.GT._("Orchid"),"showOrient",J.i18n.GT._("Orientation"),"palindrome",J.i18n.GT._("Palindrome"),"partialcharge",J.i18n.GT._("Partial Charge"),"pause",J.i18n.GT._("Pause"),"perspectiveDepthCB",J.i18n.GT._("Perspective Depth"),"byPixelMenu",J.i18n.GT._("Pixel Width"),"onceThrough",J.i18n.GT._("Play Once"),"play",J.i18n.GT._("Play"),
"polar",J.i18n.GT._("Polar Residues"),"polymersText",J.i18n.GT._("polymers: {0}"),"labelPositionMenu",J.i18n.GT._("Position Label on Atom"),"prevframe",J.i18n.GT._("Previous Frame"),"PDBproteinMenu",J.i18n.GT._("Protein"),"colorrasmolCB",J.i18n.GT._("RasMol Colors"),"red",J.i18n.GT._("Red"),"stereoRedBlue",J.i18n.GT._("Red+Blue glasses"),"stereoRedCyan",J.i18n.GT._("Red+Cyan glasses"),"stereoRedGreen",J.i18n.GT._("Red+Green glasses"),"SIGNEDJAVAcaptureOn",J.i18n.GT._("Re-enable capturing"),"FILEUNITninePoly",
J.i18n.GT._("Reload + Polyhedra"),"reload",J.i18n.GT._("Reload"),"restart",J.i18n.GT._("Restart"),"resume",J.i18n.GT._("Resume"),"playrev",J.i18n.GT._("Reverse"),"rewind",J.i18n.GT._("Rewind"),"ribbons",J.i18n.GT._("Ribbons"),"[color_ribbon]sMenu",null,"right",J.i18n.GT._("Right"),"RNA",J.i18n.GT._("RNA"),"rockets",J.i18n.GT._("Rockets"),"[color_rockets]Menu",null,"salmon",J.i18n.GT._("Salmon"),"writeFileTextVARIABLE",J.i18n.GT._("Save a copy of {0}"),"SIGNEDwriteJmol",J.i18n.GT._("Save as PNG/JMOL (image+zip)"),
"SIGNEDwriteIsosurface",J.i18n.GT._("Save JVXL isosurface"),"writeHistory",J.i18n.GT._("Save script with history"),"writeState",J.i18n.GT._("Save script with state"),"saveMenu",J.i18n.GT._("Save"),"sceneComputedMenu",J.i18n.GT._("Scenes"),"renderSchemeMenu",J.i18n.GT._("Scheme"),"aaStructureMenu",J.i18n.GT._("Secondary Structure"),"structure#PDB",null,"selectMenuText",J.i18n.GT._("Select ({0})"),"pickAtom",J.i18n.GT._("Select atom"),"PDBpickChain",J.i18n.GT._("Select chain"),"pickElement",J.i18n.GT._("Select element"),
"PDBpickGroup",J.i18n.GT._("Select group"),"pickMolecule",J.i18n.GT._("Select molecule"),"SYMMETRYpickSite",J.i18n.GT._("Select site"),"showSelectionsCB",J.i18n.GT._("Selection Halos"),"SIGNEDJAVAcaptureFpsSPECIAL",J.i18n.GT._("Set capture replay rate"),"[set_spin_FPS]Menu",J.i18n.GT._("Set FPS"),"FRAMESanimFpsMenu",null,"PDBhbondBackbone",J.i18n.GT._("Set H-Bonds Backbone"),"PDBhbondSidechain",J.i18n.GT._("Set H-Bonds Side Chain"),"pickingMenu",J.i18n.GT._("Set picking"),"PDBssbondBackbone",J.i18n.GT._("Set SS-Bonds Backbone"),
"PDBssbondSidechain",J.i18n.GT._("Set SS-Bonds Side Chain"),"[set_spin_X]Menu",J.i18n.GT._("Set X Rate"),"[set_spin_Y]Menu",J.i18n.GT._("Set Y Rate"),"[set_spin_Z]Menu",J.i18n.GT._("Set Z Rate"),"shapely#PDB",J.i18n.GT._("Shapely"),"showHydrogensCB",J.i18n.GT._("Show Hydrogens"),"showMeasurementsCB",J.i18n.GT._("Show Measurements"),"SYMMETRYpickSymmetry",J.i18n.GT._("Show symmetry operation"),"showMenu",J.i18n.GT._("Show"),"proteinSideChains",J.i18n.GT._("Side Chains"),"slateblue",J.i18n.GT._("Slate Blue"),
"SYMMETRYShowComputedMenu",J.i18n.GT._("Space Group"),"showSpacegroup",null,"spectraMenu",J.i18n.GT._("Spectra"),"spinMenu",J.i18n.GT._("Spin"),"pickSpin",null,"SIGNEDJAVAcaptureBegin",J.i18n.GT._("Start capturing"),"stereoMenu",J.i18n.GT._("Stereographic"),"renderSticks",J.i18n.GT._("Sticks"),"stop",J.i18n.GT._("Stop"),"strands",J.i18n.GT._("Strands"),"[color_strands]Menu",null,"PDBstructureMenu",J.i18n.GT._("Structures"),"colorPDBStructuresMenu",null,"renderMenu",J.i18n.GT._("Style"),"[color_isosurface]Menu",
J.i18n.GT._("Surfaces"),"surfaceMenu",null,"SYMMETRYSelectComputedMenu",J.i18n.GT._("Symmetry"),"SYMMETRYshowSymmetry",null,"FILEUNITMenu",null,"systemMenu",J.i18n.GT._("System"),"relativeTemperature#BFACTORS",J.i18n.GT._("Temperature (Relative)"),"fixedTemperature#BFACTORS",J.i18n.GT._("Temperature (Fixed)"),"SIGNEDJAVAcaptureLoopingSPECIAL",J.i18n.GT._("Toggle capture looping"),"top",JU.PT.split(J.i18n.GT._('Top[as in "view from the top, from above" - (translators: remove this bracketed part]'),
"[")[0],"PDBrenderTraceOnly",J.i18n.GT._("Trace"),"trace",null,"[color_trace]Menu",null,"translations",J.i18n.GT._("Translations"),"noCharge",J.i18n.GT._("Uncharged Residues"),"[color_UNITCELL]Menu",J.i18n.GT._("Unit cell"),"UNITCELLshow",null,"[set_UNITCELL]Menu",null,"showUNITCELLCB",null,"labelUpperLeft",J.i18n.GT._("Upper Left"),"labelUpperRight",J.i18n.GT._("Upper Right"),"surfVDW",J.i18n.GT._("van der Waals Surface"),"VIBRATIONvectorMenu",J.i18n.GT._("Vectors"),"property_vxyz#VIBRATION",null,
"[color_vectors]Menu",null,"VIBRATIONMenu",J.i18n.GT._("Vibration"),"viewMenuText",J.i18n.GT._("View {0}"),"viewMenu",J.i18n.GT._("View"),"violet",J.i18n.GT._("Violet"),"stereoWallEyed",J.i18n.GT._("Wall-eyed viewing"),"white",J.i18n.GT._("White"),"renderWireframe",J.i18n.GT._("Wireframe"),"labelName",J.i18n.GT._("With Atom Name"),"labelNumber",J.i18n.GT._("With Atom Number"),"labelSymbol",J.i18n.GT._("With Element Symbol"),"yellow",J.i18n.GT._("Yellow"),"zoomIn",J.i18n.GT._("Zoom In"),"zoomOut",
J.i18n.GT._("Zoom Out"),"zoomMenu",J.i18n.GT._("Zoom"),"vector005",J.i18n.GT.o(f,"0.05"),"bond100",J.i18n.GT.o(f,"0.10"),"hbond100",null,"ssbond100",null,"vector01",null,"10a",null,"bond150",J.i18n.GT.o(f,"0.15"),"hbond150",null,"ssbond150",null,"bond200",J.i18n.GT.o(f,"0.20"),"hbond200",null,"ssbond200",null,"20a",null,"bond250",J.i18n.GT.o(f,"0.25"),"hbond250",null,"ssbond250",null,"25a",null,"bond300",J.i18n.GT.o(f,"0.30"),"hbond300",null,"ssbond300",null,"50a",J.i18n.GT.o(f,"0.50"),"100a",J.i18n.GT.o(f,
"1.0"),"1p",J.i18n.GT.i(j,1),"10p",J.i18n.GT.i(j,10),"3p",J.i18n.GT.i(j,3),"vector3",null,"5p",J.i18n.GT.i(j,5),"atom100",J.i18n.GT.i(c,100),"atom15",J.i18n.GT.i(c,15),"atom20",J.i18n.GT.i(c,20),"atom25",J.i18n.GT.i(c,25),"atom50",J.i18n.GT.i(c,50),"atom75",J.i18n.GT.i(c,75),"SIGNEDNOGLwriteIdtf",J.i18n.GT.o(g,"IDTF"),"SIGNEDNOGLwriteMaya",J.i18n.GT.o(g,"Maya"),"SIGNEDNOGLwriteVrml",J.i18n.GT.o(g,"VRML"),"SIGNEDNOGLwriteX3d",J.i18n.GT.o(g,"X3D"),"SIGNEDNOGLwriteSTL",J.i18n.GT.o(g,"STL"),"SIGNEDNOGLwriteGif",
J.i18n.GT.o(d,"GIF"),"SIGNEDNOGLwriteJpg",J.i18n.GT.o(d,"JPG"),"SIGNEDNOGLwritePng",J.i18n.GT.o(d,"PNG"),"SIGNEDNOGLwritePngJmol",J.i18n.GT.o(d,"PNG+JMOL"),"SIGNEDNOGLwritePovray",J.i18n.GT.o(d,"POV-Ray"),"FILEUNITnineRestricted",J.i18n.GT.o(J.i18n.GT._("Reload {0} + Display {1}"),b(-1,["{444 666 1}","555"])),"FILEMOLload",J.i18n.GT.o(e,"(molecular)"),"FILEUNITone",J.i18n.GT.o(e,"{1 1 1}"),"FILEUNITnine",J.i18n.GT.o(e,"{444 666 1}"),"vectorScale02",J.i18n.GT.o(h,"0.2"),"vectorScale05",J.i18n.GT.o(h,
"0.5"),"vectorScale1",J.i18n.GT.o(h,"1"),"vectorScale2",J.i18n.GT.o(h,"2"),"vectorScale5",J.i18n.GT.o(h,"5"),"surfSolvent14",J.i18n.GT.o(J.i18n.GT._("Solvent Surface ({0}-Angstrom probe)"),"1.4"),"surfSolventAccessible14",J.i18n.GT.o(J.i18n.GT._("Solvent-Accessible Surface (VDW + {0} Angstrom)"),"1.4"),"vibration20","*2","vibration05","/2","JAVAmemTotal","?","JAVAmemMax",null,"JAVAprocessors",null,"s0","0","animfps10","10","s10",null,"zoom100","100%","zoom150","150%","animfps20","20","s20",null,"zoom200",
"200%","animfps30","30","s30",null,"s40","40","zoom400","400%","animfps5","5","s5",null,"animfps50","50","s50",null,"zoom50","50%","zoom800","800%","JSConsole","JavaScript Console","jmolMenu","Jmol","date",JV.JC.date,"version",JV.JC.version,"javaVender",JV.Viewer.strJavaVendor,"javaVersion",JV.Viewer.strJavaVersion,"os",JV.Viewer.strOSName,"jmolorg","http://www.jmol.org"]);J.i18n.GT.setDoTranslate(a);a=1;for(g=c.length;a<g;a+=2)null==c[a]&&(c[a]=c[a-2]);return c});n(c$,"getMenuAsText",function(a){return this.getStuctureAsText(a,
J.popup.MainPopupResourceBundle.menuContents,J.popup.MainPopupResourceBundle.structureContents)},"~S");L(c$,"MENU_NAME","popupMenu");c$.menuContents=c$.prototype.menuContents=b(-1,[b(-1,["@COLOR","black darkgray lightgray white - red orange yellow green cyan blue indigo violet"]),b(-1,["@AXESCOLOR","gray salmon maroon olive slateblue gold orchid"]),b(-1,["popupMenu","fileMenu modelSetMenu FRAMESbyModelComputedMenu configurationComputedMenu - selectMenuText viewMenu renderMenu colorMenu - surfaceMenu FILEUNITMenu - sceneComputedMenu zoomMenu spinMenu VIBRATIONMenu spectraMenu FRAMESanimateMenu - measureMenu pickingMenu - showConsole JSConsole showMenu computationMenu - languageComputedMenu aboutMenu"]),
b(-1,["fileMenu","loadMenu saveMenu exportMenu SIGNEDJAVAcaptureMenuSPECIAL "]),b(-1,["loadMenu","SIGNEDloadFile SIGNEDloadUrl SIGNEDloadPdb SIGNEDloadScript - reload SIGNEDloadFileUnitCell"]),b(-1,["saveMenu","writeFileTextVARIABLE writeState writeHistory SIGNEDwriteJmol SIGNEDwriteIsosurface "]),b(-1,["exportMenu","SIGNEDNOGLwriteGif SIGNEDNOGLwriteJpg SIGNEDNOGLwritePng SIGNEDNOGLwritePngJmol SIGNEDNOGLwritePovray - SIGNEDNOGLwriteVrml SIGNEDNOGLwriteX3d SIGNEDNOGLwriteSTL"]),b(-1,["selectMenuText",
"hideNotSelectedCB showSelectionsCB - selectAll selectNone invertSelection - elementsComputedMenu SYMMETRYSelectComputedMenu - PDBproteinMenu PDBnucleicMenu PDBheteroMenu PDBcarboMenu PDBnoneOfTheAbove"]),b(-1,["PDBproteinMenu","PDBaaResiduesComputedMenu - allProtein proteinBackbone proteinSideChains - polar nonpolar - positiveCharge negativeCharge noCharge"]),b(-1,["PDBcarboMenu","PDBcarboResiduesComputedMenu - allCarbo"]),b(-1,["PDBnucleicMenu","PDBnucleicResiduesComputedMenu - allNucleic nucleicBackbone nucleicBases - DNA RNA - atPairs auPairs gcPairs - aaStructureMenu"]),
b(-1,["PDBheteroMenu","PDBheteroComputedMenu - allHetero Solvent Water - Ligand exceptWater nonWaterSolvent"]),b(-1,["viewMenu","best front left right top bottom back - axisX axisY axisZ - axisA axisB axisC"]),b(-1,["renderMenu","renderSchemeMenu - atomMenu labelMenu bondMenu hbondMenu ssbondMenu - PDBstructureMenu - [set_axes]Menu [set_boundbox]Menu [set_UNITCELL]Menu - perspectiveDepthCB stereoMenu"]),b(-1,["renderSchemeMenu","renderCpkSpacefill renderBallAndStick renderSticks renderWireframe PDBrenderCartoonsOnly PDBrenderTraceOnly"]),
b(-1,["atomMenu","showHydrogensCB - atomNone - atom15 atom20 atom25 atom50 atom75 atom100"]),b(-1,["bondMenu","bondNone bondWireframe - bond100 bond150 bond200 bond250 bond300"]),b(-1,["hbondMenu","hbondCalc hbondNone hbondWireframe - PDBhbondSidechain PDBhbondBackbone - hbond100 hbond150 hbond200 hbond250 hbond300"]),b(-1,["ssbondMenu","ssbondNone ssbondWireframe - PDBssbondSidechain PDBssbondBackbone - ssbond100 ssbond150 ssbond200 ssbond250 ssbond300"]),b(-1,["PDBstructureMenu","structureNone - backbone cartoon cartoonRockets ribbons rockets strands trace"]),
b(-1,["VIBRATIONvectorMenu","vectorOff vectorOn vibScale20 vibScale05 vector3 vector005 vector01 - vectorScale02 vectorScale05 vectorScale1 vectorScale2 vectorScale5"]),b(-1,["stereoMenu","stereoNone stereoRedCyan stereoRedBlue stereoRedGreen stereoCrossEyed stereoWallEyed"]),b(-1,["labelMenu","labelNone - labelSymbol labelName labelNumber - labelPositionMenu"]),b(-1,["labelPositionMenu","labelCentered labelUpperRight labelLowerRight labelUpperLeft labelLowerLeft"]),b(-1,["colorMenu","colorrasmolCB [color_]schemeMenu - [color_atoms]Menu [color_bonds]Menu [color_hbonds]Menu [color_ssbonds]Menu colorPDBStructuresMenu [color_isosurface]Menu - [color_labels]Menu [color_vectors]Menu - [color_axes]Menu [color_boundbox]Menu [color_UNITCELL]Menu [color_background]Menu"]),
b(-1,["[color_atoms]Menu","schemeMenu - @COLOR - opaque translucent"]),b(-1,["[color_bonds]Menu","none - @COLOR - opaque translucent"]),b(-1,["[color_hbonds]Menu",null]),b(-1,["[color_ssbonds]Menu",null]),b(-1,["[color_labels]Menu",null]),b(-1,["[color_vectors]Menu",null]),b(-1,["[color_backbone]Menu","none - schemeMenu - @COLOR - opaque translucent"]),b(-1,["[color_cartoon]sMenu",null]),b(-1,["[color_ribbon]sMenu",null]),b(-1,["[color_rockets]Menu",null]),b(-1,["[color_strands]Menu",null]),b(-1,
["[color_trace]Menu",null]),b(-1,["[color_background]Menu","@COLOR"]),b(-1,["[color_isosurface]Menu","@COLOR - opaque translucent"]),b(-1,["[color_axes]Menu","@AXESCOLOR"]),b(-1,["[color_boundbox]Menu",null]),b(-1,["[color_UNITCELL]Menu",null]),b(-1,["colorPDBStructuresMenu","[color_backbone]Menu [color_cartoon]sMenu [color_ribbon]sMenu [color_rockets]Menu [color_strands]Menu [color_trace]Menu"]),b(-1,["schemeMenu","cpk molecule formalcharge partialcharge - altloc#PDB amino#PDB chain#PDB group#PDB monomer#PDB shapely#PDB structure#PDB relativeTemperature#BFACTORS fixedTemperature#BFACTORS property_vxyz#VIBRATION"]),
b(-1,["[color_]schemeMenu",null]),b(-1,["zoomMenu","zoom50 zoom100 zoom150 zoom200 zoom400 zoom800 - zoomIn zoomOut"]),b(-1,["spinMenu","spinOn spinOff - [set_spin_X]Menu [set_spin_Y]Menu [set_spin_Z]Menu - [set_spin_FPS]Menu"]),b(-1,["VIBRATIONMenu","vibrationOff vibrationOn vibration20 vibration05 VIBRATIONvectorMenu"]),b(-1,["spectraMenu","hnmrMenu cnmrMenu"]),b(-1,["FRAMESanimateMenu","animModeMenu - play pause resume stop - nextframe prevframe rewind - playrev restart - FRAMESanimFpsMenu"]),
b(-1,["FRAMESanimFpsMenu","animfps5 animfps10 animfps20 animfps30 animfps50"]),b(-1,["measureMenu","showMeasurementsCB - measureOff measureDistance measureAngle measureTorsion PDBmeasureSequence - measureDelete measureList - distanceNanometers distanceAngstroms distancePicometers"]),b(-1,["pickingMenu","pickOff pickCenter pickIdent pickLabel pickAtom pickMolecule pickElement - pickSpin - modelKitMode - PDBpickChain PDBpickGroup SYMMETRYpickSite"]),b(-1,["computationMenu","minimize modelkit"]),b(-1,
["showMenu","showHistory showFile showFileHeader - showOrient showMeasure - showSpacegroup showState SYMMETRYshowSymmetry UNITCELLshow - showIsosurface showMo - extractMOL"]),b(-1,["SIGNEDJAVAcaptureMenuSPECIAL","SIGNEDJAVAcaptureRock SIGNEDJAVAcaptureSpin - SIGNEDJAVAcaptureBegin SIGNEDJAVAcaptureEnd SIGNEDJAVAcaptureOff SIGNEDJAVAcaptureOn SIGNEDJAVAcaptureFpsSPECIAL SIGNEDJAVAcaptureLoopingSPECIAL"]),b(-1,["[set_spin_X]Menu","s0 s5 s10 s20 s30 s40 s50"]),b(-1,["[set_spin_Y]Menu",null]),b(-1,["[set_spin_Z]Menu",
null]),b(-1,["[set_spin_FPS]Menu",null]),b(-1,["animModeMenu","onceThrough palindrome loop"]),b(-1,["surfaceMenu","surfDots surfVDW surfSolventAccessible14 surfSolvent14 surfMolecular surf2MEP surfMEP surfMoComputedMenuText - surfOpaque surfTranslucent surfOff"]),b(-1,["FILEUNITMenu","SYMMETRYShowComputedMenu FILEMOLload FILEUNITone FILEUNITnine FILEUNITnineRestricted FILEUNITninePoly"]),b(-1,["[set_axes]Menu","on off#axes dotted - byPixelMenu byAngstromMenu"]),b(-1,["[set_boundbox]Menu",null]),b(-1,
["[set_UNITCELL]Menu",null]),b(-1,["byPixelMenu","1p 3p 5p 10p"]),b(-1,["byAngstromMenu","10a 20a 25a 50a 100a"]),b(-1,["aboutMenu","jmolMenu systemMenu"]),b(-1,["jmolMenu","APPLETid version date - help - mouse translations jmolorg"]),b(-1,["systemMenu","os javaVender javaVersion JAVAprocessors JAVAmemMax JAVAmemTotal"])]);c$.structureContents=c$.prototype.structureContents=b(-1,[b(-1,["jmolorg",'show url "http://www.jmol.org"']),b(-1,["help","help"]),b(-1,["mouse",'show url "http://wiki.jmol.org/index.php/Mouse_Manual"']),
b(-1,["translations",'show url "http://wiki.jmol.org/index.php/Internationalisation"']),b(-1,["colorrasmolCB",""]),b(-1,["hideNotSelectedCB","set hideNotSelected true | set hideNotSelected false; hide(none)"]),b(-1,["perspectiveDepthCB",""]),b(-1,["showAxesCB","set showAxes true | set showAxes false;set axesMolecular"]),b(-1,["showBoundBoxCB",""]),b(-1,["showHydrogensCB",""]),b(-1,["showMeasurementsCB",""]),b(-1,["showSelectionsCB",""]),b(-1,["showUNITCELLCB",""]),b(-1,["selectAll","SELECT all"]),
b(-1,["selectNone","SELECT none"]),b(-1,["invertSelection","SELECT not selected"]),b(-1,["allProtein","SELECT protein"]),b(-1,["proteinBackbone","SELECT protein and backbone"]),b(-1,["proteinSideChains","SELECT protein and not backbone"]),b(-1,["polar","SELECT protein and polar"]),b(-1,["nonpolar","SELECT protein and not polar"]),b(-1,["positiveCharge","SELECT protein and basic"]),b(-1,["negativeCharge","SELECT protein and acidic"]),b(-1,["noCharge","SELECT protein and not (acidic,basic)"]),b(-1,
["allCarbo","SELECT carbohydrate"]),b(-1,["allNucleic","SELECT nucleic"]),b(-1,["DNA","SELECT dna"]),b(-1,["RNA","SELECT rna"]),b(-1,["nucleicBackbone","SELECT nucleic and backbone"]),b(-1,["nucleicBases","SELECT nucleic and not backbone"]),b(-1,["atPairs","SELECT a,t"]),b(-1,["gcPairs","SELECT g,c"]),b(-1,["auPairs","SELECT a,u"]),b(-1,["A","SELECT a"]),b(-1,["C","SELECT c"]),b(-1,["G","SELECT g"]),b(-1,["T","SELECT t"]),b(-1,["U","SELECT u"]),b(-1,["allHetero","SELECT hetero"]),b(-1,["Solvent",
"SELECT solvent"]),b(-1,["Water","SELECT water"]),b(-1,["nonWaterSolvent","SELECT solvent and not water"]),b(-1,["exceptWater","SELECT hetero and not water"]),b(-1,["Ligand","SELECT ligand"]),b(-1,["PDBnoneOfTheAbove","SELECT not(hetero,protein,nucleic,carbohydrate)"]),b(-1,["best","rotate best -1.0"]),b(-1,["front",J.popup.MainPopupResourceBundle.Box("moveto 2.0 front;delay 1")]),b(-1,["left",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 left;delay 1")]),b(-1,["right",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 right;delay 1")]),
b(-1,["top",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 top;delay 1")]),b(-1,["bottom",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 bottom;delay 1")]),b(-1,["back",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 back;delay 1")]),b(-1,["axisA","moveto axis a"]),b(-1,["axisB","moveto axis b"]),b(-1,["axisC","moveto axis c"]),b(-1,["axisX","moveto axis x"]),b(-1,["axisY","moveto axis y"]),b(-1,["axisZ","moveto axis z"]),b(-1,["renderCpkSpacefill",
"restrict bonds not selected;select not selected;spacefill 100%;color cpk"]),b(-1,["renderBallAndStick","restrict bonds not selected;select not selected;spacefill 23%AUTO;wireframe 0.15;color cpk"]),b(-1,["renderSticks","restrict bonds not selected;select not selected;wireframe 0.3;color cpk"]),b(-1,["renderWireframe","restrict bonds not selected;select not selected;wireframe on;color cpk"]),b(-1,["PDBrenderCartoonsOnly","restrict bonds not selected;select not selected;cartoons on;color structure"]),
b(-1,["PDBrenderTraceOnly","restrict bonds not selected;select not selected;trace on;color structure"]),b(-1,["atomNone","cpk off"]),b(-1,["atom15","cpk 15%"]),b(-1,["atom20","cpk 20%"]),b(-1,["atom25","cpk 25%"]),b(-1,["atom50","cpk 50%"]),b(-1,["atom75","cpk 75%"]),b(-1,["atom100","cpk on"]),b(-1,["bondNone","wireframe off"]),b(-1,["bondWireframe","wireframe on"]),b(-1,["bond100","wireframe .1"]),b(-1,["bond150","wireframe .15"]),b(-1,["bond200","wireframe .2"]),b(-1,["bond250","wireframe .25"]),
b(-1,["bond300","wireframe .3"]),b(-1,["hbondCalc","hbonds calculate"]),b(-1,["hbondNone","hbonds off"]),b(-1,["hbondWireframe","hbonds on"]),b(-1,["PDBhbondSidechain","set hbonds sidechain"]),b(-1,["PDBhbondBackbone","set hbonds backbone"]),b(-1,["hbond100","hbonds .1"]),b(-1,["hbond150","hbonds .15"]),b(-1,["hbond200","hbonds .2"]),b(-1,["hbond250","hbonds .25"]),b(-1,["hbond300","hbonds .3"]),b(-1,["ssbondNone","ssbonds off"]),b(-1,["ssbondWireframe","ssbonds on"]),b(-1,["PDBssbondSidechain","set ssbonds sidechain"]),
b(-1,["PDBssbondBackbone","set ssbonds backbone"]),b(-1,["ssbond100","ssbonds .1"]),b(-1,["ssbond150","ssbonds .15"]),b(-1,["ssbond200","ssbonds .2"]),b(-1,["ssbond250","ssbonds .25"]),b(-1,["ssbond300","ssbonds .3"]),b(-1,["structureNone","backbone off;cartoons off;ribbons off;rockets off;strands off;trace off;"]),b(-1,["backbone","restrict not selected;select not selected;backbone 0.3"]),b(-1,["cartoon","restrict not selected;select not selected;set cartoonRockets false;cartoons on"]),b(-1,["cartoonRockets",
"restrict not selected;select not selected;set cartoonRockets;cartoons on"]),b(-1,["ribbons","restrict not selected;select not selected;ribbons on"]),b(-1,["rockets","restrict not selected;select not selected;rockets on"]),b(-1,["strands","restrict not selected;select not selected;strands on"]),b(-1,["trace","restrict not selected;select not selected;trace 0.3"]),b(-1,["vibrationOff","vibration off"]),b(-1,["vibrationOn","vibration on"]),b(-1,["vibration20","vibrationScale *= 2"]),b(-1,["vibration05",
"vibrationScale /= 2"]),b(-1,["vectorOff","vectors off"]),b(-1,["vectorOn","vectors on"]),b(-1,["vector3","vectors 3"]),b(-1,["vector005","vectors 0.05"]),b(-1,["vector01","vectors 0.1"]),b(-1,["vectorScale02","vector scale 0.2"]),b(-1,["vectorScale05","vector scale 0.5"]),b(-1,["vectorScale1","vector scale 1"]),b(-1,["vectorScale2","vector scale 2"]),b(-1,["vectorScale5","vector scale 5"]),b(-1,["stereoNone","stereo off"]),b(-1,["stereoRedCyan","stereo redcyan 3"]),b(-1,["stereoRedBlue","stereo redblue 3"]),
b(-1,["stereoRedGreen","stereo redgreen 3"]),b(-1,["stereoCrossEyed","stereo -5"]),b(-1,["stereoWallEyed","stereo 5"]),b(-1,["labelNone","label off"]),b(-1,["labelSymbol","label %e"]),b(-1,["labelName","label %a"]),b(-1,["labelNumber","label %i"]),b(-1,["labelCentered","set labeloffset 0 0"]),b(-1,["labelUpperRight","set labeloffset 4 4"]),b(-1,["labelLowerRight","set labeloffset 4 -4"]),b(-1,["labelUpperLeft","set labeloffset -4 4"]),b(-1,["labelLowerLeft","set labeloffset -4 -4"]),b(-1,["zoom50",
"zoom 50"]),b(-1,["zoom100","zoom 100"]),b(-1,["zoom150","zoom 150"]),b(-1,["zoom200","zoom 200"]),b(-1,["zoom400","zoom 400"]),b(-1,["zoom800","zoom 800"]),b(-1,["zoomIn","move 0 0 0 40 0 0 0 0 1"]),b(-1,["zoomOut","move 0 0 0 -40 0 0 0 0 1"]),b(-1,["spinOn","spin on"]),b(-1,["spinOff","spin off"]),b(-1,["s0","0"]),b(-1,["s5","5"]),b(-1,["s10","10"]),b(-1,["s20","20"]),b(-1,["s30","30"]),b(-1,["s40","40"]),b(-1,["s50","50"]),b(-1,["onceThrough","anim mode once#"]),b(-1,["palindrome","anim mode palindrome#"]),
b(-1,["loop","anim mode loop#"]),b(-1,["play","anim play#"]),b(-1,["pause","anim pause#"]),b(-1,["resume","anim resume#"]),b(-1,["stop","anim off#"]),b(-1,["nextframe","frame next#"]),b(-1,["prevframe","frame prev#"]),b(-1,["playrev","anim playrev#"]),b(-1,["rewind","anim rewind#"]),b(-1,["restart","anim on#"]),b(-1,["animfps5","anim fps 5#"]),b(-1,["animfps10","anim fps 10#"]),b(-1,["animfps20","anim fps 20#"]),b(-1,["animfps30","anim fps 30#"]),b(-1,["animfps50","anim fps 50#"]),b(-1,["measureOff",
"set pickingstyle MEASURE OFF; set picking OFF"]),b(-1,["measureDistance","set pickingstyle MEASURE; set picking MEASURE DISTANCE"]),b(-1,["measureAngle","set pickingstyle MEASURE; set picking MEASURE ANGLE"]),b(-1,["measureTorsion","set pickingstyle MEASURE; set picking MEASURE TORSION"]),b(-1,["PDBmeasureSequence","set pickingstyle MEASURE; set picking MEASURE SEQUENCE"]),b(-1,["measureDelete","measure delete"]),b(-1,["measureList","console on;show measurements"]),b(-1,["distanceNanometers","select *; set measure nanometers"]),
b(-1,["distanceAngstroms","select *; set measure angstroms"]),b(-1,["distancePicometers","select *; set measure picometers"]),b(-1,["pickOff","set picking off"]),b(-1,["pickCenter","set picking center"]),b(-1,["pickIdent","set picking ident"]),b(-1,["pickLabel","set picking label"]),b(-1,["pickAtom","set picking atom"]),b(-1,["PDBpickChain","set picking chain"]),b(-1,["pickElement","set picking element"]),b(-1,["modelKitMode","set modelKitMode"]),b(-1,["PDBpickGroup","set picking group"]),b(-1,["pickMolecule",
"set picking molecule"]),b(-1,["SYMMETRYpickSite","set picking site"]),b(-1,["pickSpin","set picking spin"]),b(-1,["SYMMETRYpickSymmetry","set picking symmetry"]),b(-1,["showConsole","console"]),b(-1,["JSConsole","JSCONSOLE"]),b(-1,["showFile","console on;show file"]),b(-1,["showFileHeader","console on;getProperty FileHeader"]),b(-1,["showHistory","console on;show history"]),b(-1,["showIsosurface","console on;show isosurface"]),b(-1,["showMeasure","console on;show measure"]),b(-1,["showMo","console on;show mo"]),
b(-1,["showModel","console on;show model"]),b(-1,["showOrient","console on;show orientation"]),b(-1,["showSpacegroup","console on;show spacegroup"]),b(-1,["showState","console on;show state"]),b(-1,["reload",'load ""']),b(-1,["SIGNEDloadPdb","load ?PdbId?"]),b(-1,["SIGNEDloadFile","load ?"]),b(-1,["SIGNEDloadUrl","load http://?"]),b(-1,["SIGNEDloadFileUnitCell","load ? {1 1 1}"]),b(-1,["SIGNEDloadScript","script ?.spt"]),b(-1,["SIGNEDJAVAcaptureRock","animation mode loop;capture '?Jmol.gif' rock y 10"]),
b(-1,["SIGNEDJAVAcaptureSpin","animation mode loop;capture '?Jmol.gif' spin y"]),b(-1,["SIGNEDJAVAcaptureBegin","capture '?Jmol.gif'"]),b(-1,["SIGNEDJAVAcaptureEnd","capture ''"]),b(-1,["SIGNEDJAVAcaptureOff","capture off"]),b(-1,["SIGNEDJAVAcaptureOn","capture on"]),b(-1,["SIGNEDJAVAcaptureFpsSPECIAL","animation fps @{0+prompt('Capture replay frames per second?', animationFPS)};prompt 'animation FPS ' + animationFPS"]),b(-1,["SIGNEDJAVAcaptureLoopingSPECIAL","animation mode @{(animationMode=='ONCE' ? 'LOOP':'ONCE')};prompt 'animation MODE ' + animationMode"]),
b(-1,["writeFileTextVARIABLE",'if (_applet && !_signedApplet) { console;show file } else { write file "?FILE?"}']),b(-1,["writeState",'if (_applet && !_signedApplet) { console;show state } else { write state "?FILEROOT?.spt"}']),b(-1,["writeHistory",'if (_applet && !_signedApplet) { console;show history } else { write history "?FILEROOT?.his"}']),b(-1,["SIGNEDwriteJmol",'write PNGJ "?FILEROOT?.png"']),b(-1,["SIGNEDwriteIsosurface",'write isosurface "?FILEROOT?.jvxl"']),b(-1,["SIGNEDNOGLwriteGif",
'write image "?FILEROOT?.gif"']),b(-1,["SIGNEDNOGLwriteJpg",'write image "?FILEROOT?.jpg"']),b(-1,["SIGNEDNOGLwritePng",'write image "?FILEROOT?.png"']),b(-1,["SIGNEDNOGLwritePngJmol",'write PNGJ "?FILEROOT?.png"']),b(-1,["SIGNEDNOGLwritePovray",'write POVRAY "?FILEROOT?.pov"']),b(-1,["SIGNEDNOGLwriteVrml",'write VRML "?FILEROOT?.wrl"']),b(-1,["SIGNEDNOGLwriteX3d",'write X3D "?FILEROOT?.x3d"']),b(-1,["SIGNEDNOGLwriteSTL",'write STL "?FILEROOT?.stl"']),b(-1,["SIGNEDNOGLwriteIdtf",'write IDTF "?FILEROOT?.idtf"']),
b(-1,["SIGNEDNOGLwriteMaya",'write MAYA "?FILEROOT?.ma"']),b(-1,["SYMMETRYshowSymmetry","console on;show symmetry"]),b(-1,["UNITCELLshow","console on;show unitcell"]),b(-1,["extractMOL",'console on;getproperty extractModel "visible" ']),b(-1,["minimize","minimize"]),b(-1,["modelkit","set modelkitmode"]),b(-1,["surfDots","dots on"]),b(-1,["surfVDW","isosurface delete resolution 0 solvent 0 translucent"]),b(-1,["surfMolecular","isosurface delete resolution 0 molecular translucent"]),b(-1,["surfSolvent14",
"isosurface delete resolution 0 solvent 1.4 translucent"]),b(-1,["surfSolventAccessible14","isosurface delete resolution 0 sasurface 1.4 translucent"]),b(-1,["surfMEP","isosurface delete resolution 0 vdw color range all map MEP translucent"]),b(-1,["surf2MEP","isosurface delete resolution 0 vdw color range -0.1 0.1 map MEP translucent"]),b(-1,["surfOpaque","mo opaque;isosurface opaque"]),b(-1,["surfTranslucent","mo translucent;isosurface translucent"]),b(-1,["surfOff","mo delete;isosurface delete;var ~~sel = {selected};select *;dots off;select ~~sel"]),
b(-1,["FILEMOLload",'save orientation;load "";restore orientation;center']),b(-1,["FILEUNITone",'save orientation;load "" {1 1 1} ;restore orientation;center']),b(-1,["FILEUNITnine",'save orientation;load "" {444 666 1} ;restore orientation;center']),b(-1,["FILEUNITnineRestricted",'save orientation;load "" {444 666 1} ;restore orientation; unitcell on; display cell=555;center visible;zoom 200']),b(-1,["FILEUNITninePoly",'save orientation;load "" {444 666 1} ;restore orientation; unitcell on; display cell=555; polyhedra 4,6 (displayed);center (visible);zoom 200']),
b(-1,["1p","on"]),b(-1,["3p","3"]),b(-1,["5p","5"]),b(-1,["10p","10"]),b(-1,["10a","0.1"]),b(-1,["20a","0.20"]),b(-1,["25a","0.25"]),b(-1,["50a","0.50"]),b(-1,["100a","1.0"])])});y("J.popup");B(["J.popup.GenericSwingPopup","java.util.Properties","JU.Lst"],"J.popup.JmolGenericPopup","java.lang.Boolean java.util.Arrays $.Hashtable JU.PT J.i18n.GT JM.Group J.popup.MainPopupResourceBundle JU.Elements".split(" "),function(){c$=ba(function(){this.vwr=null;this.updateMode=0;this.frankPopup=this.menuText=
null;this.nFrankList=0;this.itemMax=25;this.titleWidthMax=20;this.currentFrankId=this.modelSetRoot=this.modelSetFileName=this.modelSetName=this.nullModelSetName=null;this.configurationSelected="";this.TemperatureOnly=this.ChargesOnly=this.SymmetryOnly=this.Special=this.VibrationOnly=this.FramesOnly=this.SingleModelOnly=this.UnitcellOnly=this.FileMolOnly=this.FileUnitOnly=this.PDBOnly=this.NotPDB=this.modelInfo=this.modelSetInfo=this.frankList=this.altlocs=null;this.isZapped=this.isVibration=this.isUnitCell=
this.hasSymmetry=this.isPDB=this.isMultiFrame=this.isMultiConfiguration=this.isLastFrame=this.haveCharges=this.haveBFactors=this.fileHasUnitCell=!1;this.ac=this.modelCount=this.modelIndex=0;this.noZapped=this.hnmrPeaks=this.cnmrPeaks=this.group3Counts=this.group3List=null;aa(this,arguments)},J.popup,"JmolGenericPopup",J.popup.GenericSwingPopup);ea(c$,function(){this.menuText=new java.util.Properties;this.frankList=Array(10);this.NotPDB=new JU.Lst;this.PDBOnly=new JU.Lst;this.FileUnitOnly=new JU.Lst;
this.FileMolOnly=new JU.Lst;this.UnitcellOnly=new JU.Lst;this.SingleModelOnly=new JU.Lst;this.FramesOnly=new JU.Lst;this.VibrationOnly=new JU.Lst;this.Special=new JU.Lst;this.SymmetryOnly=new JU.Lst;this.ChargesOnly=new JU.Lst;this.TemperatureOnly=new JU.Lst;this.noZapped=b(-1,["surfaceMenu","measureMenu","pickingMenu","computationMenu","SIGNEDJAVAcaptureMenuSPECIAL"])});l(c$,"initialize",function(a,b,g){this.vwr=a;this.initSwing(g,b,a.html5Applet,a.isJS,a.getBooleanProperty("_signedApplet"),a.isWebGL)},
"JV.Viewer,J.popup.PopupResource,~S");n(c$,"jpiDispose",function(){this.helper.menuClearListeners(this.popupMenu);this.helper.menuClearListeners(this.frankPopup);this.popupMenu=this.frankPopup=this.thisPopup=null});n(c$,"jpiGetMenuAsObject",function(){return this.popupMenu});n(c$,"jpiShow",function(a,b){if(this.vwr.haveDisplay){this.show(a,b,!1);if(0>a&&(this.getViewerData(),this.setFrankMenu(this.currentMenuItemId),this.thisx=-a-50,1<this.nFrankList)){this.thisy=b-20*this.nFrankList;this.menuShowPopup(this.frankPopup,
this.thisx,this.thisy);return}this.appRestorePopupMenu();this.menuShowPopup(this.popupMenu,this.thisx,this.thisy)}},"~N,~N");n(c$,"jpiUpdateComputedMenus",function(){-1!=this.updateMode&&(this.isTainted=!0,this.updateMode=0,this.getViewerData(),this.updateSelectMenu(),this.updateFileMenu(),this.updateElementsComputedMenu(this.vwr.getElementsPresentBitSet(this.modelIndex)),this.updateHeteroComputedMenu(this.vwr.ms.getHeteroList(this.modelIndex)),this.updateSurfMoComputedMenu(this.modelInfo.get("moData")),
this.updateFileTypeDependentMenus(),this.updatePDBComputedMenus(),this.updateMode=1,this.updateConfigurationComputedMenu(),this.updateSYMMETRYComputedMenus(),this.updateFRAMESbyModelComputedMenu(),this.updateModelSetComputedMenu(),this.updateLanguageSubmenu(),this.updateAboutSubmenu())});n(c$,"appCheckItem",function(a,b){0<=a.indexOf("!PDB")?this.NotPDB.addLast(b):0<=a.indexOf("PDB")&&this.PDBOnly.addLast(b);0<=a.indexOf("CHARGE")?this.ChargesOnly.addLast(b):0<=a.indexOf("BFACTORS")?this.TemperatureOnly.addLast(b):
0<=a.indexOf("UNITCELL")?this.UnitcellOnly.addLast(b):0<=a.indexOf("FILEUNIT")?this.FileUnitOnly.addLast(b):0<=a.indexOf("FILEMOL")&&this.FileMolOnly.addLast(b);0<=a.indexOf("!FRAMES")?this.SingleModelOnly.addLast(b):0<=a.indexOf("FRAMES")&&this.FramesOnly.addLast(b);0<=a.indexOf("VIBRATION")?this.VibrationOnly.addLast(b):0<=a.indexOf("SYMMETRY")&&this.SymmetryOnly.addLast(b);0<=a.indexOf("SPECIAL")&&this.Special.addLast(b)},"~S,javajs.api.SC");n(c$,"appFixLabel",function(a){return a},"~S");n(c$,
"appFixScript",function(a,b){var g;if(""===b||a.endsWith("Checkbox"))return b;if(0==b.indexOf("SELECT"))return"select thisModel and ("+b.substring(6)+")";if(0<=(g=a.lastIndexOf("["))){a=a.substring(g+1);if(0<=(g=a.indexOf("]")))a=a.substring(0,g);a=a.$replace("_"," ");0>b.indexOf("[]")&&(b="[] "+b);b=b.$replace("_"," ");return JU.PT.rep(b,"[]",a)}0<=b.indexOf("?FILEROOT?")?b=JU.PT.rep(b,"FILEROOT?",this.modelSetRoot):0<=b.indexOf("?FILE?")?b=JU.PT.rep(b,"FILE?",this.modelSetFileName):0<=b.indexOf("?PdbId?")&&
(b=JU.PT.rep(b,"PdbId?","=xxxx"));return b},"~S,~S");n(c$,"appGetBooleanProperty",function(a){return this.vwr.getBooleanProperty(a)},"~S");n(c$,"appGetMenuAsString",function(a){return(new J.popup.MainPopupResourceBundle(this.strMenuStructure,null)).getMenuAsText(a)},"~S");n(c$,"appIsSpecialCheckBox",function(a,b,g,d){if(this.appGetBooleanProperty(b)==d)return!0;if(!b.endsWith("P!"))return!1;if(0<=b.indexOf("??"))g=this.menuSetCheckBoxOption(a,b,g);else{if(!d)return!0;g="set picking "+b.substring(0,
b.length-2)}this.appRunScript(g);return!0},"javajs.api.SC,~S,~S,~B");n(c$,"appRestorePopupMenu",function(){this.thisPopup=this.popupMenu;if(!(this.vwr.isJS||2>this.nFrankList)){for(var a=this.nFrankList;0<--a;){var b=this.frankList[a];this.helper.menuInsertSubMenu(b[0],b[1],b[2].intValue())}this.nFrankList=1}});n(c$,"appRunScript",function(a){this.vwr.evalStringQuiet(a)},"~S");n(c$,"appUpdateSpecialCheckBoxValue",function(a,b){0<=b.indexOf("#CONFIG")&&(this.configurationSelected=b,this.updateConfigurationComputedMenu(),
this.updateModelSetComputedMenu())},"javajs.api.SC,~S,~B");l(c$,"setFrankMenu",function(a){if(!(null!=this.currentFrankId&&this.currentFrankId===a&&0<this.nFrankList)){null==this.frankPopup&&(this.frankPopup=this.helper.menuCreatePopup("Frank",this.vwr.html5Applet));this.thisPopup=this.frankPopup;this.menuRemoveAll(this.frankPopup,0);this.menuCreateItem(this.frankPopup,this.getMenuText("mainMenuText"),"MAIN","");this.currentFrankId=a;this.nFrankList=0;this.frankList[this.nFrankList++]=b(-1,[null,
null,null]);if(null!=a)for(var c=a.indexOf(".",2)+1;;){var g=a.indexOf(".",c);if(0>g)break;c=this.htMenus.get(a.substring(c,g));this.frankList[this.nFrankList++]=b(-1,[c.getParent(),c,Integer.$valueOf(this.vwr.isJS?0:this.menuGetListPosition(c))]);this.menuAddSubMenu(this.frankPopup,c);c=g+1}this.thisPopup=this.popupMenu}},"~S");l(c$,"checkBoolean",function(a){return null!=this.modelSetInfo&&this.modelSetInfo.get(a)===Boolean.TRUE},"~S");l(c$,"getViewerData",function(){this.modelSetName=this.vwr.ms.modelSetName;
this.modelSetFileName=this.vwr.getModelSetFileName();var a=this.modelSetFileName.lastIndexOf(".");if((this.isZapped="zapped".equals(this.modelSetName))||"string".equals(this.modelSetFileName)||"String[]".equals(this.modelSetFileName))this.modelSetFileName="";this.modelSetRoot=this.modelSetFileName.substring(0,0>a?this.modelSetFileName.length:a);0==this.modelSetRoot.length&&(this.modelSetRoot="Jmol");this.modelIndex=this.vwr.am.cmi;this.modelCount=this.vwr.ms.mc;this.ac=this.vwr.ms.getAtomCountInModel(this.modelIndex);
this.modelSetInfo=this.vwr.getModelSetAuxiliaryInfo();this.modelInfo=this.vwr.ms.getModelAuxiliaryInfo(this.modelIndex);null==this.modelInfo&&(this.modelInfo=new java.util.Hashtable);this.isPDB=this.checkBoolean("isPDB");this.isMultiFrame=1<this.modelCount;this.hasSymmetry=this.modelInfo.containsKey("hasSymmetry");this.isUnitCell=this.modelInfo.containsKey("unitCellParams");this.fileHasUnitCell=this.isPDB&&this.isUnitCell||this.checkBoolean("fileHasUnitCell");this.isLastFrame=this.modelIndex==this.modelCount-
1;this.altlocs=this.vwr.ms.getAltLocListInModel(this.modelIndex);this.isMultiConfiguration=0<this.altlocs.length;this.isVibration=this.vwr.modelHasVibrationVectors(this.modelIndex);this.haveCharges=null!=this.vwr.ms.getPartialCharges();this.haveBFactors=this.vwr.getBooleanProperty("haveBFactors");this.cnmrPeaks=this.modelInfo.get("jdxAtomSelect_13CNMR");this.hnmrPeaks=this.modelInfo.get("jdxAtomSelect_1HNMR")});n(c$,"appCheckSpecialMenu",function(a,b,g){"modelSetMenu".equals(a)&&(this.nullModelSetName=
g,this.menuEnable(b,!1))},"~S,javajs.api.SC,~S");n(c$,"appUpdateForShow",function(){if(-1!=this.updateMode){this.isTainted=!0;this.getViewerData();this.updateMode=2;this.updateSelectMenu();this.updateSpectraMenu();this.updateFRAMESbyModelComputedMenu();this.updateSceneComputedMenu();this.updateModelSetComputedMenu();this.updateAboutSubmenu();for(var a=this.Special.size();0<=--a;)this.updateSpecialMenuItem(this.Special.get(a))}});l(c$,"updateFileMenu",function(){var a=this.htMenus.get("fileMenu");
if(null!=a){var b=this.getMenuText("writeFileTextVARIABLE"),a=this.htMenus.get("writeFileTextVARIABLE");this.modelSetFileName.equals("zapped")||this.modelSetFileName.equals("")?(this.menuSetLabel(a,""),this.menuEnable(a,!1)):(this.menuSetLabel(a,J.i18n.GT.o(J.i18n.GT._(b),this.modelSetFileName)),this.menuEnable(a,!0))}});l(c$,"getMenuText",function(a){var b=this.menuText.getProperty(a);return null==b?a:b},"~S");l(c$,"updateSelectMenu",function(){var a=this.htMenus.get("selectMenuText");null!=a&&(this.menuEnable(a,
0!=this.ac),this.menuSetLabel(a,this.gti("selectMenuText",this.vwr.slm.getSelectionCount())))});l(c$,"updateElementsComputedMenu",function(a){var b=this.htMenus.get("elementsComputedMenu");if(null!=b&&(this.menuRemoveAll(b,0),this.menuEnable(b,!1),null!=a)){for(var g=a.nextSetBit(0);0<=g;g=a.nextSetBit(g+1)){var d=JU.Elements.elementNameFromNumber(g),e=JU.Elements.elementSymbolFromNumber(g),e=e+" - "+d;this.menuCreateItem(b,e,"SELECT "+d,null)}for(g=4;g<JU.Elements.altElementMax;++g)e=JU.Elements.elementNumberMax+
g,a.get(e)&&(e=JU.Elements.altElementNumberFromIndex(g),d=JU.Elements.elementNameFromNumber(e),e=JU.Elements.elementSymbolFromNumber(e),e=e+" - "+d,this.menuCreateItem(b,e,"SELECT "+d,null));this.menuEnable(b,!0)}},"JU.BS");l(c$,"updateSpectraMenu",function(){var a=this.htMenus.get("hnmrMenu"),b=this.htMenus.get("cnmrMenu");null!=a&&this.menuRemoveAll(a,0);null!=b&&this.menuRemoveAll(b,0);var g=this.htMenus.get("spectraMenu");if(null!=g){this.menuRemoveAll(g,0);var d=(new Boolean(this.setSpectraMenu(a,
this.hnmrPeaks)|this.setSpectraMenu(b,this.cnmrPeaks))).valueOf();d&&(null!=a&&this.menuAddSubMenu(g,a),null!=b&&this.menuAddSubMenu(g,b));this.menuEnable(g,d)}});l(c$,"setSpectraMenu",function(a,b){if(null==a)return!1;this.menuEnable(a,!1);var g=null==b?0:b.size();if(0==g)return!1;for(var d=0;d<g;d++){var e=b.get(d),h=JU.PT.getQuotedAttribute(e,"title"),e=JU.PT.getQuotedAttribute(e,"atoms");null!=e&&this.menuCreateItem(a,h,"select visible & (@"+JU.PT.rep(e,","," or @")+")","Focus"+d)}this.menuEnable(a,
!0);return!0},"javajs.api.SC,JU.Lst");l(c$,"updateHeteroComputedMenu",function(a){var b=this.htMenus.get("PDBheteroComputedMenu");if(null!=b&&(this.menuRemoveAll(b,0),this.menuEnable(b,!1),null!=a)){var g=0,d;for(a=a.entrySet().iterator();a.hasNext()&&((d=a.next())||1);){var e=d.getKey(),h=d.getValue();20<h.length&&(h=h.substring(0,20)+"...");this.menuCreateItem(b,e+" - "+h,"SELECT ["+e+"]",null);g++}this.menuEnable(b,0<g)}},"java.util.Map");l(c$,"updateSurfMoComputedMenu",function(a){var b=this.htMenus.get("surfMoComputedMenuText");
if(null!=b){this.menuRemoveAll(b,0);a=null==a?null:a.get("mos");var g=null==a?0:a.size(),d=this.getMenuText("surfMoComputedMenuText");if(0==g)this.menuSetLabel(b,J.i18n.GT.o(J.i18n.GT._(d),"")),this.menuEnable(b,!1);else{this.menuSetLabel(b,J.i18n.GT.i(J.i18n.GT._(d),g));this.menuEnable(b,!0);var d=b,e=g%this.itemMax;0==e&&(e=this.itemMax);for(var h=g>this.itemMax?0:-2147483648;0<=--g;){0<=h&&0==h++%e&&(h==e+1&&(e=this.itemMax),h="mo"+h+"Menu",d=this.menuNewSubMenu(Math.max(g+2-e,1)+"..."+(g+1),this.menuGetId(b)+
"."+h),this.menuAddSubMenu(b,d),this.htMenus.put(h,d),h=1);var f=a.get(g),f="#"+(g+1)+" "+(f.containsKey("type")?f.get("type")+" ":"")+(f.containsKey("symmetry")?f.get("symmetry")+" ":"")+(f.containsKey("occupancy")?"("+f.get("occupancy")+") ":"")+(f.containsKey("energy")?f.get("energy"):"");this.menuCreateItem(d,f,"mo "+(g+1),null)}}}},"java.util.Map");l(c$,"updateFileTypeDependentMenus",function(){for(var a=this.NotPDB.size();0<=--a;)this.menuEnable(this.NotPDB.get(a),!this.isPDB);for(a=this.PDBOnly.size();0<=
--a;)this.menuEnable(this.PDBOnly.get(a),this.isPDB);for(a=this.UnitcellOnly.size();0<=--a;)this.menuEnable(this.UnitcellOnly.get(a),this.isUnitCell);for(a=this.FileUnitOnly.size();0<=--a;)this.menuEnable(this.FileUnitOnly.get(a),this.isUnitCell||this.fileHasUnitCell);for(a=this.FileMolOnly.size();0<=--a;)this.menuEnable(this.FileMolOnly.get(a),this.isUnitCell||this.fileHasUnitCell);for(a=this.SingleModelOnly.size();0<=--a;)this.menuEnable(this.SingleModelOnly.get(a),this.isLastFrame);for(a=this.FramesOnly.size();0<=
--a;)this.menuEnable(this.FramesOnly.get(a),this.isMultiFrame);for(a=this.VibrationOnly.size();0<=--a;)this.menuEnable(this.VibrationOnly.get(a),this.isVibration);for(a=this.SymmetryOnly.size();0<=--a;)this.menuEnable(this.SymmetryOnly.get(a),this.hasSymmetry&&this.isUnitCell);for(a=this.ChargesOnly.size();0<=--a;)this.menuEnable(this.ChargesOnly.get(a),this.haveCharges);for(a=this.TemperatureOnly.size();0<=--a;)this.menuEnable(this.TemperatureOnly.get(a),this.haveBFactors);this.updateSignedAppletItems()});
l(c$,"updateSceneComputedMenu",function(){var a=this.htMenus.get("sceneComputedMenu");if(null!=a){this.menuRemoveAll(a,0);this.menuEnable(a,!1);var b=this.vwr.ms.getInfoM("scenes");if(null!=b){for(var g=0;g<b.length;g++)this.menuCreateItem(a,b[g],"restore scene "+JU.PT.esc(b[g])+" 1.0",null);this.menuEnable(a,!0)}}});l(c$,"updatePDBComputedMenus",function(){var a=this.htMenus.get("PDBaaResiduesComputedMenu");if(null!=a){this.menuRemoveAll(a,0);this.menuEnable(a,!1);var b=this.htMenus.get("PDBnucleicResiduesComputedMenu");
if(null!=b){this.menuRemoveAll(b,0);this.menuEnable(b,!1);var g=this.htMenus.get("PDBcarboResiduesComputedMenu");if(null!=g&&(this.menuRemoveAll(g,0),this.menuEnable(g,!1),null!=this.modelSetInfo)){var d=0>this.modelIndex?0:this.modelIndex+1,e=this.modelSetInfo.get("group3Lists");this.group3List=null==e?null:e[d];this.group3Counts=null==e?null:this.modelSetInfo.get("group3Counts")[d];if(null!=this.group3List){for(var d=0,e=JM.Group.standardGroupList,h=1;24>h;++h)d+=this.updateGroup3List(a,e.substring(6*
h-4,6*h-1).trim());d+=this.augmentGroup3List(a,"p>",!0);this.menuEnable(a,0<d);this.menuEnable(this.htMenus.get("PDBproteinMenu"),0<d);d=this.augmentGroup3List(b,"n>",!1);this.menuEnable(b,0<d);this.menuEnable(this.htMenus.get("PDBnucleicMenu"),0<d);a=0<d&&0<=this.modelIndex?this.vwr.ms.getInfo(this.modelIndex,"dssr"):null;null!=a&&this.setSecStrucMenu(this.htMenus.get("aaStructureMenu"),a);d=this.augmentGroup3List(g,"c>",!1);this.menuEnable(g,0<d);this.menuEnable(this.htMenus.get("PDBcarboMenu"),
0<d)}}}}});l(c$,"setSecStrucMenu",function(a,b){var g=b.get("counts");if(null==g)return!1;var d=Array(g.size());g.keySet().toArray(d);java.util.Arrays.sort(d);if(0==d.length)return!1;a.removeAll();for(var e=0;e<d.length;e++)this.menuCreateItem(a,d[e]+" ("+g.get(d[e])+")","select modelIndex="+this.modelIndex+" && within('dssr', '"+d[e]+"');",null);return!0},"javajs.api.SC,java.util.Map");l(c$,"updateGroup3List",function(a,b){var g=0,d=this.group3Counts[K(this.group3List.indexOf(b)/6)];b=b.trim();var e=
null;0<d&&(e="SELECT "+b,b+="  ("+d+")",g++);e=this.menuCreateItem(a,b,e,this.menuGetId(a)+"."+b);0==d&&this.menuEnable(e,!1);return g},"javajs.api.SC,~S");l(c$,"augmentGroup3List",function(a,b,g){for(var d=138,e=0;;){d=this.group3List.indexOf(b,d);if(0>d)break;0==e++&&g&&this.menuAddSeparator(a);var h=this.group3Counts[K(d/6)],f=this.group3List.substring(d+2,d+5),h=f+"  ("+h+")";this.menuCreateItem(a,h,"SELECT ["+f+"]",this.menuGetId(a)+"."+h);d++}return e},"javajs.api.SC,~S,~B");l(c$,"updateSYMMETRYComputedMenus",
function(){this.updateSYMMETRYSelectComputedMenu();this.updateSYMMETRYShowComputedMenu()});l(c$,"updateSYMMETRYShowComputedMenu",function(){var a=this.htMenus.get("SYMMETRYShowComputedMenu");if(null!=a&&(this.menuRemoveAll(a,0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.vwr.getProperty("DATA_API","spaceGroupInfo",null);if(null!=b){var g=b.get("operations");if(null!=g){b=b.get("spaceGroupName");this.menuSetLabel(a,null==b?J.i18n.GT._("Space Group"):b);for(var b=a,d=this.itemMax,
e=g.length>this.itemMax?0:-2147483648,h=0;h<g.length;h++){0<=e&&0==e++%d&&(e="drawsymop"+e+"Menu",b=this.menuNewSubMenu(h+1+"..."+Math.min(h+this.itemMax,g.length),this.menuGetId(a)+"."+e),this.menuAddSubMenu(a,b),this.htMenus.put(e,b),e=1);0==h&&this.menuEnable(this.menuCreateItem(b,J.i18n.GT._("none"),"draw sym_* delete",null),!0);var f=g[h][1];0>f.indexOf("x1")&&(f=g[h][0]);this.menuEnable(this.menuCreateItem(b,h+1+" "+g[h][2]+" ("+f+")","draw SYMOP "+(h+1),null),!0)}this.menuEnable(a,!0)}}}});
l(c$,"updateSYMMETRYSelectComputedMenu",function(){var a=this.htMenus.get("SYMMETRYSelectComputedMenu");if(null!=a&&(this.menuRemoveAll(a,0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.modelInfo.get("symmetryOperations");if(null!=b){for(var g=null!=this.modelInfo.get("unitCellRange"),d=a,e=this.itemMax,h=b.length>this.itemMax?0:-2147483648,f=0;f<b.length;f++)0<=h&&0==h++%e&&(h="symop"+h+"Menu",d=this.menuNewSubMenu(f+1+"..."+Math.min(f+this.itemMax,b.length),this.menuGetId(a)+
"."+h),this.menuAddSubMenu(a,d),this.htMenus.put(h,d),h=1),this.menuEnable(this.menuCreateItem(d,"symop="+(f+1)+" # "+b[f],"SELECT symop="+(f+1),null),g);this.menuEnable(a,!0)}}});l(c$,"updateFRAMESbyModelComputedMenu",function(){var a=this.htMenus.get("FRAMESbyModelComputedMenu");if(null!=a&&(this.menuEnable(a,0<this.modelCount),this.menuSetLabel(a,0>this.modelIndex?this.gti("allModelsText",this.modelCount):this.gto("modelMenuText",this.modelIndex+1+"/"+this.modelCount)),this.menuRemoveAll(a,0),
!(1>this.modelCount))){1<this.modelCount&&this.menuCreateCheckboxItem(a,J.i18n.GT._("All"),"frame 0 ##",null,0>this.modelIndex,!1);for(var b=a,g=this.itemMax,d=this.modelCount>this.itemMax?0:-2147483648,e=0;e<this.modelCount;e++){0<=d&&0==d++%g&&(d="model"+d+"Menu",b=this.menuNewSubMenu(e+1+"..."+Math.min(e+this.itemMax,this.modelCount),this.menuGetId(a)+"."+d),this.menuAddSubMenu(a,b),this.htMenus.put(d,b),d=1);var f=""+this.vwr.getModelNumberDotted(e),j=this.vwr.getModelName(e),k=this.vwr.ms.getInfo(e,
"spectrumTypes");null!=k&&j.startsWith(k)&&(k=null);if(!j.equals(f)){var l=j.indexOf(";PATH");0<=l&&(j=j.substring(0,l));if(0==j.indexOf("Model[")&&0<=(l=j.indexOf("]:")))j=j.substring(l+2);j=f+": "+j}60<j.length&&(j=j.substring(0,55)+"...");null!=k&&(j+=" ("+k+")");this.menuCreateCheckboxItem(b,j,"model "+f+" ##",null,this.modelIndex==e,!1)}}});l(c$,"updateConfigurationComputedMenu",function(){var a=this.htMenus.get("configurationComputedMenu");if(null!=a&&(this.menuEnable(a,this.isMultiConfiguration),
this.isMultiConfiguration)){var b=this.altlocs.length;this.menuSetLabel(a,this.gti("configurationMenuText",b));this.menuRemoveAll(a,0);var g="hide none ##CONFIG";this.menuCreateCheckboxItem(a,J.i18n.GT._("All"),g,null,1==this.updateMode&&this.configurationSelected.equals(g),!1);for(var d=0;d<b;d++){var g="configuration "+(d+1)+"; hide thisModel and not selected ##CONFIG",e=""+(d+1)+' -- "'+this.altlocs.charAt(d)+'"';this.menuCreateCheckboxItem(a,e,g,null,1==this.updateMode&&this.configurationSelected.equals(g),
!1)}}});l(c$,"updateModelSetComputedMenu",function(){var a=this.htMenus.get("modelSetMenu");if(null!=a){this.menuRemoveAll(a,0);this.menuSetLabel(a,this.nullModelSetName);this.menuEnable(a,!1);for(var c=this.noZapped.length;0<=--c;)this.menuEnable(this.htMenus.get(this.noZapped[c]),!this.isZapped);if(!(null==this.modelSetName||this.isZapped)){this.isMultiFrame?(this.modelSetName=this.gti("modelSetCollectionText",this.modelCount),this.modelSetName.length>this.titleWidthMax&&(this.modelSetName=this.modelSetName.substring(0,
this.titleWidthMax)+"...")):this.vwr.getBooleanProperty("hideNameInPopup")?this.modelSetName=this.getMenuText("hiddenModelSetText"):this.modelSetName.length>this.titleWidthMax&&(this.modelSetName=this.modelSetName.substring(0,this.titleWidthMax)+"...");this.menuSetLabel(a,this.modelSetName);this.menuEnable(a,!0);this.menuEnable(this.htMenus.get("computationMenu"),100>=this.ac);this.addMenuItem(a,this.gti("atomsText",this.ac));this.addMenuItem(a,this.gti("bondsText",this.vwr.ms.getBondCountInModel(this.modelIndex)));
if(this.isPDB){this.menuAddSeparator(a);this.addMenuItem(a,this.gti("groupsText",this.vwr.ms.getGroupCountInModel(this.modelIndex)));this.addMenuItem(a,this.gti("chainsText",this.vwr.ms.getChainCountInModelWater(this.modelIndex,!1)));this.addMenuItem(a,this.gti("polymersText",this.vwr.ms.getBioPolymerCountInModel(this.modelIndex)));var g=this.htMenus.get("BiomoleculesMenu");null==g&&(g=this.menuNewSubMenu(J.i18n.GT._(this.getMenuText("biomoleculesMenuText")),this.menuGetId(a)+".biomolecules"),this.menuAddSubMenu(a,
g));this.menuRemoveAll(g,0);this.menuEnable(g,!1);var d;if(0<=this.modelIndex&&null!=(d=this.vwr.ms.getInfo(this.modelIndex,"biomolecules"))){this.menuEnable(g,!0);for(var e=d.size(),c=0;c<e;c++){var f=this.isMultiFrame?"":'save orientation;load "" FILTER "biomolecule '+(c+1)+'";restore orientation;',j=d.get(c).get("atomCount").intValue(),j=this.gto(this.isMultiFrame?"biomoleculeText":"loadBiomoleculeText",b(-1,[Integer.$valueOf(c+1),Integer.$valueOf(j)]));this.menuCreateItem(g,j,f,null)}}}this.isApplet&&
!this.vwr.getBooleanProperty("hideNameInPopup")&&(this.menuAddSeparator(a),this.menuCreateItem(a,this.gto("viewMenuText",this.modelSetFileName),"show url",null))}}});l(c$,"gti",function(a,b){return J.i18n.GT.i(J.i18n.GT._(this.getMenuText(a)),b)},"~S,~N");l(c$,"gto",function(a,b){return J.i18n.GT.o(J.i18n.GT._(this.getMenuText(a)),b)},"~S,~O");l(c$,"updateAboutSubmenu",function(){this.isApplet&&this.setText("APPLETid",this.vwr.appletName)});l(c$,"updateLanguageSubmenu",function(){var a=this.htMenus.get("languageComputedMenu");
if(null!=a){this.menuRemoveAll(a,0);for(var b=J.i18n.GT.getLanguage(),g=this.menuGetId(a),d=J.i18n.GT.getLanguageList(null),e=0,f=0;e<d.length;e++)if(b.equals(d[e].code)&&(d[e].display=!0),d[e].display){var j=d[e].code,k=d[e].language,l=d[e].nativeLanguage,n=j+" - "+J.i18n.GT._(k);null!=l&&!l.equals(J.i18n.GT._(k))&&(n+=" - "+l);0<f++&&1==f%4&&this.menuAddSeparator(a);this.menuCreateCheckboxItem(a,n,'language = "'+j+'" ##'+k,g+"."+j,b.equals(j),!1)}}});l(c$,"updateSpecialMenuItem",function(a){a.setText(this.getSpecialLabel(a.getName(),
a.getText()))},"javajs.api.SC");l(c$,"getSpecialLabel",function(a,b){var f=b.indexOf(" (");0>f&&(f=b.length);var d=null;0<=a.indexOf("captureLooping")?d=1073742070==this.vwr.am.animationReplayMode?"ONCE":"LOOP":0<=a.indexOf("captureFps")?d=""+this.vwr.getInt(553648132):0<=a.indexOf("captureMenu")&&(d=null==this.vwr.captureParams?J.i18n.GT._("not capturing"):this.vwr.fm.getFilePath(this.vwr.captureParams.get("captureFileName"),!1,!0)+" "+this.vwr.captureParams.get("captureCount"));return null==d?b:
b.substring(0,f)+" ("+d+")"},"~S,~S");L(c$,"UPDATE_NEVER",-1,"UPDATE_ALL",0,"UPDATE_CONFIG",1,"UPDATE_SHOW",2,"MENUITEM_HEIGHT",20)});y("J.awtjs2d");B(["J.popup.JmolGenericPopup"],"J.awtjs2d.JmolJSPopup",["J.i18n.GT","J.popup.JSSwingPopupHelper","$.MainPopupResourceBundle"],function(){c$=M(J.awtjs2d,"JmolJSPopup",J.popup.JmolGenericPopup);ca(c$,function(){fa(this,J.awtjs2d.JmolJSPopup,[]);this.helper=new J.popup.JSSwingPopupHelper(this)});n(c$,"jpiInitialize",function(a,b){var f=J.i18n.GT.setDoTranslate(!0),
d=new J.popup.MainPopupResourceBundle(this.strMenuStructure=b,this.menuText);this.initialize(a,d,d.getMenuName());J.i18n.GT.setDoTranslate(f)},"javajs.api.PlatformViewer,~S");n(c$,"menuShowPopup",function(a,b,f){try{a.show(this.isTainted?this.vwr.html5Applet:null,b,f)}catch(d){if(!da(d,Exception))throw d;}this.isTainted=!1},"javajs.api.SC,~N,~N");n(c$,"menuSetCheckBoxOption",function(){return null},"javajs.api.SC,~S,~S");n(c$,"getImageIcon",function(){return null},"~S");n(c$,"menuFocusCallback",function(){},
"~S,~S,~B")})})(Clazz,Clazz.getClassName,Clazz.newLongArray,Clazz.doubleToByte,Clazz.doubleToInt,Clazz.doubleToLong,Clazz.declarePackage,Clazz.instanceOf,Clazz.load,Clazz.instantialize,Clazz.decorateAsClass,Clazz.floatToInt,Clazz.floatToLong,Clazz.makeConstructor,Clazz.defineEnumConstant,Clazz.exceptionOf,Clazz.newIntArray,Clazz.defineStatics,Clazz.newFloatArray,Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,Clazz.p0p,Clazz.pu$h,Clazz.newShortArray,
Clazz.innerTypeInstance,Clazz.isClassDefined,Clazz.prepareCallback,Clazz.newArray,Clazz.castNullAs,Clazz.floatToShort,Clazz.superCall,Clazz.decorateAsType,Clazz.newBooleanArray,Clazz.newCharArray,Clazz.implementOf,Clazz.newDoubleArray,Clazz.overrideConstructor,Clazz.clone,Clazz.doubleToShort,Clazz.getInheritedLevel,Clazz.getParamsType,Clazz.isAF,Clazz.isAB,Clazz.isAI,Clazz.isAS,Clazz.isASS,Clazz.isAP,Clazz.isAFloat,Clazz.isAII,Clazz.isAFF,Clazz.isAFFF,Clazz.tryToSearchAndExecute,Clazz.getStackTrace,
Clazz.inheritArgs,Clazz.alert,Clazz.defineMethod,Clazz.overrideMethod,Clazz.declareAnonymous,Clazz.cloneFinals);
