var $j = jQuery.noConflict();
	
$j(document).ready(function() {
	
	// ----- Blog Dropdowns
	
	//For IE
	if($j.browser.msie){
		
		$j('#blogDropDown').hide();
		
		$j('#nav1 .page-item-38').mouseover(function(){
			
			
			$j('#blogDropDown').show();
			$j('#blogDropDown').css( { "left": "735px", "top":"45px"} );
			clearTimeout(t);
			
		});
		
		$j('#nav1 .page-item-38').mouseleave(function(){
			t = setTimeout(function(){
				$j('#blogDropDown').hide();	
			}, 1000);
		});
		
		$j('#blogDropDown').mouseenter(function(){
			if($j(this).is(':hidden')){
				$j(this).stop().animate( { top:"-10000px"}, 100 );
			} else {
				clearTimeout(t);
				$j(this).show();
			}
		});
		
		$j('#blogDropDown').mouseleave(function(){
			$j('#blogDropDown').hide();							  
		});
		
	} else {
	
	//For Awesome
	
		$j('#blogDropDown').css('opacity',0);
		
		$j('#nav1 .page-item-38').mouseover(function(){
			
			
			$j('#blogDropDown').stop().animate({ opacity: 1 }, { queue:false, duration:500 } );
			$j('#blogDropDown').css( { "left": "735px", "top":"45px"} );
			clearTimeout(t);
			
		});
		
		$j('#nav1 .page-item-38').mouseleave(function(){
			t = setTimeout(function(){
				$j('#blogDropDown').stop().animate({ opacity: 0 }, { queue:false, duration:700 } );	
			}, 1000);
		});
		
		$j('#blogDropDown').mouseenter(function(){
			if($j('#blogDropDown').css("opacity") == "0"){
				clearTimeout(t);
				$j('#blogDropDown').stop().animate( { top:"-10000px"}, 100 );
			} else {
				clearTimeout(t);
				$j('#blogDropDown').stop().animate({ opacity: 1 }, { queue:false, duration:200 } );
			}
		});
		
		$j('#blogDropDown').mouseleave(function(){
			t = setTimeout(function(){
				$j('#blogDropDown').stop().animate({ opacity: 0 }, { queue:false, duration:500 } );		
			}, 700);
		});
	
	}
	
	$j('#nav1 .page-item-38 a').attr('class','blogs');
	
	$j('a.blogs').attr('href','#');
	
});


