// Oeste Sistemas// www.oestesistemas.com.br// oeste_sistemas@hotmail.com
$(function (){	/* limpar campo da senha e RA */	
	$("#txt_senha").click(function(){		
		$('#txt_senha').val("");	
	});		
	
	$("#txt_ra").click(function() {		
		$('#txt_ra').val("");	
	});		/* preenche o campo com o valor padrao */	
	
	$("#txt_ra").blur(function() {		
		if($.trim($('#txt_ra').val()) == '') {			
			$('#txt_ra').val('Digite seu RA');		
		};	
	});	
	
	$("#txt_senha").blur(function() {		
		if($.trim($('#txt_senha').val()) == '') {			
			$('#txt_senha').val('Digite sua Senha');		
		};	
	});	
	
	$('tbody tr').mouseover(function(){		
		$(this).addClass('over');	
	}).mouseout(function(){		
		$(this).removeClass('over');	
	});	
	
	$('#mostradiv').click(function(){		
		$('#oculta').toggle();	
	});		
	//function retirar-banner{	
	//	$("#banner-index").css("display","none"); 
	//aqui você chama a função pelo flash do seu banner como um javascript normal	
	//	}		
					
	$("#sexom").bind("click",function() {	
		if ( $(this).is(':checked') ) {					
			$('#categorias-masc').show();			
			$("#categorias-fem").hide();		}	
		});		
	$("#sexof").bind("click",function() {	
		if ( $(this).is(':checked') ) {						
			$('#categorias-fem').show();			
			$("#categorias-masc").hide();		
		}	
	});			
	$(document).ready(function() {        
		$('#slider').s3Slider({            
			timeOut: 5000        
		});    
	});	
	
	/*if ($('#flutuante').size() > 0) {
		$("#flutuante").fadeTo(0, 0.8);
		
		widht= $('body').width();
		height = $('body').height();
		
		$('#combo').hide();
		
		$("#flutuante").width(widht);
		$("#flutuante").height(height);	
	
		left = parseInt((widht / 2)) - parseInt(($("#bannerF").width() /2));
		//$('#bannerF').css({'left' : left + 'px'});

		
	}
	
	$('#fechar').click(function(event) {
		$("#flutuante").hide();
		$("#bannerF").hide();
		$('#combo').show();
		event.preventDefault(event);
	});
		
	$('#flutuante').click(function(event) {
		$("#flutuante").hide();
		$("#bannerF").hide();
		event.preventDefault(event);
	});
	/*
	
});
