// Borda Redonda
jQuery(document).ready( function(){
		jQuery('#form-form, #form-academico, #faintTV, #fotos').corners("5px");
});


// Pesquisa Google
function ActionDeterminator()
{
//alert('Google em teste! Aguarde.');
document.search_google.action = 'http://www.google.pt/search';
}


//Browser
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
 var ieversion=new Number(RegExp.$1)
 if (ieversion<=6)
  document.location = ("http://www3.faintvisa.com.br/portal/2010/atualize-seu-navegador/")
}


//ShadownBox
Shadowbox.init({
    language: 'pt-BR',
    players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
});

function openShadowbox(content, player, title, width, height){
    Shadowbox.open({
        content:    content,
        player:     player,
        title:      title,
    	width: 		width,
    	height: 	height
    });
} 

//Slider Coda
jQuery().ready(function() {
	jQuery('#coda-slider-1').codaSlider();
});

$().ready(function() {
    $('#coda-slider-2').codaSlider({
        autoSlide: true,
        autoSlideInterval: 9000,
        autoSlideStopWhenClicked: true
    });
});


//Pagina Graduação hide/show DIV's
jQuery(document).ready(function() {
	
//	jQuery("a#hide").click(function() {
//		jQuery("#conteudo").hide("normal");
//	});
//	
//	jQuery("a#show").click(function() {
//		jQuery("#conteudo").hide();
//		jQuery("#conteudo").show("slow");
//	});
//	
//	jQuery("a#slideDown").click(function() {
//		jQueryjQuery("#conteudo").hide();
//		jQuery("#conteudo").slideDown();
//	});
//	
//	jQuery("a#slideUp").click(function() {
//		jQuery("#conteudo").slideUp();
//	});
	
	jQuery("a#descricao").click(function() {
		jQuery("#conteudo-pos-descricao").hide();
		jQuery("#conteudo-pos-cursos").hide();
		jQuery("#conteudo-pos-contato").hide();
		jQuery("#conteudo-pos-descricao").fadeIn();
	});
	
	jQuery("a#cursos").click(function() {
		jQuery("#conteudo-pos-cursos").hide();
		jQuery("#conteudo-pos-descricao").hide();
		jQuery("#conteudo-pos-contato").hide();
		jQuery("#conteudo-pos-cursos").fadeIn();
	});
	
	jQuery("a#contato").click(function() {
		jQuery("#conteudo-pos-contato").hide();
		jQuery("#conteudo-pos-cursos").hide();
		jQuery("#conteudo-pos-descricao").hide();
		jQuery("#conteudo-pos-contato").fadeIn();
	});
	
	
//	jQuery("a#fadeOut").click(function() {
//		jQuery("#conteudo").fadeOut();
//	});
	
});