$(document).ready( function () {
  $('#comments-block dt:odd').addClass('odd');
  $('#comments-block dd.comment-body:odd').addClass('odd');
  $('#comments-block dd.comment-footer:odd').addClass('odd');
  $('.blog-posts a').attr('target','_blank');

	if (location.href == 'http://blog.neotix.com.br' || location.href == 'http://blog.neotix.com.br/')
	  {
	  	$('a.about').css('background-color','#8c06d4');
	  	$('a.about').css('background-image','url(http://www.neotix.com.br/blog/menu/quem_somos_over.gif)');
	  }

	if (location.href == 'http://blog.neotix.com.br/2008/09/somos-uma-agencia-interativa-com-foco.html')
	  {
	  	$('a.about').css('background-color','#8c06d4');
	  	$('a.about').css('background-image','url(http://www.neotix.com.br/blog/menu/quem_somos_over.gif)');
	  }
	
	if (location.href == 'http://blog.neotix.com.br/2008/09/quer-falar-com-gente.html')
	  {
	  	$('a.contact').css('background-image','url(http://www.neotix.com.br/blog/menu/contato_over.gif)');
	    $('a.contact').css('background-color','#8c06d4');
	  }
	
	if (location.href == 'http://blog.neotix.com.br/2008/07/trabalhe-neotix.html')
	  {
	  	$('a.work_with_us').css('background-image','url(http://www.neotix.com.br/blog/menu/trabalhe_neotix_over.gif)');
	    $('a.work_with_us').css('background-color','#8c06d4');
	  }
	
	if ( $('.post img').length > 0 )
	{
		$('.post img').parent().css({'border':'0px', 'backgroundColor':'transparent'});
		//$('.post img').attr('style','margin: 0px auto; display: block; text-align: center; cursor: pointer; width: 410px;');
	}
});