" + " " + " " + " " + " " + " " + " " + " " + " " + " " + "" ); return; } document.getElementById("txtarea").innerHTML= (intro); MoleculePath = "Structures/M"+molec+".pdb"; strScript = 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select Chlorine; color atoms mediumseagreen; select Bromine, Chlorine, Fluorine, Sulfur; label %e; color label black; set labeloffset 0 0; select all; move 100 90 0 0 0 0 0 0 2; echo on; set echo top center; color echo maroon; echo Example '+molec+''; LoadApplet(); } function changeDisp() { function LoadApplet2(){ //alert(Scriptx); document.getElementById("fixapplt").innerHTML= ( "" ); return; } MoleculePath = "Structures/M"+molec+".pdb"; if (molec==1) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=2; color atoms lawngreen; select atomno=6; label 1; font label 20; color label yellow; select atomno=3; label 2; font label 20; color label yellow; select atomno=1; label 3; font label 20; color label yellow; select atomno=9; label 4; font label 20; color label yellow; select all; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==2) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=4; color atoms lawngreen; select atomno=11; label 1; font label 20; color label yellow; select atomno=1; label 2; font label 20; color label yellow; select atomno=5; label 3; font label 20; color label yellow; select atomno=7; label 4; font label 20; color label yellow; select all; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==3) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=11; color atoms lawngreen; select atomno=2; label 1; font label 20; color label yellow; select atomno=8; label 2; font label 20; color label yellow; select atomno=13; label 3; font label 20; color label yellow; select atomno=12; label 4; font label 20; color label yellow; select all; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==4) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select (atomno=2, atomno=5, atomno=7, atomno=8, atomno=13, atomno=21, atomno=22, atomno=26); color atoms black; select all; move 100 90 0 0 0 0 0 0 2; echo on; set echo top center; color echo black; echo Example '+molec+'; set echo bottom left; font echo 14; color echo black; echo The Black Chains are Identical'; } if (molec==5) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=15; color atoms lawngreen; select atomno=12; label 1; font label 20; color label yellow; select atomno=14; label 2; font label 20; color label yellow; select atomno=16; label 3; font label 20; color label yellow; select atomno=25; label 4; font label 20; color label yellow; select all; zoom 120; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==6) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=1; color atoms lawngreen; select atomno=9; label 1; font label 20; color label yellow; select atomno=2; label 2; font label 20; color label yellow; select atomno=5; label 3; font label 20; color label yellow; select atomno=10; label 4; font label 20; color label yellow; select all; zoom 120; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==7) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select (atomno=2, atomno=3, atomno=4, atomno=6); color atoms black; select all; echo on; set echo top center; color echo black; echo Example '+molec+'; set echo bottom left; font echo 14; color echo black; echo The Black Segments are Identical'; } if (molec==8) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=2; color atoms lawngreen; select atomno=7; color atoms mediumseagreen; label 1; font label 20; color label yellow; select atomno=3; label 2; font label 20; color label yellow; select atomno=1; label 3; font label 20; color label yellow; select atomno=11; label 4; font label 20; color label yellow; select all; zoom 120; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==9) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=6; color atoms lawngreen; select atomno=18; label 1; font label 20; color label yellow; select atomno=5; label 2; font label 20; color label yellow; select atomno=7; label 3; font label 20; color label yellow; select atomno=12; label 4; font label 20; color label yellow; select all; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==10) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=26; color atoms mediumseagreen; select (atomno=5, atomno=3, atomno=12, atomno=15); color atoms black; select all; echo on; set echo top center; color echo black; echo Example '+molec+'; set echo bottom left; font echo 14; color echo black; echo The Black Segments are Identical'; } if (molec==11) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=7; color atoms lawngreen; select atomno=8; label 1; font label 20; color label yellow; select atomno=14; label 2; font label 20; color label yellow; select atomno=6; label 3; font label 20; color label yellow; select atomno=22; label 4; font label 20; color label yellow; select all; zoom 120; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } if (molec==12) { Scriptx= 'load ' + MoleculePath + '; spin off; wireframe 0.15; select all; cpk 0.5; select Hydrogen; color atoms cyan; select atomno=6; color atoms lawngreen; select atomno=5; label 1; font label 20; color label yellow; select atomno=11; label 2; font label 20; color label yellow; select atomno=7; label 3; font label 20; color label yellow; select atomno=10; label 4; font label 20; color label yellow; select all; set labeloffset 0 0; echo on; set echo top center; color echo maroon; echo Example '+molec+'; set echo bottom left; font echo 14; color echo maroon; echo CIP Sequence Order = Yellow Numbers'; } LoadApplet2(); } var k=""; function radio2(form) { if (k!=0){ k=0 } if (form.cnfg[0].checked) { k=1; } if (form.cnfg[1].checked) { k=2; } if (form.cnfg[2].checked) { k=3; } } function chkans(show) { if ((molec==1)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==1) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==2)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==2) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==3)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==3) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==4)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgta); }else{ if (molec==4) { document.getElementById("txtarea").innerHTML= (wrga); } if ((molec==5)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==5) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==6)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==6) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==7)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgta); }else{ if (molec==7) { document.getElementById("txtarea").innerHTML= (wrga); } if ((molec==8)&&(k==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==8) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==9)&&(k==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==9) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==10)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgta); }else{ if (molec==10) { document.getElementById("txtarea").innerHTML= (wrga); } if ((molec==11)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==11) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==12)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==12) { document.getElementById("txtarea").innerHTML= (wrg); } } } } } } } } } } } } } } var k=1; function chng1() { k=k+1 document.images[14].src="Images/biphen"+k+".gif" if (k>=2) { k=0 } } var i=1; function chng2() { i=i+1 document.images[15].src="Images/biphenl"+i+".gif" if (i>=3) { i=0 } } var m=1; function chng3() { m=m+1 document.images.config.src="Images/RSnote"+m+".gif" if (m>=2) { m=0 } } // -->