//UWI, Mona, JAMAICA
//R.J. Lancashire
//7th May 2005
//the following lines establish the data structures for the
//information needed in characterising the spectra
var IRexpl = new Array();
function IRTab(x,w,desc) {
  var n=IRexpl.length;
	IRexpl[n] = new Array();
	IRexpl[n].xpos=x;
	IRexpl[n].width=w;
	IRexpl[n].desc=desc;
}
var HNMRexpl=new Array()
function HNMRTab(x,w,desc){
 var n=HNMRexpl.length;
 HNMRexpl[n]=new Array();
 HNMRexpl[n].xpos=x;
 HNMRexpl[n].width=w;
 HNMRexpl[n].desc=desc;
}
var CNMRexpl=new Array();
function CNMRTab(x,w,desc){
 var n=CNMRexpl.length;
 CNMRexpl[n]=new Array();
 CNMRexpl[n].xpos=x;
 CNMRexpl[n].width=w;
 CNMRexpl[n].desc=desc;
}
//this lines above here should not be removed.
//feel free to edit the following lines ...

IRTab(3625,100,'free O-H stretch');
IRTab(3350,150,'H bonded O-H /N-H');
IRTab(3300,200,'N-H stretch or C-H alkynes');
IRTab(3100,50,'C-H aromatic');
IRTab(3050,50,'C-H alkenes');
IRTab(2925,75,'C-H alkanes');
IRTab(2800,100,'C-H aldehydes');
IRTab(2250,10,'C-N nitriles');
IRTab(2175,75,'C-C alkynes');
IRTab(1810,20,'C=O anhydride or acid chloride');
IRTab(1760,20,'C=O anhydride');
IRTab(1740,10,'C=O ester');
IRTab(1730,10,'C=O aldehyde');
IRTab(1715,15,'C=O ketone or carboxylic acid');
IRTab(1665,25,'amide or C=N imine');
IRTab(1640,40,'C=C alkene or aromatic');
IRTab(1600,50,'N-H bend / C=C');
IRTab(1475,10,'C=C aromatic');
IRTab(1465,10,'C-H bend -CH2-');
IRTab(1450,10,'C-H bend -CH3');
IRTab(1375,10,'C-H bend -CH3');
IRTab(1200,200,'C-N amines or C-O alcohol');
IRTab(820,170,'C-H out-of-plane');

HNMRTab(0.9,0.1,'alkyl R-CH3');
HNMRTab(1.3,0.1,'alkyl RCH2CH3');
HNMRTab(1.55,0.15,'alkyl R3CH');
HNMRTab(2.35,0.15,'benzylic Ar CH3');
HNMRTab(2.8,0.3,'acetylinc RCC-H');
HNMRTab(3.3,0.1,'alcohol');
HNMRTab(3.8,0.5,'ether / alkyl halide');
HNMRTab(4.8,0.2,'vinylic R2C=CH2');
HNMRTab(5.4,0.2,'vinylic R2C=CRH');
HNMRTab(7.5,0.5,'aromatic/heterocyclic');
HNMRTab(9.55,0.1,'aldehyde');

CNMRTab(20,25,'R3COR alcohol or ether');
CNMRTab(70,20,'alkyl R-CH3');
CNMRTab(135,30,'alkene / benzylic C/nitrile');
CNMRTab(175,10,'amide / acids / esters');
CNMRTab(200,15,'aldehydes ketones');

//you should not need to edit the html files.



