" + " " + " " + " " + " " + " " + " " + " " + " " + " " + "" ); return; } document.getElementById("txtarea").innerHTML= (intro); MoleculePath = "Structures/MM"+molec+".pdb"; if (molec==1) { scrpt= 'set echo off; select atomno=3; label A; font label 20; color label black; select atomno=4; label B; font label 20; color label black; select all; set labeloffset 0 0;' } if (molec==2) { scrpt= 'set echo off; select atomno=6; label A; font label 20; color label black; select atomno=7; label B; font label 20; color label black; connect (atomno=8) (atomno=9) DOUBLE; select all; set labeloffset 0 0; move 0 -60 0 0 0 0 0 0 0.2;' } if (molec==3) { scrpt= 'set echo off; select atomno=9; label A; font label 20; color label black; select atomno=10; label B; font label 20; color label black; connect (atomno=3) (atomno=4) DOUBLE; connect (atomno=6) (atomno=7) DOUBLE; select all; set labeloffset 0 0; move 120 90 0 0 0 0 0 0 0.2;' } if (molec==4) { scrpt= 'set echo off; select atomno=2; label A; font label 20; color label black; select atomno=3; label B; font label 20; color label black; connect (atomno=2) (atomno=3) DOUBLE; select all; set labeloffset 0 0; move 100 30 0 0 0 0 0 0 0.2; set echo bottom left; color echo maroon; echo Select Facial Topicity;' } if (molec==5) { scrpt= 'set echo off; select atomno=9; label A; font label 20; color label black; select atomno=10; label B; font label 20; color label black; select all; set labeloffset 0 0; move 30 30 0 0 0 0 0 0 0.2; ' } if (molec==6) { scrpt= 'set echo off; select atomno=1; label A; font label 20; color label black; select atomno=3; label B; font label 20; color label black; select all; set labeloffset 0 0; move 25 -80 0 0 0 0 0 0 0.2; ' } if (molec==7) { scrpt='set echo off; select atomno=2; label A; font label 20; color label black; select atomno=3; label B; font label 20; color label black; connect (atomno=2) (atomno=3) DOUBLE; connect (atomno=4) (atomno=5) DOUBLE; select all; set labeloffset 0 0; move 100 30 0 0 0 0 0 0 0.2; set echo bottom left; color echo maroon; echo Select Facial Topicity;' } if (molec==8) { scrpt='set echo off; select atomno=1; label A; font label 20; color label black; select atomno=3; label B; font label 20; color label black; select all; set labeloffset 0 0; move 30 0 0 0 0 0 0 0 0.2; ' } if (molec==9) { scrpt='set echo off; select atomno=7; label A; font label 20; color label black; select atomno=8; label B; font label 20; color label black; select all; set labeloffset 0 0; move 30 60 0 0 0 0 0 0 0.2; ' } if (molec==10) { scrpt='set echo off; select atomno=7; label A; font label 20; color label black; select atomno=11; label B; font label 20; color label black; select all; set labeloffset 0 0; move 220 60 0 0 0 0 0 0 0.2; ' } if (molec==11) { scrpt='set echo off; select atomno=7; label A; font label 20; color label black; select atomno=10; label B; font label 20; color label black; select all; set labeloffset 0 0; move 220 60 0 0 0 0 0 0 0.2; ' } if (molec==12) { scrpt='set echo off; select atomno=4; label A; font label 20; color label black; select atomno=5; label B; font label 20; color label black; connect (atomno=2) (atomno=3) DOUBLE; select all; set labeloffset 0 0; move 70 0 0 0 0 0 0 0 0.2; ' } if (molec==13) { scrpt='set echo off; select atomno=2; label A; font label 20; color label black; select atomno=3; label B; font label 20; color label black; connect (atomno=2) (atomno=3) DOUBLE; select all; set labeloffset 0 0; move 70 0 0 0 0 0 0 0 0.2; set echo bottom left; color echo maroon; echo Select Facial Topicity;' } if (molec==14) { scrpt='set echo off; select atomno=4; label A; font label 20; color label black; select atomno=5; label B; font label 20; color label black; connect (atomno=2) (atomno=3) DOUBLE; select all; set labeloffset 0 0; move 0 90 0 0 0 0 0 0 0.2; set echo bottom left; color echo maroon; echo A & B are Fluorine Atoms;' } if (molec==15) { scrpt='set echo off; select atomno=10; label A; font label 20; color label black; select atomno=15; label B; font label 20; color label black; select all; set labeloffset 0 0; move 0 -90 0 0 0 0 0 0 0.2; ' } strScript = 'load ' + MoleculePath + '; spin off; connect; wireframe 0.15; select all; cpk 0.5; select hydrogen; color atoms cyan; select carbon; color atoms [140,140,140]; select chlorine; color atoms mediumseagreen; select all; '+ scrpt +' set echo top center; color echo maroon; echo Example '+molec+''; LoadApplet(); } 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==2)) { 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==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==4) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==5)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==5) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==6)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==6) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==7)&&(k==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==7) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==8)&&(k==1)) { 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==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==10) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==11)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==11) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==12)&&(k==3)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==12) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==13)&&(k==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==13) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==14)&&(k==1)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==14) { document.getElementById("txtarea").innerHTML= (wrg); } if ((molec==15)&&(k==2)) { document.getElementById("txtarea").innerHTML= (rgt); }else{ if (molec==15) { document.getElementById("txtarea").innerHTML= (wrg); }} }} }} }} }} }} }} }} } function disp(spec) { document.images[0].src=spec+".gif" } function relod() { document.images[17].src="Images/neonattr.gif"; } // -->