
var allModelsSpt = "select all;" + clearSpt +
"models all;\
backbone;\
color backbone group;";

var trnasOffSpt = "select :b and model=2;\
spacefill off; cartoon off;\
select :c and model=2;\
spacefill off;cartoon off;\
select :d and model=2;cartoon off;\
spacefill off;";

var trnasSpt = "select :b and nucleic and model=2;\
spacefill on;color pink; color cartoon pink;\
select :c and nucleic;\
spacefill on; color purple;color cartoon purple;\
select :d and nucleic;\
spacefill on; color cyan; color cartoon cyan;";

var mrnaOffSpt = "select :1 and nucleic;\
wireframe off;trace off;cartoon off;\
spacefill off;backbone off";

var mrnaSpt = "select :1 and nucleic;\
color yellow; wireframe 0.9;\
trace 3.0; cartoon off;\
select 16-21:1; backbone off; spacefill 0.95; backbone 2.0;";


var proteinsOffSpt = "select protein; wireframe off;trace off;cartoon off;backbone off;";

var proteinsSpt = "select protein;\
cartoon;\
select protein and not helix;\
cartoon off;\
trace 0.7;";

var bothSubunitsSpt = "select protein,nucleic;\
cartoon;\
select protein and not helix;\
cartoon off;\
trace 0.7;\
select protein;\
color cartoon [Xa52a2a];\
color [Xa52a2a];\
select protein and model=2; color cartoon [x6060EE]; color [x6060EE];\
select nucleic; cartoon 1.0; color cartoon [xBBBBBB];\
select :b and model=1; color cartoon [x888888];\
select :a and model=2; color cartoon white;\
select :b and nucleic and model=2; spacefill on;color pink; color cartoon pink;\
select :c and nucleic; spacefill on; color purple; color cartoon purple;\
select :d and nucleic; spacefill on; color cyan; color cartoon cyan;\
select :1 and nucleic; color yellow; wireframe 0.9;\
trace 3.0; cartoon off;\
select 16-21:1; backbone off; spacefill 0.95; backbone 2.0;\
models all;";

var smallSubunitSpt = "select protein,nucleic;\
cartoon;\
select protein and not helix;\
cartoon off;\
trace 0.7;\
select protein;\
color cartoon [Xa52a2a];\
color [Xa52a2a];\
select protein and model=2; color cartoon [x6060EE]; color [x6060EE];\
select nucleic; cartoon 1.0; color cartoon [xBBBBBB];\
select :b and model=1; color cartoon [x888888];\
select :a and model=2; color cartoon white;\
select :b and nucleic and model=2; spacefill on;color pink; color cartoon pink;\
select :c and nucleic; spacefill on; color purple; color cartoon purple;\
select :d and nucleic; spacefill on; color cyan; color cartoon cyan;\
select :1 and nucleic; color yellow;trace 3.0;\
backbone 2.0; select 16-21:1; backbone off;wireframe 0.9; spacefill 0.95;\
model 2;";

var largeSubunitSpt = "select protein,nucleic;\
cartoon;\
select protein and not helix;\
cartoon off;\
trace 0.7;\
select protein;\
color cartoon [Xa52a2a];\
color [Xa52a2a];\
select protein and model=2; color cartoon [x6060EE]; color [x6060EE];\
select nucleic; cartoon 1.0; color cartoon [xBBBBBB];\
select :b and model=1; color cartoon [x888888];\
select :a and model=2; color cartoon white;\
select :b and nucleic and model=2; spacefill on;color pink; color cartoon pink;\
select :c and nucleic; spacefill on; color purple; color cartoon purple;\
select :d and nucleic; spacefill on; color cyan; color cartoon cyan;\
select :1 and nucleic; color yellow;\
trace 3.0; cartoon off;\
select 16-21:1; backbone off;wireframe 0.9;spacefill 0.95;\
model 1;";

var trnalargeSubunitSpt = "select protein,nucleic;\
cartoon;\
select protein and not helix;\
cartoon off;\
trace 0.7;\
select protein;\
color cartoon [Xa52a2a];\
color [Xa52a2a];\
select protein and model=2; color cartoon [x6060EE]; color [x6060EE];\
select nucleic; cartoon 1.0; color cartoon [xBBBBBB];\
select :b and model=1; color cartoon [x888888];\
select :a and model=2; color cartoon white;\
select :b and nucleic and model=2; spacefill on;color pink; color cartoon pink;\
select :c and nucleic; spacefill on; color purple; color cartoon purple;\
select :d and nucleic; spacefill on; color cyan; color cartoon cyan;\
select :1 and nucleic; color yellow; wireframe 0.9; spacefill 0.95; backbone 2.0; select 16-21:1; backbone off;\
models all;select protein and model=2;cartoon off;backbone off;trace off;wireframe off;\
select :1 and nucleic; color yellow;\
trace 3.0; cartoon off;\
select 16-21:1; backbone off;wireframe 0.9;spacefill 0.95;\
select model=2 and :a;trace off;backbone off;cartoon off;";

