// dropdown menu
$(document).ready(function() {
	jQuery.noConflict()
	jQuery('ul.dropdown ul').css('display','none');
	jQuery('ul.dropdown li').hover(
		function() {
			//show its submenu
			jQuery('ul', this).slideDown(125);
		}, 
		function() {
			//hide its submenu
			jQuery('ul', this).slideUp(250);			
		}
	);
});

// jCarousel
$(document).ready(function(){
	jQuery.noConflict()
    jQuery(".carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
		visible: 6,
		scroll: 2
    });
});

// Image Magnifying Glass / Image Hovers
jQuery(document).ready(function(){
	jQuery.noConflict()
//<![CDATA[
jQuery(".mag a").append("<span></span>");
//]]>
jQuery(".mag img, a.more-link").hover(function(){
jQuery(this).fadeTo(150, 0.65); // This should set the opacity to 100% on hover
},function(){
jQuery(this).fadeTo(150, 1.0); // This should set the opacity back to 60% on mouseout
});

jQuery(".mag_blog img").hover(function(){
jQuery(this).fadeTo(250, 0.90); // This should set the opacity to 100% on hover
},function(){
jQuery(this).fadeTo(150, 1.0); // This should set the opacity back to 60% on mouseout
});

jQuery(".thumblist li img, .fade, .button_header").hover(function(){
jQuery(this).fadeTo(150, 0.70); // This should set the opacity to 100% on hover
},function(){
jQuery(this).fadeTo(150, 1.0); // This should set the opacity back to 60% on mouseout
});

jQuery("div.carousel li").hover(function(){
jQuery(this).fadeTo(150, 0.80); // This should set the opacity to 100% on hover
},function(){
jQuery(this).fadeTo(150, 1.0); // This should set the opacity back to 60% on mouseout
});

jQuery("div.wp-pagenavi a").hover(function(){
jQuery(this).fadeTo(150, 0.50); // This should set the opacity to 100% on hover
},function(){
jQuery(this).fadeTo(150, 1.0); // This should set the opacity back to 60% on mouseout
});

});

// prettyphoto
		$(document).ready(function(){
			jQuery.noConflict()
			jQuery("a[rel^='prettyPhoto']").prettyPhoto();
		});
