/*
==================================================================================
ASI NAV BAR JS
(c) AdvertisingSolutions, Inc.
http://advertisingsolutions.net
Version 1.5
==================================================================================
This file defines the ASI NAV BAR
==================================================================================
COPYRIGHT / USAGE RIGHTS NOTICE:
This code is part of package of core files programmed,
owned and property of Advertising Solutions, Inc.
Duplication / Modification strickly forbidden.

Attention Webdeveloper: It is a violation of copyright law to use this
file without explicit written permission from Advertising Solutions, Inc.
This entire notice and copyright must remain intact on all copies.
==================================================================================
*/

$(function() {
	
// MAIN NAVBAR FUNCTIONS DROP DOWN
// (If the theme requires more navbars, copy this code

	$("#nav_header-main ul.menu li").hover(function() {
		// First must be used here to make sure multi-level drop downs will display right
		$(this).find('ul.sub-menu:first')
			.stop(true, true).delay(80).animate({
				height: 'show',
				opacity: 'show'
			}, 250 );
			
	}, function(){
		$(this).find('ul.sub-menu')
			.stop(true, true).delay(80).animate({
				height: 'hide',
				opacity: 'hide'
			}, 250 );
	});
	
// MAIN NAVBAR HOVER FUNCTION
// (If the theme requires more navbars, copy this code
	
	$("#nav_header-main ul.sub-menu li a").hover(function() {
		// First must be used here to make sure multi-level drop downs will display right
		$(this).animate({
			paddingLeft: '+=0px'
		}, 150 );
			
	}, function(){
		$(this).animate({
			paddingLeft: '-=0px'
			}, 150 );
	});



	
}); // END MASTER FUNCTION