// Small Subunit Modification Scripts
var highlight516Spt = "select model=2 and 516:a;spacefill 3.0;color red ;";
var unhighlight516Spt = "select model=2 and 516:a;spacefill off;color red ;";

var highlight527Spt = "select model=2 and 527:a;spacefill 3.0;color orange ;";
var unhighlight527Spt = "select model=2 and 527:a;spacefill off;color orange ;";

var highlight966Spt = "select model=2 and 966:a;spacefill 3.0;color orange ;";
var unhighlight966Spt = "select model=2 and 966:a;spacefill off;color orange ;";

var highlight967Spt = "select model=2 and 967:a;spacefill 3.0;color orange ;";
var unhighlight967Spt = "select model=2 and 967:a;spacefill off;color orange ;";

var highlight1207Spt = "select model=2 and 1207:a;spacefill 3.0;color orange ;";
var unhighlight1207Spt = "select model=2 and 1207:a;spacefill off;color orange ;";

var highlight1402Spt = "select model=2 and 1402:a;spacefill 3.0;color [X00FF00];";
var unhighlight1402Spt = "select model=2 and 1402:a;spacefill off;color [X00FF00];";

var highlight1407Spt = "select model=2 and 1407:a;spacefill 3.0;color orange ;";
var unhighlight1407Spt = "select model=2 and 1407:a;spacefill off;color orange ;";

var highlight1498Spt = "select model=2 and 1498:a;spacefill 3.0;color orange ;";
var unhighlight1498Spt = "select model=2 and 1498:a;spacefill off;color orange;";

var highlight1516Spt = "select model=2 and 1516:a;spacefill 3.0;color orange ;";
var unhighlight1516Spt = "select model=2 and 1516:a;spacefill off;color orange;";

var highlight1518Spt = "select model=2 and 1518:a;spacefill 3.0;color orange ;";
var unhighlight1518Spt = "select model=2 and 1518:a;spacefill off;color orange;";

var highlight1519Spt = "select model=2 and 1519:a;spacefill 3.0;color orange ;";
var unhighlight1519Spt = "select model=2 and 1519:a;spacefill off;color orange;";



// Large Subunit Modification Scripts
var highlight745Spt = "select model=1 and 745:a;spacefill 3.0;color orange;";
var unhighlight745Spt = "select model=1 and 745:a;spacefill off;color orange;";

var highlight746Spt = "select model=1 and 746:a;spacefill 3.0;color red;";
var unhighlight746Spt = "select model=1 and 746:a;spacefill off;color red;";

var highlight747Spt = "select model=1 and 747:a;spacefill 3.0;color orange;";
var unhighlight747Spt = "select model=1 and 747:a;spacefill off;color orange;";

var highlight955Spt = "select model=1 and 955:a;spacefill 3.0;color red;";
var unhighlight955Spt = "select model=1 and 955:a;spacefill off;color red;";

var highlight1618Spt = "select model=1 and 1618:a;spacefill 3.0;color orange;";
var unhighlight1618Spt = "select model=1 and 1618:a;spacefill off;color orange;";

var highlight1835Spt = "select model=1 and 1835:a;spacefill 3.0;color orange;";
var unhighlight1835Spt = "select model=1 and 1835:a;spacefill off;color orange;";

var highlight1911Spt = "select model=1 and 1911:a;spacefill 3.0;color red;";
var unhighlight1911Spt = "select model=1 and 1911:a;spacefill off;color red;";

var highlight1915Spt = "select model=1 and 1915:a;spacefill 3.0;color red;";
var unhighlight1915Spt = "select model=1 and 1915:a;spacefill off;color red;";

var highlight1917Spt = "select model=1 and 1917:a;spacefill 3.0;color red;";
var unhighlight1917Spt = "select model=1 and 1917:a;spacefill off;color red;";

var highlight1939Spt = "select model=1 and 1939:a;spacefill 3.0;color orange;";
var unhighlight1939Spt = "select model=1 and 1939:a;spacefill off;color orange;";

var highlight1962Spt = "select model=1 and 1962:a;spacefill 3.0;color orange;";
var unhighlight1962Spt = "select model=1 and 1962:a;spacefill off;color orange;";

