<!--

// splash code for constantakisconsultinggroup.com
// written by mike stenta {www.mstenta.net}
// 2009-02-22 15:51

// set hover events for the menu links and images
// .a# = button elements (grid images and menu links)
function setup_hover(i) {
    $(".a"+i).hoverIntent({
        interval: 20,
        timeout: 100,
        over: function() {
            $("img.a"+i).animate({opacity:0.7});
            $("a.a"+i).css({backgroundColor: "#87725b", color: "#FFFFFF"});
        },
        out: function() {
            $("img.a"+i).animate({opacity:1.0});
            $("a.a"+i).css({backgroundColor: "#FFFFFF", color: "#CC0000"});
        }
    });
}

// activate interactivity when dom is ready
$(document).ready(function() {
    for (var i=1;i<=4;i++) setup_hover(i);
});

//-->