$(document).ready(
	function() {
		$("a.osite_popup")
		.click (
				function () {
					$(".popupCarregando").show('fast');
					$(".popup").animate({width: "100%", opacity: 1, filter:"alpha(opacity=100)"}, 500 );
					$(".popupFundo").animate({width: "100%",opacity: .5, filter:"alpha(opacity=50)"}, 500 );}
				);
		
		$(".popupFechar")
		.click (
				function () {
					$(".popup").hide('slow');	
					$(".popupFundo").hide('slow');
					$(".alvo").empty().html(data);}
				);
	}
)
$(document).ready(function() {
	$("a#osite_popup1").click(function() {$.get("osite-001.php",function(data) {$(".popupCarregando").hide('fast');$(".alvo").empty().html(data);});});
	$("a#osite_popup2").click(function() {$.get("osite-002.php",function(data) {$(".popupCarregando").hide('fast');$(".alvo").empty().html(data);});});
	$("a#osite_popup3").click(function() {$.get("osite-003.php",function(data) {$(".popupCarregando").hide('fast');$(".alvo").empty().html(data);});});
	$("a#osite_popup4").click(function() {$.get("osite-004.php",function(data) {$(".popupCarregando").hide('fast');$(".alvo").empty().html(data);});});
});

