//<![CDATA[
		   
function AbreLogin( Formulario, div_destino )
{
  new Ajax.Request('box_login_'+Formulario+'.php',
  {
    method     : 'get',
    onCreate:function()
    {
      $(div_destino).innerHTML = 'Carregando...';
    },
    onComplete : function(transport)
    {
      if(transport.status==200)
      {
        $(div_destino).innerHTML = transport.responseText; 
      }
    }
  });
}

function EnviaLoginErro( Formulario, div_destino )
{
  new Ajax.Request('box_login_erro.php?form='+Formulario,
  {
    method     : 'get',
    onCreate:function()
    {
      $(div_destino).innerHTML = 'Enviando Dados...';
    },
    onComplete : function(transport)
    {
      if(transport.status==200)
      {
        $(div_destino).innerHTML = transport.responseText; 
      }
    }
  });
}

function downloadSC( div_destino )
{
  new Ajax.Request('sc_form.php',
  {
    method     : 'get',
    onCreate:function()
    {
      $(div_destino).innerHTML = 'Enviando Dados...';
    },
    onComplete : function(transport)
    {
      if(transport.status==200)
      {
        $(div_destino).innerHTML = transport.responseText; 
      }
    }
  });
}

//]]>
