/* home page slider script*/ 
$(function() {
   
    $('#slider_images').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 5000
	});
});   



/* home page slider script*/ 
$(function() {
   
    $('.gallery').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 4000
	});
});   


/* video link*/ 
$(document).ready(function(){
		$(".fade_in").fadeTo("slow", 0.4);
		$(".fade_in").hover(function(){
		$(this).fadeTo("slow", 1.0); 
		},function(){
		$(this).fadeTo("slow", 0.4); });
		});

/* play video from vimeo
$(document).ready(function(){
			$("#promo_video_zone a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
		});*/

/*#product_user_actions
 product fade */
$(document).ready(function () {

if ($.browser.msie && $.browser.version < 7) return; // Don't execute code if it's IE6 or below cause it doesn't support it.

  $(".fade").fadeTo(1, 1);
  $(".fade").hover(
    function () {
      $(this).fadeTo("fast", 0.7);
    },
    function () {
      $(this).fadeTo("slow", 1);
    }
  );
});

/* submenu from the top */

$(document).ready(function(){
		$('#menu_list li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });
	});

