/* 
 * Utero 2011 - build 1.0
 * Javascript to handle sounds
 * jackingprod 2011
 */

$(document).ready(function() {
    // hides the box as soon as the DOM is ready
    $('#chateroom-box').hide();
    $('#office-box').hide();
    $('#featured-box').hide();
    
    // ChatRoom
    // hides the box on clicking the noted link  
    $('#chatroom-hide').click(function() {
        $('#chatroom-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#chatroom-toggle').click(function() {
        $('#chatroom-box').toggle(400);
        return false;
    });
    
    // Office
    // hides the box on clicking the noted link  
    $('#office-hide').click(function() {
        $('#office-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#office-toggle').click(function() {
        $('#office-box').toggle(400);
        return false;
    });
    
    // Featured
    // hides the box on clicking the noted link  
    $('#featured-hide').click(function() {
        $('#featured-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#featured-toggle').click(function() {
        $('#featured-box').toggle(400);
        return false;
    });
    // **
    
    // Machine
    // hides the box on clicking the noted link  
    $('#machine-hide').click(function() {
        $('#machine-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#machine-toggle').click(function() {
        $('#machine-box').toggle(400);
        return false;
    });
    
    // Archive
    // hides the box on clicking the noted link  
    $('#archive-hide').click(function() {
        $('#archive-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#archive-toggle').click(function() {
        $('#archive-box').toggle(400);
        return false;
    });
    
    // Blog
    // hides the box on clicking the noted link  
    $('#blog-hide').click(function() {
        $('#blog-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#blog-toggle').click(function() {
        $('#blog-box').toggle(400);
        return false;
    });
    
    // Library
    // hides the box on clicking the noted link  
    $('#library-hide').click(function() {
        $('#library-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#library-toggle').click(function() {
        $('#library-box').toggle(400);
        return false;
    });
    
    // Support
    // hides the box on clicking the noted link  
    $('#support-hide').click(function() {
        $('#support-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#support-toggle').click(function() {
        $('#support-box').toggle(400);
        return false;
    });
    
    // Contacts
    // hides the box on clicking the noted link  
    $('#contacts-hide').click(function() {
        $('#contacts-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#contacts-toggle').click(function() {
        $('#contacts-box').toggle(400);
        return false;
    });
    
    // Links
    // hides the box on clicking the noted link  
    $('#links-hide').click(function() {
        $('#links-box').hide('fast');
        return false;
    });
     
    // toggles the box on clicking the noted link  
    $('#links-toggle').click(function() {
        $('#links-box').toggle(400);
        return false;
    });
});


