/*
* To set dynamic height to the Atlas images
*
* @author Mahalakshmi Sridharan
*
 */

YAHOO.namespace("SW.local.PromoAreaHeight");

(function() {
    var yuiDom = YAHOO.util.Dom;
    var yuiEvent = YAHOO.util.Event;

    
    var height = null;
    var top = null;
    SW.local.PromoAreaHeight = {
        init: function() { 
    	height = document.getElementById("column1Content").offsetHeight; 
        document.getElementById("promo_0").style.height = height + "px";
        document.getElementById("promo_1").style.height = height + "px";
        document.getElementById("promo_2").style.height = height + "px";
        
        }
    };

    yuiEvent.onDOMReady(function() {
        SW.local.PromoAreaHeight.init();
    });

})();
