" +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
""
);
return;
}
MoleculePath = "Structures/MM"+molec+".pdb";
if (molec==5) {
scrpt= 'connect (atomno=2) (atomno=3) DOUBLE; connect (atomno=4) (atomno=5) DOUBLE; connect (atomno=6) (atomno=8) DOUBLE; '
}
if (molec==6) {
scrpt= 'connect (atomno=2) (atomno=3) DOUBLE; connect (atomno=7) (atomno=8) DOUBLE; '
}
if ((molec==9)||(molec==11)||(molec==12)||(molec==15)) {
scrpt= 'set echo bottom center; color echo blue; font echo 18 serif; echo Show all groups at stereogenic centers; '
}
if (molec==13) {
scrpt= 'set echo bottom center; color echo blue; font echo 18 serif; echo Show all groups at stereogenic centers; connect (atomno=1) (atomno=2) DOUBLE; '
}
if (molec==14) {
scrpt= 'connect (atomno=2) (atomno=3) DOUBLE; connect (atomno=4) (atomno=5) DOUBLE; connect (atomno=6) (atomno=7) DOUBLE; '
}
strScript = 'load ' + MoleculePath + '; set echo off; set frank off; spin off; wireframe 0.15; '+ scrpt +' select all; cpk 0.5; select hydrogen; color atoms cyan; select carbon; color atoms [140,140,140]; select chlorine; color atoms lime; select bromine; color atoms orange; 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 1; set echo top center; color echo maroon; echo Problem '+molec+'';
LoadApplet();
}
function submitSmiles() {
var smiles = document.JME.smiles();
document.form.smiles.value = smiles;
if (smiles == "") {
alert("Nothing to process!\rYou must draw a structural formula"); return;
}
anscnt=anscnt+1;
if (smiles == i) {
document.getElementById("txtarea").innerHTML= (rgt);
anscnt=2;
}else{
if ((molec==13)&&(smiles== "[H][C@@]1(C)CC(=O)C[C@]1([H])C")) {
document.getElementById("txtarea").innerHTML= (rgt);
}else{
document.getElementById("txtarea").innerHTML= (wrg);
}
}
}
function getJmeFile() {
var jme = document.JME.jmeFile();
document.form.jme_output.value = jme;
}
function processJmeans() {
document.JME.readMolecule(document.form.jmeans_output.value);
}
function showans() {
if (anscnt>=2) {
document.JME.readMolecule(jmeans);
}else{
document.getElementById("txtarea").innerHTML= "You must try to answer this question twice
before viewing the correct structure.";
}
}
// End of hide script comment. -->
When you show a problem, a model of a compound will appear in the window on the left. Carbon atoms are gray, hydrogen is cyan, oxygen is red, nitrogen is blue, and other elements are labeled by their symbol. This model may be moved about by the mouse, and examined from different perspectives. You should then draw a structural formula for this compound in the drawing window on the right, and check your answer.
Problems 9, 11,12, 13 and 15 require use of the wedge drawing tool to indicate configuration, and also attachment of hydrogen (use the X button) to stereogenic centers. Do not use this tool or add hydrogen in other cases.