(function(c,n){function h(a){var e=a.length,k=d.type(a);return d.isWindow(a)?!1:1===a.nodeType&&e?!0:"array"===k||"function"!==k&&(0===e||"number"===typeof e&&0e;e+=2)"margin"===k&&(c+=d.css(a,k+da[e],!0,b)),p?("content"===k&&(c-=d.css(a,"padding"+da[e],!0,b)),"margin"!==k&&(c-=d.css(a,"border"+ da[e]+"Width",!0,b))):(c+=d.css(a,"padding"+da[e],!0,b),"padding"!==k&&(c+=d.css(a,"border"+da[e]+"Width",!0,b)));return c}function Kb(a,e,k){var p=!0,b="width"===e?a.offsetWidth:a.offsetHeight,c=ea(a),f=d.support.boxSizing&&"border-box"===d.css(a,"boxSizing",!1,c);if(0>=b||null==b){b=fa(a,e,c);if(0>b||null==b)b=a.style[e];if(Ea.test(b))return b;p=f&&(d.support.boxSizingReliable||b===a.style[e]);b=parseFloat(b)||0}return b+Jb(a,e,k||(f?"border":"content"),p,c)+"px"}function Hb(a){var e=r,k=Lb[a]; if(!k){k=Mb(a,e);if("none"===k||!k)za=(za||d("';c.$after("body",f)}catch(g){}delete c._tracker;return b}})(Jmol,jQuery);Jmol._grabberOptions=[["$","NCI(small molecules)"],[":","PubChem(small molecules)"]];Jmol.say=function(c){alert(c)}; Jmol._TMApplet=function(c,n,h){this._syncId=(""+Math.random()).substring(3);this._id=c;this._is2D=!0;this._isJava=!1;this._ready=!0;this._mouseDown=!1;this._jmolType="Jmol._Canvas2D (TwirlyMol)";if(h)return this;this._createCanvas(c,n);return this}; Jmol._TMApplet._getApplet=function(c,n,h){if(!Jmol.featureDetection.allowHTML5)return null;h||(h=!1);n||(n={});Jmol._addDefaultInfo(n,{color:"#FFFFFF",width:300,height:300,addSelectionOptions:!1,serverURL:"http://your.server.here/jsmol.php",defaultModel:"",readyFunction:null,use:"HTML5",bondWidth:5,shadeAtoms:!1,zoomScaling:1.5,pinchScaling:2,mouseDragFactor:0.5,touchDragFactor:0.15,multipleBondSpacing:4,spinRateX:0,spinRateY:0.5,spinFPS:20,spin:!1,noscript:!0,debug:!1});n=new Jmol._TMApplet(c,n, h);return h?n:Jmol._registerApplet(c,n)};Jmol.getTMApplet=Jmol._TMApplet._getApplet; (function(c){c._CPK="#FF1493 #FFFFFF #D9FFFF #CC80FF #C2FF00 #FFB5B5 #909090 #3050F8 #FF0D0D #90E050 #B3E3F5 #AB5CF2 #8AFF00 #BFA6A6 #F0C8A0 #FF8000 #FFFF30 #1FF01F #80D1E3 #8F40D4 #3DFF00 #E6E6E6 #BFC2C7 #A6A6AB #8A99C7 #9C7AC7 #E06633 #F090A0 #50D050 #C88033 #7D80B0 #C28F8F #668F8F #BD80E3 #FFA100 #A62929 #5CB8D1 #702EB0 #00FF00 #94FFFF #94E0E0 #73C2C9 #54B5B5 #3B9E9E #248F8F #0A7D8C #006985 #C0C0C0 #FFD98F #A67573 #668080 #9E63B5 #D47A00 #940094 #429EB0 #57178F #00C900".split(" ");c._elem="X H He Li Be B C N O F Ne Na Mg Al Si P S Cl Ar K Ca Sc Ti V Cr Mn Fe Co Ni Cu Zn Ga Ge As Se Br Kr Rb Sr Y Zr Nb Mo Tc Ru Rh Pd Ag Cd In Sn Sb Te I Xe Cs Ba La Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb Lu Hf Ta W Re Os Ir Pt Au Hg Tl Pb Bi Po At Rn Fr Ra Ac Th Pa U Np Pu Am Cm Bk Cf Es".split(" "); c._elemNo={};var n=c.prototype;n.spin=function(c){this.__Info.spin=c;this._spin(c)};n._spin=function(c){this._spinThread&&clearTimeout(this._spinThread);if(0==this.spinFPS||0==this.spinRateX&&0==this.spinRateY)c=!1;if(c){var j=this;c=1E3/this.spinFPS;this._mouseDown||(this._rotate(this.spinRateY,this.spinRateX),this._draw());this._spinThread=setTimeout(function(){j._spin(!0)},c)}};n._initParams=function(){this.zoom=this.__Info.defaultZoom||100;this.doSpin=this.__Info.spin||!1;this.center2D=[this._canvas.width/ 2,this._canvas.height/2,0];this._getCenterAndRadius();this.rotation=new c.M3;this.shadeAtoms=!1;this._setParams()};n._setParams=function(){this.bondWidth=this.__Info.bondWidth||5;this.zoomScaling=this.__Info.zoomScaling||1.5;this.pinchScaling=this.__Info.pinchScaling||1;this.mouseDragFactor=this.__Info.mouseDragFactor||0.5;this.touchDragFactor=this.__Info.touchDragFactor||0.15;this.multipleBondSpacing=this.__Info.multipleBondSpacing||4;this.spinRateX=this.__Info.spinRateX||0;this.spinRateY=this.__Info.spinRateY|| 0;this.spinFPS=this.__Info.spinFPS||0;var c=this.shadeAtoms;(this.shadeAtoms=this.__Info.shadeAtoms||!1)&&!c&&this._setAtomShades()};n._setAtomShades=function(){if(this.atoms)for(var c=this.atoms.length;0<=--c;)this.atoms[c].color50=this._getColor(this.atoms[c].color,0.5)};n._createCanvas=function(c,j){Jmol._setObject(this,c,j);this._color=this._color.replace(/0x/,"#");var l=Jmol._getWrapper(this,!0);Jmol._document?(Jmol._documentWrite(l),this._createCanvas2d(!1),l=""):l+='