function revistaOnline(ed, path)
{
	if (!path) path='';
	return !window.open(path + 'revista.php?nac=' + ed, 'revistaonline', 'left=0,top=0,width=' + screen.width + ',height=' + screen.height);
}

$(document).ready(function() {
	$('#materia img').each(function() {
		$(this).mousedown(function(e) {	
			if (!e) e = event;
			
			if (e.button == 2)
				window.alert("Todos direitos reservados à revista Novo Ambiente");
		});
	});
});

jQuery(document).ready(function() {
	$("#subscribe").fancybox({
			'autoScale'     	: false,
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'type'				: 'iframe'
		});
});

