$(document).ready(function(){
	/*
	if($("#section").length){
	}
	*/	
	rels();
});

function rels() {
	$("a[rel*=external]").attr("target", "_blank");
	$("a[rel*=back]").click( function(){ history.back(); return false });
	$("a[rel*=print]").click( function(){ print(); })
}

/*TAMANHOS(LARGURA X ALTURA) MINIMOS DO FLASH PARA IE6 EM SITES FLASH 100% X 100%*/
if($.browser.msie && $.browser.version <= 6.0) {
	$(document).ready(minMsieProperties);
	$(window).resize(minMsieProperties);
}

function minMsieProperties() {
	if(jQuery(window).width() <= 995) { //COLOCAR LARGURA MÍNIMA DO FLASH PARA IE6
		jQuery('html, body, #wrapper').css("width","995px");
	}
	else {
		jQuery('html, body, #wrapper').css("width","100%");
	}
	if(jQuery(window).height() <= 740) { // COLOCAR ALTURA MÍNIMA DO FLASH PARA IE6
		jQuery('html, body, #wrapper').css("height","740px");
	}
	else {
		jQuery('html, body, #wrapper').css("height","100%");
	}
}