﻿window.addEvent("domready", function() {
    // Left Col Hook Managment
    aryLeftCol = $$("#col-left .hooks").combine($$("#col-left .hanger-left-col"))
    aryLeftCol.each(function(el, index) {
        if (index == 0) {
            el.removeClass('hanger-left-col');
            el.addClass('hooks');
        } else {
            el.removeClass('hooks');
            el.addClass('hanger-left-col');
        }
    });

    // Right Col Hook Managment
    aryRightCol = $$("#col-right .hooks").combine($$("#col-right .hanger-right-col"))
    aryRightCol.each(function(el, index) {
        if (index == 0) {
            el.removeClass('hanger-right-col');
            el.addClass('hooks');
        } else {
            el.removeClass('hooks');
            el.addClass('hanger-right-col');
        }
    });
});
