// top menu hover
$(document).ready(function(){
  $("#smenu1").hover(function() { $(this).attr("src","/gfx/menubut1h.png"); }, function() { $(this).attr("src","/gfx/menubut1.png"); });
  $("#smenu2").hover(function() { $(this).attr("src","/gfx/menubut2h.png"); }, function() { $(this).attr("src","/gfx/menubut2.png"); });
  $("#smenu3").hover(function() { $(this).attr("src","/gfx/menubut3h.png"); }, function() { $(this).attr("src","/gfx/menubut3.png"); });
  $("#smenu4").hover(function() { $(this).attr("src","/gfx/menubut4h.png"); }, function() { $(this).attr("src","/gfx/menubut4.png"); });
  $("#smenu5").hover(function() { $(this).attr("src","/gfx/menubut5h.png"); }, function() { $(this).attr("src","/gfx/menubut5.png"); });
  $("#smenu6").hover(function() { $(this).attr("src","/gfx/menubut6h.png"); }, function() { $(this).attr("src","/gfx/menubut6.png"); });

// galleries 
$('.thumbs a').lightBox();
$('.slider a').lightBox();


/*
$("#tmenu a").filter(
  function() {
    return $(this).attr("class") != "stm3" && $(this).attr("class") != "stm6" ;
  }
).hover(
  function() {
    $("#subtop .submenu").fadeOut('slow');
  }
); 

$("a.stm3").hover(
  function() {
    $('#submenu_3').show();
  }
);
$("a.stm6").hover(
  function() {
    $('#submenu_6').show();
  }
);
*/


});

  $(function(){

   $('#slider-one').movingBoxes({
    startPanel   : 1,    // start with this panel
    wrap         : true, // psuedo wrapping - it just runs to the other end
    width        : 900,  // overall width of movingBoxes
    reducedSize  : 0.7,
    fixedHeight  : false,
    imageRatio   : 2/3,    // Image ration set to 1:1 (square image)
    buildNav     : false, // if true, navigation links will be added
    navFormatter : function(){ return "&#9679;"; } // function which returns the navigation text for each panel
   });
   });



