/**
 * ixdesign Javascript
 *
 * @author: Stuart Forster
 *
 */

/* console.log */
if(typeof console=="undefined"){console={};};
if(typeof console.log=="undefined"){console.log=function(){};};

/* Wrap up */
(function($) {

    /* Create container */
    var ix = {};
    
    
    /**
     * Init
     *
     */
    ix.init = function() {
        console.log("ix.init has run.");
        
        /* Menu hover fades */
        $('#menu a').hover(function() {
            $(this).stop().animate({
                opacity: 1
            }, 300);
        }, function() {
             $(this).stop().animate({
                opacity: 0.5
            }, 250);
        });
        
        /* Overlay */
        $('#menu a[rel]').overlay({
            effect: 'apple',
            top: 210
        });
    }
    
    
    
    
    
    /* Dom Ready */
    $(function() { ix.init(); });

})(jQuery);
