function add_drug(a, b) { var class = new Array(); var x = document.getElementById(a); var a; a = a.substr(-1, 1); x = x.options[x.selectedIndex].text; var y = document.getElementById(b); class['anxiety'] = new Array('','Xanax','Buspar','Valium','Ativan'); class['constipation'] = new Array('Bisacodyl Suppositories','Colace','Increase Fiber in Diet','Increase Water in Diet','MOM','Psyllium','Miralax','Lactulose'); class['depression'] = new Array('','Elavil','Effexor','Prozac','Paxil','Zoloft','Celexa','Luvox'); class['dry_mouth'] = new Array('','Drinking Extra Fluids','Bipap','Hard Candy/Lozenges','Humidifier'); class['fasciculations'] = new Array('','Baclofen','Gabapentin','Quinine Sulfate','Lidoderm'); class['fatigue'] = new Array('','Rest ...