//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   December 4, 2010, 10:27 pm with psd2css Online version 1.89

$(document).ready(function(){

  // This is required for the PNG fix to work.
  if (window.DD_belatedPNG)
    DD_belatedPNG.fix('.pngimg');

  // This is some javascript to stop IE from displaying the img alt attributes
  // when you mouse over imagess.  If you would like IE to display the alt attributes,
  // just comment out the following 4 lines.  Don't worry, if you leave this in 
  // place, your ALT attributes are still readable by the search engines.
  var tmpalt;
  $("img").hover( 
    function(){ tmpalt = $(this).attr( "alt" ); $(this).attr( "alt", "" ); },
    function(){ $(this).attr( "alt", tmpalt ); });

  // This is code to handle all of the _linkover events.  It works by
  // creating a special Wrap class, adding it to the link and linkover
  // divs of each link and linkover pair, and assigning a hover event to
  // that.
  $("#Layer-4").addClass("Wrap-5-4").hide();
  $("#Layer-5").addClass("Wrap-5-4");
  $(".Wrap-5-4").hover(
    function(){ $("#Layer-4").show(); $("#Layer-5").hide(); },
    function(){ $("#Layer-5").show(); $("#Layer-4").hide(); });
  $("#Layer-8").addClass("Wrap-11-8").hide();
  $("#Layer-11").addClass("Wrap-11-8");
  $(".Wrap-11-8").hover(
    function(){ $("#Layer-8").show(); $("#Layer-11").hide(); },
    function(){ $("#Layer-11").show(); $("#Layer-8").hide(); });
  $("#Layer-14").addClass("Wrap-12-14").hide();
  $("#Layer-12").addClass("Wrap-12-14");
  $(".Wrap-12-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-12").hide(); },
    function(){ $("#Layer-12").show(); $("#Layer-14").hide(); });
  $("#Layer-18").addClass("Wrap-19-18").hide();
  $("#Layer-19").addClass("Wrap-19-18");
  $(".Wrap-19-18").hover(
    function(){ $("#Layer-18").show(); $("#Layer-19").hide(); },
    function(){ $("#Layer-19").show(); $("#Layer-18").hide(); });

  // Initialize the slidecontainer and slidepane features.  We use the
  // scrollable part of the jquery Tools UI available at http://flowplayer.org.
  // There are lots of options available, we've added a couple here.  Check out
  // the docs at their site for more.
  $("div.slidecontainer").scrollable({ size: 1 })
    // If you don't want your scrollpanes to automatcially advance every 5 seconds,
    // then just comment out the next line.  If you want them to auto advance
    // at a different rate just change the interval number there.
    .autoscroll({ interval: 5000 })
    .circular();

});

