﻿animatedcollapse.addDiv('moremenu', 'fade=1,height=70px');
animatedcollapse.addDiv('EmailFriend', 'fade=1,height=180px');
animatedcollapse.addDiv('SMSText', 'fade=1,height=130px');
animatedcollapse.ontoggle = function($, divobj, state) {
    //fires each time a DIV is expanded/contracted
    //$: Access to jQuery
    //divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
    //state: "block" or "none", depending on state
}
animatedcollapse.init();