//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   June 27, 2011, 2:42 am with psd2css Online version 1.95

var timerId;
$(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-5").addClass("Wrap-4-5").hide();
  $("#Layer-4").addClass("Wrap-4-5");
  $(".Wrap-4-5").hover(
    function(){ $("#Layer-5").show(); $("#Layer-4").hide(); },
    function(){ $("#Layer-4").show(); $("#Layer-5").hide(); });
  $("#Layer-9").addClass("Wrap-8-9").hide();
  $("#Layer-8").addClass("Wrap-8-9");
  $(".Wrap-8-9").hover(
    function(){ $("#Layer-9").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-9").hide(); });
  $("#Layer-12").addClass("Wrap-11-12").hide();
  $("#Layer-11").addClass("Wrap-11-12");
  $(".Wrap-11-12").hover(
    function(){ $("#Layer-12").show(); $("#Layer-11").hide(); },
    function(){ $("#Layer-11").show(); $("#Layer-12").hide(); });
  $("#Layer-15").addClass("Wrap-14-15").hide();
  $("#Layer-14").addClass("Wrap-14-15");
  $(".Wrap-14-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-14").hide(); },
    function(){ $("#Layer-14").show(); $("#Layer-15").hide(); });
  $("#Layer-18").addClass("Wrap-17-18").hide();
  $("#Layer-17").addClass("Wrap-17-18");
  $(".Wrap-17-18").hover(
    function(){ $("#Layer-18").show(); $("#Layer-17").hide(); },
    function(){ $("#Layer-17").show(); $("#Layer-18").hide(); });
  $("#Layer-21").addClass("Wrap-20-21").hide();
  $("#Layer-20").addClass("Wrap-20-21");
  $(".Wrap-20-21").hover(
    function(){ $("#Layer-21").show(); $("#Layer-20").hide(); },
    function(){ $("#Layer-20").show(); $("#Layer-21").hide(); });
  $("#Layer-24").addClass("Wrap-23-24").hide();
  $("#Layer-23").addClass("Wrap-23-24");
  $(".Wrap-23-24").hover(
    function(){ $("#Layer-24").show(); $("#Layer-23").hide(); },
    function(){ $("#Layer-23").show(); $("#Layer-24").hide(); });
  
  // This is code to handle the About_hmenu menu
  $("#Layer-7").hide().addClass("allMenus");
  $("#Layer-9").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-7").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-7").hide()', 4000 );
  });
  
  // This is code to handle the Contact_hmenu menu
  $("#Layer-10").hide().addClass("allMenus");
  $("#Layer-12").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-10").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-10").hide()', 4000 );
  });
  
  // This is code to handle the Interiorsl_hmenu menu
  $("#Layer-13").hide().addClass("allMenus");
  $("#Layer-15").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-13").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-13").hide()', 4000 );
  });
  
  // This is code to handle the Preservationl_hmenu menu
  $("#Layer-16").hide().addClass("allMenus");
  $("#Layer-18").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-16").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-16").hide()', 4000 );
  });
  
  // This is code to handle the CommercialLl_hmenu menu
  $("#Layer-19").hide().addClass("allMenus");
  $("#Layer-21").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-19").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-19").hide()', 4000 );
  });
  
  // This is code to handle the Residential_hmenu menu
  $("#Layer-22").hide().addClass("allMenus");
  $("#Layer-24").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-22").show();
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-22").hide()', 4000 );
  });

























});

