Frame 2
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
trace(Math.floor((100 * _root.getBytesLoaded()) / _root.getBytesTotal()) + "%");
gotoAndPlay ("PreLoaderLoop");
}
Frame 3
function MakeColor(_r, _g, _b) {
return(Number((256 * ((256 * _r) + _g)) + _b));
}
function ReSetLogo() {
cv._width = CellWidth / 2;
cv._yscale = cv._xscale;
cv._y = cv._height + 10;
}
function EDDragToggle() {
if (EDDragging) {
ED.stopDrag();
EDDragging = false;
SharedDragging = false;
ED.icnMov._xscale = (ED.icnMov._yscale = (ED.icnMov._xscale * 2) / 3);
if (EmbedLA) {
if (EDShrunk) {
EDXEs = ED._x;
EDYEs = ED._y;
} else {
EDXEb = ED._x;
EDYEb = ED._y;
}
} else if (EDShrunk) {
EDXnEs = ED._x;
EDYnEs = ED._y;
} else {
EDXnEb = ED._x;
EDYnEb = ED._y;
}
EDReposition();
} else {
ED.startDrag();
EDDragging = true;
SharedDragging = true;
ED.icnMov._xscale = (ED.icnMov._yscale = ED.icnMov._xscale * 1.5);
}
}
function GetTraditionalPeriod(AMU) {
if (((AMU >= 57) && (AMU <= 70)) || ((AMU >= 89) && (AMU <= 102))) {
return(Number(el[AMU][iPeriod]) - 3);
}
return(Number(el[AMU][iPeriod]));
}
function GetPosPeriod(AMU, Config) {
switch (Config) {
case cfgTraditional :
trace("embedded");
break;
case cfgEmbedded :
trace("embedded");
break;
case cfgOther :
trace("other");
default :
trace("default");
}
}
function GetCellX(iAMU) {
var _local4 = 2;
var _local2;
var _local3 = false;
if (((iAMU >= 57) && (iAMU <= 70)) || ((iAMU >= 89) && (iAMU <= 102))) {
_local3 = true;
}
switch (EmbedLA) {
case false :
_local2 = (CellWidth * (Number(el[iAMU][iGroup]) + (_local3 ? (_local4) : 0))) - (CellWidth / 2);
if ((iAMU == 1) && (HIsHalogen == true)) {
_local2 = (CellWidth * 17) - (CellWidth / 2);
}
if ((iAMU == 2) && (HePosition == true)) {
_local2 = (CellWidth * 2) - (CellWidth / 2);
}
break;
case true :
if (((((((iAMU == 1) || ((iAMU >= 3) && (iAMU <= 4))) || ((iAMU >= 11) && (iAMU <= 12))) || ((iAMU >= 19) && (iAMU <= 20))) || ((iAMU >= 37) && (iAMU <= 38))) || ((iAMU >= 55) && (iAMU <= 70))) || ((iAMU >= 87) && (iAMU <= 102))) {
xOff = 0;
} else {
xOff = 14;
}
myGroup = Number(el[iAMU][iGroup]);
if ((iAMU == 1) && (HIsHalogen == true)) {
myGroup = 31;
xOff = 0;
}
if ((iAMU == 2) && (HePosition == true)) {
myGroup = 2;
xOff = 0;
}
_local2 = (CellWidth * (myGroup + xOff)) - (CellWidth / 2);
}
if (((!_local3) || (EmbedLA)) || (IncludeLAinRotation)) {
_local2 = ShiftRotateX(_local2);
}
return(_local2);
}
function ShiftRotateX(nX) {
return(CellWidth * (((nX / CellWidth) + nCellOffset) % (EmbedLA ? 32 : 18)));
}
function GetCellY(iAMU) {
var _local2;
switch (EmbedLA) {
case false :
_local2 = (CellHeight * el[iAMU][iPeriod]) - (CellHeight / 2);
break;
case true :
if (((iAMU >= 57) && (iAMU <= 70)) || ((iAMU >= 89) && (iAMU <= 102))) {
yOff = -2.5;
} else {
yOff = 0.5;
}
_local2 = (CellHeight * (yOff + Number(el[iAMU][iPeriod]))) - (CellHeight / 2);
}
return(_local2);
}
function SetCellsSize() {
var _local1 = iMin;
while (_local1 <= iMax) {
setProperty("Cell" + _local1, _width , CellWidth);
setProperty("Cell" + _local1, _height , CellHeight);
_local1++;
}
}
function ConfigureCells() {
var _local2;
var _local4;
var _local3;
if (bResizeCells) {
bResizeCells = false;
SetCellsSize();
}
RepositionMinigraphs();
var _local1 = iMin;
while (_local1 <= iMax) {
setProperty("Cell" + _local1, _x , GetCellX(_local1));
setProperty("Cell" + _local1, _y , GetCellY(_local1));
_local1++;
}
ReSetLogo();
}
function RepositionMinigraphs() {
ShrinkMinigraphs();
ED.ResizePositionED();
EOReposition();
AGReposition();
}
function ShrinkMinigraphs() {
ShrinkAG();
ShrinkEO();
}
function GetNormdVal(InVal, InMin, InMax, OutMin, OutMax) {
if (InVal < InMin) {
InVal = InMin;
}
if (InVal > InMax) {
InVal = InMax;
}
return(Math.round(OutMin + (((OutMax - OutMin) * (InVal - InMin)) / (InMax - InMin))));
}
function MakeColor(_r, _g, _b) {
return(Number((256 * ((256 * _r) + _g)) + _b));
}
function SetColor(idx) {
var it = iMin;
while (it <= iMax) {
eval ("Cell" + it).SetBGColor(GetMyColor(it, idx));
it++;
}
}
function GetECDetails(nAMU) {
if (((((((nAMU >= 5) && (nAMU <= 10)) || ((nAMU >= 13) && (nAMU <= 18))) || ((nAMU >= 31) && (nAMU <= 36))) || ((nAMU >= 49) && (nAMU <= 54))) || ((nAMU >= 81) && (nAMU <= 86))) || ((nAMU >= 113) && (nAMU <= 118))) {
ECD.nMaxC = cM;
ECD.nMinC = cM2;
ECD.nDelta = 5;
if (nAMU <= 10) {
ECD.nMinVal = 5;
} else if (nAMU <= 18) {
ECD.nMinVal = 13;
} else if (nAMU <= 36) {
ECD.nMinVal = 31;
} else if (nAMU <= 54) {
ECD.nMinVal = 49;
} else if (nAMU <= 86) {
ECD.nMinVal = 81;
} else {
ECD.nMinVal = 113;
}
} else if (((((nAMU >= 21) && (nAMU <= 30)) || ((nAMU >= 39) && (nAMU <= 48))) || ((nAMU >= 71) && (nAMU <= 80))) || ((nAMU >= 103) && (nAMU <= 112))) {
ECD.nMaxC = cY;
ECD.nMinC = cY2;
ECD.nDelta = 9;
if (nAMU <= 30) {
ECD.nMinVal = 21;
} else if (nAMU <= 48) {
ECD.nMinVal = 39;
} else if (nAMU <= 80) {
ECD.nMinVal = 71;
} else {
ECD.nMinVal = 103;
}
} else if (((nAMU >= 57) && (nAMU <= 70)) || ((nAMU >= 89) && (nAMU <= 102))) {
ECD.nMaxC = cG;
ECD.nMinC = cG2;
ECD.nDelta = 13;
if (nAMU <= 70) {
ECD.nMinVal = 57;
} else {
ECD.nMinVal = 89;
}
} else {
ECD.nMaxC = cR;
ECD.nMinC = cR2;
ECD.nDelta = 1;
if (nAMU <= 2) {
ECD.nMinVal = 1;
} else if (nAMU <= 4) {
ECD.nMinVal = 3;
} else if (nAMU <= 12) {
ECD.nMinVal = 11;
} else if (nAMU <= 20) {
ECD.nMinVal = 19;
} else if (nAMU <= 38) {
ECD.nMinVal = 37;
} else if (nAMU <= 56) {
ECD.nMinVal = 55;
} else {
ECD.nMinVal = 87;
}
}
}
function GetBlock(nAMU) {
if (((((((nAMU >= 5) && (nAMU <= 10)) || ((nAMU >= 13) && (nAMU <= 18))) || ((nAMU >= 31) && (nAMU <= 36))) || ((nAMU >= 49) && (nAMU <= 54))) || ((nAMU >= 81) && (nAMU <= 86))) || ((nAMU >= 113) && (nAMU <= 118))) {
return(2);
}
if (((((nAMU >= 21) && (nAMU <= 30)) || ((nAMU >= 39) && (nAMU <= 48))) || ((nAMU >= 71) && (nAMU <= 80))) || ((nAMU >= 103) && (nAMU <= 112))) {
return(3);
}
if (((nAMU >= 57) && (nAMU <= 70)) || ((nAMU >= 89) && (nAMU <= 102))) {
return(4);
}
return(1);
}
function GetMyColor(MyAMU, MyIdx) {
var _local11 = 255;
var _local12 = 204;
var _local10 = 153;
var _local4;
var _local6;
var _local2;
var _local3;
var _local8;
var _local9;
if (MyIdx == iLewis) {
_local8 = GetLewis(MyAMU);
if (_local8 == -1) {
thisR = colors[cD][iR];
thisG = colors[cD][iG];
thisB = colors[cD][iB];
}
} else if (MyIdx == iState) {
var _local7;
_local9 = GetState(MyAMU, mcST.GetTemp());
if (_local9 == "Solid") {
_local7 = cB2;
} else if (_local9 == "Liquid") {
_local7 = cP;
} else if (_local9 == "Gas") {
_local7 = cR2;
} else {
_local7 = cD;
}
thisR = colors[_local7][iR];
thisG = colors[_local7][iG];
thisB = colors[_local7][iB];
} else {
_local8 = el[MyAMU][MyIdx];
}
if (((((_local8 == "*") || (_local8 == "ancient")) || (MyIdx == iSymbol)) || (MyIdx == Name)) || (MyIdx == xRemoveColor)) {
thisR = colors[cD][iR];
thisG = colors[cD][iG];
thisB = colors[cD][iB];
} else if (MyIdx == iState) {
} else {
thisVal = Number(_local8);
if ((MyIdx == iBP) || (MyIdx == iMP)) {
if (thisVal <= 0) {
_local4 = mmin[MyIdx];
_local6 = 0;
_local2 = cB;
_local3 = cW;
} else {
_local4 = 0;
_local6 = mmax[MyIdx];
_local2 = cW;
_local3 = cR;
}
} else if (MyIdx == iEC) {
GetECDetails(MyAMU);
_local3 = ECD.nMaxC;
_local2 = ECD.nMinC;
_local4 = ECD.nMinVal;
thisVal = MyAMU;
_local6 = _local4 + ECD.nDelta;
} else if (MyIdx == iBlock) {
switch (GetBlock(MyAMU)) {
case 1 :
_local3 = cR2;
_local2 = _local3;
break;
case 2 :
_local3 = cD;
_local2 = _local3;
break;
case 3 :
_local3 = cY2;
_local2 = _local3;
break;
default :
_local3 = cG2;
_local2 = _local3;
}
_local4 = MyAMU - 1;
thisVal = MyAMU;
_local6 = MyAMU + 1;
} else {
_local4 = 0;
_local6 = mmax[MyIdx];
_local2 = cW;
_local3 = cG;
if (MyIdx == iPeriod) {
thisVal = GetTraditionalPeriod(MyAMU);
_local2 = cP;
}
if (MyIdx == iGroup) {
_local2 = cP;
}
if (MyIdx == iSeries) {
_local2 = cP;
}
if (MyIdx == iYear) {
_local4 = mmin[iYear];
}
}
thisR = GetNormdVal(thisVal, _local4, _local6, colors[_local2][iR], colors[_local3][iR]);
thisG = GetNormdVal(thisVal, _local4, _local6, colors[_local2][iG], colors[_local3][iG]);
thisB = GetNormdVal(thisVal, _local4, _local6, colors[_local2][iB], colors[_local3][iB]);
}
return(MakeColor(thisR, thisG, thisB));
}
var MovieWidth = 685;
var MovieHeight = 385;
var InstantiateObjects = true;
var InstantiateBG = false;
var InstantiateCells = true;
var InstantiateGraph = true;
var InstantiateHelp = true;
var InstantiateOrbitals = true;
var cfgTraditional = 1;
var cfgEmbedded = 2;
var cfgOther = 3;
var HePosition = false;
var HIsHalogen = false;
var EmbedLA = false;
var HighlightCurrentElement = true;
var CurrentElementAlpha = 25;
var HelpColor = 65535;
var nCellOffset = 0;
var IncludeLAinRotation = true;
var OriginalCellSize = 35;
var CellWidth = 35;
var CellHeight = 35;
var ZOff = 100;
var bResizeCells = true;
var colsLAEmbeddedNo = 18;
var colsLAEmbeddedYes = (colsLAEmbeddedNo + 14);
var tw = (OriginalCellSize * colsLAEmbeddedNo);
var winMin = 0;
var winGS = 1;
var winMax = 2;
var AGGSWin = winGS;
var EDGSWin = winMax;
var EOGSWin = winGS;
var BMGSWin = winGS;
var EMGSWin = winGS;
var SharedDragging = false;
var HelpColor = 65535;
var cx = 0;
var iR = (cx++);
var iG = (cx++);
var iB = (cx++);
var cD = (cx++);
var cR = (cx++);
var cR2 = (cx++);
var cG = (cx++);
var cG2 = (cx++);
var cB = (cx++);
var cB2 = (cx++);
var cW = (cx++);
var cP = (cx++);
var cP2 = (cx++);
var cO = (cx++);
var cM = (cx++);
var cM2 = (cx++);
var cY = (cx++);
var cY2 = (cx++);
var colors = new Array();
var tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 0;
tmp[iB] = 0;
colors[cR] = tmp;
var tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 204;
tmp[iB] = 153;
colors[cD] = tmp;
var tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 129;
tmp[iB] = 129;
colors[cR2] = tmp;
tmp = new Array();
tmp[iR] = 0;
tmp[iG] = 153;
tmp[iB] = 51;
colors[cG] = tmp;
tmp = new Array();
tmp[iR] = 235;
tmp[iG] = 247;
tmp[iB] = 239;
colors[cG2] = tmp;
tmp = new Array();
tmp[iR] = 0;
tmp[iG] = 0;
tmp[iB] = 255;
colors[cB] = tmp;
tmp = new Array();
tmp[iR] = 0;
tmp[iG] = 153;
tmp[iB] = 255;
colors[cB2] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 255;
tmp[iB] = 255;
colors[cW] = tmp;
tmp = new Array();
tmp[iR] = 204;
tmp[iG] = 102;
tmp[iB] = 204;
colors[cP] = tmp;
tmp = new Array();
tmp[iR] = 280;
tmp[iG] = 130;
tmp[iB] = 280;
colors[cP2] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 204;
tmp[iB] = 103;
colors[cO] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 192;
tmp[iB] = 0;
colors[cM] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 242;
tmp[iB] = 204;
colors[cM2] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 255;
tmp[iB] = 0;
colors[cY] = tmp;
tmp = new Array();
tmp[iR] = 255;
tmp[iG] = 255;
tmp[iB] = 207;
colors[cY2] = tmp;
cStep = new Array();
tmp = new Array();
cStep[iR] = tmp;
tmp = new Array();
cStep[iG] = tmp;
tmp = new Array();
cStep[iB] = tmp;
var iMin = 1;
var iMax = 109;
var nMinLewis = 0;
var nMaxLewis = 8;
var jj = this.attachMovie("SquareGrad", "mcBG", this.getNextHighestDepth());
mcBG._x = (mcBG._y = 0);
mcBG._width = MovieWidth;
mcBG._height = MovieHeight;
mcBG.onRollOver = function () {
ShrinkMinigraphs();
if ((EDGSWin == winGS) && (EDShrunk == false)) {
_root.EDShrunk = true;
ED.ResizePositionED();
}
};
this.attachMovie("ChemLogo", "cv", this.getNextHighestDepth());
var ix = -1;
var xRemoveColor = (ix++);
var xAMU = (ix++);
var iMass = (ix++);
var iName = (ix++);
var iSymbol = (ix++);
var iMP = (ix++);
var iBP = (ix++);
var iDensity = (ix++);
var iEarthCrust = (ix++);
var iYear = (ix++);
var iGroup = (ix++);
var iPeriod = (ix++);
var iEC = (ix++);
var iIE = (ix++);
var iTC = (ix++);
var iSHC = (ix++);
var iHoV = (ix++);
var iFIP = (ix++);
var iEN = (ix++);
var iAR = (ix++);
var iAV = (ix++);
var iCR = (ix++);
var iECo = (ix++);
var iSeries = (ix++);
var i1s = (ix++);
var i2s = (ix++);
var i2p = (ix++);
var i3s = (ix++);
var i3p = (ix++);
var i3d = (ix++);
var i4s = (ix++);
var i4p = (ix++);
var i4d = (ix++);
var i4f = (ix++);
var i5s = (ix++);
var i5p = (ix++);
var i5d = (ix++);
var i5f = (ix++);
var i6s = (ix++);
var i6p = (ix++);
var i6d = (ix++);
var i7s = (ix++);
var icMin = 0;
var icMax = (--ix);
var dbKeys = new Array();
dbKeys[xAMU] = "AMU";
dbKeys[iMass] = "Mass";
dbKeys[iName] = "Name";
dbKeys[iSymbol] = "Symbol";
dbKeys[iMP] = "Melting Point";
dbKeys[iBP] = "Boiling Point";
dbKeys[iDensity] = "Density";
dbKeys[iEarthCrust] = "% in Earth Crust";
dbKeys[iYear] = "Year Discovered";
dbKeys[iGroup] = "Group";
dbKeys[iPeriod] = "Period";
dbKeys[iEC] = "Electron Configuration";
dbKeys[iIE] = "Ionization Energy";
dbKeys[iTC] = "Thermal Conductivity";
dbKeys[iSHC] = "Specific Heat Capacity";
dbKeys[iHoV] = "Heat of Vaporization";
dbKeys[iFIP] = "First Ionization Potential";
dbKeys[iEN] = "Electronegativity";
dbKeys[iAR] = "Atomic Radius";
dbKeys[iAV] = "Atomic Volume";
dbKeys[iCR] = "Covalent Radius";
dbKeys[iECo] = "Electrical Conductivity";
dbKeys[iSeries] = "Series";
ddbKeys[i1s] = "Electrons in 1s Orbital";
dbKeys[i2s] = "Electrons in 2s Orbital";
dbKeys[i2p] = "Electrons in 2p Orbital";
dbKeys[i3s] = "Electrons in 3s Orbital";
dbKeys[i3p] = "Electrons in 3p Orbital";
dbKeys[i3d] = "Electrons in 3d Orbital";
dbKeys[i4s] = "Electrons in 4s Orbital";
dbKeys[i4p] = "Electrons in 4p Orbital";
dbKeys[i4d] = "Electrons in 4d Orbital";
dbKeys[i4f] = "Electrons in 4f Orbital";
dbKeys[i5s] = "Electrons in 5s Orbital";
dbKeys[i5p] = "Electrons in 5p Orbital";
dbKeys[i5d] = "Electrons in 5d Orbital";
dbKeys[i5f] = "Electrons in 5f Orbital";
dbKeys[i6s] = "Electrons in 6s Orbital";
dbKeys[i6p] = "Electrons in 6p Orbital";
dbKeys[i6d] = "Electrons in 6d Orbital";
dbKeys[i7s] = "Electrons in 7s Orbital";
dbKeys[xRemoveColor] = "No Color";
var ix = 0;
var sSeriesNames = new Array();
var iTransitionMetals = (ix++);
sSeriesNames[iTransitionMetals] = "Transition Metals";
var iAlkaliMetals = (ix++);
sSeriesNames[iAlkaliMetals] = "Alkali Metals";
var iHalogens = (ix++);
sSeriesNames[iHalogens] = "Halogens";
var iLanthanides = (ix++);
sSeriesNames[iLanthanides] = "Lanthanides";
var iMetaloids = (ix++);
sSeriesNames[iMetaloids] = "Metaloids";
var iNobelGases = (ix++);
sSeriesNames[iNobelGases] = "Nobel Gases";
var iAlkaliEarths = (ix++);
sSeriesNames[iAlkaliEarths] = "Alkaline Earths";
var iNonMetals = (ix++);
sSeriesNames[iNonMetals] = "Nonmetals";
var iActinides = (ix++);
sSeriesNames[iActinides] = "Actinides";
var iPoorMetals = (ix++);
sSeriesNames[iPoorMetals] = "Poor Metals";
el = new Array();
tmp = new Array();
iAMU = 1;
tmp[iMass] = "1.0079";
tmp[iName] = "Hydrogen";
tmp[iSymbol] = "H";
tmp[iMP] = "-259";
tmp[iBP] = "-253";
tmp[iDensity] = "0.09";
tmp[iEarthCrust] = "0.140";
tmp[iYear] = "1776";
tmp[iGroup] = "1";
tmp[iPeriod] = "1";
tmp[iEC] = "1s1";
tmp[iIE] = "13.5984";
tmp[iTC] = "0.1815";
tmp[iSHC] = "14.304";
tmp[iHoV] = "0.4581";
tmp[iFIP] = "13.598";
tmp[iEN] = "2.1";
tmp[iAR] = "2.08";
tmp[iAV] = "14.1";
tmp[iCR] = "0.32";
tmp[iECo] = "*";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 1;
tmp[i2s] = 0;
tmp[i2p] = 0;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 2;
tmp[iMass] = "4.0026";
tmp[iName] = "Helium";
tmp[iSymbol] = "He";
tmp[iMP] = "-272";
tmp[iBP] = "-269";
tmp[iDensity] = "0.18";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1895";
tmp[iGroup] = "18";
tmp[iPeriod] = "1";
tmp[iEC] = "1s2";
tmp[iIE] = "24.5874";
tmp[iTC] = "0.152";
tmp[iSHC] = "5.193";
tmp[iHoV] = "0.084";
tmp[iFIP] = "24.587";
tmp[iEN] = "0";
tmp[iAR] = "0.49";
tmp[iAV] = "31.8";
tmp[iCR] = "0.93";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 0;
tmp[i2p] = 0;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 3;
tmp[iMass] = "6.9410";
tmp[iName] = "Lithium";
tmp[iSymbol] = "Li";
tmp[iMP] = "180";
tmp[iBP] = "1347";
tmp[iDensity] = "0.53";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1817";
tmp[iGroup] = "1";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s1";
tmp[iIE] = "5.3917";
tmp[iTC] = "84.7";
tmp[iSHC] = "3.582";
tmp[iHoV] = "147.1";
tmp[iFIP] = "5.392";
tmp[iEN] = "0.98";
tmp[iAR] = "1.55";
tmp[iAV] = "13.1";
tmp[iCR] = "1.23";
tmp[iECo] = "11.7";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 1;
tmp[i2p] = 0;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 4;
tmp[iMass] = "9.0122";
tmp[iName] = "Beryllium";
tmp[iSymbol] = "Be";
tmp[iMP] = "1278";
tmp[iBP] = "2970";
tmp[iDensity] = "1.85";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1797";
tmp[iGroup] = "2";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s2";
tmp[iIE] = "9.3227";
tmp[iTC] = "200";
tmp[iSHC] = "1.825";
tmp[iHoV] = "297";
tmp[iFIP] = "9.322";
tmp[iEN] = "1.57";
tmp[iAR] = "1.12";
tmp[iAV] = "5";
tmp[iCR] = "0.9";
tmp[iECo] = "25";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 0;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 5;
tmp[iMass] = "10.8110";
tmp[iName] = "Boron";
tmp[iSymbol] = "B";
tmp[iMP] = "2300";
tmp[iBP] = "2550";
tmp[iDensity] = "2.34";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1808";
tmp[iGroup] = "13";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p1";
tmp[iIE] = "8.298";
tmp[iTC] = "27";
tmp[iSHC] = "1.026";
tmp[iHoV] = "507.8";
tmp[iFIP] = "8.298";
tmp[iEN] = "2.04";
tmp[iAR] = "0.98";
tmp[iAV] = "4.6";
tmp[iCR] = "0.82";
tmp[iECo] = ".000000000005";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 1;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 6;
tmp[iMass] = "12.0107";
tmp[iName] = "Carbon";
tmp[iSymbol] = "C";
tmp[iMP] = "3500";
tmp[iBP] = "4827";
tmp[iDensity] = "2.26";
tmp[iEarthCrust] = "0.094";
tmp[iYear] = "ancient";
tmp[iGroup] = "14";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p2";
tmp[iIE] = "11.2603";
tmp[iTC] = "155";
tmp[iSHC] = "0.709";
tmp[iHoV] = "715";
tmp[iFIP] = "11.26";
tmp[iEN] = "2.55";
tmp[iAR] = "0.91";
tmp[iAV] = "5.3";
tmp[iCR] = "0.77";
tmp[iECo] = "0.07";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 2;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 7;
tmp[iMass] = "14.0067";
tmp[iName] = "Nitrogen";
tmp[iSymbol] = "N";
tmp[iMP] = "-210";
tmp[iBP] = "-196";
tmp[iDensity] = "1.25";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1772";
tmp[iGroup] = "15";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p3";
tmp[iIE] = "14.5341";
tmp[iTC] = "0.02598";
tmp[iSHC] = "1.042";
tmp[iHoV] = "2.7928";
tmp[iFIP] = "14.534";
tmp[iEN] = "3.04";
tmp[iAR] = "0.92";
tmp[iAV] = "17.3";
tmp[iCR] = "0.75";
tmp[iECo] = "*";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 3;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 8;
tmp[iMass] = "15.9994";
tmp[iName] = "Oxygen";
tmp[iSymbol] = "O";
tmp[iMP] = "-218";
tmp[iBP] = "-183";
tmp[iDensity] = "1.43";
tmp[iEarthCrust] = "46.71";
tmp[iYear] = "1774";
tmp[iGroup] = "16";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p4";
tmp[iIE] = "13.6181";
tmp[iTC] = "0.2674";
tmp[iSHC] = "0.92";
tmp[iHoV] = "3.4109";
tmp[iFIP] = "13.618";
tmp[iEN] = "3.44";
tmp[iAR] = "0.65";
tmp[iAV] = "14";
tmp[iCR] = "0.73";
tmp[iECo] = "*";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 4;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 9;
tmp[iMass] = "18.9984";
tmp[iName] = "Fluorine";
tmp[iSymbol] = "F";
tmp[iMP] = "-220";
tmp[iBP] = "-188";
tmp[iDensity] = "1.70";
tmp[iEarthCrust] = "0.029";
tmp[iYear] = "1886";
tmp[iGroup] = "17";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p5";
tmp[iIE] = "17.4228";
tmp[iTC] = "0.0279";
tmp[iSHC] = "0.824";
tmp[iHoV] = "3.2698";
tmp[iFIP] = "17.422";
tmp[iEN] = "3.98";
tmp[iAR] = "0.57";
tmp[iAV] = "17.1";
tmp[iCR] = "0.72";
tmp[iECo] = "*";
tmp[iSeries] = iHalogens;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 5;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 10;
tmp[iMass] = "20.1797";
tmp[iName] = "Neon";
tmp[iSymbol] = "Ne";
tmp[iMP] = "-249";
tmp[iBP] = "-246";
tmp[iDensity] = "0.90";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1898";
tmp[iGroup] = "18";
tmp[iPeriod] = "2";
tmp[iEC] = "[He]2s22p6";
tmp[iIE] = "21.5645";
tmp[iTC] = "0.0493";
tmp[iSHC] = "1.03";
tmp[iHoV] = "1.77";
tmp[iFIP] = "21.564";
tmp[iEN] = "0";
tmp[iAR] = "0.51";
tmp[iAV] = "16.9";
tmp[iCR] = "0.71";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 0;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 11;
tmp[iMass] = "22.9897";
tmp[iName] = "Sodium";
tmp[iSymbol] = "Na";
tmp[iMP] = "98";
tmp[iBP] = "883";
tmp[iDensity] = "0.97";
tmp[iEarthCrust] = "2.75";
tmp[iYear] = "1807";
tmp[iGroup] = "1";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s1";
tmp[iIE] = "5.1391";
tmp[iTC] = "141";
tmp[iSHC] = "1.23";
tmp[iHoV] = "98.01";
tmp[iFIP] = "5.139";
tmp[iEN] = "0.93";
tmp[iAR] = "1.9";
tmp[iAV] = "23.7";
tmp[iCR] = "1.54";
tmp[iECo] = "20.1";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 1;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 12;
tmp[iMass] = "24.3050";
tmp[iName] = "Magnesium";
tmp[iSymbol] = "Mg";
tmp[iMP] = "639";
tmp[iBP] = "1090";
tmp[iDensity] = "1.74";
tmp[iEarthCrust] = "2.08";
tmp[iYear] = "1755";
tmp[iGroup] = "2";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s2";
tmp[iIE] = "7.6462";
tmp[iTC] = "156";
tmp[iSHC] = "1.02";
tmp[iHoV] = "127.6";
tmp[iFIP] = "7.646";
tmp[iEN] = "1.31";
tmp[iAR] = "1.6";
tmp[iAV] = "14";
tmp[iCR] = "1.36";
tmp[iECo] = "22.4";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 0;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 13;
tmp[iMass] = "26.9815";
tmp[iName] = "Aluminum";
tmp[iSymbol] = "Al";
tmp[iMP] = "660";
tmp[iBP] = "2467";
tmp[iDensity] = "2.70";
tmp[iEarthCrust] = "8.07";
tmp[iYear] = "1825";
tmp[iGroup] = "13";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p1";
tmp[iIE] = "5.9858";
tmp[iTC] = "237";
tmp[iSHC] = "0.9";
tmp[iHoV] = "290.8";
tmp[iFIP] = "5.986";
tmp[iEN] = "1.61";
tmp[iAR] = "1.43";
tmp[iAV] = "10";
tmp[iCR] = "1.18";
tmp[iECo] = "37.7";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 1;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 14;
tmp[iMass] = "28.0855";
tmp[iName] = "Silicon";
tmp[iSymbol] = "Si";
tmp[iMP] = "1410";
tmp[iBP] = "2355";
tmp[iDensity] = "2.33";
tmp[iEarthCrust] = "27.69";
tmp[iYear] = "1824";
tmp[iGroup] = "14";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p2";
tmp[iIE] = "8.1517";
tmp[iTC] = "148";
tmp[iSHC] = "0.7";
tmp[iHoV] = "359";
tmp[iFIP] = "8.151";
tmp[iEN] = "1.9";
tmp[iAR] = "1.32";
tmp[iAV] = "12.1";
tmp[iCR] = "1.11";
tmp[iECo] = "0.0004";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 2;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 15;
tmp[iMass] = "30.9738";
tmp[iName] = "Phosphorus";
tmp[iSymbol] = "P";
tmp[iMP] = "44";
tmp[iBP] = "280";
tmp[iDensity] = "1.82";
tmp[iEarthCrust] = "0.13";
tmp[iYear] = "1669";
tmp[iGroup] = "15";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p3";
tmp[iIE] = "10.4867";
tmp[iTC] = "0.235";
tmp[iSHC] = "0.769";
tmp[iHoV] = "12.4";
tmp[iFIP] = "10.486";
tmp[iEN] = "2.19";
tmp[iAR] = "1.28";
tmp[iAV] = "17";
tmp[iCR] = "1.06";
tmp[iECo] = ".0000000000000001";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 3;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 16;
tmp[iMass] = "32.0650";
tmp[iName] = "Sulfur";
tmp[iSymbol] = "S";
tmp[iMP] = "113";
tmp[iBP] = "445";
tmp[iDensity] = "2.07";
tmp[iEarthCrust] = "0.052";
tmp[iYear] = "ancient";
tmp[iGroup] = "16";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p4";
tmp[iIE] = "10.36";
tmp[iTC] = "0.269";
tmp[iSHC] = "0.71";
tmp[iHoV] = "10";
tmp[iFIP] = "10.36";
tmp[iEN] = "2.58";
tmp[iAR] = "1.27";
tmp[iAV] = "15.5";
tmp[iCR] = "1.02";
tmp[iECo] = ".0000000000000005";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 4;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 17;
tmp[iMass] = "35.4530";
tmp[iName] = "Chlorine";
tmp[iSymbol] = "Cl";
tmp[iMP] = "-101";
tmp[iBP] = "-35";
tmp[iDensity] = "3.21";
tmp[iEarthCrust] = "0.045";
tmp[iYear] = "1774";
tmp[iGroup] = "17";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p5";
tmp[iIE] = "12.9676";
tmp[iTC] = "0.0089";
tmp[iSHC] = "0.48";
tmp[iHoV] = "10.2";
tmp[iFIP] = "12.967";
tmp[iEN] = "3.16";
tmp[iAR] = "0.97";
tmp[iAV] = "18.7";
tmp[iCR] = "0.99";
tmp[iECo] = "*";
tmp[iSeries] = iHalogens;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 5;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 18;
tmp[iMass] = "39.9480";
tmp[iName] = "Argon";
tmp[iSymbol] = "Ar";
tmp[iMP] = "-189";
tmp[iBP] = "-186";
tmp[iDensity] = "1.78";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1894";
tmp[iGroup] = "18";
tmp[iPeriod] = "3";
tmp[iEC] = "[Ne]3s23p6";
tmp[iIE] = "15.7596";
tmp[iTC] = "0.0177";
tmp[iSHC] = "0.52";
tmp[iHoV] = "6.506";
tmp[iFIP] = "15.759";
tmp[iEN] = "0";
tmp[iAR] = "0.88";
tmp[iAV] = "24.2";
tmp[iCR] = "0.98";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 0;
tmp[i4s] = 0;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 19;
tmp[iMass] = "39.0983";
tmp[iName] = "Potassium";
tmp[iSymbol] = "K";
tmp[iMP] = "64";
tmp[iBP] = "774";
tmp[iDensity] = "0.86";
tmp[iEarthCrust] = "2.58";
tmp[iYear] = "1807";
tmp[iGroup] = "1";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]4s1";
tmp[iIE] = "4.3407";
tmp[iTC] = "102.5";
tmp[iSHC] = "0.757";
tmp[iHoV] = "76.9";
tmp[iFIP] = "4.341";
tmp[iEN] = "0.82";
tmp[iAR] = "2.35";
tmp[iAV] = "45.3";
tmp[iCR] = "2.03";
tmp[iECo] = "16.4";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 0;
tmp[i4s] = 1;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 20;
tmp[iMass] = "40.0780";
tmp[iName] = "Calcium";
tmp[iSymbol] = "Ca";
tmp[iMP] = "839";
tmp[iBP] = "1484";
tmp[iDensity] = "1.55";
tmp[iEarthCrust] = "3.65";
tmp[iYear] = "1808";
tmp[iGroup] = "2";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]4s2";
tmp[iIE] = "6.1132";
tmp[iTC] = "200";
tmp[iSHC] = "0.647";
tmp[iHoV] = "154.67";
tmp[iFIP] = "6.113";
tmp[iEN] = "1";
tmp[iAR] = "1.97";
tmp[iAV] = "29.9";
tmp[iCR] = "1.74";
tmp[iECo] = "31.3";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 0;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 21;
tmp[iMass] = "44.9559";
tmp[iName] = "Scandium";
tmp[iSymbol] = "Sc";
tmp[iMP] = "1539";
tmp[iBP] = "2832";
tmp[iDensity] = "2.99";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1879";
tmp[iGroup] = "3";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d14s2";
tmp[iIE] = "6.5615";
tmp[iTC] = "15.8";
tmp[iSHC] = "0.568";
tmp[iHoV] = "304.8";
tmp[iFIP] = "6.54";
tmp[iEN] = "1.36";
tmp[iAR] = "1.62";
tmp[iAV] = "15";
tmp[iCR] = "1.44";
tmp[iECo] = "1.5";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 1;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 22;
tmp[iMass] = "47.8670";
tmp[iName] = "Titanium";
tmp[iSymbol] = "Ti";
tmp[iMP] = "1660";
tmp[iBP] = "3287";
tmp[iDensity] = "4.54";
tmp[iEarthCrust] = "0.62";
tmp[iYear] = "1791";
tmp[iGroup] = "4";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d24s2";
tmp[iIE] = "6.8281";
tmp[iTC] = "21.9";
tmp[iSHC] = "0.523";
tmp[iHoV] = "425.2";
tmp[iFIP] = "6.82";
tmp[iEN] = "1.54";
tmp[iAR] = "1.45";
tmp[iAV] = "10.6";
tmp[iCR] = "1.32";
tmp[iECo] = "2.6";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 2;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 23;
tmp[iMass] = "50.9415";
tmp[iName] = "Vanadium";
tmp[iSymbol] = "V";
tmp[iMP] = "1890";
tmp[iBP] = "3380";
tmp[iDensity] = "6.11";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1830";
tmp[iGroup] = "5";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d34s2";
tmp[iIE] = "6.7462";
tmp[iTC] = "30.7";
tmp[iSHC] = "0.489";
tmp[iHoV] = "446.7";
tmp[iFIP] = "6.74";
tmp[iEN] = "1.63";
tmp[iAR] = "1.34";
tmp[iAV] = "8.35";
tmp[iCR] = "1.22";
tmp[iECo] = "4";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 3;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 24;
tmp[iMass] = "51.9961";
tmp[iName] = "Chromium";
tmp[iSymbol] = "Cr";
tmp[iMP] = "1857";
tmp[iBP] = "2672";
tmp[iDensity] = "7.19";
tmp[iEarthCrust] = "0.035";
tmp[iYear] = "1797";
tmp[iGroup] = "6";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d54s1";
tmp[iIE] = "6.7665";
tmp[iTC] = "93.7";
tmp[iSHC] = "0.449";
tmp[iHoV] = "339.5";
tmp[iFIP] = "6.766";
tmp[iEN] = "1.66";
tmp[iAR] = "1.3";
tmp[iAV] = "7.23";
tmp[iCR] = "1.18";
tmp[iECo] = "7.9";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 5;
tmp[i4s] = 1;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 25;
tmp[iMass] = "54.9380";
tmp[iName] = "Manganese";
tmp[iSymbol] = "Mn";
tmp[iMP] = "1245";
tmp[iBP] = "1962";
tmp[iDensity] = "7.43";
tmp[iEarthCrust] = "0.09";
tmp[iYear] = "1774";
tmp[iGroup] = "7";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d54s2";
tmp[iIE] = "7.434";
tmp[iTC] = "7.82";
tmp[iSHC] = "0.48";
tmp[iHoV] = "219.74";
tmp[iFIP] = "7.435";
tmp[iEN] = "1.55";
tmp[iAR] = "1.35";
tmp[iAV] = "7.39";
tmp[iCR] = "1.17";
tmp[iECo] = "0.5";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 5;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 26;
tmp[iMass] = "55.8450";
tmp[iName] = "Iron";
tmp[iSymbol] = "Fe";
tmp[iMP] = "1535";
tmp[iBP] = "2750";
tmp[iDensity] = "7.87";
tmp[iEarthCrust] = "5.05";
tmp[iYear] = "ancient";
tmp[iGroup] = "8";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d64s2";
tmp[iIE] = "7.9024";
tmp[iTC] = "80.2";
tmp[iSHC] = "0.449";
tmp[iHoV] = "349.5";
tmp[iFIP] = "7.87";
tmp[iEN] = "1.83";
tmp[iAR] = "1.26";
tmp[iAV] = "7.1";
tmp[iCR] = "1.17";
tmp[iECo] = "11.2";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 6;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 27;
tmp[iMass] = "58.9332";
tmp[iName] = "Cobalt";
tmp[iSymbol] = "Co";
tmp[iMP] = "1495";
tmp[iBP] = "2870";
tmp[iDensity] = "8.90";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1735";
tmp[iGroup] = "9";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d74s2";
tmp[iIE] = "7.881";
tmp[iTC] = "100";
tmp[iSHC] = "0.421";
tmp[iHoV] = "373.3";
tmp[iFIP] = "7.86";
tmp[iEN] = "1.88";
tmp[iAR] = "1.25";
tmp[iAV] = "6.7";
tmp[iCR] = "1.16";
tmp[iECo] = "17.9";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 7;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 28;
tmp[iMass] = "58.6934";
tmp[iName] = "Nickel";
tmp[iSymbol] = "Ni";
tmp[iMP] = "1453";
tmp[iBP] = "2732";
tmp[iDensity] = "8.90";
tmp[iEarthCrust] = "0.019";
tmp[iYear] = "1751";
tmp[iGroup] = "10";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d84s2";
tmp[iIE] = "7.6398";
tmp[iTC] = "90.7";
tmp[iSHC] = "0.444";
tmp[iHoV] = "377.5";
tmp[iFIP] = "7.635";
tmp[iEN] = "1.91";
tmp[iAR] = "1.24";
tmp[iAV] = "6.6";
tmp[iCR] = "1.15";
tmp[iECo] = "14.6";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 8;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 29;
tmp[iMass] = "63.5460";
tmp[iName] = "Copper";
tmp[iSymbol] = "Cu";
tmp[iMP] = "1083";
tmp[iBP] = "2567";
tmp[iDensity] = "8.96";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "11";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s1";
tmp[iIE] = "7.7264";
tmp[iTC] = "401";
tmp[iSHC] = "0.385";
tmp[iHoV] = "300.5";
tmp[iFIP] = "7.726";
tmp[iEN] = "1.9";
tmp[iAR] = "1.28";
tmp[iAV] = "7.1";
tmp[iCR] = "1.17";
tmp[iECo] = "60.7";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 1;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 30;
tmp[iMass] = "65.3900";
tmp[iName] = "Zinc";
tmp[iSymbol] = "Zn";
tmp[iMP] = "420";
tmp[iBP] = "907";
tmp[iDensity] = "7.13";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "12";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s2";
tmp[iIE] = "9.3942";
tmp[iTC] = "116";
tmp[iSHC] = "0.388";
tmp[iHoV] = "115.3";
tmp[iFIP] = "9.394";
tmp[iEN] = "1.65";
tmp[iAR] = "1.38";
tmp[iAV] = "9.2";
tmp[iCR] = "1.25";
tmp[iECo] = "16.9";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 0;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 31;
tmp[iMass] = "69.7230";
tmp[iName] = "Gallium";
tmp[iSymbol] = "Ga";
tmp[iMP] = "30";
tmp[iBP] = "2403";
tmp[iDensity] = "5.91";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1875";
tmp[iGroup] = "13";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p1";
tmp[iIE] = "5.9993";
tmp[iTC] = "40.6";
tmp[iSHC] = "0.371";
tmp[iHoV] = "256.06";
tmp[iFIP] = "5.999";
tmp[iEN] = "1.81";
tmp[iAR] = "1.41";
tmp[iAV] = "11.8";
tmp[iCR] = "1.26";
tmp[iECo] = "1.8";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 1;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 32;
tmp[iMass] = "72.6400";
tmp[iName] = "Germanium";
tmp[iSymbol] = "Ge";
tmp[iMP] = "937";
tmp[iBP] = "2830";
tmp[iDensity] = "5.32";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1886";
tmp[iGroup] = "14";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p2";
tmp[iIE] = "7.8994";
tmp[iTC] = "59.9";
tmp[iSHC] = "0.32";
tmp[iHoV] = "334.3";
tmp[iFIP] = "7.899";
tmp[iEN] = "2.01";
tmp[iAR] = "1.37";
tmp[iAV] = "13.6";
tmp[iCR] = "1.22";
tmp[iECo] = "0.000003";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 2;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 33;
tmp[iMass] = "74.9216";
tmp[iName] = "Arsenic";
tmp[iSymbol] = "As";
tmp[iMP] = "81";
tmp[iBP] = "613";
tmp[iDensity] = "5.72";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "15";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p3";
tmp[iIE] = "9.7886";
tmp[iTC] = "50";
tmp[iSHC] = "0.33";
tmp[iHoV] = "32.4";
tmp[iFIP] = "9.81";
tmp[iEN] = "2.18";
tmp[iAR] = "1.39";
tmp[iAV] = "13.1";
tmp[iCR] = "1.2";
tmp[iECo] = "3.8";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 3;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 34;
tmp[iMass] = "78.9600";
tmp[iName] = "Selenium";
tmp[iSymbol] = "Se";
tmp[iMP] = "217";
tmp[iBP] = "685";
tmp[iDensity] = "4.79";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1817";
tmp[iGroup] = "16";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p4";
tmp[iIE] = "9.7524";
tmp[iTC] = "2.04";
tmp[iSHC] = "0.32";
tmp[iHoV] = "26.32";
tmp[iFIP] = "9.752";
tmp[iEN] = "2.55";
tmp[iAR] = "1.4";
tmp[iAV] = "16.5";
tmp[iCR] = "1.16";
tmp[iECo] = "8";
tmp[iSeries] = iNonMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 4;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 35;
tmp[iMass] = "79.9040";
tmp[iName] = "Bromine";
tmp[iSymbol] = "Br";
tmp[iMP] = "-7";
tmp[iBP] = "59";
tmp[iDensity] = "3.12";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1826";
tmp[iGroup] = "17";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p5";
tmp[iIE] = "11.8138";
tmp[iTC] = "0.122";
tmp[iSHC] = "0.226";
tmp[iHoV] = "14.725";
tmp[iFIP] = "11.814";
tmp[iEN] = "2.96";
tmp[iAR] = "1.12";
tmp[iAV] = "23.5";
tmp[iCR] = "1.14";
tmp[iECo] = ".0000000000000001";
tmp[iSeries] = iHalogens;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 5;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 36;
tmp[iMass] = "83.8000";
tmp[iName] = "Krypton";
tmp[iSymbol] = "Kr";
tmp[iMP] = "-157";
tmp[iBP] = "-153";
tmp[iDensity] = "3.75";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1898";
tmp[iGroup] = "18";
tmp[iPeriod] = "4";
tmp[iEC] = "[Ar]3d104s24p6";
tmp[iIE] = "13.9996";
tmp[iTC] = "0.00949";
tmp[iSHC] = "0.248";
tmp[iHoV] = "9.029";
tmp[iFIP] = "13.999";
tmp[iEN] = "0";
tmp[iAR] = "1.03";
tmp[iAV] = "32.2";
tmp[iCR] = "1.89";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 37;
tmp[iMass] = "85.4678";
tmp[iName] = "Rubidium";
tmp[iSymbol] = "Rb";
tmp[iMP] = "39";
tmp[iBP] = "688";
tmp[iDensity] = "1.63";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1861";
tmp[iGroup] = "1";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]5s1";
tmp[iIE] = "4.1771";
tmp[iTC] = "58.2";
tmp[iSHC] = "0.363";
tmp[iHoV] = "69.2";
tmp[iFIP] = "4.177";
tmp[iEN] = "0.82";
tmp[iAR] = "2.48";
tmp[iAV] = "55.9";
tmp[iCR] = "2.16";
tmp[iECo] = "47.8";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 38;
tmp[iMass] = "87.6200";
tmp[iName] = "Strontium";
tmp[iSymbol] = "Sr";
tmp[iMP] = "769";
tmp[iBP] = "1384";
tmp[iDensity] = "2.54";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1790";
tmp[iGroup] = "2";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]5s2";
tmp[iIE] = "5.6949";
tmp[iTC] = "35.3";
tmp[iSHC] = "0.3";
tmp[iHoV] = "136.9";
tmp[iFIP] = "5.695";
tmp[iEN] = "0.95";
tmp[iAR] = "2.15";
tmp[iAV] = "33.7";
tmp[iCR] = "1.91";
tmp[iECo] = "5";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 0;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 39;
tmp[iMass] = "88.9059";
tmp[iName] = "Yttrium";
tmp[iSymbol] = "Y";
tmp[iMP] = "1523";
tmp[iBP] = "3337";
tmp[iDensity] = "4.47";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1794";
tmp[iGroup] = "3";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d15s2";
tmp[iIE] = "6.2173";
tmp[iTC] = "17.2";
tmp[iSHC] = "0.3";
tmp[iHoV] = "363.3";
tmp[iFIP] = "6.38";
tmp[iEN] = "1.22";
tmp[iAR] = "1.78";
tmp[iAV] = "19.8";
tmp[iCR] = "1.62";
tmp[iECo] = "1.8";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 1;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 40;
tmp[iMass] = "91.2240";
tmp[iName] = "Zirconium";
tmp[iSymbol] = "Zr";
tmp[iMP] = "1852";
tmp[iBP] = "4377";
tmp[iDensity] = "6.51";
tmp[iEarthCrust] = "0.025";
tmp[iYear] = "1789";
tmp[iGroup] = "4";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d25s2";
tmp[iIE] = "6.6339";
tmp[iTC] = "22.7";
tmp[iSHC] = "0.278";
tmp[iHoV] = "590.5";
tmp[iFIP] = "6.84";
tmp[iEN] = "1.33";
tmp[iAR] = "1.6";
tmp[iAV] = "14.1";
tmp[iCR] = "1.45";
tmp[iECo] = "2.3";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 2;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 41;
tmp[iMass] = "92.9064";
tmp[iName] = "Niobium";
tmp[iSymbol] = "Nb";
tmp[iMP] = "2468";
tmp[iBP] = "4927";
tmp[iDensity] = "8.57";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1801";
tmp[iGroup] = "5";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d45s1";
tmp[iIE] = "6.7589";
tmp[iTC] = "53.7";
tmp[iSHC] = "0.265";
tmp[iHoV] = "690.1";
tmp[iFIP] = "6.88";
tmp[iEN] = "1.6";
tmp[iAR] = "1.46";
tmp[iAV] = "10.8";
tmp[iCR] = "1.34";
tmp[iECo] = "6.6";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 4;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 42;
tmp[iMass] = "95.9400";
tmp[iName] = "Molybdenum";
tmp[iSymbol] = "Mo";
tmp[iMP] = "2617";
tmp[iBP] = "4612";
tmp[iDensity] = "10.22";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1781";
tmp[iGroup] = "6";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d55s1";
tmp[iIE] = "7.0924";
tmp[iTC] = "138";
tmp[iSHC] = "0.25";
tmp[iHoV] = "590.4";
tmp[iFIP] = "7.099";
tmp[iEN] = "2.16";
tmp[iAR] = "1.39";
tmp[iAV] = "9.4";
tmp[iCR] = "1.3";
tmp[iECo] = "17.3";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 5;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 43;
tmp[iMass] = "98.0000";
tmp[iName] = "Technetium";
tmp[iSymbol] = "Tc";
tmp[iMP] = "2200";
tmp[iBP] = "4877";
tmp[iDensity] = "11.50";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1937";
tmp[iGroup] = "7";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d55s2";
tmp[iIE] = "7.28";
tmp[iTC] = "50.6";
tmp[iSHC] = "0.24";
tmp[iHoV] = "502";
tmp[iFIP] = "7.28";
tmp[iEN] = "1.9";
tmp[iAR] = "1.36";
tmp[iAV] = "8.5";
tmp[iCR] = "1.27";
tmp[iECo] = "0.001";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 5;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 44;
tmp[iMass] = "101.0700";
tmp[iName] = "Ruthenium";
tmp[iSymbol] = "Ru";
tmp[iMP] = "2250";
tmp[iBP] = "3900";
tmp[iDensity] = "12.37";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1844";
tmp[iGroup] = "8";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d75s1";
tmp[iIE] = "7.3605";
tmp[iTC] = "117";
tmp[iSHC] = "0.238";
tmp[iHoV] = "567.77";
tmp[iFIP] = "7.37";
tmp[iEN] = "2.2";
tmp[iAR] = "1.34";
tmp[iAV] = "8.3";
tmp[iCR] = "1.25";
tmp[iECo] = "14.9";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 7;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 45;
tmp[iMass] = "102.9055";
tmp[iName] = "Rhodium";
tmp[iSymbol] = "Rh";
tmp[iMP] = "1966";
tmp[iBP] = "3727";
tmp[iDensity] = "12.41";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1803";
tmp[iGroup] = "9";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d85s1";
tmp[iIE] = "7.4589";
tmp[iTC] = "150";
tmp[iSHC] = "0.242";
tmp[iHoV] = "495.39";
tmp[iFIP] = "7.46";
tmp[iEN] = "2.28";
tmp[iAR] = "1.34";
tmp[iAV] = "8.3";
tmp[iCR] = "1.25";
tmp[iECo] = "23";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 8;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 46;
tmp[iMass] = "106.4200";
tmp[iName] = "Palladium";
tmp[iSymbol] = "Pd";
tmp[iMP] = "1552";
tmp[iBP] = "2927";
tmp[iDensity] = "12.02";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1803";
tmp[iGroup] = "10";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d10";
tmp[iIE] = "8.3369";
tmp[iTC] = "71.8";
tmp[iSHC] = "0.244";
tmp[iHoV] = "393.3";
tmp[iFIP] = "8.34";
tmp[iEN] = "2.2";
tmp[iAR] = "1.37";
tmp[iAV] = "8.9";
tmp[iCR] = "1.28";
tmp[iECo] = "10";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 0;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 47;
tmp[iMass] = "107.8682";
tmp[iName] = "Silver";
tmp[iSymbol] = "Ag";
tmp[iMP] = "962";
tmp[iBP] = "2212";
tmp[iDensity] = "10.50";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "11";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s1";
tmp[iIE] = "7.5762";
tmp[iTC] = "429";
tmp[iSHC] = "0.232";
tmp[iHoV] = "250.63";
tmp[iFIP] = "7.576";
tmp[iEN] = "1.93";
tmp[iAR] = "1.44";
tmp[iAV] = "10.3";
tmp[iCR] = "1.34";
tmp[iECo] = "62.9";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 1;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 48;
tmp[iMass] = "112.4110";
tmp[iName] = "Cadmium";
tmp[iSymbol] = "Cd";
tmp[iMP] = "321";
tmp[iBP] = "765";
tmp[iDensity] = "8.65";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1817";
tmp[iGroup] = "12";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s2";
tmp[iIE] = "8.9938";
tmp[iTC] = "96.8";
tmp[iSHC] = "0.233";
tmp[iHoV] = "99.87";
tmp[iFIP] = "8.993";
tmp[iEN] = "1.69";
tmp[iAR] = "1.71";
tmp[iAV] = "13.1";
tmp[iCR] = "1.41";
tmp[iECo] = "14.7";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 0;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 49;
tmp[iMass] = "114.8180";
tmp[iName] = "Indium";
tmp[iSymbol] = "In";
tmp[iMP] = "157";
tmp[iBP] = "2000";
tmp[iDensity] = "7.31";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1863";
tmp[iGroup] = "13";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p1";
tmp[iIE] = "5.7864";
tmp[iTC] = "81.6";
tmp[iSHC] = "0.233";
tmp[iHoV] = "226.35";
tmp[iFIP] = "5.786";
tmp[iEN] = "1.78";
tmp[iAR] = "1.66";
tmp[iAV] = "15.7";
tmp[iCR] = "1.44";
tmp[iECo] = "3.4";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 1;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 50;
tmp[iMass] = "118.7100";
tmp[iName] = "Tin";
tmp[iSymbol] = "Sn";
tmp[iMP] = "232";
tmp[iBP] = "2270";
tmp[iDensity] = "7.31";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "14";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p2";
tmp[iIE] = "7.3439";
tmp[iTC] = "66.6";
tmp[iSHC] = "0.228";
tmp[iHoV] = "290.37";
tmp[iFIP] = "7.344";
tmp[iEN] = "1.96";
tmp[iAR] = "1.62";
tmp[iAV] = "16.3";
tmp[iCR] = "1.41";
tmp[iECo] = "8.7";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 2;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 51;
tmp[iMass] = "121.7600";
tmp[iName] = "Antimony";
tmp[iSymbol] = "Sb";
tmp[iMP] = "630";
tmp[iBP] = "1750";
tmp[iDensity] = "6.68";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "15";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p3";
tmp[iIE] = "8.6084";
tmp[iTC] = "24.3";
tmp[iSHC] = "0.207";
tmp[iHoV] = "67.97";
tmp[iFIP] = "8.641";
tmp[iEN] = "2.05";
tmp[iAR] = "1.59";
tmp[iAV] = "18.4";
tmp[iCR] = "1.4";
tmp[iECo] = "2.6";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 3;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 52;
tmp[iMass] = "127.6000";
tmp[iName] = "Tellurium";
tmp[iSymbol] = "Te";
tmp[iMP] = "449";
tmp[iBP] = "990";
tmp[iDensity] = "6.24";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1783";
tmp[iGroup] = "16";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p4";
tmp[iIE] = "9.0096";
tmp[iTC] = "2.35";
tmp[iSHC] = "0.202";
tmp[iHoV] = "50.63";
tmp[iFIP] = "9.009";
tmp[iEN] = "2.1";
tmp[iAR] = "1.42";
tmp[iAV] = "20.5";
tmp[iCR] = "1.36";
tmp[iECo] = "0.0002";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 4;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 53;
tmp[iMass] = "126.9045";
tmp[iName] = "Iodine";
tmp[iSymbol] = "I";
tmp[iMP] = "114";
tmp[iBP] = "184";
tmp[iDensity] = "4.93";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1811";
tmp[iGroup] = "17";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p5";
tmp[iIE] = "10.4513";
tmp[iTC] = "0.449";
tmp[iSHC] = "0.145";
tmp[iHoV] = "20.9";
tmp[iFIP] = "10.451";
tmp[iEN] = "2.66";
tmp[iAR] = "1.32";
tmp[iAV] = "25.7";
tmp[iCR] = "1.33";
tmp[iECo] = ".00000000001";
tmp[iSeries] = iHalogens;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 5;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 54;
tmp[iMass] = "131.2930";
tmp[iName] = "Xenon";
tmp[iSymbol] = "Xe";
tmp[iMP] = "-112";
tmp[iBP] = "-108";
tmp[iDensity] = "5.90";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1898";
tmp[iGroup] = "18";
tmp[iPeriod] = "5";
tmp[iEC] = "[Kr]4d105s25p6";
tmp[iIE] = "12.1298";
tmp[iTC] = "0.00569";
tmp[iSHC] = "0.158";
tmp[iHoV] = "12.64";
tmp[iFIP] = "12.13";
tmp[iEN] = "2.6";
tmp[iAR] = "1.24";
tmp[iAV] = "42.9";
tmp[iCR] = "1.31";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 0;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 55;
tmp[iMass] = "132.9055";
tmp[iName] = "Cesium";
tmp[iSymbol] = "Cs";
tmp[iMP] = "29";
tmp[iBP] = "678";
tmp[iDensity] = "1.87";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1860";
tmp[iGroup] = "1";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]6s1";
tmp[iIE] = "3.8939";
tmp[iTC] = "35.9";
tmp[iSHC] = "0.24";
tmp[iHoV] = "67.74";
tmp[iFIP] = "3.894";
tmp[iEN] = "0.79";
tmp[iAR] = "2.67";
tmp[iAV] = "70";
tmp[iCR] = "2.35";
tmp[iECo] = "5.3";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 1;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 56;
tmp[iMass] = "137.3270";
tmp[iName] = "Barium";
tmp[iSymbol] = "Ba";
tmp[iMP] = "725";
tmp[iBP] = "1140";
tmp[iDensity] = "3.59";
tmp[iEarthCrust] = "0.05";
tmp[iYear] = "1808";
tmp[iGroup] = "2";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]6s2";
tmp[iIE] = "5.2117";
tmp[iTC] = "18.4";
tmp[iSHC] = "0.204";
tmp[iHoV] = "140.2";
tmp[iFIP] = "5.212";
tmp[iEN] = "0.89";
tmp[iAR] = "2.22";
tmp[iAV] = "39";
tmp[iCR] = "1.98";
tmp[iECo] = "2.8";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 57;
tmp[iMass] = "138.9055";
tmp[iName] = "Lanthanum";
tmp[iSymbol] = "La";
tmp[iMP] = "920";
tmp[iBP] = "3469";
tmp[iDensity] = "6.15";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1839";
tmp[iGroup] = "3";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]5d16s2";
tmp[iIE] = "5.5769";
tmp[iTC] = "13.5";
tmp[iSHC] = "0.19";
tmp[iHoV] = "399.57";
tmp[iFIP] = "5.58";
tmp[iEN] = "1.1";
tmp[iAR] = "1.38";
tmp[iAV] = "22.5";
tmp[iCR] = "1.25";
tmp[iECo] = "1.9";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 0;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 1;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 58;
tmp[iMass] = "140.1160";
tmp[iName] = "Cerium";
tmp[iSymbol] = "Ce";
tmp[iMP] = "795";
tmp[iBP] = "3257";
tmp[iDensity] = "6.77";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1803";
tmp[iGroup] = "4";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f15d16s2";
tmp[iIE] = "5.5387";
tmp[iTC] = "11.4";
tmp[iSHC] = "0.19";
tmp[iHoV] = "313.8";
tmp[iFIP] = "5.47";
tmp[iEN] = "1.12";
tmp[iAR] = "1.81";
tmp[iAV] = "21";
tmp[iCR] = "1.65";
tmp[iECo] = "1.4";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 1;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 1;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 59;
tmp[iMass] = "140.9077";
tmp[iName] = "Praseodymium";
tmp[iSymbol] = "Pr";
tmp[iMP] = "935";
tmp[iBP] = "3127";
tmp[iDensity] = "6.77";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1885";
tmp[iGroup] = "5";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f36s2";
tmp[iIE] = "5.473";
tmp[iTC] = "12.5";
tmp[iSHC] = "0.193";
tmp[iHoV] = "332.63";
tmp[iFIP] = "5.42";
tmp[iEN] = "1.13";
tmp[iAR] = "1.82";
tmp[iAV] = "20.8";
tmp[iCR] = "1.65";
tmp[iECo] = "1.5";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 3;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 60;
tmp[iMass] = "144.2400";
tmp[iName] = "Neodymium";
tmp[iSymbol] = "Nd";
tmp[iMP] = "1010";
tmp[iBP] = "3127";
tmp[iDensity] = "7.01";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1885";
tmp[iGroup] = "6";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f46s2";
tmp[iIE] = "5.525";
tmp[iTC] = "16.5";
tmp[iSHC] = "0.19";
tmp[iHoV] = "283.68";
tmp[iFIP] = "5.49";
tmp[iEN] = "1.14";
tmp[iAR] = "1.82";
tmp[iAV] = "20.6";
tmp[iCR] = "1.64";
tmp[iECo] = "1.6";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 4;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 61;
tmp[iMass] = "145.0000";
tmp[iName] = "Promethium";
tmp[iSymbol] = "Pm";
tmp[iMP] = "1100";
tmp[iBP] = "3000";
tmp[iDensity] = "7.30";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1945";
tmp[iGroup] = "7";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f56s2";
tmp[iIE] = "5.582";
tmp[iTC] = "17.9";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "5.55";
tmp[iEN] = "1.13";
tmp[iAR] = "*";
tmp[iAV] = "22.4";
tmp[iCR] = "1.63";
tmp[iECo] = "2";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 5;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 62;
tmp[iMass] = "150.3600";
tmp[iName] = "Samarium";
tmp[iSymbol] = "Sm";
tmp[iMP] = "1072";
tmp[iBP] = "1900";
tmp[iDensity] = "7.52";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1879";
tmp[iGroup] = "8";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f66s2";
tmp[iIE] = "5.6437";
tmp[iTC] = "13.3";
tmp[iSHC] = "0.197";
tmp[iHoV] = "191.63";
tmp[iFIP] = "5.63";
tmp[iEN] = "1.17";
tmp[iAR] = "1.81";
tmp[iAV] = "19.9";
tmp[iCR] = "1.62";
tmp[iECo] = "1.1";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 6;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 63;
tmp[iMass] = "151.9640";
tmp[iName] = "Europium";
tmp[iSymbol] = "Eu";
tmp[iMP] = "822";
tmp[iBP] = "1597";
tmp[iDensity] = "5.24";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1901";
tmp[iGroup] = "9";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f76s2";
tmp[iIE] = "5.6704";
tmp[iTC] = "13.9";
tmp[iSHC] = "0.182";
tmp[iHoV] = "175.73";
tmp[iFIP] = "5.67";
tmp[iEN] = "1.2";
tmp[iAR] = "1.99";
tmp[iAV] = "28.9";
tmp[iCR] = "1.85";
tmp[iECo] = "1.1";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 7;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 64;
tmp[iMass] = "157.2500";
tmp[iName] = "Gadolinium";
tmp[iSymbol] = "Gd";
tmp[iMP] = "1311";
tmp[iBP] = "3233";
tmp[iDensity] = "7.90";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1880";
tmp[iGroup] = "10";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f75d16s2";
tmp[iIE] = "6.1501";
tmp[iTC] = "10.6";
tmp[iSHC] = "0.236";
tmp[iHoV] = "311.71";
tmp[iFIP] = "6.15";
tmp[iEN] = "1.2";
tmp[iAR] = "1.8";
tmp[iAV] = "19.9";
tmp[iCR] = "1.61";
tmp[iECo] = "0.8";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 7;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 1;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 65;
tmp[iMass] = "158.9253";
tmp[iName] = "Terbium";
tmp[iSymbol] = "Tb";
tmp[iMP] = "1360";
tmp[iBP] = "3041";
tmp[iDensity] = "8.23";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1843";
tmp[iGroup] = "11";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f96s2";
tmp[iIE] = "5.8638";
tmp[iTC] = "11.1";
tmp[iSHC] = "0.18";
tmp[iHoV] = "*";
tmp[iFIP] = "5.86";
tmp[iEN] = "1.1";
tmp[iAR] = "1.8";
tmp[iAV] = "19.2";
tmp[iCR] = "1.59";
tmp[iECo] = "0.9";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 9;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 66;
tmp[iMass] = "162.5000";
tmp[iName] = "Dysprosium";
tmp[iSymbol] = "Dy";
tmp[iMP] = "1412";
tmp[iBP] = "2562";
tmp[iDensity] = "8.55";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1886";
tmp[iGroup] = "12";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f106s2";
tmp[iIE] = "5.9389";
tmp[iTC] = "10.7";
tmp[iSHC] = "0.173";
tmp[iHoV] = "230";
tmp[iFIP] = "5.93";
tmp[iEN] = "1.22";
tmp[iAR] = "1.8";
tmp[iAV] = "19";
tmp[iCR] = "1.59";
tmp[iECo] = "1.1";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 10;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 67;
tmp[iMass] = "164.9303";
tmp[iName] = "Holmium";
tmp[iSymbol] = "Ho";
tmp[iMP] = "1470";
tmp[iBP] = "2720";
tmp[iDensity] = "8.80";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1867";
tmp[iGroup] = "13";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f116s2";
tmp[iIE] = "6.0215";
tmp[iTC] = "16.2";
tmp[iSHC] = "0.165";
tmp[iHoV] = "251.04";
tmp[iFIP] = "6.02";
tmp[iEN] = "1.23";
tmp[iAR] = "1.79";
tmp[iAV] = "18.7";
tmp[iCR] = "1.58";
tmp[iECo] = "1.1";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 11;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 68;
tmp[iMass] = "167.2590";
tmp[iName] = "Erbium";
tmp[iSymbol] = "Er";
tmp[iMP] = "1522";
tmp[iBP] = "2510";
tmp[iDensity] = "9.07";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1842";
tmp[iGroup] = "14";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f126s2";
tmp[iIE] = "6.1077";
tmp[iTC] = "14.3";
tmp[iSHC] = "0.168";
tmp[iHoV] = "292.88";
tmp[iFIP] = "6.101";
tmp[iEN] = "1.24";
tmp[iAR] = "1.78";
tmp[iAV] = "18.4";
tmp[iCR] = "1.57";
tmp[iECo] = "1.2";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 12;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 69;
tmp[iMass] = "168.9342";
tmp[iName] = "Thulium";
tmp[iSymbol] = "Tm";
tmp[iMP] = "1545";
tmp[iBP] = "1727";
tmp[iDensity] = "9.32";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1879";
tmp[iGroup] = "15";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f136s2";
tmp[iIE] = "6.1843";
tmp[iTC] = "16.8";
tmp[iSHC] = "0.16";
tmp[iHoV] = "191";
tmp[iFIP] = "6.184";
tmp[iEN] = "1.25";
tmp[iAR] = "1.77";
tmp[iAV] = "18.1";
tmp[iCR] = "1.56";
tmp[iECo] = "1.3";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 13;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 70;
tmp[iMass] = "173.0400";
tmp[iName] = "Ytterbium";
tmp[iSymbol] = "Yb";
tmp[iMP] = "824";
tmp[iBP] = "1466";
tmp[iDensity] = "6.90";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1878";
tmp[iGroup] = "16";
tmp[iPeriod] = "9";
tmp[iEC] = "[Xe]4f146s2";
tmp[iIE] = "6.2542";
tmp[iTC] = "34.9";
tmp[iSHC] = "0.155";
tmp[iHoV] = "128";
tmp[iFIP] = "6.254";
tmp[iEN] = "1.1";
tmp[iAR] = "1.94";
tmp[iAV] = "24.8";
tmp[iCR] = "1.7";
tmp[iECo] = "3.7";
tmp[iSeries] = iLanthanides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 0;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 71;
tmp[iMass] = "174.9670";
tmp[iName] = "Lutetium";
tmp[iSymbol] = "Lu";
tmp[iMP] = "1656";
tmp[iBP] = "3315";
tmp[iDensity] = "9.84";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1907";
tmp[iGroup] = "3";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d16s2";
tmp[iIE] = "5.4259";
tmp[iTC] = "16.4";
tmp[iSHC] = "0.15";
tmp[iHoV] = "355";
tmp[iFIP] = "5.43";
tmp[iEN] = "1.27";
tmp[iAR] = "1.75";
tmp[iAV] = "17.8";
tmp[iCR] = "1.56";
tmp[iECo] = "1.5";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 1;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 72;
tmp[iMass] = "178.4900";
tmp[iName] = "Hafnium";
tmp[iSymbol] = "Hf";
tmp[iMP] = "2150";
tmp[iBP] = "5400";
tmp[iDensity] = "13.31";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1923";
tmp[iGroup] = "4";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d26s2";
tmp[iIE] = "6.8251";
tmp[iTC] = "23";
tmp[iSHC] = "0.14";
tmp[iHoV] = "661.07";
tmp[iFIP] = "6.65";
tmp[iEN] = "1.3";
tmp[iAR] = "1.67";
tmp[iAV] = "13.6";
tmp[iCR] = "1.44";
tmp[iECo] = "3.4";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 2;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 73;
tmp[iMass] = "180.9479";
tmp[iName] = "Tantalum";
tmp[iSymbol] = "Ta";
tmp[iMP] = "2996";
tmp[iBP] = "5425";
tmp[iDensity] = "16.65";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1802";
tmp[iGroup] = "5";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d36s2";
tmp[iIE] = "7.5496";
tmp[iTC] = "57.5";
tmp[iSHC] = "0.14";
tmp[iHoV] = "737";
tmp[iFIP] = "7.89";
tmp[iEN] = "1.5";
tmp[iAR] = "1.49";
tmp[iAV] = "10.9";
tmp[iCR] = "1.34";
tmp[iECo] = "8.1";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 3;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 74;
tmp[iMass] = "183.8400";
tmp[iName] = "Tungsten";
tmp[iSymbol] = "W";
tmp[iMP] = "3410";
tmp[iBP] = "5660";
tmp[iDensity] = "19.35";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1783";
tmp[iGroup] = "6";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d46s2";
tmp[iIE] = "7.864";
tmp[iTC] = "174";
tmp[iSHC] = "0.13";
tmp[iHoV] = "422.58";
tmp[iFIP] = "7.98";
tmp[iEN] = "2.36";
tmp[iAR] = "1.41";
tmp[iAV] = "9.53";
tmp[iCR] = "1.3";
tmp[iECo] = "18.2";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 4;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 75;
tmp[iMass] = "186.2070";
tmp[iName] = "Rhenium";
tmp[iSymbol] = "Re";
tmp[iMP] = "3180";
tmp[iBP] = "5627";
tmp[iDensity] = "21.04";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1925";
tmp[iGroup] = "7";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d56s2";
tmp[iIE] = "7.8335";
tmp[iTC] = "47.9";
tmp[iSHC] = "0.137";
tmp[iHoV] = "707.1";
tmp[iFIP] = "7.88";
tmp[iEN] = "1.9";
tmp[iAR] = "1.37";
tmp[iAV] = "8.85";
tmp[iCR] = "1.28";
tmp[iECo] = "5.8";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 5;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 76;
tmp[iMass] = "190.2300";
tmp[iName] = "Osmium";
tmp[iSymbol] = "Os";
tmp[iMP] = "3045";
tmp[iBP] = "5027";
tmp[iDensity] = "22.60";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1803";
tmp[iGroup] = "8";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d66s2";
tmp[iIE] = "8.4382";
tmp[iTC] = "87.6";
tmp[iSHC] = "0.13";
tmp[iHoV] = "627.6";
tmp[iFIP] = "8.7";
tmp[iEN] = "2.2";
tmp[iAR] = "1.35";
tmp[iAV] = "8.43";
tmp[iCR] = "1.26";
tmp[iECo] = "12.3";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 6;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 77;
tmp[iMass] = "192.2170";
tmp[iName] = "Iridium";
tmp[iSymbol] = "Ir";
tmp[iMP] = "2410";
tmp[iBP] = "4527";
tmp[iDensity] = "22.40";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1803";
tmp[iGroup] = "9";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d76s2";
tmp[iIE] = "8.967";
tmp[iTC] = "147";
tmp[iSHC] = "0.13";
tmp[iHoV] = "563.58";
tmp[iFIP] = "9.1";
tmp[iEN] = "2.2";
tmp[iAR] = "1.36";
tmp[iAV] = "8.54";
tmp[iCR] = "1.27";
tmp[iECo] = "21.3";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 7;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 78;
tmp[iMass] = "195.0780";
tmp[iName] = "Platinum";
tmp[iSymbol] = "Pt";
tmp[iMP] = "1772";
tmp[iBP] = "3827";
tmp[iDensity] = "21.45";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1735";
tmp[iGroup] = "10";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d96s1";
tmp[iIE] = "8.9587";
tmp[iTC] = "71.6";
tmp[iSHC] = "0.13";
tmp[iHoV] = "510.45";
tmp[iFIP] = "9";
tmp[iEN] = "2.28";
tmp[iAR] = "1.39";
tmp[iAV] = "9.1";
tmp[iCR] = "1.3";
tmp[iECo] = "9.4";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 9;
tmp[i5f] = 0;
tmp[i6s] = 1;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 79;
tmp[iMass] = "196.9665";
tmp[iName] = "Gold";
tmp[iSymbol] = "Au";
tmp[iMP] = "1064";
tmp[iBP] = "2807";
tmp[iDensity] = "19.32";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "11";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s1";
tmp[iIE] = "9.2255";
tmp[iTC] = "317";
tmp[iSHC] = "0.128";
tmp[iHoV] = "324.43";
tmp[iFIP] = "9.225";
tmp[iEN] = "2.54";
tmp[iAR] = "1.46";
tmp[iAV] = "10.2";
tmp[iCR] = "1.34";
tmp[iECo] = "48.8";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 1;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 80;
tmp[iMass] = "200.5900";
tmp[iName] = "Mercury";
tmp[iSymbol] = "Hg";
tmp[iMP] = "-39";
tmp[iBP] = "357";
tmp[iDensity] = "13.55";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "12";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s2";
tmp[iIE] = "10.4375";
tmp[iTC] = "8.34";
tmp[iSHC] = "0.14";
tmp[iHoV] = "59.3";
tmp[iFIP] = "10.437";
tmp[iEN] = "2";
tmp[iAR] = "1.6";
tmp[iAV] = "14.8";
tmp[iCR] = "1.49";
tmp[iECo] = "1";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 0;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 81;
tmp[iMass] = "204.3833";
tmp[iName] = "Thallium";
tmp[iSymbol] = "Tl";
tmp[iMP] = "303";
tmp[iBP] = "1457";
tmp[iDensity] = "11.85";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1861";
tmp[iGroup] = "13";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p1";
tmp[iIE] = "6.1082";
tmp[iTC] = "46.1";
tmp[iSHC] = "0.129";
tmp[iHoV] = "162.09";
tmp[iFIP] = "6.108";
tmp[iEN] = "2.04";
tmp[iAR] = "1.71";
tmp[iAV] = "17.2";
tmp[iCR] = "1.48";
tmp[iECo] = "5.6";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 1;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 82;
tmp[iMass] = "207.2000";
tmp[iName] = "Lead";
tmp[iSymbol] = "Pb";
tmp[iMP] = "327";
tmp[iBP] = "1740";
tmp[iDensity] = "11.35";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "14";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p2";
tmp[iIE] = "7.4167";
tmp[iTC] = "35.3";
tmp[iSHC] = "0.129";
tmp[iHoV] = "177.9";
tmp[iFIP] = "7.416";
tmp[iEN] = "2.33";
tmp[iAR] = "1.75";
tmp[iAV] = "18.3";
tmp[iCR] = "1.47";
tmp[iECo] = "4.8";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 2;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 83;
tmp[iMass] = "208.9804";
tmp[iName] = "Bismuth";
tmp[iSymbol] = "Bi";
tmp[iMP] = "271";
tmp[iBP] = "1560";
tmp[iDensity] = "9.75";
tmp[iEarthCrust] = "*";
tmp[iYear] = "ancient";
tmp[iGroup] = "15";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p3";
tmp[iIE] = "7.2856";
tmp[iTC] = "7.87";
tmp[iSHC] = "0.122";
tmp[iHoV] = "179";
tmp[iFIP] = "7.289";
tmp[iEN] = "2.02";
tmp[iAR] = "1.7";
tmp[iAV] = "21.3";
tmp[iCR] = "1.46";
tmp[iECo] = "0.9";
tmp[iSeries] = iPoorMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 3;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 84;
tmp[iMass] = "209.0000";
tmp[iName] = "Polonium";
tmp[iSymbol] = "Po";
tmp[iMP] = "254";
tmp[iBP] = "962";
tmp[iDensity] = "9.30";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1898";
tmp[iGroup] = "16";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p4";
tmp[iIE] = "8.417";
tmp[iTC] = "20";
tmp[iSHC] = "*";
tmp[iHoV] = "120";
tmp[iFIP] = "8.42";
tmp[iEN] = "2";
tmp[iAR] = "1.67";
tmp[iAV] = "22.7";
tmp[iCR] = "1.53";
tmp[iECo] = "0.7";
tmp[iSeries] = iMetaloids;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 4;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 85;
tmp[iMass] = "210.0000";
tmp[iName] = "Astatine";
tmp[iSymbol] = "At";
tmp[iMP] = "302";
tmp[iBP] = "337";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1940";
tmp[iGroup] = "17";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p5";
tmp[iIE] = "9.3";
tmp[iTC] = "1.7";
tmp[iSHC] = "*";
tmp[iHoV] = "30";
tmp[iFIP] = "*";
tmp[iEN] = "2.2";
tmp[iAR] = "1.45";
tmp[iAV] = "*";
tmp[iCR] = "1.47";
tmp[iECo] = "*";
tmp[iSeries] = iHalogens;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 5;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 86;
tmp[iMass] = "222.0000";
tmp[iName] = "Radon";
tmp[iSymbol] = "Rn";
tmp[iMP] = "-71";
tmp[iBP] = "-62";
tmp[iDensity] = "9.73";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1900";
tmp[iGroup] = "18";
tmp[iPeriod] = "6";
tmp[iEC] = "[Xe]4f145d106s26p6";
tmp[iIE] = "10.7485";
tmp[iTC] = "0.00364";
tmp[iSHC] = "0.094";
tmp[iHoV] = "16.4";
tmp[iFIP] = "10.748";
tmp[iEN] = "0";
tmp[iAR] = "1.34";
tmp[iAV] = "50.5";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iNobelGases;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 0;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 87;
tmp[iMass] = "223.0000";
tmp[iName] = "Francium";
tmp[iSymbol] = "Fr";
tmp[iMP] = "27";
tmp[iBP] = "677";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1939";
tmp[iGroup] = "1";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]7s1";
tmp[iIE] = "4.0727";
tmp[iTC] = "15";
tmp[iSHC] = "*";
tmp[iHoV] = "64";
tmp[iFIP] = "0";
tmp[iEN] = "0.7";
tmp[iAR] = "2.7";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iAlkaliMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 1;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 88;
tmp[iMass] = "226.0000";
tmp[iName] = "Radium";
tmp[iSymbol] = "Ra";
tmp[iMP] = "700";
tmp[iBP] = "1737";
tmp[iDensity] = "5.50";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1898";
tmp[iGroup] = "2";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]7s2";
tmp[iIE] = "*";
tmp[iTC] = "18.6";
tmp[iSHC] = "0.094";
tmp[iHoV] = "136.82";
tmp[iFIP] = "5.279";
tmp[iEN] = "0.89";
tmp[iAR] = "2.33";
tmp[iAV] = "45.2";
tmp[iCR] = "*";
tmp[iECo] = "1";
tmp[iSeries] = iAlkaliEarths;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 89;
tmp[iMass] = "227.0000";
tmp[iName] = "Actinium";
tmp[iSymbol] = "Ac";
tmp[iMP] = "1050";
tmp[iBP] = "3200";
tmp[iDensity] = "10.07";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1899";
tmp[iGroup] = "3";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]6d17s2";
tmp[iIE] = "*";
tmp[iTC] = "12";
tmp[iSHC] = "0.12";
tmp[iHoV] = "*";
tmp[iFIP] = "5.17";
tmp[iEN] = "1.1";
tmp[iAR] = "1.88";
tmp[iAV] = "22.5";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 90;
tmp[iMass] = "232.0381";
tmp[iName] = "Thorium";
tmp[iSymbol] = "Th";
tmp[iMP] = "1750";
tmp[iBP] = "4790";
tmp[iDensity] = "11.72";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1829";
tmp[iGroup] = "4";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]6d27s2";
tmp[iIE] = "*";
tmp[iTC] = "54";
tmp[iSHC] = "0.113";
tmp[iHoV] = "543.92";
tmp[iFIP] = "6.08";
tmp[iEN] = "1.3";
tmp[iAR] = "1.8";
tmp[iAV] = "19.9";
tmp[iCR] = "1.65";
tmp[iECo] = "7.1";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 0;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 2;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 91;
tmp[iMass] = "231.0359";
tmp[iName] = "Protactinium";
tmp[iSymbol] = "Pa";
tmp[iMP] = "1568";
tmp[iBP] = "*";
tmp[iDensity] = "15.40";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1913";
tmp[iGroup] = "5";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f26d17s2";
tmp[iIE] = "*";
tmp[iTC] = "47";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "5.88";
tmp[iEN] = "1.5";
tmp[iAR] = "1.61";
tmp[iAV] = "15";
tmp[iCR] = "*";
tmp[iECo] = "5.6";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 2;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 92;
tmp[iMass] = "238.0289";
tmp[iName] = "Uranium";
tmp[iSymbol] = "U";
tmp[iMP] = "1132";
tmp[iBP] = "3818";
tmp[iDensity] = "18.95";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1789";
tmp[iGroup] = "6";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f36d17s2";
tmp[iIE] = "*";
tmp[iTC] = "27.6";
tmp[iSHC] = "0.12";
tmp[iHoV] = "422.58";
tmp[iFIP] = "6.05";
tmp[iEN] = "1.38";
tmp[iAR] = "1.38";
tmp[iAV] = "12.5";
tmp[iCR] = "1.42";
tmp[iECo] = "3.6";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 3;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 93;
tmp[iMass] = "237.0000";
tmp[iName] = "Neptunium";
tmp[iSymbol] = "Np";
tmp[iMP] = "640";
tmp[iBP] = "3902";
tmp[iDensity] = "20.20";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1940";
tmp[iGroup] = "7";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f46d17s2";
tmp[iIE] = "*";
tmp[iTC] = "6.3";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.19";
tmp[iEN] = "1.36";
tmp[iAR] = "1.3";
tmp[iAV] = "21.1";
tmp[iCR] = "*";
tmp[iECo] = "0.8";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 4;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 94;
tmp[iMass] = "244.0000";
tmp[iName] = "Plutonium";
tmp[iSymbol] = "Pu";
tmp[iMP] = "640";
tmp[iBP] = "3235";
tmp[iDensity] = "19.84";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1940";
tmp[iGroup] = "8";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f67s2";
tmp[iIE] = "*";
tmp[iTC] = "6.74";
tmp[iSHC] = "0.13";
tmp[iHoV] = "*";
tmp[iFIP] = "6.06";
tmp[iEN] = "1.28";
tmp[iAR] = "1.51";
tmp[iAV] = "12.32";
tmp[iCR] = "*";
tmp[iECo] = "0.7";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 6;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 95;
tmp[iMass] = "243.0000";
tmp[iName] = "Americium";
tmp[iSymbol] = "Am";
tmp[iMP] = "994";
tmp[iBP] = "2607";
tmp[iDensity] = "13.67";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1944";
tmp[iGroup] = "9";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f77s2";
tmp[iIE] = "*";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6";
tmp[iEN] = "1.3";
tmp[iAR] = "1.84";
tmp[iAV] = "20.8";
tmp[iCR] = "*";
tmp[iECo] = "0.7";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 7;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 96;
tmp[iMass] = "247.0000";
tmp[iName] = "Curium";
tmp[iSymbol] = "Cm";
tmp[iMP] = "1340";
tmp[iBP] = "*";
tmp[iDensity] = "13.50";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1944";
tmp[iGroup] = "10";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f76d17s2";
tmp[iIE] = "*";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.02";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "18.3";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 7;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 97;
tmp[iMass] = "247.0000";
tmp[iName] = "Berkelium";
tmp[iSymbol] = "Bk";
tmp[iMP] = "986";
tmp[iBP] = "*";
tmp[iDensity] = "14.78";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1949";
tmp[iGroup] = "11";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f97s2";
tmp[iIE] = "*";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.23";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 9;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 98;
tmp[iMass] = "251.0000";
tmp[iName] = "Californium";
tmp[iSymbol] = "Cf";
tmp[iMP] = "900";
tmp[iBP] = "*";
tmp[iDensity] = "15.10";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1950";
tmp[iGroup] = "12";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f107s2";
tmp[iIE] = "6.2817";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.3";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 10;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 99;
tmp[iMass] = "252.0000";
tmp[iName] = "Einsteinium";
tmp[iSymbol] = "Es";
tmp[iMP] = "860";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1952";
tmp[iGroup] = "13";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f117s2";
tmp[iIE] = "6.42";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.42";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 11;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 100;
tmp[iMass] = "257.0000";
tmp[iName] = "Fermium";
tmp[iSymbol] = "Fm";
tmp[iMP] = "1527";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1952";
tmp[iGroup] = "14";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f127s2";
tmp[iIE] = "6.5";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.5";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 12;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 101;
tmp[iMass] = "258.0000";
tmp[iName] = "Mendelevium";
tmp[iSymbol] = "Md";
tmp[iMP] = "1521";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1955";
tmp[iGroup] = "15";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn] 5f13 7s2";
tmp[iIE] = "6.58";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.58";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 13;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 102;
tmp[iMass] = "259.0000";
tmp[iName] = "Nobelium";
tmp[iSymbol] = "No";
tmp[iMP] = "827";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1958";
tmp[iGroup] = "16";
tmp[iPeriod] = "10";
tmp[iEC] = "[Rn]5f147s2";
tmp[iIE] = "6.65";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "6.65";
tmp[iEN] = "1.3";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iActinides;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 0;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 103;
tmp[iMass] = "262.0000";
tmp[iName] = "Lawrencium";
tmp[iSymbol] = "Lr";
tmp[iMP] = "1627";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1961";
tmp[iGroup] = "3";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f147s27p1";
tmp[iIE] = "4.9";
tmp[iTC] = "10";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 1;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 104;
tmp[iMass] = "261.0000";
tmp[iName] = "Rutherfordium";
tmp[iSymbol] = "Rf";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1964";
tmp[iGroup] = "4";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d27s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = 2;
tmp[i7s] = 2;
el[iAMU] = tmp;
tmp = new Array();
iAMU = 105;
tmp[iMass] = "262.0000";
tmp[iName] = "Dubnium";
tmp[iSymbol] = "Db";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1967";
tmp[iGroup] = "5";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d37s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 106;
tmp[iMass] = "266.0000";
tmp[iName] = "Seaborgium";
tmp[iSymbol] = "Sg";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1974";
tmp[iGroup] = "6";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn] 5f14 6d4 7s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 107;
tmp[iMass] = "264.0000";
tmp[iName] = "Bohrium";
tmp[iSymbol] = "Bh";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1981";
tmp[iGroup] = "7";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d57s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 108;
tmp[iMass] = "277.0000";
tmp[iName] = "Hassium";
tmp[iSymbol] = "Hs";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1984";
tmp[iGroup] = "8";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d67s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 109;
tmp[iMass] = "268.0000";
tmp[iName] = "Meitnerium";
tmp[iSymbol] = "Mt";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1982";
tmp[iGroup] = "9";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d77s2";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 110;
tmp[iMass] = "281";
tmp[iName] = "Darmstadtium ";
tmp[iSymbol] = "Ds";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1994";
tmp[iGroup] = "10";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d97s1";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
tmp = new Array();
iAMU = 111;
tmp[iMass] = "272";
tmp[iName] = "Roentgenium";
tmp[iSymbol] = "Rg";
tmp[iMP] = "*";
tmp[iBP] = "*";
tmp[iDensity] = "*";
tmp[iEarthCrust] = "*";
tmp[iYear] = "1994";
tmp[iGroup] = "11";
tmp[iPeriod] = "7";
tmp[iEC] = "[Rn]5f146d107s1";
tmp[iIE] = "*";
tmp[iTC] = "*";
tmp[iSHC] = "*";
tmp[iHoV] = "*";
tmp[iFIP] = "*";
tmp[iEN] = "*";
tmp[iAR] = "*";
tmp[iAV] = "*";
tmp[iCR] = "*";
tmp[iECo] = "*";
tmp[iSeries] = iTransitionMetals;
tmp[i1s] = 2;
tmp[i2s] = 2;
tmp[i2p] = 6;
tmp[i3s] = 2;
tmp[i3p] = 6;
tmp[i3d] = 10;
tmp[i4s] = 2;
tmp[i4p] = 6;
tmp[i4d] = 10;
tmp[i4f] = 14;
tmp[i5s] = 2;
tmp[i5p] = 6;
tmp[i5d] = 10;
tmp[i5f] = 14;
tmp[i6s] = 2;
tmp[i6p] = 6;
tmp[i6d] = "*";
tmp[i7s] = "*";
el[iAMU] = tmp;
iMax = iAMU;
var CurrentGraph = iMass;
var PreviousGraph = iMass;
var CurrentElement = 1;
if (InstantiateObjects && (InstantiateCells)) {
var iAMU = iMin;
while (iAMU <= iMax) {
attachMovie("Cell", "Cell" + iAMU, this.getNextHighestDepth());
iAMU++;
}
attachMovie("ElementDetail", "ED", this.getNextHighestDepth());
ConfigureCells();
}
var EDShrunk = false;
var EDSF = 3;
var EDXEs;
var EDXEb;
var EDYEs;
var EDYEb;
var EDXnEs;
var EDXnEb;
var EDYnEs;
var EDYnEb;
var EDSnEs;
var EDSEs;
var EDSEb;
var EDSnEb;
EDXEs = (EDXEb = 59.05);
EDYEs = (EDYEb = 19.65);
EDXnEs = (EDXnEb = 92.25);
EDYnEs = (EDYnEb = 17.5);
EDSnEs = (EDSEs = 33.3333333333333);
EDSEb = 77;
EDSnEb = 100;
var EDDragging = false;
var ECD = new Object();
ECD.nMaxC = 0;
ECD.nMinC = 0;
ECD.nDelta = 0;
ECD.nMinVal = 0;
ECD.nSimpVal = 0;
ECD.nVal = 0;
Frame 4
function MarkCurrent(MyAMU) {
if (HighlightCurrentElement && ((MyAMU >= iMin) && (MyAMU <= iMax))) {
ch._x = GetCellX(MyAMU);
ch._y = GetCellY(MyAMU);
ch._width = CellWidth;
ch._height = CellHeight;
}
}
function ShrinkAG() {
if (((!SharedDragging) && (AGGSWin != winMax)) && (!AGShrunk)) {
ag1._height = MiniHeight;
ag1._xscale = ag1._yscale;
AGShrunk = true;
AGReposition();
}
}
function GrowAG() {
if (((!SharedDragging) && (AGGSWin != winMin)) && (AGShrunk)) {
var _local1 = 100;
ag1._height = 7.5 * OriginalCellSize;
ag1._xscale = ag1._yscale;
AGShrunk = false;
AGReposition();
SwapWithTop("ag1");
}
}
function AGReposition() {
if (AGShrunk) {
ag1._x = (IncludeLAinRotation ? (ShiftRotateX(AGXs)) : (AGXs));
ag1._y = AGYs;
} else {
ag1._x = (IncludeLAinRotation ? (ShiftRotateX(AGXb)) : (AGXb));
ag1._y = AGYb;
}
}
function AGDragToggle() {
if (AGDragging) {
ag1.stopDrag();
AGDragging = false;
SharedDragging = false;
ag1.icnMov._xscale = (ag1.icnMov._yscale = 100);
if (AGShrunk) {
AGXs = ag1._x;
AGYs = ag1._y;
} else {
AGXb = ag1._x;
AGYb = ag1._y;
}
AGReposition();
} else {
ag1.startDrag();
AGDragging = true;
SharedDragging = true;
ag1.icnMov._xscale = (ag1.icnMov._yscale = 150);
}
}
function ShrinkEO() {
if (((!SharedDragging) && (EOGSWin != winMax)) && (!EOShrunk)) {
mcEO.BMForceShrink();
mcEO.EMForceShrink();
mcEO._width = 200;
mcEO._height = MiniHeight;
EOShrunk = true;
EOReposition();
}
}
function GrowEO() {
if (((!SharedDragging) && (EOGSWin != winMin)) && (EOShrunk)) {
var _local1 = 100;
mcEO._width = OriginalCellSize * 14.5;
mcEO._yscale = mcEO._xscale;
EOShrunk = false;
EOReposition();
SwapWithTop("mcEO");
}
}
function EOReposition() {
mcEO.BMForceShrink();
mcEO.EMForceShrink();
if (EOShrunk) {
mcEO._x = ShiftRotateX(EOXs);
mcEO._y = EOYs;
} else {
mcEO._x = ShiftRotateX(EOXb);
mcEO._y = EOYb;
}
}
function EODragToggle() {
if (EODragging) {
mcEO.stopDrag();
EODragging = false;
SharedDragging = false;
mcEO.icnMov._xscale = (mcEO.icnMov._yscale = (mcEO.icnMov._xscale * 2) / 3);
if (EOShrunk) {
EOXs = mcEO._x;
EOYs = mcEO._y;
} else {
EOXb = mcEO._x;
EOYb = mcEO._y;
}
EOReposition();
} else {
mcEO.startDrag();
EODragging = true;
SharedDragging = true;
mcEO.icnMov._xscale = (mcEO.icnMov._yscale = mcEO.icnMov._xscale * 1.5);
}
}
function SwapWithTop(Which) {
var WhichDepth = eval (Which).getDepth();
var TopDepth = Number(this.getNextHighestDepth() - 2);
if (TopDepth != WhichDepth) {
eval (Which).swapDepths(TopDepth);
}
}
function SetWhich(MyAMU) {
var _local1 = Number(MyAMU);
if ((_local1 >= iMin) && (_local1 <= iMax)) {
SetCloseup(_local1);
ED.SetDetail(_local1);
ag1.SetWhich(_local1);
}
mcEO.SetWhich(_local1);
MarkCurrent(MyAMU);
SetLD(MyAMU);
}
function GrowST() {
if ((!SharedDragging) && (sldTempShrunk)) {
mcST._width = nMaxSTx;
mcST._height = OriginalCellSize / 2;
RepositionST();
sldTempShrunk = false;
SwapWithTop("mcST");
}
}
function ShrinkST() {
if ((!SharedDragging) && (!sldTempShrunk)) {
mcST._width = nMinSTx;
mcST._height = OriginalCellSize / 2;
RepositionST();
sldTempShrunk = true;
}
}
function RepositionST() {
mcST._x = STulx;
mcST._y = STuly;
}
function OutputData() {
var _local2 = iMin;
while (_local2 <= iMax) {
trace("********************************************");
var _local3 = "";
var _local1 = icMin;
while (_local1 <= icMax) {
if (_local1 < i1s) {
trace((dbKeys[_local1] + "=") + el[_local2][_local1]);
} else {
_local3 = _local3 + (el[_local2][_local1] + " ");
}
_local1++;
}
trace("True Electron Configuration=" + _local3);
_local2++;
}
}
function OutputTEC() {
var _local2 = iMin;
while (_local2 <= iMax) {
var _local3 = "";
var _local1 = i1s;
while (_local1 <= i7s) {
_local3 = _local3 + (el[_local2][_local1] + " ");
_local1++;
}
trace((("AMU:" + _local2) + "; TEC=") + _local3);
_local2++;
}
}
function SetGraph(tIdx) {
var _local3 = tIdx;
if (tIdx != xRemoveColor) {
ag1.SetYLabel(dbKeys[tIdx]);
PreviousGraph = _local3;
if (tIdx == iState) {
mcST._visible = true;
mcST.GrowST();
mcST.ShrinkST();
} else {
mcST._visible = false;
}
}
ED.RepositionWhich(_local3);
SetColor(tIdx);
ag1.SetGraph(tIdx);
CurrentGraph = tIdx;
this.ED.BigCell.SetBGColor(GetMyColor(CurrentElement, _local3));
}
function GetState(idx, nTemp) {
if ((el[idx][iBP] == "*") || (el[idx][iMP] == "*")) {
return("*");
}
if (nTemp <= Number(el[idx][iMP])) {
return("Solid");
}
if (nTemp >= Number(el[idx][iBP])) {
return("Gas");
}
return("Liquid");
}
function GetState(idx) {
var _local2 = mcST.GetTemp();
if ((el[idx][iBP] == "*") || (el[idx][iMP] == "*")) {
return("*");
}
if (_local2 <= Number(el[idx][iMP])) {
return("Solid");
}
if (_local2 >= Number(el[idx][iBP])) {
return("Gas");
}
return("Liquid");
}
function nGetState(idx) {
var _local2 = mcST.GetTemp();
if ((el[idx][iBP] == "*") || (el[idx][iMP] == "*")) {
return(0);
}
if (_local2 <= Number(el[idx][iMP])) {
return(1);
}
if (_local2 >= Number(el[idx][iBP])) {
return(3);
}
return(2);
}
function GetLewis(idx) {
var it;
var myS;
var myP;
it = 7;
while (it >= 0) {
if ((el[idx][eval (("i" + it) + "s")] != 0) && (el[idx][eval (("i" + it) + "s")] != "*")) {
break;
}
it--;
}
if (el[idx][eval (("i" + it) + "s")] != "*") {
myS = el[idx][eval (("i" + it) + "s")];
if ((it == 7) || (it == 1)) {
myP = 0;
} else {
myP = el[idx][eval (("i" + it) + "p")];
}
return(Number(myS) + Number(myP));
}
return(-1);
}
function SetLD(myAMU) {
ED.SetLD(myAMU);
}
var iAMU = iMin;
while (iAMU <= iMax) {
eval ("Cell" + iAMU).Setup(iAMU);
iAMU++;
}
var it = iMin;
while (it <= iMax) {
el[it][xAMU] = it;
it++;
}
var mmax = new Array();
var mmin = new Array();
var tmp;
var it = icMin;
while (it <= icMax) {
mmax[it] = Number.NEGATIVE_INFINITY;
mmin[it] = Number.MAX_VALUE;
it++;
}
var it = iMin;
while (it <= iMax) {
var jt = icMin;
while (jt <= icMax) {
if (((jt != iName) && (jt != iSymbol)) && (jt != iEC)) {
if (jt == iLewis) {
tmp = GetLewis(it);
} else {
tmp = Number(el[it][jt]);
}
if (tmp > Number(mmax[jt])) {
mmax[jt] = tmp;
}
if (tmp < Number(mmin[jt])) {
mmin[jt] = tmp;
}
}
jt++;
}
it++;
}
this.SetColor(iSeries);
this.ED.BigCell.SetBtn(false);
this.attachMovie("SquareSolid", "ch", this.getNextHighestDepth());
if (InstantiateObjects && (InstantiateCells)) {
ch._alpha = CurrentElementAlpha;
} else {
ch._alpha = 0;
}
var AGShrunk = false;
if (InstantiateObjects && (InstantiateGraph)) {
this.attachMovie("AutoGraph", "ag1", this.getNextHighestDepth());
}
var AGXb;
var AGYb;
var AGXs;
var AGYs;
var AGXos;
var AGYos;
var AGXob;
var AGYob;
AGXb = (AGXs = (AGXo = OriginalCellSize));
AGYs = (AGYos = 8.75 * OriginalCellSize);
AGYb = (AGYob = 3 * OriginalCellSize);
var MiniHeight = 60;
var AGDragging = false;
ShrinkAG();
var EOShrunk = false;
var EOXb;
var EOYb;
var EOXs;
var EOYs;
var EOXos;
var EOYos;
var EOXob;
var EOYob;
EOXb = (EOXob = 4 * OriginalCellSize);
EOYb = (EOYob = 4 * OriginalCellSize);
EOXs = (EOXos = 12 * OriginalCellSize);
EOYs = (EOYos = 6.675 * OriginalCellSize);
if (InstantiateObjects && (InstantiateOrbitals)) {
this.attachMovie("EO", "mcEO", this.getNextHighestDepth());
}
var EODragging = false;
ShrinkEO();
ED.SetDetail(1);
var sldTempShrunk = true;
this.attachMovie("ST", "mcST", this.getNextHighestDepth());
var nMaxSTx = (17 * OriginalCellSize);
var nMinSTx = (3 * OriginalCellSize);
var STurx = (mcST._x + nMinSTx);
var STury = mcST._y;
var STulx = ((3 * OriginalCellSize) / 4);
var STuly = (7.75 * OriginalCellSize);
mcST._x = STulx;
mcST._y = STuly;
if (InstantiateObjects && (InstantiateHelp)) {
this.attachMovie("Menu", "MB", this.getNextHighestDepth());
}
Frame 5
SetWhich(1);
SetGraph(iEC);
mcST.SetMin(mmin[iMP] - 5);
mcST.SetMax(mmax[iBP] + 5);
mcST._height = OriginalCellSize / 2;
mcST._width = nMinSTx;
ShrinkEO();
stop();
Symbol 13 MovieClip Frame 1
function Hide() {
Arrow._visible = false;
}
function Show() {
Arrow._visible = true;
}
function Bold() {
bold._visible = true;
}
function Unbold() {
bold._visible = false;
}
function Nobold() {
bold._visible = false;
}
Show();
Nobold();
stop();
Symbol 14 MovieClip [mcOrbital] Frame 1
function Hide(Which) {
ShowHide(Which, false);
}
function Show(Which) {
ShowHide(Which, true);
}
function Show0() {
ShowHide(2, false);
}
function Show1() {
ShowHide(0, true);
ShowHide(1, false);
}
function Show2() {
ShowHide(2, true);
}
function SetOn(nNumOn) {
switch (nNumOn) {
case 0 :
e0._visible = false;
e1._visible = false;
break;
case 1 :
e0._visible = true;
e1._visible = false;
break;
default :
e0._visible = true;
e1._visible = true;
}
}
function ShowHide(Which, visibility) {
switch (Which) {
case -1 :
this._visible = visibility;
break;
case 0 :
e0._visible = visibility;
break;
case 1 :
e1._visible = visibility;
break;
default :
e0._visible = visibility;
e1._visible = visibility;
}
}
function Hide(Which) {
ShowHide(Which, false);
}
function Show(Which) {
ShowHide(Which, true);
}
function ShowHide(Which, visibility) {
switch (Which) {
case -1 :
this._visible = visibility;
break;
case 0 :
e0._visible = visibility;
break;
case 1 :
e1._visible = visibility;
break;
default :
e0._visible = visibility;
e1._visible = visibility;
}
}
Symbol 20 MovieClip [SquareSBL] Frame 1
function SetBinColor(RGB) {
myColor.setRGB(RGB);
}
myColor = new Color(mcLG);
stop();
Symbol 37 MovieClip [CheckThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 48 MovieClip [CheckBoxAssets] Frame 1
#initclip 28
mx.controls.CheckBox.prototype.adjustFocusRect = function () {
var _local4 = this._parent.focus_mc;
var _local2 = this.iconName;
var _local3 = this.getStyle("themeColor");
if (_local3 == undefined) {
_local3 = 8453965 /* 0x80FF4D */;
}
var _local8 = _local2._width + 4;
var _local5 = _local2._height + 4;
_local4.setSize(_local8, _local5, 0, 100, _local3);
var _local7 = _local2._x;
var _local6 = _local2._y;
_local4.move((this.x - 2) + _local7, (this.y + _local6) - 2);
};
#endinitclip
Symbol 50 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 52 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 55 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 57 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 60 MovieClip [Defaults] Frame 1
#initclip 29
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 61 MovieClip [UIObjectExtensions] Frame 1
#initclip 30
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 62 MovieClip [UIObject] Frame 1
#initclip 31
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 65 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 66 MovieClip [FocusRect] Frame 1
#initclip 32
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 67 MovieClip [FocusManager] Frame 1
#initclip 33
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 68 MovieClip [UIComponentExtensions] Frame 1
#initclip 34
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 69 MovieClip [UIComponent] Frame 1
#initclip 35
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 70 MovieClip [SimpleButton] Frame 1
#initclip 36
Object.registerClass("SimpleButton", mx.controls.SimpleButton);
#endinitclip
stop();
Symbol 71 MovieClip [Border] Frame 1
#initclip 37
Object.registerClass("Border", mx.skins.Border);
#endinitclip
stop();
Symbol 72 MovieClip [RectBorder] Frame 1
#initclip 38
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass("RectBorder", mx.skins.halo.RectBorder);
#endinitclip
stop();
Symbol 73 MovieClip [ButtonSkin] Frame 1
#initclip 39
Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin);
#endinitclip
Symbol 74 MovieClip [Button] Frame 1
#initclip 40
Object.registerClass("Button", mx.controls.Button);
#endinitclip
stop();
Instance of Symbol 70 MovieClip [SimpleButton] in Symbol 74 MovieClip [Button] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 75 MovieClip [CheckBox] Frame 1
#initclip 41
Object.registerClass("CheckBox", mx.controls.CheckBox);
#endinitclip
stop();
Instance of Symbol 74 MovieClip [Button] in Symbol 75 MovieClip [CheckBox] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 102 MovieClip [RadioThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 106 MovieClip [RadioThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 112 MovieClip [RadioButtonAssets] Frame 1
#initclip 42
mx.controls.RadioButton.prototype.adjustFocusRect = function () {
var _local4 = this._parent.focus_mc;
var _local2 = this.iconName;
var _local3 = this.getStyle("themeColor");
if (_local3 == undefined) {
_local3 = 8453965 /* 0x80FF4D */;
}
var _local5 = _local2._width + 4;
var _local6 = _local2._height + 4;
_local4.setSize(_local5, _local6, 8, 100, _local3);
var _local8 = _local2._x;
var _local7 = _local2._y;
_local4.move((this.x - 2) + _local8, (this.y + _local7) - 2);
};
#endinitclip
Symbol 113 MovieClip [RadioButton] Frame 1
#initclip 43
Object.registerClass("RadioButton", mx.controls.RadioButton);
#endinitclip
stop();
Instance of Symbol 74 MovieClip [Button] "foo" in Symbol 113 MovieClip [RadioButton] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 119 MovieClip [MenuConfig] Frame 1
chkHePosition.selected = _root.HePosition;
var oListener = new Object();
oListener.click = function (oEvent) {
_root.HePosition = oEvent.target.selected;
_root.ConfigureCells();
};
chkHePosition.addEventListener("click", oListener);
chkHIsHalogen.selected = _root.HIsHalogen;
var oListener = new Object();
oListener.click = function (oEvent) {
_root.HIsHalogen = oEvent.target.selected;
_root.ConfigureCells();
};
chkHIsHalogen.addEventListener("click", oListener);
chkHighlightCurrentElement.selected = _root.HighlightCurrentElement;
var oListener = new Object();
oListener.click = function (oEvent) {
_root.HighlightCurrentElement = oEvent.target.selected;
if (oEvent.target.selected) {
_root.ch._alpha = _root.CurrentElementAlpha;
_root.ag1.Marker._alpha = _root.CurrentElementAlpha;
_root.mcEO.marker._alpha = _root.CurrentElementAlpha;
} else {
_root.ch._alpha = 0;
_root.ag1.Marker._alpha = 0;
_root.mcEO.marker._alpha = 0;
}
};
chkHighlightCurrentElement.addEventListener("click", oListener);
chkEmbedLA.selected = _root.EmbedLA;
var oListener = new Object();
oListener.click = function (oEvent) {
_root.EmbedLA = oEvent.target.selected;
var _local2 = Number(_root.EmbedLA);
_root.bResizeCells = true;
_root.CellWidth = (_root.OriginalCellSize * 18) / (((1 - _local2) * 18) + (_local2 * 32));
_root.CellHeight = _root.CellWidth;
_root.ch._width = _root.CellWidth;
_root.ch._height = _root.CellHeight;
_root.MarkCurrent(_root.CurrentElement);
_root.ConfigureCells();
};
chkEmbedLA.addEventListener("click", oListener);
chkIncludeLA.selected = _root.IncludeLAinRotation;
var oListener = new Object();
oListener.click = function (oEvent) {
_root.IncludeLAinRotation = oEvent.target.selected;
_root.ConfigureCells();
};
chkIncludeLA.addEventListener("click", oListener);
var sldCellOffsetShrunk = true;
this.attachMovie("RT", "mcST", this.getNextHighestDepth());
var nMaxSTx = 32;
var nMinSTx = 0;
var STurx = (mcST._x + nMinSTx);
var STury = mcST._y;
var STulx = 10;
var STuly = 125;
mcST._x = STulx;
mcST._y = STuly;
Instance of Symbol 75 MovieClip [CheckBox] "chkEmbedLA" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
label = "Embed Lanthanides/Actinides";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 75 MovieClip [CheckBox] "chkHePosition" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
label = "Show He as Alkaline Earth";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 75 MovieClip [CheckBox] "chkHIsHalogen" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
label = "Show H as Halogen";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 75 MovieClip [CheckBox] "chkHighlightCurrentElement" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
label = "Highlight Current Element";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEDMax" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 2;
groupName = "rbED";
label = "Maximize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEDGS" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 1;
groupName = "rbED";
label = "Grow/Shrink";
labelPlacement = "right";
selected = true;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEDMin" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 0;
groupName = "rbED";
label = "Minimize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEOMax" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 2;
groupName = "rbEO";
label = "Maximize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEOGS" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 1;
groupName = "rbEO";
label = "Grow/Shrink";
labelPlacement = "right";
selected = true;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbEOMin" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 0;
groupName = "rbEO";
label = "Minimize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbAGMax" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 2;
groupName = "rbAG";
label = "Maximize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbAGGS" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 1;
groupName = "rbAG";
label = "Grow/Shrink";
labelPlacement = "right";
selected = true;
}
Instance of Symbol 113 MovieClip [RadioButton] "rbAGMin" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
data = 0;
groupName = "rbAG";
label = "Minimize";
labelPlacement = "right";
selected = false;
}
Instance of Symbol 75 MovieClip [CheckBox] "chkIncludeLA" in Symbol 119 MovieClip [MenuConfig] Frame 1
//component parameters
onClipEvent (construct) {
label = "Include Lanthanides/Actinides";
labelPlacement = "right";
selected = false;
}
Symbol 119 MovieClip [MenuConfig] Frame 2
mcST.SetMax(nMaxSTx);
mcST.SetMin(nMinSTx);
mcST._height = 10;
mcST._width = 170;
mcST.SetSliderColor(_root.MakeColor(_root.colors[_root.cG][_root.iR], _root.colors[_root.cG][_root.iG], _root.colors[_root.cG][_root.iB]));
mcST.SetShowScale(false);
mcST.SetValue(_root.nCellOffset);
EOListener = new Object();
EOListener.click = function (evt) {
switch (rbEO.getValue()) {
case _root.winMin :
_root.EOGSWin = _root.winMin;
_root.mcEO.BMForceShrink();
_root.ShrinkEO();
break;
case _root.winGS :
_root.EOGSWin = _root.winGS;
_root.mcEO.BMForceShrink();
_root.ShrinkEO();
break;
case _root.winMax :
_root.EOGSWin = _root.winMax;
_root.GrowEO();
}
};
rbEO.addEventListener("click", EOListener);
AGListener = new Object();
AGListener.click = function (evt) {
switch (rbAG.getValue()) {
case _root.winMin :
_root.AGGSWin = _root.winMin;
_root.ShrinkAG();
break;
case _root.winGS :
_root.AGGSWin = _root.winGS;
_root.ShrinkAG();
break;
case _root.winMax :
_root.AGGSWin = _root.winMax;
_root.GrowAG();
}
};
rbAG.addEventListener("click", AGListener);
EDListener = new Object();
EDListener.click = function (evt) {
_root.EDShrunk;
switch (rbED.getValue()) {
case _root.winMin :
_root.EDGSWin = _root.winMin;
_root.EDShrunk = true;
_root.ED.ResizePositionED();
break;
case _root.winGS :
_root.EDGSWin = _root.winGS;
_root.ED.ResizePositionED();
break;
case _root.winMax :
_root.EDGSWin = _root.winMax;
_root.EDShrunk = false;
_root.ED.ResizePositionED();
}
};
rbED.addEventListener("click", EDListener);
switch (_root.EOGSWin) {
case _root.winMin :
rbEOMin.selected = true;
break;
case _root.winGS :
rbEOGS.selected = true;
break;
default :
rbEOMax.selected = true;
}
switch (_root.AGGSWin) {
case _root.winMin :
rbAGMin.selected = true;
break;
case _root.winGS :
rbAGGS.selected = true;
break;
default :
rbAGMax.selected = true;
}
switch (_root.EDGSWin) {
case _root.winMin :
rbEDMin.selected = true;
break;
case _root.winGS :
rbEDGS.selected = true;
break;
default :
rbEDMax.selected = true;
}
stop();
Symbol 186 MovieClip [MenuColor] Frame 1
bstAtom.onRollOver = function () {
gotoAndStop ("Atom");
};
bstTable.onRollOver = function () {
gotoAndStop ("Table");
};
bstTemperature.onRollOver = function () {
gotoAndStop ("Temperature");
};
bstIonization.onRollOver = function () {
gotoAndStop ("Ionization");
};
bstConductivity.onRollOver = function () {
gotoAndStop ("Conductivity");
};
bstOrbitals.onRollOver = function () {
gotoAndStop ("Orbitals");
};
bstOther.onRollOver = function () {
gotoAndStop ("Other");
};
bstNone.onRelease = function () {
_root.SetGraph(_root.xRemoveColor);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 5
bAMU.onRelease = function () {
_root.SetGraph(_root.xAMU);
};
bMass.onRelease = function () {
_root.SetGraph(_root.iMass);
};
bDensity.onRelease = function () {
_root.SetGraph(_root.iDensity);
};
bAR.onRelease = function () {
_root.SetGraph(_root.iAR);
};
bAV.onRelease = function () {
_root.SetGraph(_root.iAV);
};
bCR.onRelease = function () {
_root.SetGraph(_root.iCR);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 10
bAMU.onRelease = function () {
_root.SetGraph(_root.iAMU);
};
bGroup.onRelease = function () {
_root.SetGraph(_root.iGroup);
};
bPeriod.onRelease = function () {
_root.SetGraph(_root.iPeriod);
};
bSeries.onRelease = function () {
_root.SetGraph(_root.iSeries);
};
bBlock.onRelease = function () {
_root.SetGraph(_root.iBlock);
};
bEC.onRelease = function () {
_root.SetGraph(_root.iEC);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 15
bMP.onRelease = function () {
_root.SetGraph(_root.iMP);
};
bBP.onRelease = function () {
_root.SetGraph(_root.iBP);
};
bSHC.onRelease = function () {
_root.SetGraph(_root.iSHC);
};
bHoV.onRelease = function () {
_root.SetGraph(_root.iHoV);
};
bState.onRelease = function () {
_root.SetGraph(_root.iState);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 20
bECo.onRelease = function () {
_root.SetGraph(_root.iECo);
};
bTC.onRelease = function () {
_root.SetGraph(_root.iTC);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 25
bEN.onRelease = function () {
_root.SetGraph(_root.iEN);
};
bFIP.onRelease = function () {
_root.SetGraph(_root.iFIP);
};
bIE.onRelease = function () {
_root.SetGraph(_root.iIE);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 30
bEC.onRelease = function () {
_root.SetGraph(_root.iEC);
};
bLewis.onRelease = function () {
_root.SetGraph(_root.iLewis);
};
b1s.onRelease = function () {
_root.SetGraph(_root.i1s);
};
b2s.onRelease = function () {
_root.SetGraph(_root.i2s);
};
b2p.onRelease = function () {
_root.SetGraph(_root.i2p);
};
b3s.onRelease = function () {
_root.SetGraph(_root.i3s);
};
b3p.onRelease = function () {
_root.SetGraph(_root.i3p);
};
b3d.onRelease = function () {
_root.SetGraph(_root.i3d);
};
b4s.onRelease = function () {
_root.SetGraph(_root.i4s);
};
b4p.onRelease = function () {
_root.SetGraph(_root.i4p);
};
b4d.onRelease = function () {
_root.SetGraph(_root.i4d);
};
b4f.onRelease = function () {
_root.SetGraph(_root.i4f);
};
b5s.onRelease = function () {
_root.SetGraph(_root.i5s);
};
b5p.onRelease = function () {
_root.SetGraph(_root.i5p);
};
b5d.onRelease = function () {
_root.SetGraph(_root.i5d);
};
b5f.onRelease = function () {
_root.SetGraph(_root.i5f);
};
b6s.onRelease = function () {
_root.SetGraph(_root.i6s);
};
b6p.onRelease = function () {
_root.SetGraph(_root.i6p);
};
b6d.onRelease = function () {
_root.SetGraph(_root.i6d);
};
b7s.onRelease = function () {
_root.SetGraph(_root.i7s);
};
stop();
Symbol 186 MovieClip [MenuColor] Frame 35
bEarthCrust.onRelease = function () {
_root.SetGraph(_root.iEarthCrust);
};
bYear.onRelease = function () {
_root.SetGraph(_root.iYear);
};
stop();
Symbol 189 MovieClip [MenuScreenContact] Frame 2
var aLo = 35;
var aHi = 100;
tts.onRollOver = function () {
hlts._alpha = aHi;
};
tts.onRollOut = function () {
hlts._alpha = aLo;
};
tts.onRelease = function () {
getURL ("http://www.touchspin.com/", _blank);
};
tfaq.onRollOver = function () {
hlfaq._alpha = aHi;
};
tfaq.onRollOut = function () {
hlfaq._alpha = aLo;
};
tfaq.onRelease = function () {
getURL ("http://www.touchspin.com/chem/faq.html", _blank);
};
tchem.onRollOver = function () {
hlchem._alpha = aHi;
};
tchem.onRollOut = function () {
hlchem._alpha = aLo;
};
tchem.onRelease = function () {
getURL ("http://www.touchspin.com/chem/", _blank);
};
temail.onRollOver = function () {
hlemail._alpha = aHi;
};
temail.onRollOut = function () {
hlemail._alpha = aLo;
};
temail.onRelease = function () {
getURL ("mailto:chemistry@touchspin.com", _blank);
};
tts.onRollOut();
tfaq.onRollOut();
tchem.onRollOut();
temail.onRollOut();
stop();
Symbol 208 MovieClip [MenuHelpUsage] Frame 1
function DoSet(Which, InOut) {
aCRef[eval ("i" + Which)].setRGB(eval (("a" + InOut) + "Colors")[eval ("i" + Which)]);
Help.text = eval (Which + "Text");
if (InOut == "N") {
Help.text = DText;
tMM.text = aText[iD];
} else {
tMM.text = aText[eval ("i" + Which)];
}
}
var CR = String.fromCharCode(13);
ECText = "This is the Element Closeup area. Mousing over any cell in the periodic table will fill the Element Closeup and Additional Details. No clicking is necessary.";
AEDText = ("This is the Additional Element Detail area. When you mouse over any cell in the periodic table, this area is updated to represent the element to which you are pointing." + CR) + CR;
AEDText = AEDText + "Each element detail item can be clicked on to color the table to show that characteristic. The melting point and boiling point colorations use different colors to represent values above or below zero degrees.";
EOText = ("When you mouse over the Electron Orbitals graph, it expands to show the orbital diagram. Mousing over individual orbitals shows the element to which it applies and the corresponding electron configuration." + CR) + CR;
EOText = EOText + "The orbitals are color coded according to the sub-orbital level, l: red for s, orange for p, yellow for d, and green for f. The shading below each orbital is grey shaded according to its energy level, n.";
DText = "Mouse over any area of the mini map on the left to see info about how it works.";
PTText = "This is the Periodic Table. Mouse over any element cell to update the element detail area.";
LAText = "These are the Lanthanide and Actinde series. You can configure the program to have these appear below or embedded within the table. Mouse over the 'Table' menu for more information.";
MGText = ("When you mouse over the Mini Graph, it expands to show its contents. Mouse away from the graph to cause it to shrink to its original size. The graph always displays atomic mass units (AMU) along the x-axis. The y-axis is determined by whichever element detail button was clicked last." + CR) + CR;
MGText = ((MGText + "NOTE: Click on the 'Element Detail' categories to change the graph's meaning and color.") + CR) + CR;
MGText = MGText + "When expanded, mousing over any of the graph bins will cause the associated element symbol and value to appear above the graph.";
Help.text = DText;
var ix = 0;
var iPT = (ix++);
var iEC = (ix++);
var iAED = (ix++);
var iEO = (ix++);
var iMG = (ix++);
var iLA = (ix++);
var iD = (ix++);
var aAbbrev = new Array();
aAbbrev.push("PT");
aAbbrev.push("EC");
aAbbrev.push("AED");
aAbbrev.push("EO");
aAbbrev.push("MG");
aAbbrev.push("LA");
var aOColors = new Array();
aOColors.push(16711680);
aOColors.push(255);
aOColors.push(16737792);
aOColors.push(16776960);
aOColors.push(65280);
aOColors.push(10040217);
var aNColors = new Array();
aNColors.push(16742263);
aNColors.push(7829503);
aNColors.push(16756863);
aNColors.push(16777079);
aNColors.push(7864183);
aNColors.push(13408767);
var aX = new Array();
aX.push(20);
aX.push(45);
aX.push(72);
aX.push(142);
aX.push(169);
aX.push(40);
var aY = new Array();
aY.push(62);
aY.push(62);
aY.push(62);
aY.push(118);
aY.push(118);
aY.push(134);
var aWidth = new Array();
aWidth.push(180);
aWidth.push(25);
aWidth.push(55);
aWidth.push(25);
aWidth.push(25);
aWidth.push(140);
var aHeight = new Array();
aHeight.push(90);
aHeight.push(25);
aHeight.push(25);
aHeight.push(15);
aHeight.push(15);
aHeight.push(18);
var aText = new Array();
aText.push("Period Table");
aText.push("Element Closeup");
aText.push("Element Details");
aText.push("Electron Orbitals");
aText.push("Mini-Graph");
aText.push("Lanthanides/Actinides");
aText.push("Mini-Map");
var aCRef = new Array();
var it = 0;
while (it < aX.length) {
var sbSource = "SquareSolid";
if (it == 0) {
sbSource = "PTShort";
}
var tr = this.attachMovie(sbSource, "b" + aAbbrev[it], this.getNextHighestDepth());
tr._x = aX[it];
tr._y = aY[it];
tr._width = aWidth[it];
tr._height = aHeight[it];
aCRef[it] = new Color(tr);
tr.onRollOver = function () {
DoSet(this._name.substr(1), "O");
};
tr.onPress = tr.onRollOver();
tr.onRelease = tr.onRollOver();
tr.onDragOver = function () {
DoSet(this._name.substr(1), "O");
};
tr.onRollOut = function () {
DoSet(this._name.substr(1), "N");
};
tr.onDragOut = tr.onRollOut;
tr.onReleaseOutside = tr.onRollOut;
tr.onRollOut();
it++;
}
stop();
Symbol 209 Button [SquareSolid]
on (rollOver) {
gotoAndStop ("Deactivated");
}
Symbol 210 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("Config");
}
}
Symbol 211 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("Color");
}
}
Symbol 212 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("Output");
}
}
Symbol 213 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("About");
}
}
Symbol 214 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("Usage");
}
}
Symbol 215 Button [SquareSolid]
on (rollOver) {
if (!_root.SharedDragging) {
gotoAndStop ("Deactivated");
}
}
Symbol 218 MovieClip [Menu] Frame 1
stop();
Symbol 218 MovieClip [Menu] Frame 7
tfAD.onRollOver = function () {
tfAD._alpha = 10;
};
tfAD.onRollOut = function () {
tfAD._alpha = 0;
};
tfAD.onRelease = function () {
_root.OutputData();
};
tfTEC.onRollOver = function () {
tfTEC._alpha = 10;
};
tfTEC.onRollOut = function () {
tfTEC._alpha = 0;
};
tfTEC.onRelease = function () {
_root.OutputTEC();
};
stop();
Symbol 223 MovieClip [LewisDiagram] Frame 1
function SetLD(myAMU) {
if (myAMU > _parent._parent.iMax) {
return(undefined);
}
var nE = _root.GetLewis(myAMU);
var nAlpha = nMaxAlpha;
Symbol.text = _root.el[myAMU][_root.iSymbol];
var it = (nMinLE + 1);
while (it <= nMaxLE) {
if (it > nE) {
nAlpha = nMinAlpha;
}
eval ("e" + it)._alpha = nAlpha;
it++;
}
}
var nMinLE = 0;
var nMaxLE = 8;
var nMinAlpha = 0;
var nMaxAlpha = 100;
Symbol 224 MovieClip [ST] Frame 1
function SetMax(nVal) {
nMaxValue = nVal;
}
function SetMin(nVal) {
nMinValue = nVal;
}
function GetTemp() {
return(CurrentTemp);
}
function MouseSetTemp() {
if (prevMX != _xmouse) {
prevMX = _xmouse;
temp._width = _root.GetNormdVal(_xmouse, 0, nMaxLengthS, 0, nMaxLengthS);
CurrentTemp = _root.GetNormdVal(temp._width, 0, nMaxLengthS, nMinValue, nMaxValue);
txtTemp.txt.text = CurrentTemp;
_root.SetColor(_root.iState);
}
}
function SetTemp(MyTemp) {
temp._width = _root.GetNormdVal(MyTemp, nMinValue, nMaxValue, 0, nMaxLengthS);
CurrentTemp = MyTemp;
txtTemp.txt.text = MyTemp;
_root.SetColor(_root.iState);
}
function StartUp() {
if (_parent.sldTempShrunk) {
_parent.GrowST();
}
nPosInterval = setInterval(MouseSetTemp, 100);
}
function ShutDown() {
_parent.ShrinkST();
clearInterval(nPosInterval);
_parent.SetGraph(_parent.iState);
_parent.ag1.SetGraph(_parent.iState);
}
var nMaxLengthS = 200;
var nMinValue = 0;
var nMaxValue = 200;
this.attachMovie("SquareSolid", "bg", this.getNextHighestDepth());
this.attachMovie("SquareSolid", "temp", this.getNextHighestDepth());
this.attachMovie("gThermoScale", "tScale", this.getNextHighestDepth());
this.attachMovie("txtField", "txtTemp", 3);
this.attachMovie("SquareSolid", "bSliderOver", this.getNextHighestDepth());
bg._width = nMaxLengthS;
bg._height = 10;
cbg = new Color(bg);
cbg.setRGB(13553407);
temp._width = nMaxLengthS;
temp._height = 10;
ctemp = new Color(temp);
ctemp.setRGB(16711680);
txtTemp._height = 10;
txtTemp._width = 100;
txtTemp._x = (txtYAxis._y = 0);
tScale._width = (13 * nMaxLengthS) / 16;
tScale._x = (3 * nMaxLengthS) / 16;
tScale._height = 10;
bSliderOver._width = nMaxLengthS;
bSliderOver._height = 10;
bSliderOver._alpha = 0;
var nPosInterval;
bSliderOver.onRollOver = function () {
StartUp();
};
bSliderOver.onRollOut = function () {
ShutDown();
};
bSliderOver.onRelease = function () {
ShutDown();
Startup();
};
bSliderOver.onDragOut = function () {
ShutDown();
};
var prevMX;
var CurrentTemp = 0;
SetTemp(500);
stop();
Symbol 225 MovieClip [RT] Frame 1
function SetMax(nVal) {
nMaxValue = nVal;
}
function SetMin(nVal) {
nMinValue = nVal;
}
function SetSliderBGColor(MyHexColor) {
bBGColorSet = true;
cbg.setRGB(MyHexColor);
}
function SetSliderColor(MyHexColor) {
bSliderColorSet = true;
cValue.setRGB(MyHexColor);
}
function SetShowScale(bShow) {
bShowScale = (tScale._visible = bShow);
}
function GetValue() {
return(CurrentValue);
}
function MouseSetValue() {
var _local2 = _root.nCellOffset;
if (prevMX != _xmouse) {
prevMX = _xmouse;
Value._width = _root.GetNormdVal(_xmouse, 0, nMaxLengthS, 0, nMaxLengthS);
CurrentValue = Math.floor(_root.GetNormdVal(Value._width, 0, nMaxLengthS, nMinValue, nMaxValue));
_root.MarkCurrent(_root.CurrentElement);
if (_local2 != CurrentValue) {
_root.nCellOffset = CurrentValue;
txtValue.txt.text = CurrentValue;
_root.ConfigureCells();
}
}
}
function SetValue(MyValue) {
var _local2 = _root.nCellOffset;
Value._width = _root.GetNormdVal(MyValue, nMinValue, nMaxValue, 0, nMaxLengthS);
CurrentValue = MyValue;
_root.MarkCurrent(_root.CurrentElement);
if (_local2 != CurrentValue) {
_root.nCellOffset = CurrentValue;
txtValue.txt.text = MyValue;
_root.ConfigureCells();
}
}
function StartUp() {
if (_parent.sldValueShrunk) {
_parent.GrowST();
}
nPosInterval = setInterval(MouseSetValue, 100);
}
function ShutDown() {
_parent.ShrinkST();
clearInterval(nPosInterval);
_parent.SetGraph(_parent.iState);
_parent.ag1.SetGraph(_parent.iState);
}
var nMaxLengthS = 200;
var nMinValue = 0;
var nMaxValue = 32;
this.attachMovie("SquareSolid", "bg", this.getNextHighestDepth());
this.attachMovie("SquareSolid", "Value", this.getNextHighestDepth());
this.attachMovie("gThermoScale", "tScale", this.getNextHighestDepth());
this.attachMovie("txtField", "txtValue", 3);
this.attachMovie("SquareSolid", "bSliderOver", this.getNextHighestDepth());
bg._width = nMaxLengthS;
bg._height = 10;
cbg = new Color(bg);
bBGColorSet = false;
if (!bBGColorSet) {
SetSliderBGColor(13553407);
}
Value._width = nMaxLengthS;
Value._height = 10;
cValue = new Color(Value);
bSliderColorSet = false;
if (!bSliderColorSet) {
SetSliderColor(16776960);
}
txtValue._height = 10;
txtValue._width = 100;
txtValue._x = (txtYAxis._y = 0);
tScale._width = (13 * nMaxLengthS) / 16;
tScale._x = (3 * nMaxLengthS) / 16;
tScale._height = 10;
bShowScale = false;
bSliderOver._width = nMaxLengthS;
bSliderOver._height = 10;
bSliderOver._alpha = 0;
var nPosInterval;
bSliderOver.onRollOver = function () {
StartUp();
};
bSliderOver.onRollOut = function () {
ShutDown();
};
bSliderOver.onRelease = function () {
ShutDown();
Startup();
};
bSliderOver.onDragOut = function () {
ShutDown();
};
var prevMX;
var CurrentValue = _root.nCellOffset;
txtValue.txt.text = CurrentValue;
stop();
Symbol 228 MovieClip [EO] Frame 1
function ShowWhich(MyAMU) {
_parent.SetWhich(MyAMU);
SetBM(MyAMU);
SetEM(MyAMU);
}
function SetBM(MyAMU) {
bm.tSet("");
it = 0;
while (it < NumOrbs) {
if (MyAMU <= _root.iMax) {
tepo = _root.el[MyAMU][_root.i1s + OrbCorr[it]];
if ((tepo != "*") && (tepo != 0)) {
bm.tSet((OrbNames[it].substring(2, 4) + " ") + tepo);
}
bm.rSet(OrbNames[it], Number(tepo), false);
} else {
bm.rSet(OrbNames[it], 0, false);
}
it++;
}
}
function SetEM(MyAMU) {
EM.SetWhich(MyAMU);
}
function SetWhich(MyAMU) {
var _local3 = Math.floor((1 + Number(MyAMU)) / 2) - 1;
mcNO._x = (2 * nOrbSize) * (1 + orbs[_local3][iN]);
mcLO._x = (2 * nOrbSize) * (orbs[_local3][iS] + 2);
AMU.text = MyAMU;
tM.text = "m*: " + Number(orbs[_local3][iL]);
if (MyAMU < _root.el.length) {
Symbol.text = _root.el[MyAMU][_root.iSymbol];
EC.text = _root.el[MyAMU][_root.iEC];
} else {
EC.text = "";
Symbol.text = "";
}
mcS._rotation = 180 * (1 + (Number(MyAMU) % 2));
marker._x = (Number(MyAMU + 1) * nOrbSize) / 2;
SetBM(MyAMU);
SetEM(MyAMU);
}
function SwapWithTop(Which) {
var WhichDepth = eval (Which).getDepth();
var TopDepth = Number(this.getNextHighestDepth() - 1);
if (TopDepth > WhichDepth) {
eval (Which).swapDepths(TopDepth);
}
}
function ShrinkBM() {
if ((_root.BMGSWin != _root.winMax) && (!BMShrunk)) {
BMForceShrink();
}
}
function BMForceShrink() {
with (bm) {
_width = BMws;
_height = BMhs;
_x = BMcxs;
_y = BMcys;
}
BMShrunk = true;
EOType.text = txtSEOC;
}
function GrowBM() {
if ((_root.BMGSWin != winMin) && (BMShrunk)) {
with (bm) {
_width = BMwb;
_height = BMhb;
_x = BMcxb;
_y = BMcyb;
}
}
BMShrunk = false;
EOType.text = txtTEOC;
SwapWithTop("bm");
}
function ShrinkEM() {
if ((_root.EMGSWin != _root.winMax) && (!EMShrunk)) {
EMForceShrink();
}
}
function EMForceShrink() {
with (EM) {
_width = EMws;
_height = EMhs;
_x = EMcxs;
_y = EMcys;
}
EMShrunk = true;
EOType.text = txtSEOC;
}
function GrowEM() {
if ((_root.EMGSWin != winMin) && (EMShrunk)) {
with (EM) {
_width = EMwb;
_height = EMhb;
_x = EMcxb;
_y = EMcyb;
}
}
EMShrunk = false;
EOType.text = txtTEOC;
SwapWithTop("EM");
}
var oqnn = new Array(1, 2, 2, 3, 3, 4, 3, 4, 5, 4, 5, 6, 4, 5, 6, 7, 5, 6, 7, 8);
var oqnl = new Array(0, 0, 1, 0, 1, 0, 2, 1, 0, 2, 1, 0, 3, 2, 1, 0, 3, 2, 3, 0);
var oOPSL = new Array(1, 3, 5, 7, 9, 11);
var oSLL = new Array("s", "p", "d", "f", "g", "h");
var oSLC = new Array(16711680, 16750848, 16776960, 65280, 65535, 255);
var ShadeIncr = 7;
var nOrbSize = 7;
var orbs = new Array();
var iN;
var iL;
var iS;
var iX;
var iY;
var iRef;
var iName;
var iBGRef;
var iColor;
var idx = 0;
iN = idx++;
iL = idx++;
iS = idx++;
iX = idx++;
iY = idx++;
iRef = idx++;
iName = idx++;
iBGRef = idx++;
iColor = idx++;
txtTEOC = "**TRUE** Electron Orbital Configuration";
txtSEOC = "Standard Electron Orbital Configuration";
mcBG.onRollOver = function () {
txtSymbol.txt.text = "";
txtValue.txt.text = "";
_parent.GrowEO();
ShrinkBM();
ShrinkEM();
};
this.attachMovie("SquareSolid", "marker", this.getNextHighestDepth());
marker._x = nOrbSize;
marker._y = 110;
marker._width = nOrbSize / 2;
mC = new Color(marker);
mC.setRGB(_root.MakeColor(_root.colors[_root.cB][_root.iR], _root.colors[_root.cB][_root.iG], _root.colors[_root.cB][_root.iB]));
marker._alpha = 50;
var ch = 0;
var it = 0;
while (it < oqnl.length) {
var jt = 0;
while (jt < ((2 * Number(oqnl[it])) + 1)) {
var tmp = new Array();
tmp[iN] = oqnn[it];
tmp[iS] = oqnl[it];
tmp[iL] = jt + 1;
tmp[iX] = (ch + 1) * nOrbSize;
tmp[iY] = 100 - ((it * nOrbSize) / 2);
tmp[iName] = (("o" + Number(oqnn[it])) + oSLL[oqnl[it]]) + Number(1 + jt);
tmp[iRef] = this.attachMovie("mcOrbital", tmp[iName], this.getNextHighestDepth());
orbs[ch] = tmp;
tmp[iRef]._width = (tmp[iRef]._height = nOrbSize);
tmp[iRef]._x = tmp[iX];
tmp[iRef]._y = tmp[iY];
tmp[iBGRef] = this.attachMovie("SquareSolid", "bg" + tmp[iName], this.getNextHighestDepth());
tmp[iColor] = new Color(tmp[iBGRef]);
tmp[iColor].setRGB(oSLC[oqnl[it]]);
tmp[iBGRef]._width = (tmp[iBGRef]._height = nOrbSize);
tmp[iBGRef]._x = tmp[iX];
tmp[iBGRef]._y = tmp[iY];
tmp[iBGRef]._alpha = 40;
var tr = this.attachMovie("SquareSolid", "n" + Number(1 + (2 * ch)), this.getNextHighestDepth());
tr._width = nOrbSize / 2;
tr._height = (100 - tmp[iY]) + (2 * nOrbSize);
tr._x = tmp[iX];
tr._y = tmp[iY];
tr._alpha = ShadeIncr * Number(1 + oqnn[it]);
eval ("n" + Number(1 + (2 * ch))).onRollOver = function () {
ShowWhich(this._name.substr(1));
};
tr = this.attachMovie("SquareSolid", "n" + Number(2 + (2 * ch)), this.getNextHighestDepth());
tr._width = nOrbSize / 2;
tr._height = (100 - tmp[iY]) + (2 * nOrbSize);
tr._x = tmp[iX] + (nOrbSize / 2);
tr._y = tmp[iY];
tr._alpha = ShadeIncr * Number(1 + oqnn[it]);
eval ("n" + Number(2 + (2 * ch))).onRollOver = function () {
ShowWhich(this._name.substr(1));
};
jt++;
ch++;
}
it++;
}
var it = 0;
while (it < (2 + oOPSL.length)) {
var tr = this.attachMovie("SquareSolid", "a" + it, this.getNextHighestDepth());
tr._width = (tr._height = 2 * nOrbSize);
tr._x = ((it + 2) * 2) * nOrbSize;
tr._y = 25;
tr._alpha = ShadeIncr * (1 + it);
this.createTextField("t" + it, this.getNextHighestDepth(), tr._x + 2, tr._y - 1, tr._width, tr._height + 5);
eval ("t" + it).text = Number(1 + it);
eval ("t" + it).selectable = false;
it++;
}
this.createTextField("tn", this.getNextHighestDepth(), 2 * nOrbSize, 24, 2 * nOrbSize, (2 * nOrbSize) + 5);
tn.selectable = false;
tn.text = "n:";
var it = 0;
while (it < 4) {
var tc = this.attachMovie("SquareSolid", "b" + it, this.getNextHighestDepth());
td = new Color("b" + it);
td.setRGB(oSLC[it]);
tc._alpha = 20;
tc._width = (tc._height = 2 * nOrbSize);
tc._x = ((it + 2) * 2) * nOrbSize;
tc._y = 40;
this.createTextField("tb" + it, this.getNextHighestDepth(), tc._x + 2, tc._y - 1, tc._width, tc._height + 5);
eval ("tb" + it).selectable = false;
eval ("tb" + it).text = oSLL[it];
it++;
}
this.createTextField("tb", this.getNextHighestDepth(), 2 * nOrbSize, 40, 2 * nOrbSize, (2 * nOrbSize) + 5);
tb.selectable = false;
tb.text = "l:";
this.attachMovie("SquareOutline", "mcNO", this.getNextHighestDepth());
mcNO._width = 2 * nOrbSize;
mcNO._height = 2 * nOrbSize;
mcNO._x = 4 * nOrbSize;
mcNO._y = 25;
this.attachMovie("SquareOutline", "mcLO", this.getNextHighestDepth());
mcLO._width = 2 * nOrbSize;
mcLO._height = 2 * nOrbSize;
mcLO._x = 4 * nOrbSize;
mcLO._y = 40;
var cNO = new Color(mcNO);
cNO.setRGB(16711680);
var cLO = new Color(mcLO);
cLO.setRGB(16711680);
var OrbNames = new Array();
var OrbCorr = new Array();
var NumOrbs;
var it = 0;
OrbNames[it] = "_o1s";
OrbCorr[it++] = 0;
OrbNames[it] = "_o2s";
OrbCorr[it++] = 1;
OrbNames[it] = "_o2p";
OrbCorr[it++] = 2;
OrbNames[it] = "_o3s";
OrbCorr[it++] = 3;
OrbNames[it] = "_o3p";
OrbCorr[it++] = 4;
OrbNames[it] = "_o4s";
OrbCorr[it++] = 6;
OrbNames[it] = "_o3d";
OrbCorr[it++] = 5;
OrbNames[it] = "_o4p";
OrbCorr[it++] = 7;
OrbNames[it] = "_o5s";
OrbCorr[it++] = 10;
OrbNames[it] = "_o4d";
OrbCorr[it++] = 8;
OrbNames[it] = "_o5p";
OrbCorr[it++] = 11;
OrbNames[it] = "_o6s";
OrbCorr[it++] = 14;
OrbNames[it] = "_o4f";
OrbCorr[it++] = 9;
OrbNames[it] = "_o5d";
OrbCorr[it++] = 12;
OrbNames[it] = "_o6p";
OrbCorr[it++] = 15;
OrbNames[it] = "_o7s";
OrbCorr[it++] = 17;
OrbNames[it] = "_o5f";
OrbCorr[it++] = 13;
OrbNames[it] = "_o6d";
OrbCorr[it++] = 16;
NumOrbs = it;
this.createTextField("AMU", this.getNextHighestDepth(), 0, 10, 35, 20);
AMU.selectable = false;
this.createTextField("Symbol", this.getNextHighestDepth(), 35, 10, 35, 20);
Symbol.selectable = false;
this.createTextField("EC", this.getNextHighestDepth(), 70, 10, 150, 20);
EC.selectable = false;
this.createTextField("tM", this.getNextHighestDepth(), 2 * nOrbSize, 10 + (6 * nOrbSize), 5 * nOrbSize, (2 * nOrbSize) + 5);
tM.selectable = false;
tM.text = "m*: ";
this.createTextField("tS", this.getNextHighestDepth(), 2 * nOrbSize, 10 + (8 * nOrbSize), 5 * nOrbSize, (2 * nOrbSize) + 5);
tS.selectable = false;
tS.text = "s*: ";
this.attachMovie("gArrow", "mcS", this.getNextHighestDepth());
mcS._height = nOrbSize;
mcS._xscale = mcS._yscale;
mcS._x = 5 * nOrbSize;
mcS._y = 10 + (9.5 * nOrbSize);
var iconSize = 10;
this.attachMovie("IconMin", "icnMin", this.getNextHighestDepth());
icnMin._x = 445;
icnMin._y = iconSize / 2;
icnMin._width = (icnMin._height = iconSize);
icnMin.onRelease = function () {
_parent.EOGSWin = _parent.winMin;
_parent.ShrinkEO();
};
this.attachMovie("IconGrowShrink", "icnGS", this.getNextHighestDepth());
icnGS._x = icnMin._x + iconSize;
icnGS._y = icnMin._y;
icnGS._width = (icnGS._height = iconSize);
icnGS.onRelease = function () {
_parent.EOGSWin = _parent.winGS;
_parent.GrowEO();
};
this.attachMovie("IconMax", "icnMax", this.getNextHighestDepth());
icnMax._x = icnMin._x + (2 * iconSize);
icnMax._y = icnMin._y;
icnMax._width = (icnMax._height = iconSize);
icnMax.onRelease = function () {
_parent.EOGSWin = _parent.winMax;
_parent.GrowEO();
};
this.attachMovie("IconMove", "icnMov", this.getNextHighestDepth());
icnMov._x = icnMin._x - iconSize;
icnMov._y = icnMin._y;
icnMov._width = (icnMov._height = iconSize);
icnMov.onRelease = function () {
_parent.EODragToggle();
};
this.attachMovie("BohrModel", "bm", this.getNextHighestDepth());
var BMShrunk = false;
var BMcxs = 210;
var BMcys = 30;
var BMcxb = 249;
var BMcyb = -4;
var BMws = 20;
var BMhs = 20;
var BMwb = 200;
var BMhb = 200;
ShrinkBM();
this.attachMovie("EMap", "EM", this.getNextHighestDepth());
var EMShrunk = false;
var EMcxs = 160;
var EMcys = 20;
var EMcxb = 150;
var EMcyb = -100;
var EMws = 30;
var EMhs = 20;
var EMwb = 285;
var EMhb = 196;
Symbol 228 MovieClip [EO] Frame 2
ShrinkEM();
stop();
Symbol 229 MovieClip [EMap] Frame 1
function SetWhich(nAMU) {
if (nAMU <= _parent._parent.iMax) {
var _local3 = 0;
while (_local3 < LoON) {
this[oON[_local3].substr(1, 1) + "SetGroup"](nAMU, oON[_local3].substr(0, 1), oON[_local3]);
_local3++;
}
}
}
function sSetGroup(nAMU, nWhichGroup, sIPF) {
var _local3 = _parent._parent.el[nAMU][_parent._parent["i" + sIPF]];
if (_local3 > 2) {
_local3 = 0;
}
this[(("s" + nWhichGroup) + "m") + "1"].SetOn(_local3);
}
function pSetGroup(nAMU, nWhichGroup, sIPF) {
var _local6;
var _local5;
var _local4;
_local4 = 0;
_local5 = _local4;
_local6 = _local5;
var _local3 = _parent._parent.el[nAMU][_parent._parent["i" + sIPF]];
if (_local3 == "*") {
_local3 = 0;
}
if (_local3 > 0) {
_local6 = 1;
if (_local3 > 1) {
_local5 = 1;
if (_local3 > 2) {
_local4 = 1;
if (_local3 > 3) {
_local6 = 2;
if (_local3 > 4) {
_local5 = 2;
if (_local3 > 5) {
_local4 = 2;
}
}
}
}
}
}
this[(("p" + nWhichGroup) + "m") + "1"].SetOn(_local6);
this[(("p" + nWhichGroup) + "m") + "2"].SetOn(_local5);
this[(("p" + nWhichGroup) + "m") + "3"].SetOn(_local4);
}
function dSetGroup(nAMU, nWhichGroup, sIPF) {
var _local8;
var _local7;
var _local6;
var _local5;
var _local4;
_local4 = 0;
_local5 = _local4;
_local6 = _local5;
_local7 = _local6;
_local8 = _local7;
var _local3 = _parent._parent.el[nAMU][_parent._parent["i" + sIPF]];
if (_local3 > 0) {
_local8 = 1;
if (_local3 > 1) {
_local7 = 1;
if (_local3 > 2) {
_local6 = 1;
if (_local3 > 3) {
_local5 = 1;
if (_local3 > 4) {
_local4 = 1;
if (_local3 > 5) {
_local8 = 2;
if (_local3 > 6) {
_local7 = 2;
if (_local3 > 7) {
_local6 = 2;
if (_local3 > 8) {
_local5 = 2;
if (_local3 > 9) {
_local4 = 2;
}
}
}
}
}
}
}
}
}
}
this[(("d" + nWhichGroup) + "m") + "1"].SetOn(_local8);
this[(("d" + nWhichGroup) + "m") + "2"].SetOn(_local7);
this[(("d" + nWhichGroup) + "m") + "3"].SetOn(_local6);
this[(("d" + nWhichGroup) + "m") + "4"].SetOn(_local5);
this[(("d" + nWhichGroup) + "m") + "5"].SetOn(_local4);
}
function fSetGroup(nAMU, nWhichGroup, sIPF) {
var _local9;
var _local8;
var _local7;
var _local6;
var _local5;
var _local11;
var _local10;
_local10 = 0;
_local11 = _local10;
_local5 = _local11;
_local6 = _local5;
_local7 = _local6;
_local8 = _local7;
_local9 = _local8;
var _local3 = _parent._parent.el[nAMU][_parent._parent["i" + sIPF]];
if (_local3 > 0) {
_local9 = 1;
if (_local3 > 1) {
_local8 = 1;
if (_local3 > 2) {
_local7 = 1;
if (_local3 > 3) {
_local6 = 1;
if (_local3 > 4) {
_local5 = 1;
if (_local3 > 5) {
_local11 = 1;
if (_local3 > 6) {
_local10 = 1;
if (_local3 > 7) {
_local9 = 2;
if (_local3 > 8) {
_local8 = 2;
if (_local3 > 9) {
_local7 = 2;
if (_local3 > 10) {
_local6 = 2;
if (_local3 > 11) {
_local5 = 2;
if (_local3 > 12) {
_local11 = 2;
if (_local3 > 13) {
_local10 = 2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
this[("f" + nWhichGroup) + "m1"].SetOn(_local9);
this[("f" + nWhichGroup) + "m2"].SetOn(_local8);
this[("f" + nWhichGroup) + "m3"].SetOn(_local7);
this[("f" + nWhichGroup) + "m4"].SetOn(_local6);
this[("f" + nWhichGroup) + "m5"].SetOn(_local5);
this[("f" + nWhichGroup) + "m6"].SetOn(_local11);
this[("f" + nWhichGroup) + "m7"].SetOn(_local10);
}
OrbitalSize = 35;
var bgAlpha = 15;
EMWidth = 685;
EMHeight = 465;
ii = 0;
iBGW = ii++;
iBGX = ii++;
iBGY = ii++;
iBGT = ii++;
iBGN = ii++;
var obg = new Array();
oBGD = [[65, 0, 35, "s", 7], [135, 65, 0, "p", 6], [210, 200, 6, "d", 4], [275, 410, 20, "f", 2]];
oBGs = [42, 95, 152, 225, 302, 347, 430];
oBGp = [51, 102, 156, 225, 279, 465];
oBGd = [47, 116, 170, 459];
oBGf = [47, 445];
oBGc = [16711680, 16744448, 16776960, 65280];
wbg = this.attachMovie("SquareSolid", "bg", this.getNextHighestDepth());
bg._x = (bg._y = 0);
bg._width = EMWidth;
bg._height = EMHeight;
bg.onRollOver = function () {
if (_parent.EMShrunk) {
_parent.GrowEM();
} else {
_parent.ShrinkEM();
}
};
bgc = new Color(bg);
bgc.setRGB(16777215);
var tmp;
var tc = new Array();
var it = 0;
while (it < length(oBGc)) {
var jt = 0;
while (jt < oBGD[it][iBGN]) {
tmp = this.attachMovie("SquareSolid", ("_" + oBGD[it][iBGT]) + jt, this.getNextHighestDepth());
with (tmp) {
_x = oBGD[it][iBGX];
_y = oBGD[it][iBGY];
_width = oBGD[it][iBGW];
_height = eval ("oBG" + oBGD[it][iBGT])[jt];
_alpha = bgAlpha;
}
tc = new Color(tmp);
tc.setRGB(oBGc[it]);
jt++;
}
it++;
}
ii = 0;
iN = ii++;
iX = ii++;
iM = ii++;
iB = ii++;
iPF = ii++;
iOPS = ii++;
ii = -1;
od = [[7, 15, -57.83, 445.83, "s", 1], [6, 80, -57.8, 351.8, "p", 3], [4, 215, -56.6, 237.7, "d", 5], [2, 425, -47, 119, "f", 7]];
iS = 4;
ys = [388, 342, 266, 193, 136, 83, 41];
yp = [284, 230, 160, 107, 55, 5];
yd = [181, 127, 59, 11];
yf = [72, 25];
xSPDF = [15, 80, 215, 425];
var oON = new Array();
oON[_parent._parent.i1s - _parent._parent.i1s] = "1s";
oON[_parent._parent.i2s - _parent._parent.i1s] = "2s";
oON[_parent._parent.i2p - _parent._parent.i1s] = "2p";
oON[_parent._parent.i3s - _parent._parent.i1s] = "3s";
oON[_parent._parent.i3p - _parent._parent.i1s] = "3p";
oON[_parent._parent.i3d - _parent._parent.i1s] = "3d";
oON[_parent._parent.i4s - _parent._parent.i1s] = "4s";
oON[_parent._parent.i4p - _parent._parent.i1s] = "4p";
oON[_parent._parent.i4d - _parent._parent.i1s] = "4d";
oON[_parent._parent.i4f - _parent._parent.i1s] = "4f";
oON[_parent._parent.i5s - _parent._parent.i1s] = "5s";
oON[_parent._parent.i5p - _parent._parent.i1s] = "5p";
oON[_parent._parent.i5d - _parent._parent.i1s] = "5d";
oON[_parent._parent.i5f - _parent._parent.i1s] = "5f";
oON[_parent._parent.i6s - _parent._parent.i1s] = "6s";
oON[_parent._parent.i6p - _parent._parent.i1s] = "6p";
oON[_parent._parent.i6d - _parent._parent.i1s] = "6d";
oON[_parent._parent.i7s - _parent._parent.i1s] = "7s";
var it = 0;
while (it < iS) {
tt = this.attachMovie("text1", "tt" + od[it][iPF], this.getNextHighestDepth());
tt._x = od[it][iX] + ((od[it][iOPS] * OrbitalSize) / 2);
tt._y = 440;
tt._xscale = (tt._yscale = 150);
tt.txt.text = od[it][iPF];
var jt = (it + 1);
while (jt < ((od[it][iN] + it) + 1)) {
tt = this.attachMovie("text1", "t" + od[it][iPF], this.getNextHighestDepth());
tt._x = od[it][iX] - 5;
tt._y = this["y" + od[it][iPF]][(jt - 1) - it] + 17;
tt.txt.text = jt;
var kt = 0;
while (kt < od[it][iOPS]) {
var myName = (((("" + od[it][iPF]) + jt) + "m") + (kt + 1));
this.attachMovie("mcOrbital", myName, this.getNextHighestDepth());
this[myName]._x = ((kt * OrbitalSize) + od[it][iX]) + 10;
this[myName]._y = this["y" + od[it][iPF]][(jt - 1) - it];
this[myName]._width = OrbitalSize;
this[myName]._height = OrbitalSize;
kt++;
}
jt++;
}
it++;
}
var LoON = oON.length;
var iconSize = 20;
this.attachMovie("IconMin", "icnMin", this.getNextHighestDepth());
icnMin._x = 685 - (3 * iconSize);
icnMin._y = iconSize / 2;
icnMin._width = (icnMin._height = iconSize);
icnMin.onRelease = function () {
_root.EMGSWin = _root.winMin;
_parent.ShrinkEM();
};
this.attachMovie("IconGrowShrink", "icnGS", this.getNextHighestDepth());
icnGS._x = icnMin._x + iconSize;
icnGS._y = icnMin._y;
icnGS._width = (icnGS._height = iconSize);
icnGS.onRelease = function () {
_root.EMGSWin = _root.winGS;
_parent.GrowEM();
};
this.attachMovie("IconMax", "icnMax", this.getNextHighestDepth());
icnMax._x = icnMin._x + (2 * iconSize);
icnMax._y = icnMin._y;
icnMax._width = (icnMax._height = iconSize);
icnMax.onRelease = function () {
_root.EMGSWin = _root.winMax;
_parent.GrowEM();
};
Symbol 229 MovieClip [EMap] Frame 2
this.p7m1.SetOn(0);
this.p7m2.SetOn(0);
this.p7m3.SetOn(0);
stop();
Symbol 230 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iTC);
}
Symbol 231 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iFIP);
}
Symbol 232 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iSHC);
}
Symbol 233 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iHoV);
}
Symbol 234 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iEN);
}
Symbol 235 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iAR);
}
Symbol 236 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iAV);
}
Symbol 237 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iCR);
}
Symbol 238 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iECo);
}
Symbol 239 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.xRemoveColor);
}
Symbol 240 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iMP);
}
Symbol 241 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iEarthCrust);
}
Symbol 242 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iBP);
}
Symbol 243 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iDensity);
}
Symbol 244 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iYear);
}
Symbol 245 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iGroup);
}
Symbol 246 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iPeriod);
}
Symbol 247 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iEC);
}
Symbol 248 Button [SquareSolid]
on (release) {
_parent.SetGraph(_parent.iIE);
}
Symbol 279 Button [SquareSolid]
on (rollOver) {
_root.ShrinkMinigraphs();
_root.CurrentElement = Number(txtAMU.text);
_root.SetWhich(Number(txtAMU.text));
}
on (release) {
getURL ("http://en.wikipedia.org/wiki/" + _root.el[txtAMU.text][_root.iName], "_blank");
}
Symbol 280 MovieClip [Cell] Frame 1
function Setup(MyAMU) {
SetAMU(MyAMU);
SetMass(_root.el[MyAMU][_root.iMass]);
SetSymbol(_root.el[MyAMU][_root.iSymbol]);
SetName(_root.el[MyAMU][_root.iName]);
SetBGColor(_root.GetMyColor(MyAMU, _root.CurrentGraph));
}
function SetAMU(MyText) {
txtAMU.text = MyText;
}
function GetAMU(MyText) {
return(txtAMU.text);
}
function SetMass(MyText) {
txtMass.text = MyText;
}
function SetName(MyText) {
txtName.text = MyText;
}
function SetSymbol(MyText) {
txtSymbol.text = MyText;
}
function SetBGColor(RGB) {
myColor.setRGB(RGB);
}
function SetBtn(OnOff) {
btn._visible = Boolean(OnOff);
}
function ToggleBtn(OnOff) {
btn._visible = !btn._visible;
}
function SetWhich(MyAMU) {
}
myColor = new Color(bg);
Symbol 282 MovieClip [ElementDetail] Frame 1
function SetDetail(txtAMU) {
var _local2 = Number(txtAMU);
BigCell.Setup(_local2);
txtMP.text = _parent.el[_local2][_parent.iMP];
txtMP.text = _parent.el[_local2][_parent.iMP];
txtBP.text = _parent.el[_local2][_parent.iBP];
txtDensity.text = _parent.el[_local2][_parent.iDensity];
txtEarthCrust.text = _parent.el[_local2][_parent.iEarthCrust];
txtYear.text = _parent.el[_local2][_parent.iYear];
txtGroup.text = _parent.el[_local2][_parent.iGroup];
txtPeriod.text = _parent.el[_local2][_parent.iPeriod];
txtEC.text = _parent.el[_local2][_parent.iEC];
txtIE.text = _parent.el[_local2][_parent.iIE];
txtTC.text = _parent.el[_local2][_parent.iTC];
txtSHC.text = _parent.el[_local2][_parent.iSHC];
txtHoV.text = _parent.el[_local2][_parent.iHoV];
txtFIP.text = _parent.el[_local2][_parent.iFIP];
txtEN.text = _parent.el[_local2][_parent.iEN];
txtAR.text = _parent.el[_local2][_parent.iAR];
txtAV.text = _parent.el[_local2][_parent.iAV];
txtCR.text = _parent.el[_local2][_parent.iCR];
txtECo.text = _parent.el[_local2][_parent.iECo];
txtSer.text = _parent.sSeriesNames[_parent.el[_local2][_parent.iSeries]];
}
function ResizePositionED() {
var _local3 = _parent.EDShrunk;
if (_parent.EmbedLA) {
_x = _parent.ShiftRotateX((_local3 ? (_parent.EDXEs) : (_parent.EDXEb)));
_y = (_local3 ? (_parent.EDYEs) : (_parent.EDYEb));
_yscale = (_local3 ? (_parent.EDSEs) : (_parent.EDSEb));
_xscale = (_local3 ? (_parent.EDSEs) : (_parent.EDSEb));
} else {
_x = _root.ShiftRotateX((_local3 ? (_parent.EDXnEs) : (_parent.EDXnEb)));
_y = (_local3 ? (_parent.EDYnEs) : (_parent.EDYnEb));
_yscale = (_local3 ? (_parent.EDSnEs) : (_parent.EDSnEb));
_xscale = (_local3 ? (_parent.EDSnEs) : (_parent.EDSnEb));
}
}
function GetWhichH(idx) {
switch (idx) {
case _parent.iMass :
return(20);
case _parent.xAMU :
return(25);
}
return(9);
}
function GetWhichV(idx) {
switch (idx) {
case _parent.iLewis :
case _parent.i1s :
case _parent.i2s :
case _parent.i2p :
case _parent.i3s :
case _parent.i3p :
case _parent.i3d :
case _parent.i4s :
case _parent.i4p :
case _parent.i4d :
case _parent.i4f :
case _parent.i5s :
case _parent.i5p :
case _parent.i5d :
case _parent.i5f :
case _parent.i6s :
case _parent.i6p :
case _parent.i6d :
case _parent.i7s :
return(false);
}
return(true);
}
function GetWhichW(idx) {
switch (idx) {
case _parent.iMP :
case _parent.iBP :
case _parent.iDensity :
case _parent.iEarthCrust :
case _parent.iYear :
case _parent.iGroup :
case _parent.iPeriod :
case _parent.iIE :
case _parent.iName :
case _parent.iSymbol :
case _parent.iEC :
case _parent.iMass :
return(48);
case _parent.iTC :
case _parent.iSHC :
case _parent.iHoV :
case _parent.iFIP :
case _parent.iEN :
case _parent.iAR :
case _parent.iAV :
case _parent.iCR :
case _parent.iECo :
case _parent.iSeries :
return(70);
case _parent.iMass :
return(80);
case _parent.xAMU :
return(40);
}
}
function GetWhichX(idx) {
switch (idx) {
case _parent.iMP :
case _parent.iBP :
case _parent.iDensity :
case _parent.iEarthCrust :
case _parent.iYear :
case _parent.iGroup :
case _parent.iPeriod :
case _parent.iIE :
case _parent.iName :
case _parent.iSymbol :
case _parent.iEC :
return(102);
case _parent.iTC :
case _parent.iSHC :
case _parent.iHoV :
case _parent.iFIP :
case _parent.iEN :
case _parent.iAR :
case _parent.iAV :
case _parent.iCR :
case _parent.iECo :
case _parent.iSeries :
return(205);
case _parent.iMass :
case _parent.xAMU :
return(0);
}
}
function GetWhichY(idx) {
switch (idx) {
case _parent.iMP :
case _parent.iTC :
return(10);
case _parent.iBP :
case _parent.iSHC :
return(19);
case _parent.iDensity :
case _parent.iHoV :
return(27);
case _parent.iEarthCrust :
case _parent.iFIP :
return(36);
case _parent.iYear :
case _parent.iEN :
return(45);
case _parent.iGroup :
case _parent.iAR :
return(54);
case _parent.iPeriod :
case _parent.iAV :
return(63);
case _parent.iEC :
case _parent.iCR :
return(72);
case _parent.iIE :
case _parent.iECo :
return(81);
case _parent.iName :
case _parent.iSymbol :
case _parent.iEC :
case _parent.iSeries :
return(90);
case _parent.iMass :
return(80);
case _parent.xAMU :
return(0);
}
}
function RepositionWhich(idx) {
Which._height = GetWhichH(idx);
Which._width = GetWhichW(idx);
Which._x = GetWhichX(idx);
Which._y = GetWhichY(idx);
Which._visible = GetWhichV(idx);
}
function SetWhich(iAMU) {
trace("ED sw " + iAMU);
}
function SetLD(myAMU) {
LD.SetLD(myAMU);
}
this.attachMovie("SquareSolid", "Which", 50);
Which._height = 9;
Which._alpha = 20;
RepositionWhich(_parent.iSymbol);
this.attachMovie("SquareSolid", "bSeries", this.getNextHighestDepth());
bSeries._x = 215;
bSeries._y = 91;
bSeries._width = 119;
bSeries._height = 9;
bSeries._alpha = 0;
bSeries.onRelease = function () {
_parent.SetGraph(_parent.iSeries);
};
this.attachMovie("SquareSolid", "bMass", this.getNextHighestDepth());
bMass._x = 0;
bMass._y = 80;
bMass._width = 40;
bMass._height = 20;
bMass._alpha = 0;
bMass.onRelease = function () {
_parent.SetGraph(_parent.iMass);
};
this.attachMovie("SquareSolid", "bAMU", this.getNextHighestDepth());
bAMU._x = 0;
bAMU._y = 0;
bAMU._width = 40;
bAMU._height = 30;
bAMU._alpha = 0;
bAMU.onRelease = function () {
_parent.SetGraph(_parent.xAMU);
};
this.attachMovie("LewisDiagram", "LD", this.getNextHighestDepth());
LD._x = 85;
LD._y = 15;
LD._xscale = 55.6;
LD._yscale = 55.6;
var iconSize = 10;
this.attachMovie("IconMin", "icnMin", this.getNextHighestDepth());
icnMin._x = 315;
icnMin._y = iconSize / 2;
icnMin._width = (icnMin._height = iconSize);
icnMin.onRelease = function () {
_root.EDGSWin = _root.winMin;
_root.EDShrunk = true;
ResizePositionED();
};
this.attachMovie("IconGrowShrink", "icnGS", this.getNextHighestDepth());
icnGS._x = icnMin._x + iconSize;
icnGS._y = icnMin._y;
icnGS._width = (icnGS._height = iconSize);
icnGS.onRelease = function () {
_root.EDGSWin = _root.winGS;
ResizePositionED();
};
this.attachMovie("IconMax", "icnMax", this.getNextHighestDepth());
icnMax._x = icnMin._x + (2 * iconSize);
icnMax._y = icnMin._y;
icnMax._width = (icnMax._height = iconSize);
icnMax.onRelease = function () {
_root.EDGSWin = _root.winMax;
_root.EDShrunk = false;
ResizePositionED();
};
this.attachMovie("IconMove", "icnMov", this.getNextHighestDepth());
icnMov._x = icnMin._x - iconSize;
icnMov._y = icnMin._y;
icnMov._width = (icnMov._height = iconSize);
icnMov.onRelease = function () {
_parent.EDDragToggle();
};
mcBG.onRollOver = function () {
if ((_root.EDGSWin == _root.winGS) && (_root.EDShrunk == true)) {
_root.EDShrunk = false;
ResizePositionED();
}
};
ResizePositionED();
stop();
Symbol 288 MovieClip Frame 1
function eSet(State) {
if (State) {
gotoAndStop ("OffState");
} else {
gotoAndStop ("OnState");
}
}
stop();
Symbol 289 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 292 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 295 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 298 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 301 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 304 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 307 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 310 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 313 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 316 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 319 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 322 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 325 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 328 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 331 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 334 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 337 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 340 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 343 MovieClip Frame 1
function rDim() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function rBright() {
ringTransform = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
ringColor.setTransform(ringTransform);
}
function rGrey() {
ringTransform = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:35, ab:0};
ringColor.setTransform(ringTransform);
}
function go() {
trace("ring.go");
}
function rSet(eNum, bBright) {
nActive = eNum;
var it = 0;
while (it < NumE) {
if (it < eNum) {
eval ("e" + it).eSet(true);
} else {
eval ("e" + it).eSet(false);
}
it++;
}
if (eNum == 0) {
rGrey();
} else if (bBright) {
rBright();
} else {
rDim();
}
}
ringColor = new Color(ring);
ringTransfomr = new Object();
var rgb = ringColor.getRGB();
var nActive = 0;
var MyName = this._name.substring(2, 4);
ring.onRollOver = function () {
_parent._parent.GrowBM();
rBright();
_parent.txtRing.text = (MyName + " ") + nActive;
};
ring.onRollOut = function () {
if (nActive == 0) {
rGrey();
} else {
rDim();
}
};
var NumE;
switch (MyName.substr(1, 2)) {
case "s" :
NumE = 2;
break;
case "p" :
NumE = 6;
break;
case "d" :
NumE = 10;
break;
default :
NumE = 14;
}
stop();
Symbol 345 MovieClip [BohrModel] Frame 2
function tSet(_text) {
txtRing.text = _text;
}
function rSet(rName, tepo, bBright) {
eval (rName).rSet(tepo, bBright);
}
bg.onRollOver = function () {
};
bqSquare.onRollOver = function () {
};
var iconSize = 20;
this.attachMovie("IconMin", "icnMin", this.getNextHighestDepth());
icnMin._x = 200 - (3 * iconSize);
icnMin._y = -200 + iconSize;
icnMin._width = (icnMin._height = iconSize);
icnMin.onRelease = function () {
_root.BMGSWin = _root.winMin;
_parent.ShrinkBM();
};
this.attachMovie("IconGrowShrink", "icnGS", this.getNextHighestDepth());
icnGS._x = icnMin._x + iconSize;
icnGS._y = icnMin._y;
icnGS._width = (icnGS._height = iconSize);
icnGS.onRelease = function () {
_root.BMGSWin = _root.winGS;
_parent.GrowBM();
};
this.attachMovie("IconMax", "icnMax", this.getNextHighestDepth());
icnMax._x = icnMin._x + (2 * iconSize);
icnMax._y = icnMin._y;
icnMax._width = (icnMax._height = iconSize);
icnMax.onRelease = function () {
_root.BMGSWin = _root.winMax;
_parent.GrowBM();
};
stop();
Symbol 346 MovieClip [AutoGraph] Frame 1
function SetRect(name, x, y, w, h, c, a) {
setProperty(name, _x , x);
setProperty(name, _y , y);
setProperty(name, _height , h);
setProperty(name, _width , w);
}
function RSetHeight(name, nuH) {
setProperty(name, _height , nuH);
}
function GetNorm(_Val, idx) {
return(1 + _parent.GetNormdVal(_Val, _parent.mmin[idx], _parent.mmax[idx], 0, GraphH));
}
function NuGraph(idx) {
var thisVal;
var myX;
var myY;
var it = xMin;
while (it <= xMax) {
thisVal = _parent.el[it][idx];
if ((thisVal == "*") || (thisVal == "ancient")) {
thisVal = 0;
}
thisVal = Number(thisVal);
this.attachMovie("SquareSBL", "bin" + it, this.getNextHighestDepth());
eval ("bin" + it).onRollOver = function () {
WhichElement(Number(this._name.substr(3)));
};
myX = MarginL + ((it - xMin) * BinWidth);
myY = YofXAxis;
SetRect("bin" + it, myX, myY, BinWidth, GetNorm(thisVal, idx), 0, 100);
it++;
}
this.attachMovie("SquareSolid", "Marker", this.getNextHighestDepth());
Marker._width = BinWidth;
Marker._height = 2 * BinWidth;
Marker._y = YofXAxis - BinWidth;
Marker._x = MarginL + ((1 - xMin) * BinWidth);
Marker._alpha = 25;
mC = new Color(Marker);
mC.setRGB(_root.MakeColor(_root.colors[_root.cB][_root.iR], _root.colors[_root.cB][_root.iG], _root.colors[_root.cB][_root.iB]));
}
function WhichElement(AMU) {
_parent.SetWhich(AMU);
}
function SetWhich(MyAMU) {
if (MyAMU <= _parent.iMax) {
txtSymbol.txt.text = _parent.el[MyAMU][_parent.iSymbol];
if (_parent.PreviousGraph == _parent.iLewis) {
txtValue.txt.text = _parent.GetLewis(MyAMU);
if (txtValue.txt.text == -1) {
txtValue.txt.text = "*";
}
} else if (_parent.PreviousGraph == _parent.iBlock) {
switch (_parent.GetBlock(MyAMU)) {
case 1 :
txtValue.txt.text = "s";
break;
case 2 :
txtValue.txt.text = "p";
break;
case 3 :
txtValue.txt.text = "d";
break;
default :
txtValue.txt.text = "f";
}
} else if (_parent.PreviousGraph == _parent.iState) {
txtValue.txt.text = _parent.GetState(MyAMU);
} else {
txtValue.txt.text = _parent.el[MyAMU][_parent.PreviousGraph];
}
} else {
txtSymbol.txt.text = "";
txtValue.txt.text = "";
}
Marker._x = MarginL + ((MyAMU - xMin) * BinWidth);
}
function SetGraph(idx) {
var thisVal;
var myX;
var myY;
var it = xMin;
while (it <= xMax) {
thisVal = _parent.el[it][idx];
if ((thisVal == "*") || (thisVal == "ancient")) {
thisVal = 0;
}
thisVal = Number(thisVal);
eval ("bin" + it).SetBinColor(_parent.GetMyColor(it, idx));
switch (idx) {
case _parent.iEC :
RSetHeight("bin" + it, Number(1 + _parent.GetNormdVal(it, _parent.ECD.nMinVal, _parent.ECD.nDelta + _parent.ECD.nMinVal, 0, GraphH)));
break;
case _parent.iLewis :
RSetHeight("bin" + it, Number(1 + _parent.GetNormdVal(_parent.GetLewis(it), _parent.nMinLewis, _parent.nMaxLewis, 0, GraphH)));
break;
case _parent.iState :
RSetHeight("bin" + it, Number(1 + _parent.GetNormdVal(_parent.nGetState(it), 0, 3, 0, GraphH)));
default :
RSetHeight("bin" + it, GetNorm(thisVal, idx));
}
it++;
}
}
function SetYLabel(myText) {
txtYAxis.txt.text = myText;
}
var MarginR = 40;
var MarginL = 40;
var MarginT = 80;
var MarginB = 40;
var ZOff = 20;
var xMin = _parent.iMin;
var xMax = _parent.iMax;
var MovieW = _parent.MovieWidth;
var MovieH = _parent.MovieHeight;
var GraphH = ((MovieH - MarginT) - MarginB);
var BinWidth = (((MovieW - MarginR) - MarginL) / ((xMax - xMin) + 1));
var YofXAxis = (MovieH - MarginB);
this.attachMovie("SquareSolid", "myBG", 0);
SetRect("myBG", 0, 0, MovieW, MovieH, 0, 0, 100);
myBG.onRollOver = function () {
txtSymbol.txt.text = "";
txtValue.txt.text = "";
_parent.GrowAG();
};
myBGColor = new Color(myBG);
myBGColor.setRGB(16777215);
this.attachMovie("txtField", "txtSymbol", 4);
txtSymbol.txt.text = "";
this.attachMovie("txtField", "txtValue", 1);
txtValue.txt.text = "";
txtValue._x = 100;
txtValue._width = txtValue._width - 30;
this.attachMovie("txtField", "txtXAxis", 2);
txtXAxis.txt.text = "Atomic Mass #";
txtXAxis._height = txtXAxis._height / 2;
txtXAxis._width = txtXAxis._width / 2;
txtXAxis._x = 5 * MarginB;
txtXAxis._Y = GraphH + MarginT;
this.attachMovie("txtField", "txtYAxis", 3);
txtYAxis.txt.text = _parent.dbKeys[_parent.iMass];
txtYAxis._height = txtYAxis._height / 2;
txtYAxis._width = txtYAxis._width / 2;
txtYAxis._x = MarginL / 4;
txtYAxis._Y = GraphH + MarginT;
txtYAxis._rotation = -90;
var iconSize = 20;
this.attachMovie("IconMin", "icnMin", this.getNextHighestDepth());
icnMin._x = 634;
icnMin._y = (iconSize / 2) + 1;
icnMin.onRelease = function () {
_root.ShrinkAG();
_root.AGGSWin = _root.winMin;
};
this.attachMovie("IconGrowShrink", "icnGS", this.getNextHighestDepth());
icnGS._x = icnMin._x + iconSize;
icnGS._y = icnMin._y;
icnGS.onRelease = function () {
_root.AGGSWin = _root.winGS;
_root.GrowAG();
};
this.attachMovie("IconMax", "icnMax", this.getNextHighestDepth());
icnMax._x = icnMin._x + (2 * iconSize);
icnMax._y = icnMin._y;
icnMax.onRelease = function () {
_root.AGGSWin = _root.winMax;
_root.GrowAG();
};
this.attachMovie("IconMove", "icnMov", this.getNextHighestDepth());
icnMov._x = icnMin._x - iconSize;
icnMov._y = icnMin._y;
icnMov.onRelease = function () {
_parent.AGDragToggle();
};
NuGraph(_parent.iMass);
stop();
Symbol 353 MovieClip [PLNucleus] Frame 14
gotoAndPlay (1);
Symbol 27 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local2 = __width;
var _local3 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local2, oldHeight:_local3});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = createObject(className.symbolOwner.symbolName, id, depth, initobj);
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.0.360";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 28 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.0.360";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 29 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle;
function SimpleButton () {
super();
}
function init(Void) {
super.init();
if (preset == undefined) {
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
useHandCursor = false;
}
function createChildren(Void) {
if (preset != undefined) {
var _local2 = this[idNames[preset]];
this[refNames[preset]] = _local2;
skinName = _local2;
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
initializing = false;
} else if (__state == true) {
setStateVar(true);
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
linkLength = linkageName.length;
var _local2 = stateNames[tag] + "Icon";
this[_local2] = linkageName;
this[idNames[tag + 8]] = _local2;
setStateVar(getState());
}
function changeSkin(tag, linkageName) {
var _local2 = stateNames[tag] + "Skin";
this[_local2] = linkageName;
this[idNames[tag]] = _local2;
setStateVar(getState());
}
function viewIcon(varName) {
var _local4 = varName + "Icon";
var _local3 = this[_local4];
if (typeof(_local3) == "string") {
var _local5 = _local3;
if (__emphasized) {
if (this[_local3 + "Emphasized"].length > 0) {
_local3 = _local3 + "Emphasized";
}
}
if (this[_local3].length == 0) {
return(undefined);
}
_local3 = setIcon(tagMap[_local5], this[_local3]);
if ((_local3 == undefined) && (_global.isLivePreview)) {
_local3 = setIcon(0, "ButtonIcon");
}
this[_local4] = _local3;
}
iconName._visible = false;
iconName = _local3;
iconName._visible = true;
}
function removeIcons() {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = 8;
while (_local2 < 16) {
destroyObject(idNames[_local2]);
this[stateNames[_local2 - 8] + "Icon"] = "";
_local2++;
}
_local3++;
}
refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local3);
return(_local3);
}
function calcSize(Void) {
__width = _width;
__height = _height;
}
function viewSkin(varName, initObj) {
var _local3 = varName + "Skin";
var _local2 = this[_local3];
if (typeof(_local2) == "string") {
var _local4 = _local2;
if (__emphasized) {
if (this[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (this[_local2].length == 0) {
return(undefined);
}
_local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this})));
this[_local3] = _local2;
}
skinName._visible = false;
skinName = _local2;
skinName._visible = true;
}
function showEmphasized(e) {
if (e && (!__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
__emphaticStyleName = styleName;
styleName = emphasizedStyleDeclaration;
}
__emphatic = true;
} else {
if (__emphatic) {
styleName = __emphaticStyleName;
}
__emphatic = false;
}
}
function refresh(Void) {
var _local2 = getState();
if (enabled == false) {
viewIcon("disabled");
viewSkin("disabled");
} else {
viewSkin(phase);
viewIcon(phase);
}
setView(phase == "down");
iconName.enabled = enabled;
}
function setView(offset) {
if (iconName == undefined) {
return(undefined);
}
var _local2 = (offset ? (btnOffset) : 0);
iconName._x = ((__width - iconName._width) / 2) + _local2;
iconName._y = ((__height - iconName._height) / 2) + _local2;
}
function setStateVar(state) {
if (state) {
if (trueOverSkin.length == 0) {
rolloverSkin = tus;
} else {
rolloverSkin = trs;
}
if (trueOverIcon.length == 0) {
rolloverIcon = tui;
} else {
rolloverIcon = tri;
}
upSkin = tus;
downSkin = tds;
disabledSkin = dts;
upIcon = tui;
downIcon = tdi;
disabledIcon = dti;
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
} else {
rolloverSkin = frs;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
} else {
rolloverIcon = fri;
}
upSkin = fus;
downSkin = fds;
disabledSkin = dfs;
upIcon = fui;
downIcon = fdi;
disabledIcon = dfi;
}
__state = state;
}
function setState(state) {
if (state != __state) {
setStateVar(state);
invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
if (initializing) {
initializing = false;
skinName.visible = true;
iconName.visible = true;
}
size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
__toggle = val;
if (__toggle == false) {
setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
if (__toggle) {
setState(val);
} else {
setState(__state);
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
pressFocus();
phase = "down";
refresh();
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
interval = setInterval(this, "onPressDelay", getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
clearInterval(interval);
interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
releaseFocus();
phase = "rollover";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
if (getToggle()) {
setState(!getState());
} else {
refresh();
}
dispatchEvent({type:"click"});
}
function onDragOut(Void) {
phase = "up";
refresh();
dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
if (phase != "up") {
onPress();
return(undefined);
}
phase = "down";
refresh();
}
function onReleaseOutside(Void) {
releaseFocus();
phase = "up";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
if (typeof(fui) == "string") {
createLabel("fui", 8, val);
fui.styleName = this;
} else {
fui.text = val;
}
var _local4 = fui._getTextFormat();
var _local2 = _local4.getTextExtent2(val);
fui._width = _local2.width + 5;
fui._height = _local2.height + 5;
iconName = fui;
setView(__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]] = stateNames[_local2] + "Skin";
if (typeof(this[idNames[_local2 + 8]]) == "movieclip") {
this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon";
}
_local2++;
}
showEmphasized(__emphasized);
setStateVar(__state);
invalidateStyle();
//return(emphasized);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
super.onKillFocus();
if (phase != "up") {
phase = "up";
refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.0.360";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 30 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton
{
var initIcon, getState, enabled, phase, labelPath, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, initializing, removeIcons, hitArea_mc, createEmptyObject;
function Button () {
super();
}
function init(Void) {
super.init();
}
function draw() {
super.draw();
if (initIcon != undefined) {
_setIcon(initIcon);
}
delete initIcon;
}
function onRelease(Void) {
super.onRelease();
}
function createChildren(Void) {
super.createChildren();
}
function setSkin(tag, linkageName, initobj) {
return(super.setSkin(tag, linkageName, initobj));
}
function viewSkin(varName) {
var _local3 = (getState() ? "true" : "false");
_local3 = _local3 + (enabled ? (phase) : "disabled");
super.viewSkin(varName, {styleName:this, borderStyle:_local3});
}
function invalidateStyle(c) {
labelPath.invalidateStyle(c);
super.invalidateStyle(c);
}
function setColor(c) {
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]].redraw(true);
_local2++;
}
}
function setEnabled(enable) {
labelPath.enabled = enable;
super.setEnabled(enable);
}
function calcSize(tag, ref) {
if ((__width == undefined) || (__height == undefined)) {
return(undefined);
}
if (tag < 7) {
ref.setSize(__width, __height, true);
}
}
function size(Void) {
setState(getState());
setHitArea(__width, __height);
var _local3 = 0;
while (_local3 < 8) {
var _local4 = idNames[_local3];
if (typeof(this[_local4]) == "movieclip") {
this[_local4].setSize(__width, __height, true);
}
_local3++;
}
super.size();
}
function set labelPlacement(val) {
__labelPlacement = val;
invalidate();
//return(labelPlacement);
}
function get labelPlacement() {
return(__labelPlacement);
}
function getLabelPlacement(Void) {
return(__labelPlacement);
}
function setLabelPlacement(val) {
__labelPlacement = val;
invalidate();
}
function getBtnOffset(Void) {
if (getState()) {
var _local2 = btnOffset;
} else if (phase == "down") {
var _local2 = btnOffset;
} else {
var _local2 = 0;
}
return(_local2);
}
function setView(offset) {
var _local16 = (offset ? (btnOffset) : 0);
var _local12 = getLabelPlacement();
var _local7 = 0;
var _local6 = 0;
var _local9 = 0;
var _local8 = 0;
var _local5 = 0;
var _local4 = 0;
var _local3 = labelPath;
var _local2 = iconName;
var _local15 = _local3.textWidth;
var _local14 = _local3.textHeight;
var _local10 = (__width - borderW) - borderW;
var _local11 = (__height - borderW) - borderW;
_local3._visible = true;
if (_local2 != undefined) {
_local7 = _local2._width;
_local6 = _local2._height;
}
if ((_local12 == "left") || (_local12 == "right")) {
if (_local3 != undefined) {
_local9 = Math.min(_local10 - _local7, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11, _local14 + 5);
_local3._height = _local8;
}
if (_local12 == "right") {
_local5 = _local7;
if (centerContent) {
_local5 = _local5 + (((_local10 - _local9) - _local7) / 2);
}
_local2._x = _local5 - _local7;
} else {
_local5 = (_local10 - _local9) - _local7;
if (centerContent) {
_local5 = _local5 / 2;
}
_local2._x = _local5 + _local9;
}
_local4 = 0;
_local2._y = _local4;
if (centerContent) {
_local2._y = (_local11 - _local6) / 2;
_local4 = (_local11 - _local8) / 2;
}
if (!centerContent) {
_local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2);
}
} else {
if (_local3 != undefined) {
_local9 = Math.min(_local10, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11 - _local6, _local14 + 5);
_local3._height = _local8;
}
_local5 = (_local10 - _local9) / 2;
_local2._x = (_local10 - _local7) / 2;
if (_local12 == "top") {
_local4 = (_local11 - _local8) - _local6;
if (centerContent) {
_local4 = _local4 / 2;
}
_local2._y = _local4 + _local8;
} else {
_local4 = _local6;
if (centerContent) {
_local4 = _local4 + (((_local11 - _local8) - _local6) / 2);
}
_local2._y = _local4 - _local6;
}
}
var _local13 = borderW + _local16;
_local3._x = _local5 + _local13;
_local3._y = _local4 + _local13;
_local2._x = _local2._x + _local13;
_local2._y = _local2._y + _local13;
}
function set label(lbl) {
setLabel(lbl);
//return(label);
}
function setLabel(label) {
if (label == "") {
labelPath.removeTextField();
refresh();
return(undefined);
}
if (labelPath == undefined) {
var _local2 = createLabel("labelPath", 200, label);
_local2._width = _local2.textWidth + 5;
_local2._height = _local2.textHeight + 5;
_local2.visible = false;
} else {
labelPath.text = label;
refresh();
}
}
function getLabel(Void) {
return(labelPath.text);
}
function get label() {
return(labelPath.text);
}
function _getIcon(Void) {
return(_iconLinkageName);
}
function get icon() {
if (initializing) {
return(initIcon);
}
return(_iconLinkageName);
}
function _setIcon(linkage) {
if (initializing) {
if (linkage == "") {
return(undefined);
}
initIcon = linkage;
} else {
if (linkage == "") {
removeIcons();
return(undefined);
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
_iconLinkageName = linkage;
refresh();
}
}
function set icon(linkage) {
_setIcon(linkage);
//return(icon);
}
function setHitArea(w, h) {
if (hitArea_mc == undefined) {
createEmptyObject("hitArea_mc", 100);
}
var _local2 = hitArea_mc;
_local2.clear();
_local2.beginFill(16711680);
_local2.drawRect(0, 0, w, h);
_local2.endFill();
_local2.setVisible(false);
}
static var symbolName = "Button";
static var symbolOwner = mx.controls.Button;
var className = "Button";
static var version = "2.0.0.360";
var btnOffset = 0;
var _color = "buttonColor";
var __label = "default value";
var __labelPlacement = "right";
var falseUpSkin = "ButtonSkin";
var falseDownSkin = "ButtonSkin";
var falseOverSkin = "ButtonSkin";
var falseDisabledSkin = "ButtonSkin";
var trueUpSkin = "ButtonSkin";
var trueDownSkin = "ButtonSkin";
var trueOverSkin = "ButtonSkin";
var trueDisabledSkin = "ButtonSkin";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
var centerContent = true;
var borderW = 1;
}
Symbol 31 MovieClip [__Packages.mx.controls.CheckBox] Frame 0
class mx.controls.CheckBox extends mx.controls.Button
{
var _getTextFormat, labelPath, iconName;
function CheckBox () {
super();
}
function onRelease() {
super.onRelease();
}
function init() {
super.init();
}
function size() {
super.size();
}
function get emphasized() {
return(undefined);
}
function calcPreferredHeight() {
var _local5 = _getTextFormat();
var _local3 = _local5.getTextExtent2(labelPath.text).height;
var _local4 = iconName._height;
var _local2 = 0;
if ((__labelPlacement == "left") || (__labelPlacement == "right")) {
_local2 = Math.max(_local3, _local4);
} else {
_local2 = _local3 + _local4;
}
return(Math.max(14, _local2));
}
function set toggle(v) {
//return(toggle);
}
function get toggle() {
}
function set icon(v) {
//return(icon);
}
function get icon() {
}
static var symbolName = "CheckBox";
static var symbolOwner = mx.controls.CheckBox;
static var version = "2.0.0.360";
var className = "CheckBox";
var ignoreClassStyleDeclaration = {Button:1};
var btnOffset = 0;
var __toggle = true;
var __selected = false;
var __labelPlacement = "right";
var __label = "CheckBox";
var falseUpSkin = "";
var falseDownSkin = "";
var falseOverSkin = "";
var falseDisabledSkin = "";
var trueUpSkin = "";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "";
var falseUpIcon = "CheckFalseUp";
var falseDownIcon = "CheckFalseDown";
var falseOverIcon = "CheckFalseOver";
var falseDisabledIcon = "CheckFalseDisabled";
var trueUpIcon = "CheckTrueUp";
var trueDownIcon = "CheckTrueDown";
var trueOverIcon = "CheckTrueOver";
var trueDisabledIcon = "CheckTrueDisabled";
var clipParameters = {label:1, labelPlacement:1, selected:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.CheckBox.prototype.clipParameters, mx.controls.Button.prototype.clipParameters);
var centerContent = false;
var borderW = 0;
}
Symbol 76 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 77 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 78 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 79 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 80 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent == undefined) {
_local1[eventObj.type](eventObj);
} else {
_local1.handleEvent(eventObj);
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
}
Symbol 81 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
if (obj.keyHandler == undefined) {
var _local1 = (obj.keyHandler = new Object());
_local1.owner = obj;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
if (obj.onLoad == undefined) {
obj.onLoad = _fEventDispatcher.onLoad;
obj.onUnload = _fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = _fEventDispatcher.__addEventListener;
obj.__origAddEventListener = _fEventDispatcher.addEventListener;
obj.removeEventListener = _fEventDispatcher.removeEventListener;
obj.dispatchEvent = _fEventDispatcher.dispatchEvent;
obj.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(mx.events.EventDispatcher, eventObj);
dispatchQueue(this, eventObj);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
if (__sentLoadEvent != true) {
dispatchEvent({type:"load"});
}
__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
__origAddEventListener(event, handler);
var _local3 = lowLevelEvents;
for (var _local5 in _local3) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local2 = _local3[_local5][0];
mx.events.UIEventDispatcher[_local2](this);
}
}
}
function removeEventListener(event, handler) {
var _local6 = "__q_" + event;
mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler);
if (this[_local6].length == 0) {
var _local2 = lowLevelEvents;
for (var _local5 in _local2) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local3 = _local2[_local5][1];
mx.events.UIEventDispatcher[_local2[_local5][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 82 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement
{
var getStyle, _color, onEnterFrame;
function ColoredSkinElement () {
}
function setColor(c) {
if (c != undefined) {
var _local2 = new Color(this);
_local2.setRGB(c);
}
}
function draw(Void) {
setColor(getStyle(_color));
onEnterFrame = undefined;
}
function invalidateStyle(Void) {
onEnterFrame = draw;
}
static function setColorStyle(p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mixins.setColor;
p.invalidateStyle = mixins.invalidateStyle;
p.draw = mixins.draw;
p.setColor(p.getStyle(colorStyle));
}
static var mixins = new mx.skins.ColoredSkinElement();
}
Symbol 83 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions
{
function UIObjectExtensions () {
}
static function addGeometry(tf, ui) {
tf.addProperty("width", ui.__get__width, null);
tf.addProperty("height", ui.__get__height, null);
tf.addProperty("left", ui.__get__left, null);
tf.addProperty("x", ui.__get__x, null);
tf.addProperty("top", ui.__get__top, null);
tf.addProperty("y", ui.__get__y, null);
tf.addProperty("right", ui.__get__right, null);
tf.addProperty("bottom", ui.__get__bottom, null);
tf.addProperty("visible", ui.__get__visible, ui.__set__visible);
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
var _local4 = mx.core.UIObject.prototype;
var _local8 = mx.skins.SkinElement.prototype;
addGeometry(_local8, _local4);
mx.events.UIEventDispatcher.initialize(_local4);
var _local12 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(_local4);
var _local5 = MovieClip.prototype;
_local5.getTopLevel = _local4.getTopLevel;
_local5.createLabel = _local4.createLabel;
_local5.createObject = _local4.createObject;
_local5.createClassObject = _local4.createClassObject;
_local5.createEmptyObject = _local4.createEmptyObject;
_local5.destroyObject = _local4.destroyObject;
_local5.__getTextFormat = _local4.__getTextFormat;
_local5._getTextFormat = _local4._getTextFormat;
_local5.getStyleName = _local4.getStyleName;
_local5.getStyle = _local4.getStyle;
var _local6 = TextField.prototype;
addGeometry(_local6, _local4);
_local6.addProperty("enabled", function () {
return(this.__enabled);
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
_local6.move = _local8.move;
_local6.setSize = _local8.setSize;
_local6.invalidateStyle = function () {
this.invalidateFlag = true;
};
_local6.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var _local2 = this._getTextFormat();
this.setTextFormat(_local2);
this.setNewTextFormat(_local2);
this.embedFonts = _local2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == "") {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
_local6.setColor = function (color) {
this.textColor = color;
};
_local6.getStyle = _local5.getStyle;
_local6.__getTextFormat = _local4.__getTextFormat;
_local6.setValue = function (v) {
this.text = v;
};
_local6.getValue = function () {
return(this.text);
};
_local6.addProperty("value", function () {
return(this.getValue());
}, function (v) {
this.setValue(v);
});
_local6._getTextFormat = function () {
var _local2 = this.stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
this.__getTextFormat(_local2);
this.stylecache.tf = _local2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var _local4 = this.getTextFormat();
this.enabledColor = _local4.color;
}
var _local3 = this.getStyle("disabledColor");
_local2.color = _local3;
} else if (this.enabledColor != undefined) {
if (_local2.color == undefined) {
_local2.color = this.enabledColor;
}
}
return(_local2);
};
_local6.getPreferredWidth = function () {
this.draw();
return(this.textWidth + 4);
};
_local6.getPreferredHeight = function () {
this.draw();
return(this.textHeight + 4);
};
TextFormat.prototype.getTextExtent2 = function (s) {
var _local3 = _root._getTextExtent;
if (_local3 == undefined) {
_root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100);
_local3 = _root._getTextExtent;
_local3._visible = false;
}
_root._getTextExtent.text = s;
var _local4 = this.align;
this.align = "left";
_root._getTextExtent.setTextFormat(this);
this.align = _local4;
return({width:_local3.textWidth, height:_local3.textHeight});
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
_root.addProperty("width", function () {
return(Stage.width);
}, null);
_root.addProperty("height", function () {
return(Stage.height);
}, null);
return(true);
}
static var bExtended = false;
static var UIObjectExtended = Extensions();
static var UIObjectDependency = mx.core.UIObject;
static var SkinElementDependency = mx.skins.SkinElement;
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 84 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults
{
var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill;
function Defaults () {
}
static function setThemeDefaults() {
var _local2 = _global.style;
_local2.themeColor = 8453965 /* 0x80FF4D */;
_local2.disabledColor = 8684164 /* 0x848284 */;
_local2.modalTransparency = 0;
_local2.filled = true;
_local2.stroked = true;
_local2.strokeWidth = 1;
_local2.strokeColor = 0;
_local2.fillColor = 16777215 /* 0xFFFFFF */;
_local2.repeatInterval = 35;
_local2.repeatDelay = 500;
_local2.fontFamily = "_sans";
_local2.fontSize = 12;
_local2.selectionColor = 13500353 /* 0xCDFFC1 */;
_local2.rollOverColor = 14942166 /* 0xE3FFD6 */;
_local2.useRollOver = true;
_local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDuration = 200;
_local2.openDuration = 250;
_local2.borderStyle = "inset";
_local2.color = 734012 /* 0x0B333C */;
_local2.textSelectedColor = 24371;
_local2.textRollOverColor = 2831164 /* 0x2B333C */;
_local2.textDisabledColor = 16777215 /* 0xFFFFFF */;
_local2.vGridLines = true;
_local2.hGridLines = false;
_local2.vGridLineColor = 6710886 /* 0x666666 */;
_local2.hGridLineColor = 6710886 /* 0x666666 */;
_local2.headerColor = 15395562 /* 0xEAEAEA */;
_local2.indentation = 17;
_local2.folderOpenIcon = "TreeFolderOpen";
_local2.folderClosedIcon = "TreeFolderClosed";
_local2.defaultLeafIcon = "TreeNodeIcon";
_local2.disclosureOpenIcon = "TreeDisclosureOpen";
_local2.disclosureClosedIcon = "TreeDisclosureClosed";
_local2.popupDuration = 150;
_local2.todayColor = 6710886 /* 0x666666 */;
_local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration());
_local2.backgroundColor = 16777215 /* 0xFFFFFF */;
_local2.borderColor = 13290186 /* 0xCACACA */;
_local2.borderStyle = "inset";
_local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration());
_local2.borderStyle = "inset";
_local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration());
_local2.textAlign = "center";
_local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration());
_local2.borderColor = 14015965 /* 0xD5DDDD */;
_local2.buttonColor = 7305079 /* 0x6F7777 */;
_local2.shadowColor = 15658734 /* 0xEEEEEE */;
_local2.highlightColor = 12897484 /* 0xC4CCCC */;
_local2.shadowCapColor = 14015965 /* 0xD5DDDD */;
_local2.borderCapColor = 9542041 /* 0x919999 */;
var _local4 = new Object();
_local4.borderColor = 16711680 /* 0xFF0000 */;
_local4.buttonColor = 16711680 /* 0xFF0000 */;
_local4.shadowColor = 16711680 /* 0xFF0000 */;
_local4.highlightColor = 16711680 /* 0xFF0000 */;
_local4.shadowCapColor = 16711680 /* 0xFF0000 */;
_local4.borderCapColor = 16711680 /* 0xFF0000 */;
mx.core.UIComponent.prototype.origBorderStyles = _local4;
var _local3;
_local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration());
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderStyle = "inset";
_global.styles.TextArea = _global.styles.TextInput;
_local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "default";
_local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "alert";
_local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "inset";
_local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "none";
_local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration());
_local3.color = 11187123 /* 0xAAB3B3 */;
_local3.fontWeight = "bold";
_local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = "11";
_local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "solid";
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderColor = 9081738 /* 0x8A938A */;
_local3.headerHeight = 22;
_local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1)));
_local3.verticalGap = -1;
_local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration());
_local3.borderColor = 9542041 /* 0x919999 */;
_local3.headerColor = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 10;
_local3.textAlign = "right";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = 11;
_local3.textAlign = "center";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration());
_local3.color = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 12;
_local3.fontWeight = "bold";
_local3.textAlign = "center";
}
function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof(r) == "object") {
var _local18 = r.br;
var _local16 = r.bl;
var _local15 = r.tl;
var _local10 = r.tr;
} else {
var _local10 = r;
var _local15 = _local10;
var _local16 = _local15;
var _local18 = _local16;
}
if (typeof(c) == "object") {
if (typeof(alpha) != "object") {
var _local9 = [alpha, alpha];
} else {
var _local9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var _local14 = h * 0.7;
if (typeof(rot) != "object") {
var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */};
} else {
var _local11 = rot;
}
if (gradient == "radial") {
beginGradientFill("radial", c, _local9, ratios, _local11);
} else {
beginGradientFill("linear", c, _local9, ratios, _local11);
}
} else if (c != undefined) {
beginFill(c, alpha);
}
r = _local18;
var _local13 = r - (r * 0.707106781186547);
var _local12 = r - (r * 0.414213562373095);
moveTo(x + w, (y + h) - r);
lineTo(x + w, (y + h) - r);
curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13);
curveTo((x + w) - _local12, y + h, (x + w) - r, y + h);
r = _local16;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x + r, y + h);
curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13);
curveTo(x, (y + h) - _local12, x, (y + h) - r);
r = _local15;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x, y + r);
curveTo(x, y + _local12, x + _local13, y + _local13);
curveTo(x + _local12, y, x + r, y);
r = _local10;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo((x + w) - r, y);
curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13);
curveTo(x + w, y + _local12, x + w, y + r);
lineTo(x + w, (y + h) - r);
if (c != undefined) {
endFill();
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
static var UIObjectDependency = mx.core.UIObject;
}
Symbol 85 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth;
function DepthManager () {
MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = createChildAtDepth;
MovieClip.prototype.setDepthTo = setDepthTo;
MovieClip.prototype.setDepthAbove = setDepthAbove;
MovieClip.prototype.setDepthBelow = setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = shuffleDepths;
MovieClip.prototype.getDepthByFlag = getDepthByFlag;
MovieClip.prototype.buildDepthTable = buildDepthTable;
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function setDepthTo(depthFlag) {
var _local2 = _parent.buildDepthTable();
var _local3 = _parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
shuffleDepths(this, _local3, _local2, undefined);
} else {
swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_topmost = true;
} else {
delete _topmost;
}
}
function setDepthAbove(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local2 = targetInstance.getDepth() + 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local2] != undefined) && (getDepth() < _local2)) {
_local2 = _local2 - 1;
}
if (_local2 > highestDepth) {
_local2 = highestDepth;
}
if (_local2 == highestDepth) {
_parent.shuffleDepths(this, _local2, _local3, "down");
} else if (_local3[_local2] != undefined) {
_parent.shuffleDepths(this, _local2, _local3, undefined);
} else {
swapDepths(_local2);
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local6 = targetInstance.getDepth() - 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local6] != undefined) && (getDepth() > _local6)) {
_local6 = _local6 + 1;
}
var _local4 = lowestDepth + numberOfAuthortimeLayers;
var _local5;
for (_local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2._parent != undefined) {
_local4 = Math.min(_local4, _local2.getDepth());
}
}
if (_local6 < _local4) {
_local6 = _local4;
}
if (_local6 == _local4) {
_parent.shuffleDepths(this, _local6, _local3, "up");
} else if (_local3[_local6] != undefined) {
_parent.shuffleDepths(this, _local6, _local3, undefined);
} else {
swapDepths(_local6);
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local5 = lowestDepth + numberOfAuthortimeLayers;
if (targetDepth < _local5) {
targetDepth = _local5;
}
if (depthTable[targetDepth] == undefined) {
return(targetDepth);
}
var _local2 = targetDepth;
var _local1 = targetDepth;
if (direction == "down") {
while (depthTable[_local1] != undefined) {
_local1--;
}
return(_local1);
}
while (depthTable[_local2] != undefined) {
_local2++;
}
return(_local2);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local9 = lowestDepth + numberOfAuthortimeLayers;
var _local8 = _local9;
var _local5;
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local9 = Math.min(_local9, _local7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local1.push(_local7);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var _local11;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
_local11 = subject.getDepth();
_local3 = _local1.pop();
var _local4 = _local3.getDepth();
if (_local11 > (_local4 + 1)) {
if (_local4 >= 0) {
subject.swapDepths(_local4 + 1);
} else if ((_local11 > _local8) && (_local4 < _local8)) {
subject.swapDepths(_local8);
}
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
} else if (direction == "down") {
var _local3;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
var _local11 = _local3.getDepth();
_local3 = _local1.shift();
var _local4 = _local3.getDepth();
if ((_local11 < (_local4 - 1)) && (_local4 > 0)) {
subject.swapDepths(_local4 - 1);
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var _local5 = 0;
var _local7 = false;
var _local8;
for (_local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
if (!_local9._topmost) {
_local2 = Math.max(_local2, _local9.getDepth());
} else if (!_local7) {
_local5 = _local9.getDepth();
_local7 = true;
} else {
_local5 = Math.min(_local5, _local9.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (_local7) {
if (_local2 >= _local5) {
_local2 = _local5 - 1;
}
}
} else if (depthFlag == kBottom) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var _local6 = lowestDepth + numberOfAuthortimeLayers;
for (var _local9 in depthTable) {
var _local4 = depthTable[_local9];
if (_local4._parent != undefined) {
_local6 = Math.min(_local6, _local4.getDepth());
}
}
if (_local2 <= _local6) {
_local2 = _local6;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local5 = new Array();
var _local4;
for (_local4 in this) {
var _local2 = this[_local4];
var _local3 = typeof(_local2);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) {
if (_local2._parent == this) {
_local5[_local2.getDepth()] = _local2;
}
}
}
return(_local5);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 86 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var _local7 = Stage.width;
var _local6 = Stage.height;
var _local9 = _global.origWidth;
var _local8 = _global.origHeight;
var _local3 = Stage.align;
var _local5 = (_local9 - _local7) / 2;
var _local4 = (_local8 - _local6) / 2;
if (_local3 == "T") {
_local4 = 0;
} else if (_local3 == "B") {
_local4 = _local8 - _local6;
} else if (_local3 == "L") {
_local5 = 0;
} else if (_local3 == "R") {
_local5 = _local9 - _local7;
} else if (_local3 == "LT") {
_local4 = 0;
_local5 = 0;
} else if (_local3 == "TR") {
_local4 = 0;
_local5 = _local9 - _local7;
} else if (_local3 == "LB") {
_local4 = _local8 - _local6;
_local5 = 0;
} else if (_local3 == "RB") {
_local4 = _local8 - _local6;
_local5 = _local9 - _local7;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local5;
__screen.y = _local4;
__screen.width = _local7;
__screen.height = _local6;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 87 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent
{
var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, lastXMouse, lastYMouse, findFocusFromObject;
function FocusManager () {
super();
}
function get defaultPushButton() {
return(__defaultPushButton);
}
function set defaultPushButton(x) {
if (x != __defaultPushButton) {
__defaultPushButton.__set__emphasized(false);
__defaultPushButton = x;
defPushButton = x;
x.__set__emphasized(true);
}
//return(defaultPushButton);
}
function getMaxTabIndex(o) {
var _local3 = 0;
var _local6;
for (_local6 in o) {
var _local2 = o[_local6];
if (_local2._parent == o) {
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex > _local3) {
_local3 = _local2.tabIndex;
}
}
if (_local2.tabChildren == true) {
var _local4 = getMaxTabIndex(_local2);
if (_local4 > _local3) {
_local3 = _local4;
}
}
}
}
return(_local3);
}
function getNextTabIndex(Void) {
return(getMaxTabIndex(form) + 1);
}
function get nextTabIndex() {
return(getNextTabIndex());
}
function relocate(Void) {
var _local2 = mx.managers.SystemManager.__get__screen();
move(_local2.x - 1, _local2.y - 1);
}
function init(Void) {
super.init();
tabEnabled = false;
_width = (_height = 1);
_x = (_y = -1);
_alpha = 0;
_parent.focusManager = this;
_parent.tabChildren = true;
_parent.tabEnabled = false;
form = _parent;
_parent.addEventListener("hide", this);
_parent.addEventListener("reveal", this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(form);
tabCapture.tabIndex = 0;
watch("enabled", enabledChanged);
Selection.addListener(this);
}
function enabledChanged(id, oldValue, newValue) {
_visible = newValue;
return(newValue);
}
function activate(Void) {
Key.addListener(this);
activated = (_visible = true);
if (lastFocus != undefined) {
bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
doLater(this, "restoreFocus");
}
}
}
function deactivate(Void) {
Key.removeListener(this);
activated = (_visible = false);
var _local2 = getSelectionFocus();
var _local3 = getActualFocus(_local2);
if (isOurFocus(_local3)) {
lastSelFocus = _local2;
lastFocus = _local3;
}
cancelAllDoLaters();
}
function isOurFocus(o) {
if (o.focusManager == this) {
return(true);
}
while (o != undefined) {
if (o.focusManager != undefined) {
return(false);
}
if (o._parent == _parent) {
return(true);
}
o = o._parent;
}
return(false);
}
function onSetFocus(o, n) {
if (n == null) {
if (activated) {
bNeedFocus = true;
}
} else {
var _local2 = getFocus();
if (isOurFocus(_local2)) {
bNeedFocus = false;
lastFocus = _local2;
lastSelFocus = n;
}
}
}
function restoreFocus(Void) {
var _local2 = lastSelFocus.hscroll;
if (_local2 != undefined) {
var _local5 = lastSelFocus.scroll;
var _local4 = lastSelFocus.background;
}
lastFocus.setFocus();
var _local3 = Selection;
Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex);
if (_local2 != undefined) {
lastSelFocus.scroll = _local5;
lastSelFocus.hscroll = _local2;
lastSelFocus.background = _local4;
}
}
function onUnload(Void) {
mx.managers.SystemManager.removeFocusManager(form);
}
function setFocus(o) {
if (o == null) {
Selection.setFocus(null);
} else if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
function getActualFocus(o) {
var _local1 = o._parent;
while (_local1 != undefined) {
if (_local1.focusTextField != undefined) {
while (_local1.focusTextField != undefined) {
o = _local1;
_local1 = _local1._parent;
if (_local1 == undefined) {
return(undefined);
}
if (_local1.focusTextField == undefined) {
return(o);
}
}
}
if (_local1.tabEnabled != true) {
return(o);
}
o = _local1;
_local1 = o._parent;
}
return(undefined);
}
function getSelectionFocus() {
var m = Selection.getFocus();
var o = eval (m);
return(o);
}
function getFocus(Void) {
var _local2 = getSelectionFocus();
return(getActualFocus(_local2));
}
function walkTree(p, index, groupName, dir, lookup, firstChild) {
var _local5 = true;
var _local11;
for (_local11 in p) {
var _local2 = p[_local11];
if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_local2 != _lastTarget) {
if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) {
continue;
}
if ((_local2 instanceof TextField) && (_local2.selectable == false)) {
continue;
}
if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) {
if (firstChild) {
_firstNode = _local2;
firstChild = false;
}
}
if (_nextIsNext == true) {
if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) {
_nextNode = _local2;
}
}
if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) {
if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) {
} else {
_lastx = _local2;
}
}
} else {
_prevNode = _lastx;
_needPrev = false;
_nextIsNext = true;
}
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex == index) {
if (_foundList[_local2._name] == undefined) {
if (_needPrev) {
_prevObj = _local2;
_needPrev = false;
}
_nextObj = _local2;
}
}
if (dir && (_local2.tabIndex > index)) {
if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) {
_nextObj = _local2;
}
} else if ((!dir) && (_local2.tabIndex < index)) {
if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) {
_prevObj = _local2;
}
}
if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) {
_firstObj = _local2;
}
if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) {
_lastObj = _local2;
}
}
if (_local2.tabChildren) {
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
} else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) {
if (_local2 == _lastTarget) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_prevNode == undefined) {
var _local3 = _lastx;
var _local7 = false;
while (_local3 != undefined) {
if (_local3 == _local2) {
_local7 = true;
break;
}
_local3 = _local3._parent;
}
if (_local7 == false) {
_prevNode = _lastx;
}
}
_needPrev = false;
if (_nextNode == undefined) {
_nextIsNext = true;
}
} else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
}
}
_lastNode = _lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != _parent) {
if ((_prevNode == undefined) && (dir)) {
_needPrev = true;
} else if ((_nextNode == undefined) && (!dir)) {
_nextIsNext = false;
}
_lastTarget = _lastTarget._parent;
getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
}
function getTabCandidate(o, index, groupName, dir, firstChild) {
var _local2;
var _local3 = true;
if (o == _parent) {
_local2 = o;
_local3 = false;
} else {
_local2 = o._parent;
if (_local2 == undefined) {
_local2 = o;
_local3 = false;
}
}
walkTree(_local2, index, groupName, dir, _local3, firstChild);
}
function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) {
walkTree(o, index, groupName, dir, false, firstChild);
}
function getFocusManagerFromObject(o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return(o.focusManager);
}
o = o._parent;
}
return(undefined);
}
function tabHandler(Void) {
bDrawFocus = true;
var _local5 = getSelectionFocus();
var _local4 = getActualFocus(_local5);
if (_local4 != _local5) {
_local5 = _local4;
}
if (getFocusManagerFromObject(_local5) != this) {
_local5 == undefined;
}
if (_local5 == undefined) {
_local5 = form;
} else if (_local5.tabIndex != undefined) {
if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) {
_foundList = new Object();
_foundList.tabIndex = _local5.tabIndex;
}
_foundList[_local5._name] = _local5;
}
var _local3 = Key.isDown(16) != true;
_searchKey = getTimer();
_needPrev = true;
_nextIsNext = false;
_lastx = undefined;
_firstNode = undefined;
_lastNode = undefined;
_nextNode = undefined;
_prevNode = undefined;
_firstObj = undefined;
_lastObj = undefined;
_nextObj = undefined;
_prevObj = undefined;
_lastTarget = _local5;
var _local6 = _local5;
getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true);
var _local2;
if (_local3) {
if (_nextObj != undefined) {
_local2 = _nextObj;
} else {
_local2 = _firstObj;
}
} else if (_prevObj != undefined) {
_local2 = _prevObj;
} else {
_local2 = _lastObj;
}
if (_local2.tabIndex != _local5.tabIndex) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
_foundList[_local2._name] = _local2;
} else {
if (_foundList == undefined) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
}
_foundList[_local2._name] = _local2;
}
if (_local2 == undefined) {
if (_local3 == false) {
if (_nextNode != undefined) {
_local2 = _nextNode;
} else {
_local2 = _firstNode;
}
} else if ((_prevNode == undefined) || (_local5 == form)) {
_local2 = _lastNode;
} else {
_local2 = _prevNode;
}
}
if (_local2 == undefined) {
return(undefined);
}
lastTabFocus = _local2;
setFocus(_local2);
if (_local2.emphasized != undefined) {
if (defPushButton != undefined) {
_local5 = defPushButton;
defPushButton = _local2;
_local5.emphasized = false;
_local2.emphasized = true;
}
} else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) {
_local5 = defPushButton;
defPushButton = __defaultPushButton;
_local5.emphasized = false;
__defaultPushButton.__set__emphasized(true);
}
}
function onKeyDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
if (defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (defaultPushButton != undefined) {
doLater(this, "sendDefaultPushButtonEvent");
}
}
}
}
function sendDefaultPushButtonEvent(Void) {
defPushButton.dispatchEvent({type:"click"});
}
function getMousedComponentFromChildren(x, y, o) {
for (var _local7 in o) {
var _local2 = o[_local7];
if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) {
_local2._searchKey = _searchKey;
if (_local2.hitTest(x, y, true)) {
if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) {
return(_local2);
}
var _local3 = getMousedComponentFromChildren(x, y, _local2);
if (_local3 != undefined) {
return(_local3);
}
return(_local2);
}
}
}
return(undefined);
}
function mouseActivate(Void) {
if (!bNeedFocus) {
return(undefined);
}
_searchKey = getTimer();
var _local2 = getMousedComponentFromChildren(lastXMouse, lastYMouse, form);
if (_local2 instanceof mx.core.UIComponent) {
return(undefined);
}
_local2 = findFocusFromObject(_local2);
if (_local2 == lastFocus) {
return(undefined);
}
if (_local2 == undefined) {
doLater(this, "restoreFocus");
return(undefined);
}
var _local3 = _local2.hscroll;
if (_local3 != undefined) {
var _local6 = _local2.scroll;
var _local5 = _local2.background;
}
setFocus(_local2);
var _local4 = Selection;
Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex);
if (_local3 != undefined) {
_local2.scroll = _local6;
_local2.hscroll = _local3;
_local2.background = _local5;
}
}
function _onMouseDown(Void) {
bDrawFocus = false;
if (lastFocus != undefined) {
lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var _local3 = Selection;
_local3.lastBeginIndex = Selection.getBeginIndex();
_local3.lastEndIndex = Selection.getEndIndex();
lastXMouse = _root._xmouse;
lastYMouse = _root._ymouse;
}
function onMouseUp(Void) {
if (_visible) {
doLater(this, "mouseActivate");
}
}
function handleEvent(e) {
if (e.type == "reveal") {
mx.managers.SystemManager.activate(form);
} else {
mx.managers.SystemManager.deactivate(form);
}
}
static function enableFocusManagement() {
if (!initialized) {
initialized = true;
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
}
}
static var symbolName = "FocusManager";
static var symbolOwner = mx.managers.FocusManager;
static var version = "2.0.0.360";
var className = "FocusManager";
var bNeedFocus = false;
var bDrawFocus = false;
var defaultPushButtonEnabled = true;
var activated = true;
static var initialized = false;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 88 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement
{
var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible;
function FocusRect () {
super();
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function draw(o) {
o.adjustFocusRect();
}
function setSize(w, h, r, a, rectCol) {
_xscale = (_yscale = 100);
clear();
if (typeof(r) == "object") {
r.br = ((r.br > 2) ? (r.br - 2) : 0);
r.bl = ((r.bl > 2) ? (r.bl - 2) : 0);
r.tr = ((r.tr > 2) ? (r.tr - 2) : 0);
r.tl = ((r.tl > 2) ? (r.tl - 2) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
r.br = ((r.br > 1) ? (r.br + 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl + 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr + 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl + 1) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = ((r.br > 1) ? (r.br - 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl - 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr - 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl - 1) : 0);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
} else {
var _local5;
if (r != 0) {
_local5 = r - 2;
} else {
_local5 = 0;
}
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
beginFill(rectCol, a * 0.3);
if (r != 0) {
_local5 = r - 2;
r = r - 1;
} else {
_local5 = 0;
r = 0;
}
drawRoundRect(1, 1, w - 2, h - 2, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
}
}
function handleEvent(e) {
if (e.type == "unload") {
_visible = true;
} else if (e.type == "resize") {
e.target.adjustFocusRect();
} else if (e.type == "move") {
e.target.adjustFocusRect();
}
}
static function classConstruct() {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var _local2 = this._parent.focus_mc;
if (!focused) {
_local2._visible = false;
this.removeEventListener("unload", _local2);
this.removeEventListener("move", _local2);
this.removeEventListener("resize", _local2);
} else {
if (_local2 == undefined) {
_local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop);
_local2.tabEnabled = false;
this._parent.focus_mc = _local2;
} else {
_local2._visible = true;
}
_local2.draw(this);
if (_local2.getDepth() < this.getDepth()) {
_local2.setDepthAbove(this);
}
this.addEventListener("unload", _local2);
this.addEventListener("move", _local2);
this.addEventListener("resize", _local2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var _local2 = this.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = this._parent.focus_mc;
_local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2);
_local3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var DefaultsDependency = mx.skins.halo.Defaults;
static var UIComponentDependency = mx.core.UIComponent;
}
Symbol 89 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows
{
function OverlappedWindows () {
}
static function checkIdle(Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({type:"idle"});
} else {
mx.managers.SystemManager.idleFrames++;
}
}
static function __addEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
}
static function __removeEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
}
static function onMouseDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var _local5 = _root;
var _local3;
var _local8 = _root._xmouse;
var _local7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var _local6 = mx.managers.SystemManager.forms.length;
var _local4;
_local4 = 0;
while (_local4 < _local6) {
var _local2 = mx.managers.SystemManager.forms[_local4];
if (_local2._visible) {
if (_local2.hitTest(_local8, _local7)) {
if (_local3 == undefined) {
_local3 = _local2.getDepth();
_local5 = _local2;
} else if (_local3 < _local2.getDepth()) {
_local3 = _local2.getDepth();
_local5 = _local2;
}
}
}
_local4++;
}
if (_local5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(_local5);
}
}
}
var _local9 = mx.managers.SystemManager.form;
_local9.focusManager._onMouseDown();
}
static function onMouseMove(Void) {
mx.managers.SystemManager.idleFrames = 0;
}
static function onMouseUp(Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
}
static function activate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local1 = mx.managers.SystemManager.form;
_local1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
}
static function deactivate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local5 = mx.managers.SystemManager.form;
_local5.focusManager.deactivate();
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
_local1 = _local1 + 1;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
mx.managers.SystemManager.form = _local2;
break;
}
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
_local5 = mx.managers.SystemManager.form;
_local5.focusManager.activate();
}
}
}
static function addFocusManager(f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
}
static function removeFocusManager(f) {
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
static function enableOverlappedWindows() {
if (!initialized) {
initialized = true;
mx.managers.SystemManager.checkIdle = checkIdle;
mx.managers.SystemManager.__addEventListener = __addEventListener;
mx.managers.SystemManager.__removeEventListener = __removeEventListener;
mx.managers.SystemManager.onMouseDown = onMouseDown;
mx.managers.SystemManager.onMouseMove = onMouseMove;
mx.managers.SystemManager.onMouseUp = onMouseUp;
mx.managers.SystemManager.activate = activate;
mx.managers.SystemManager.deactivate = deactivate;
mx.managers.SystemManager.addFocusManager = addFocusManager;
mx.managers.SystemManager.removeFocusManager = removeFocusManager;
}
}
static var initialized = false;
static var SystemManagerDependency = mx.managers.SystemManager;
}
Symbol 90 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle
{
var styleName, stylecache, _color, setColor, invalidateStyle;
function CSSSetStyle () {
}
function _setStyle(styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == "color") {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return(undefined);
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local7 = mx.styles.StyleManager.colorNames.haloBlue;
var _local6 = mx.styles.StyleManager.colorNames.haloGreen;
var _local8 = mx.styles.StyleManager.colorNames.haloOrange;
var _local4 = {};
_local4[_local7] = 12188666 /* 0xB9FBFA */;
_local4[_local6] = 13500353 /* 0xCDFFC1 */;
_local4[_local8] = 16766319 /* 0xFFD56F */;
var _local5 = {};
_local5[_local7] = 13958653 /* 0xD4FDFD */;
_local5[_local6] = 14942166 /* 0xE3FFD6 */;
_local5[_local8] = 16772787 /* 0xFFEEB3 */;
var _local9 = _local4[newValue];
var _local10 = _local5[newValue];
if (_local9 == undefined) {
_local9 = newValue;
}
if (_local10 == undefined) {
_local10 = newValue;
}
setStyle("selectionColor", _local9);
setStyle("rollOverColor", _local10);
}
_level0.changeColorStyleInChildren(styleName, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
_level0.notifyStyleChangeInChildren(styleName, styleProp, newValue);
}
}
function changeTextStyleInChildren(styleProp) {
var _local4 = getTimer();
var _local5;
for (_local5 in this) {
var _local2 = this[_local5];
if (_local2._parent == this) {
if (_local2.searchKey != _local4) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache.tf;
delete _local2.stylecache[styleProp];
}
_local2.invalidateStyle(styleProp);
_local2.changeTextStyleInChildren(styleProp);
_local2.searchKey = _local4;
}
}
}
}
function changeColorStyleInChildren(sheetName, colorStyle, newValue) {
var _local6 = getTimer();
var _local7;
for (_local7 in this) {
var _local2 = this[_local7];
if (_local2._parent == this) {
if (_local2.searchKey != _local6) {
if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[colorStyle];
}
if (typeof(_local2._color) == "string") {
if (_local2._color == colorStyle) {
var _local4 = _local2.getStyle(colorStyle);
if (colorStyle == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = _local4;
}
}
_local2.setColor(_local4);
}
} else if (_local2._color[colorStyle] != undefined) {
if (typeof(_local2) != "movieclip") {
_local2._parent.invalidateStyle();
} else {
_local2.invalidateStyle(colorStyle);
}
}
}
_local2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
_local2.searchKey = _local6;
}
}
}
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local5 = getTimer();
var _local6;
for (_local6 in this) {
var _local2 = this[_local6];
if (_local2._parent == this) {
if (_local2.searchKey != _local5) {
if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[styleProp];
delete _local2.stylecache.tf;
}
delete _local2.enabledColor;
_local2.invalidateStyle(styleProp);
}
_local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
_local2.searchKey = _local5;
}
}
}
}
function setStyle(styleProp, newValue) {
if (stylecache != undefined) {
delete stylecache[styleProp];
delete stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local10 = mx.styles.StyleManager.colorNames.haloBlue;
var _local9 = mx.styles.StyleManager.colorNames.haloGreen;
var _local11 = mx.styles.StyleManager.colorNames.haloOrange;
var _local6 = {};
_local6[_local10] = 12188666 /* 0xB9FBFA */;
_local6[_local9] = 13500353 /* 0xCDFFC1 */;
_local6[_local11] = 16766319 /* 0xFFD56F */;
var _local7 = {};
_local7[_local10] = 13958653 /* 0xD4FDFD */;
_local7[_local9] = 14942166 /* 0xE3FFD6 */;
_local7[_local11] = 16772787 /* 0xFFEEB3 */;
var _local12 = _local6[newValue];
var _local13 = _local7[newValue];
if (_local12 == undefined) {
_local12 = newValue;
}
if (_local13 == undefined) {
_local13 = newValue;
}
setStyle("selectionColor", _local12);
setStyle("rollOverColor", _local13);
}
if (typeof(_color) == "string") {
if (_color == styleProp) {
if (styleProp == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = newValue;
}
}
setColor(newValue);
}
} else if (_color[styleProp] != undefined) {
invalidateStyle(styleProp);
}
changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) {
var _local8;
var _local5 = newValue;
if (styleProp == "styleName") {
_local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5));
_local5 = _local8.themeColor;
if (_local5 != undefined) {
_local8.rollOverColor = (_local8.selectionColor = _local5);
}
}
notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
}
static function enableRunTimeCSS() {
}
static function classConstruct() {
var _local2 = MovieClip.prototype;
var _local1 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = _local1._setStyle;
_local2.changeTextStyleInChildren = _local1.changeTextStyleInChildren;
_local2.changeColorStyleInChildren = _local1.changeColorStyleInChildren;
_local2.notifyStyleChangeInChildren = _local1.notifyStyleChangeInChildren;
_local2.setStyle = _local1.setStyle;
var _local3 = TextField.prototype;
_local3.setStyle = _local2.setStyle;
_local3.changeTextStyleInChildren = _local1.changeTextStyleInChildren;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
}
Symbol 91 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions
{
function UIComponentExtensions () {
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if (this.getFocusManager().bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
}
static var bExtended = false;
static var UIComponentExtended = Extensions();
static var UIComponentDependency = mx.core.UIComponent;
static var FocusManagerDependency = mx.managers.FocusManager;
static var OverlappedWindowsDependency = mx.managers.OverlappedWindows;
}
Symbol 92 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject
{
function Border () {
super();
}
function init(Void) {
super.init();
}
static var symbolName = "Border";
static var symbolOwner = mx.skins.Border;
var className = "Border";
var tagBorder = 0;
var idNames = new Array("border_mc");
}
Symbol 93 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border
{
var __width, __height, offset, __borderMetrics;
function RectBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function draw(Void) {
size();
}
function getBorderMetrics(Void) {
var _local2 = offset;
if (__borderMetrics == undefined) {
__borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2};
} else {
__borderMetrics.left = _local2;
__borderMetrics.top = _local2;
__borderMetrics.right = _local2;
__borderMetrics.bottom = _local2;
}
return(__borderMetrics);
}
function get borderMetrics() {
return(getBorderMetrics());
}
function drawBorder(Void) {
}
function size(Void) {
drawBorder();
}
function setColor(Void) {
drawBorder();
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.RectBorder;
static var version = "2.0.0.360";
var className = "RectBorder";
var borderStyleName = "borderStyle";
var borderColorName = "borderColor";
var shadowColorName = "shadowColor";
var highlightColorName = "highlightColor";
var buttonColorName = "buttonColor";
var backgroundColorName = "backgroundColor";
}
Symbol 94 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder
{
var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill;
function RectBorder () {
super();
}
function init(Void) {
borderWidths.default = 3;
super.init();
}
function getBorderMetrics(Void) {
if (offset == undefined) {
var _local3 = getStyle(borderStyleName);
offset = borderWidths[_local3];
}
if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) {
__borderMetrics = {left:3, top:1, right:3, bottom:3};
return(__borderMetrics);
}
return(super.getBorderMetrics());
}
function drawBorder(Void) {
var _local6 = _global.styles[className];
if (_local6 == undefined) {
_local6 = _global.styles.RectBorder;
}
var _local5 = getStyle(borderStyleName);
var _local7 = getStyle(borderColorName);
if (_local7 == undefined) {
_local7 = _local6[borderColorName];
}
var _local8 = getStyle(backgroundColorName);
if (_local8 == undefined) {
_local8 = _local6[backgroundColorName];
}
var _local16 = getStyle("backgroundImage");
if (_local5 != "none") {
var _local14 = getStyle(shadowColorName);
if (_local14 == undefined) {
_local14 = _local6[shadowColorName];
}
var _local13 = getStyle(highlightColorName);
if (_local13 == undefined) {
_local13 = _local6[highlightColorName];
}
var _local12 = getStyle(buttonColorName);
if (_local12 == undefined) {
_local12 = _local6[buttonColorName];
}
var _local11 = getStyle(borderCapColorName);
if (_local11 == undefined) {
_local11 = _local6[borderCapColorName];
}
var _local10 = getStyle(shadowCapColorName);
if (_local10 == undefined) {
_local10 = _local6[shadowCapColorName];
}
}
offset = borderWidths[_local5];
var _local9 = offset;
var _local3 = __get__width();
var _local4 = __get__height();
clear();
_color = undefined;
if (_local5 == "none") {
} else if (_local5 == "inset") {
_color = colorList;
draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10);
} else if (_local5 == "outset") {
_color = colorList;
draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10);
} else if (_local5 == "alert") {
var _local15 = getStyle("themeColor");
drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50);
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100);
} else if (_local5 == "default") {
drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial");
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100);
} else if (_local5 == "dropDown") {
drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear");
drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100);
} else if (_local5 == "menuBorder") {
var _local15 = getStyle("themeColor");
drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10);
drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear");
drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50);
drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100);
} else if (_local5 == "comboNonEdit") {
} else {
beginFill(_local7);
drawRect(0, 0, _local3, _local4);
drawRect(1, 1, _local3 - 1, _local4 - 1);
endFill();
_color = borderColorName;
}
if (_local8 != undefined) {
beginFill(_local8);
drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9);
endFill();
}
}
function draw3dBorder(c1, c2, c3, c4, c5, c6) {
var _local3 = __get__width();
var _local2 = __get__height();
beginFill(c1);
drawRect(0, 0, _local3, _local2);
drawRect(1, 0, _local3 - 1, _local2);
endFill();
beginFill(c2);
drawRect(1, 0, _local3 - 1, 1);
endFill();
beginFill(c3);
drawRect(1, _local2 - 1, _local3 - 1, _local2);
endFill();
beginFill(c4);
drawRect(1, 1, _local3 - 1, 2);
endFill();
beginFill(c5);
drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1);
endFill();
beginFill(c6);
drawRect(1, 2, _local3 - 1, _local2 - 2);
drawRect(2, 2, _local3 - 2, _local2 - 2);
endFill();
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return(true);
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.halo.RectBorder;
static var version = "2.0.0.360";
var borderCapColorName = "borderCapColor";
var shadowCapColorName = "shadowCapColor";
var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0};
var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2};
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 95 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder
{
var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y;
function ButtonSkin () {
super();
}
function init() {
super.init();
}
function size() {
drawHaloRect(__get__width(), __get__height());
}
function drawHaloRect(w, h) {
var _local6 = getStyle("borderStyle");
var _local4 = getStyle("themeColor");
var _local5 = _parent.emphasized;
clear();
switch (_local6) {
case "falseup" :
if (_local5) {
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
} else {
drawRoundRect(0, 0, w, h, 5, 9542041, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial");
drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial");
drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100);
}
break;
case "falsedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "falserollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "falsedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
break;
case "trueup" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100);
break;
case "truedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "truerollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "truedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.ButtonSkin = true;
return(true);
}
static var symbolName = "ButtonSkin";
static var symbolOwner = mx.skins.halo.ButtonSkin;
var className = "ButtonSkin";
var backgroundColorName = "buttonColor";
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 97 MovieClip [__Packages.mx.controls.RadioButton] Frame 0
class mx.controls.RadioButton extends mx.controls.Button
{
var setToggle, __value, selected, releaseFocus, phase, dispatchEvent, _parent, __data, setState, __state, getFocusManager;
function RadioButton () {
super();
}
function init(Void) {
setToggle(__toggle);
__value = this;
super.init();
}
function size(Void) {
super.size();
}
function onRelease() {
if (selected) {
return(undefined);
}
releaseFocus();
phase = "up";
setSelected(true);
dispatchEvent({type:"click"});
_parent[__groupName].dispatchEvent({type:"click"});
}
function setData(val) {
__data = val;
}
function set data(val) {
__data = val;
//return(data);
}
function getData(val) {
return(__data);
}
function get data() {
return(__data);
}
function onUnload() {
if (_parent[__groupName].selectedRadio == this) {
_parent[__groupName].selectedRadio = undefined;
}
_parent[__groupName].radioList[indexNumber] = null;
delete _parent[__groupName].radioList[indexNumber];
}
function setSelected(val) {
var _local2 = _parent[__groupName];
var _local4 = _local2.selectedRadio.__width;
var _local5 = _local2.selectedRadio.__height;
if (val) {
_local2.selectedRadio.setState(false);
_local2.selectedRadio = this;
} else if (_local2.selectedRadio == this) {
_local2.selectedRadio.setState(false);
_local2.selectedRadio = undefined;
}
setState(val);
}
function deleteGroupObj(groupName) {
delete _parent[groupName];
}
function getGroupName() {
return(__groupName);
}
function get groupName() {
return(__groupName);
}
function setGroupName(groupName) {
if ((groupName == undefined) || (groupName == "")) {
return(undefined);
}
delete _parent[__groupName].radioList[__data];
addToGroup(groupName);
__groupName = groupName;
}
function set groupName(groupName) {
setGroupName(groupName);
//return(this.groupName);
}
function addToGroup(groupName) {
if ((groupName == "") || (groupName == undefined)) {
return(undefined);
}
var _local2 = _parent[groupName];
if (_local2 == undefined) {
_local2 = (_parent[groupName] = new mx.controls.RadioButtonGroup());
_local2.__groupName = groupName;
}
_local2.addInstance(this);
if (__state) {
_local2.selectedRadio.setState(false);
_local2.selectedRadio = this;
}
}
function get emphasized() {
return(undefined);
}
function keyDown(e) {
switch (e.code) {
case 40 :
setNext();
break;
case 38 :
setPrev();
break;
case 37 :
setPrev();
break;
case 39 :
setNext();
}
}
function setNext() {
var _local2 = _parent[groupName];
if ((_local2.selectedRadio.indexNumber + 1) == _local2.radioList.length) {
return(undefined);
}
var _local5 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : -1);
var _local3 = 1;
while (_local3 < _local2.radioList.length) {
if (_local2.radioList[_local5 + _local3] != undefined) {
var _local4 = getFocusManager();
_local2.radioList[_local5 + _local3].selected = true;
_local4.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]);
_local2.dispatchEvent({type:"click"});
break;
}
_local3++;
}
}
function setPrev() {
var _local2 = _parent[groupName];
if (_local2.selectedRadio.indexNumber == 0) {
return(undefined);
}
var _local5 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : 1);
var _local3 = 1;
while (_local3 < _local2.radioList.length) {
if (_local2.radioList[_local5 - _local3] != undefined) {
var _local4 = getFocusManager();
_local2.radioList[_local5 - _local3].selected = true;
_local4.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]);
_local2.dispatchEvent({type:"click"});
break;
}
_local3++;
}
}
function set toggle(v) {
//return(toggle);
}
function get toggle() {
}
function set icon(v) {
//return(icon);
}
function get icon() {
}
static var symbolName = "RadioButton";
static var symbolOwner = mx.controls.RadioButton;
static var version = "2.0.0.360";
var className = "RadioButton";
var btnOffset = 0;
var __toggle = true;
var __label = "Radio Button";
var __labelPlacement = "right";
var ignoreClassStyleDeclaration = {Button:1};
var __groupName = "radioGroup";
var indexNumber = 0;
var offset = false;
var falseUpSkin = "";
var falseDownSkin = "";
var falseOverSkin = "";
var falseDisabledSkin = "";
var trueUpSkin = "";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "";
var falseUpIcon = "RadioFalseUp";
var falseDownIcon = "RadioFalseDown";
var falseOverIcon = "RadioFalseOver";
var falseDisabledIcon = "RadioFalseDisabled";
var trueUpIcon = "RadioTrueUp";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "RadioTrueDisabled";
var centerContent = false;
var borderW = 0;
var clipParameters = {labelPlacement:1, data:1, label:1, groupName:1, selected:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters);
}
Symbol 114 MovieClip [__Packages.mx.controls.RadioButtonGroup] Frame 0
class mx.controls.RadioButtonGroup
{
var radioList, __groupName, selectedRadio;
function RadioButtonGroup () {
init();
mx.events.UIEventDispatcher.initialize(this);
}
function init(Void) {
radioList = new Array();
}
function setGroupName(groupName) {
if ((groupName == undefined) || (groupName == "")) {
return(undefined);
}
var _local6 = __groupName;
_parent[groupName] = this;
for (var _local5 in radioList) {
radioList[_local5].groupName = groupName;
var _local3 = radioList[_local5];
}
_local3.deleteGroupObj(_local6);
}
function getGroupName() {
return(__groupName);
}
function addInstance(instance) {
instance.indexNumber = indexNumber++;
radioList.push(instance);
}
function getValue() {
if (selectedRadio.data == "") {
return(selectedRadio.label);
}
return(selectedRadio.__data);
}
function getLabelPlacement() {
for (var _local3 in radioList) {
var _local2 = radioList[_local3].getLabelPlacement();
}
return(_local2);
}
function setLabelPlacement(pos) {
for (var _local3 in radioList) {
radioList[_local3].setLabelPlacement(pos);
}
}
function setEnabled(val) {
for (var _local3 in radioList) {
radioList[_local3].enabled = val;
}
}
function setSize(val, val1) {
for (var _local3 in radioList) {
radioList[_local3].setSize(val, val1);
}
}
function getEnabled() {
for (var _local4 in radioList) {
var _local2 = radioList[_local4].enabled;
var _local3 = t + (_local2 + 0);
}
if (_local3 == radioList.length) {
return(true);
}
if (_local3 == 0) {
return(false);
}
}
function setStyle(name, val) {
for (var _local4 in radioList) {
radioList[_local4].setStyle(name, val);
}
}
function setInstance(val) {
for (var _local3 in radioList) {
if (radioList[_local3] == val) {
radioList[_local3].selected = true;
}
}
}
function getInstance() {
return(selectedRadio);
}
function setValue(val) {
for (var _local4 in radioList) {
if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) {
var _local2 = _local4;
break;
}
}
if (_local2 != undefined) {
selectedRadio.setState(false);
selectedRadio.hitArea_mc._height = selectedRadio.__height;
selectedRadio.hitArea_mc._width = selectedRadio.__width;
selectedRadio = radioList[_local2];
selectedRadio.setState(true);
selectedRadio.hitArea_mc._height = (selectedRadio.hitArea_mc._width = 0);
}
}
function set groupName(groupName) {
if ((groupName == undefined) || (groupName == "")) {
return;
}
var _local6 = __groupName;
_parent[groupName] = this;
for (var _local5 in radioList) {
radioList[_local5].groupName = groupName;
var _local3 = radioList[_local5];
}
_local3.deleteGroupObj(_local6);
//return(this.groupName);
}
function get groupName() {
return(__groupName);
}
function set selectedData(val) {
for (var _local4 in radioList) {
if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) {
var _local2 = _local4;
break;
}
}
if (_local2 != undefined) {
selectedRadio.setState(false);
selectedRadio = radioList[_local2];
selectedRadio.setState(true);
}
//return(selectedData);
}
function get selectedData() {
if ((selectedRadio.data == "") || (selectedRadio.data == undefined)) {
return(selectedRadio.label);
}
return(selectedRadio.__data);
}
function get selection() {
return(selectedRadio);
}
function set selection(val) {
for (var _local3 in radioList) {
if (radioList[_local3] == val) {
radioList[_local3].selected = true;
}
}
//return(selection);
}
function set labelPlacement(pos) {
for (var _local3 in radioList) {
radioList[_local3].setLabelPlacement(pos);
}
//return(labelPlacement);
}
function get labelPlacement() {
for (var _local3 in radioList) {
var _local2 = radioList[_local3].getLabelPlacement();
}
return(_local2);
}
function set enabled(val) {
for (var _local3 in radioList) {
radioList[_local3].enabled = val;
}
//return(enabled);
}
function get enabled() {
var _local2 = 0;
for (var _local3 in radioList) {
_local2 = _local2 + radioList[_local3].enabled;
}
if (_local2 == 0) {
return(false);
}
if (_local2 == radioList.length) {
return(true);
}
}
static var symbolName = "RadioButtonGroup";
static var symbolOwner = mx.controls.RadioButtonGroup;
static var version = "2.0.0.360";
var className = "RadioButtonGroup";
var indexNumber = 0;
}