$(document).ready(function() {

$("#listPeople img").hover(function() {
$(this).stop().fadeTo("fast", 1);
	}, function() {
$(this).stop().fadeTo("slow", 0.2);
});
$("#listPeople img").fadeTo("fast", 0.2);
$("#listPeople li").hover(function() {
$(this).find('h3').stop().show();
	}, function() {
$(this).find('h3').stop().hide();
});
$("#listPeople h3").hide();
$(".hoverEffect").hover(function() { $(this).stop().fadeTo("fast", 0.2);}, function() { $(this).stop().fadeTo("slow", 1); 	}); $(".hoverEffect").fadeTo("fast", 1);	
$("ul.scroolTela img").hover(function() {$(this).stop().fadeTo("fast", 1);}, function() { $(this).stop().fadeTo("slow", 0.3);	}); $("ul.scroolTela img").fadeTo("fast", 0.3);
$('#autoscrool1').jScrollPane();
$('#moreNews').jScrollPane();
$('#leituraNews').jScrollPane();


$("ul#nav li").click(function() { 
	$(this).find("#sub").show(); 
} , function() { 
	$(this).find("#sub").hide();
});


Cufon.replace('.scroolTela span');		
Cufon.replace('#nav');
Cufon.replace('#gotomodels');	
Cufon.replace('h3');	
Cufon.replace('h4');
Cufon.replace('h1');	
Cufon.replace('h6');	
Cufon.replace('#footer');
Cufon.replace('#infoContato');
Cufon.replace('.navLinks a');

$(document).ready(function(){var a=navigator.userAgent.toLowerCase();$.browser.chrome=/chrome/.test(navigator.userAgent.toLowerCase());if($.browser.msie){$('body').addClass('browserIE');$('body').addClass('browserIE'+$.browser.version.substring(0,1))}if($.browser.chrome){$('body').addClass('browserChrome');a=a.substring(a.indexOf('chrome/')+7);a=a.substring(0,1);$('body').addClass('browserChrome'+a);$.browser.safari=false}if($.browser.safari){$('body').addClass('browserSafari');a=a.substring(a.indexOf('version/')+8);a=a.substring(0,1);$('body').addClass('browserSafari'+a)}if($.browser.mozilla){if(navigator.userAgent.toLowerCase().indexOf('firefox')!=-1){$('body').addClass('browserFirefox');a=a.substring(a.indexOf('firefox/')+8);a=a.substring(0,1);$('body').addClass('browserFirefox'+a)}else{$('body').addClass('browserMozilla')}}if($.browser.opera){$('body').addClass('browserOpera')}});

});

function disableRightClick(e)
{
  var message = "";
  if(!document.rightClickDisabled)
  {
    if(document.layers) 
    {
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown = disableRightClick;
    }
    else document.oncontextmenu = disableRightClick;
    return document.rightClickDisabled = true;
  }
  if(document.layers || (document.getElementById && !document.all))
  {
    if (e.which==2||e.which==3)
    {
      return false;
    }
  }
  else
  {
    return false;
  }
}
disableRightClick();
