// JavaScript Document
function pr_comentar(id){
	var effect = new PopupEffect("/perfil/comentar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/perfil/comentar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function re_comentar(id){
	var effect = new PopupEffect("/rumbas_eventos/comentar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/rumbas_eventos/comentar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function re_enviar(id){
	var reffect = new PopupEffect("/rumbas_eventos/enviar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/rumbas_eventos/enviar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function mod_comentar(id){
	var effect = new PopupEffect("/modelos/comentar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/modelos/comentar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function mod_enviar(id){
	var reffect = new PopupEffect("/modelos/enviar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/modelos/enviar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function comentar(id){
	var effect = new PopupEffect("/noticias/comentar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/noticias/comentar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}

function enviar(id){
	var effect = new PopupEffect("/noticias/enviar/" + id + "/", {className: "popup_effect2", duration: 2, fromOpacity: 0.2, toOpacity: 0.4});
	Dialog.alert({url: "/noticias/enviar/" + id + "/", options: {method: 'get'}}, {className: "alphacube", width:520, okLabel: "Cerrar", buttonClass: "buttonSubmit"});
}