var Formula1 = "";
var Formula2 = "<table border=0 width=100% > <tr> <td width=28% height=25> <p style=line-height: 150%><font size=3><b>Molecular Formula:</b></font></td> <td width=72% height=25> <p style=line-height: 150%><font size=3 color=#0000FF>";
var Formula3 = "<tr> <td width=28% height=25> <p style=line-height: 150%><font size=3><b>Molecular Weight:</b></font></td> <td width=72% height=25> <p style=line-height: 150%><font size=3 color=#0000FF>";
var Formula4 = "</font></td> </tr>";
var Formula5 = "<tr> <td width=28% height=25> <p style=line-height: 150%><font size=3><b>Exact Mass:</b></font></td> <td width=72% height=25> <p style=line-height: 150%><font size=3 color=#0000FF>";
var Formula6 = "</font></td> </tr></table>";
var Formula7 = "";
var right_declaim = "";
var msg1 = "Please type molecular formula, note case sensitive!";
var msg2 = "There is a lack of \"(\" or \")\" in the molecular Formula!";
var msg3 = "There is no \"H\" in the molecular formula! It can not minus \"H2O\" from molecular formula!";
var msg4 = "There is no \"O\" in the molecular formula! It can not minus \"H2O\" from molecular formula!";
var msg5 = "There are too many \"-\" in the molecular formula!";
var msg6 = "Isotope symbol \"";
var msg7 = "\" is not correct, please note case sensitive!";
var msg8 = "There is no such element \"";
var msg9 = "\" in the Chemical Period Table, please note case sensitive!";
var msg10 = "Up-down offset value must be a number!";
var msg11 = "There is a lack of \"[\" or \"]\" in the molecular Formula!";
var msg12 = "Left-right offset value must be a number!";
var msg13 = "Mass value must be a number!";
var msg14 = "Do you really want to delete all elements in the list? The abundance of all elements will be set to the natural abundance.";
var msg15 = "Do you really want to delete this element from the list? The abundance of this element will be set to the natural abundance.";
var msg16 = "There is no any element which abundace you have modified! The abundance of all elements will be set to the natural abundance.";
var msg17="Customized the abundance of isotopes will be used!";
var msg18="This is not a valid number!";
var msg19="This number must be between 0 and 100!";
var msg20="You do not modify any value!";
var msg21="You have modified the natural abundance of \"";
var msg22="\". Would you like to use the modified value?";

var windowName = "calculation.htm";