/*
* Global Functions
* By Layered Pixels
* Created Date: August 2, 2010
* Version: 1.0
*/

var j = jQuery.noConflict();

// Drop-down navigation function
function initNav() {
j('ul.nav ul.children').hide();
j('ul.nav li').hoverIntent(
function() {
j(this).find('ul.children').show();
},
function() {
j(this).find('ul.children').hide();
})
}

// Buttons function
function initButtons() {
j('ul.list li div.hover').hide();
j('ul.list li').hover(
function() {
j(this).find('div.hover').fadeIn("fast");
},
function() {
j(this).find('div.hover').fadeOut();
}
);
}

j(document).ready(function() {

// Initiation of the initNav function
initNav();
initButtons();

})
