



function VSuscripcion(id){



	var timestamp = Math.round(new Date().getTime() / 1000);

	var form = $('#'+id);



	$.post("suscripcion.html?"+timestamp,form.serialize(),

	function(datos){

		var datos_p = datos.split("|");

		if (datos_p[0] == "1"){

			$.prompt(datos_p[1],

			{buttons: {Aceptar:true}

			});

		}

		else {

			$.prompt(datos_p[1],

			{buttons: {Aceptar:true}

			});

		}



	}

	);

	return false;

}



function VContactoW(id){

	var timestamp = Math.round(new Date().getTime() / 1000);

	var form = $('#'+id);

	$.post("contacto.html?"+timestamp,form.serialize(),

	function(datos){

		var datos_p = datos.split("|");

		if (datos_p[0] == "1"){

			$('#c_contacto').css('display', 'none');

			$('#notif_c').css('display', 'block');

			$('#msj_op').text(datos_p[1]);

			$('html, body').animate({ scrollTop: 0 }, 'slow');

		}

		else {

			$.prompt(datos_p[1],

			{buttons: {Aceptar:true}

			});

		}



	}

	);

	return false;

}
