<%@ page isThreadSafe="false" %>
<%
  String urlAvisoLoginPortalJsp = null;
  String scrolling = null;
  String urlPortal = null;
  
  urlAvisoLoginPortalJsp = (String)session.getAttribute ("urlAvisoLoginPortalJsp");

  urlPortal = "N38servletPortal?xsl=O53/portalO53"
                     + "&urlAvisoLogin=" + urlAvisoLoginPortalJsp
                     + "&mostrarUsuario=s";


/*
   if (sesion.getAttribute ("sesionXLNETS") != null)
     System.out.println (" sesionXLNETS -> " + (String)sesion.getAttribute ("sesionXLNETS"));
     else
  	 System.out.println (" sesion.getAttribute (sesionXLNETS) == null ");
*/


        if (
   	    ((session != null) && (session.getAttribute ("sesionXLNETS") != null)
    				 &&
    	    (((String)session.getAttribute ("sesionXLNETS")).equals ("cerrada")))
           )
           scrolling = "no";
           else
               scrolling = "yes";

	
%>       
        
	
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<script languaje='JavaScript'>
  var es800=false;
  if (screen.availWidth<=800) es800=true; 
	
</script>
	
	
</head>

<body>
<script languaje='JavaScript'>	
 
 loginIFrame800 =    "<iframe id='xlnets2' width='100%' height='275' frameborder=1 scrolling='auto' style='{z-index:-9999}' src='<%=urlPortal%>'></iframe>";
 loginIFrameNot800 = "<iframe id='xlnets2' width='100%' height='425' frameborder=1 scrolling='<%=scrolling%>' style='{z-index:-9999}' src='<%=urlPortal%>'></iframe>";
 	 
 if (es800) document.write(loginIFrame800);
 else document.write(loginIFrameNot800);


	 
</script>

</body>


</html>
	
