function sf4_freq(appid){
var text = "<form>";
text += '<select onChange="setviboptions(this.value,'+appid+')" id="vib_select_'+appid+'" size="4" >';
text += ' <option value="offvib" selected>No vibrations selected</option>';
text += ' <option value=1 >N1 A1 187.731</option>';
text += ' <option value=2 >N2 B2 331.265</option>';
text += ' <option value=3 >N3 A2 436.197</option>';
text += ' <option value=4 >N4 A1 487.120</option>';
text += ' <option value=5 >N5 B1 496.203</option>';
text += ' <option value=6 >N6 A1 584.380</option>';
text += ' <option value=7 >N7 B1 807.356</option>';
text += ' <option value=8 >N8 B2 851.853</option>';
text += ' <option value=9 >N9 A1 866.940</option>';
text += '</select></form>';
document.write(text);
var text = '<form><input type="button" value="View IR Spectrum" id="vibspec_button_'+appid+'" onClick="openirspectrum('+appid+',\'';
text += '187.7307&';
text += '331.2649&';
text += '436.1972&';
text += '487.1204&';
text += '496.2027&';
text += '584.3798&';
text += '807.3556&';
text += '851.8534&';
text += '866.9401';
text += '\',\'';
text += '0.5034&';
text += '9.8471&';
text += '0.0&';
text += '20.5472&';
text += '2.0&';
text += '2.6662&';
text += '508.457&';
text += '149.8763&';
text += '100.6653';
text += '\')">';
text += "</form>";
document.write(text);
}
