To make two divs match to equal, detecting which one is high in height and assining it to the one which is shorter.
Just call equal.js use this code to apply
equalHeight(".divA",20,".divB",0);
equalHeight( First div class, offset value, Second Div Class, offsetvalue);