﻿var $j = jQuery.noConflict();

function IsjQueryEnabled() {
    jQueryExists = typeof jQuery != 'undefined';
    return jQueryExists;
}

if (IsjQueryEnabled()) {
    $j(document).ready(function(){
        $j('body#home div#boxes div.column div.menu').css({ opacity: 0.8 });
        $j('body#home div#boxes div.column').hover(
            function() { // over
                $j('div.menu', this).fadeTo('normal', 0.95);
            }, 
            function() { // out
                $j('div.menu', this).fadeTo('normal', 0.8);
            } 
        );
    });

    $j(document).ready(function () {
        $j("#toplinks a:contains('nglish')").addClass("english");
    });
    
    (function($j) {
        $j.fn.eqcol = function() {
            var mh = 0;
            $j('div', this).each(function() { if ($j(this).height() > mh) { mh = $j(this).height(); }; });
            $j('div', this).height(mh);
        }
    })(jQuery);
        
}
