$(document).ready(function() {
 // set opacity to nill on page load
    $("ul#menu span").css("opacity","0");
    // on mouse over
    $("ul#menu span").hover(function () {
      // animate opacity to full
      $(this).stop().animate({
        opacity: 1
      }, 'slow');
    },
    // on mouse out
    function () {
      // animate opacity to nill
      $(this).stop().animate({
        opacity: 0
      }, 'slow');
      });	
	 // set opacity to nill on page load
    $("ul#nav span").css("opacity","0");
    // on mouse over
    $("ul#nav span").hover(function () {
      // animate opacity to full
      $(this).stop().animate({
        opacity: 1
      }, 'slow');
    },
    // on mouse out
    function () {
      // animate opacity to nill
      $(this).stop().animate({
        opacity: 0
      }, 'slow');
      });
});
jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox() 
  $('#intl_pics').cycle({ 
    delay:  2000, 
    speed:  500, 
    after: onAfter 
}); 
function onAfter() { 
    $('#title') 
        .html(this.alt); 
};
$('#image_slider').cycle({ 
    delay:  2000, 
    speed:  500, 
    after: onAfter 
}); 
function onAfter() { 
    $('#title') 
        .html(this.alt); 
};
$("li:has(ul)").hover(function()
        {
        $(this).children("ul").css("display", "none");
        $(this).children("ul").slideDown("normal");
        },
     function()
     {
        $(this).children("ul").slideUp("fast");
	});  
});
function cartupdate(){
 	document.cart_quantity.submit();
}
	
