      gg.Reg.showBackground(Math.floor(Math.random() * 3) + 1, "us");
      $.ajaxSetup({
        'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")}
      });
 
      $(function() {
        gg.Reg.initBackground();
        $(window).resize(function() {
          ratio = $(window).width() / 1200 * 16;
          ratio = Math.floor(ratio * 100) / 100;
 
          if (ratio < 11) ratio = 11;
          if (ratio > 14) ratio = 14;
 
          $('body').css('font-size', ratio + 'px');
        });
        $(window).trigger('resize');
 		
		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: true,
				continuous: true,
				nextId: "slider1next",
				prevId: "slider1prev"
			});
			$("#slider2").easySlider({ 
				numeric: true
			});
		});	

  gg.Reg.initMembershipRequest();
  gg.Reg.initForgotPassword();
  gg.Reg.hoverFormOpacity(['#login_container', '#membership']);
 
  $("#email, #password").filter(function() { return $(this).val() == ''; }).filter(":first").focus();
      });
	  
 		function MostrarOcultar()
	{
		var texto_r = document.getElementById("registroform");
		var boton_r = document.getElementById("boton_registro");
		var boton_v = document.getElementById("boton_volver");
		var boton_p_r = document.getElementById("texto_pre_r");
		if (texto_r.style.display == "none")
		{
			texto_r.style.display = "block";
			boton_v.style.display = "block";
			boton_r.style.display = "block";
			boton_p_r.style.display = "none";
		}
		else
		{
			texto_r.style.display = "none";
			boton_r.style.display = "none";
			boton_p_r.style.display = "block";
			boton_r.style.display = "block";
		}	
	}
