$(document).ready(function() {

/*if ( !$.browser.msie) {         
        $("#main, #breadcrumb").css('opacity', .1);
        $("#main, #breadcrumb").fadeTo(400, 1);
        };*/

  $('.clear').formclear();
  $('.fancybox').fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false });
  $('.fancybox2').fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false, 'hideOnOverlayClick': false, 'hideOnContentClick': false, 'overlayShow': true});  
  if (($('#map').length > 0) && ($.browser.msie)) {
  $(window).load(function(){
  $('#map').maphilight();
  $('#mapwrap area[info=""]').removeAttr("title");
  $('#mapwrap area[info=""]').removeAttr("info");
  $('#mapwrap area[info]').tooltip({
    bodyHandler: function() {
        return $(this).attr("info");
    },
    showURL: false,
    track: true,
    showBody: " - ",
    fade: 250
    });
    });
  } else if ($('#map').length > 0) {
  $('#map').maphilight();
  $('#mapwrap area[info=""]').removeAttr("title");
  $('#mapwrap area[info=""]').removeAttr("info");
  $('#mapwrap area[info]').tooltip({
    bodyHandler: function() {
        return $(this).attr("info");
    },
    showURL: false,
    track: true,
    showBody: " - ",
    fade: 250
    });
   }
});