var highlight2030Spt = "select model=1 and 2030:a;spacefill 3.0;color orange;";
var unhighlight2030Spt = "select model=1 and 2030:a;spacefill off;color orange;";

var highlight2069Spt = "select model=1 and 2069:a;spacefill 3.0;color orange;";
var unhighlight2069Spt = "select model=1 and 2069:a;spacefill off;color orange;";

var highlight2251Spt = "select model=1 and 2251:a;spacefill 3.0;color [X00FF00];";
var unhighlight2251Spt = "select model=1 and 2251:a;spacefill off;color [X00FF00];";

var highlight2445Spt = "select model=1 and 2445:a;spacefill 3.0;color orange;";
var unhighlight2445Spt = "select model=1 and 2445:a;spacefill off;color orange;";

var highlight2449Spt = "select model=1 and 2449:a;spacefill 3.0;color orange;";
var unhighlight2449Spt = "select model=1 and 2449:a;spacefill off;color orange;";

var highlight2457Spt = "select model=1 and 2457:a;spacefill 3.0;color red;";
var unhighlight2457Spt = "select model=1 and 2457:a;spacefill off;color red;";

var highlight2498Spt = "select model=1 and 2498:a;spacefill 3.0;color [X00FF00];";
var unhighlight2498Spt = "select model=1 and 2498:a;spacefill off;color [X00FF00];";

var highlight2503Spt = "select model=1 and 2503:a;spacefill 3.0;color orange;";
var unhighlight2503Spt = "select model=1 and 2503:a;spacefill off;color orange;";

var highlight2504Spt = "select model=1 and 2504:a;spacefill 3.0;color red;";
var unhighlight2504Spt = "select model=1 and 2504:a;spacefill off;color red;";

var highlight2552Spt = "select model=1 and 2552:a;spacefill 3.0;color [X00FF00];";
var unhighlight2552Spt = "select model=1 and 2552:a;spacefill off;color [X00FF00];";

var highlight2580Spt = "select model=1 and 2580:a;spacefill 3.0;color red;";
var unhighlight2580Spt = "select model=1 and 2580:a;spacefill off;color red;";

var highlight2604Spt = "select model=1 and 2604:a;spacefill 3.0;color red;";
var unhighlight2604Spt = "select model=1 and 2604:a;spacefill off;color red;";

var highlight2605Spt = "select model=1 and 2605:a;spacefill 3.0;color red;";
var unhighlight2605Spt = "select model=1 and 2605:a;spacefill off;color red;";


var highlightAllSSUSpt = highlight516Spt + highlight527Spt + highlight966Spt + highlight967Spt + highlight1207Spt + highlight1402Spt + highlight1407Spt + highlight1498Spt + highlight1516Spt + highlight1518Spt + highlight1519Spt;

var highlightAllLSUSpt = highlight745Spt + highlight746Spt + highlight747Spt + highlight955Spt + highlight1618Spt + highlight1835Spt + highlight1911Spt + highlight1915Spt + highlight1917Spt + highlight1939Spt + highlight1962Spt + highlight2030Spt + highlight2069Spt+ highlight2251Spt + highlight2445Spt + highlight2449Spt + highlight2457Spt + highlight2498Spt + highlight2503Spt + highlight2504Spt + highlight2552Spt + highlight2580Spt + highlight2604Spt + highlight2605Spt;

var highlightAllSpt = highlightAllSSUSpt + highlightAllLSUSpt;

var unhighlightAllSSUSpt = unhighlight516Spt + unhighlight527Spt + unhighlight966Spt + unhighlight967Spt + unhighlight1207Spt + unhighlight1402Spt + unhighlight1407Spt + unhighlight1498Spt + unhighlight1516Spt + unhighlight1518Spt + unhighlight1519Spt;

var unhighlightAllLSUSpt = unhighlight745Spt + unhighlight746Spt + unhighlight747Spt + unhighlight955Spt + unhighlight1618Spt + unhighlight1835Spt + unhighlight1911Spt + unhighlight1915Spt + unhighlight1917Spt + unhighlight1939Spt + unhighlight1962Spt + unhighlight2030Spt + unhighlight2069Spt+ unhighlight2251Spt + unhighlight2445Spt + unhighlight2449Spt + unhighlight2457Spt + unhighlight2498Spt + unhighlight2503Spt + unhighlight2504Spt + unhighlight2552Spt + unhighlight2580Spt + unhighlight2604Spt + unhighlight2605Spt;

var unhighlightAllSpt = unhighlightAllSSUSpt + unhighlightAllLSUSpt;


