<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="styles/contenido.css">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="pragma" content="no-cache">    
    <script type="text/javascript" src="scripts/HTMLObj.js.php?contenido={SESSID}"></script>
    <script type="text/javascript" src="scripts/contenidoConfig.js"></script>
    <script type="text/javascript" src="scripts/infoBox.js"></script>
    <script type="text/javascript" src="scripts/general.js"></script>
    <script language="JavaScript" src="scripts/cfoldingrow.js"></script>
    <script language="JavaScript" src="scripts/parameterCollector.js"></script>
	
	<script language="javascript">
		var listopURL='';
		var pagingURL='';
		var sid = "{SID}";
        
        var sDisplay = 'table-row';
        var bMsie = (document.all) ? true : false;
        if (bMsie) {
            sDisplay = 'block';
        }

		// need to insert function in Article Search link
		function resizeFrame(arg, bIgnore)
		{
			if(arg == '')
			{
				var listopLink = document.getElementById('{LISTOPLINK}');
                var pagingLink = document.getElementById('{PAGINGLINK}');

				
				// store current link for later use
				listopURL = listopLink.href;
                if (pagingLink) {
                    pagingURL = pagingLink.href;
                }
				
				// clicking the link now calls this function
				listopLink.href = "javascript:resizeFrame('{LISTOPLINK}');";
                if (pagingLink) {
                    pagingLink.href = "javascript:resizeFrame('{PAGINGLINK}');";
                }
			}
			else if(arg == '{LISTOPLINK}')
			{
				window.location.href=listopURL;
			}
			else if(arg == '{PAGINGLINK}' && bIgnore != 1)
			{
				window.location.href=pagingURL;
			}
			
			// resizing frame
			window.setTimeout("parent.parent.frameResize.resizeTopLeftFrame(document.getElementById('top_left_container').offsetHeight+1)", 10);
		}

		function userChangeRestriction()
		{
			var element = document.getElementsByTagName("SELECT");
			
			url  = "";
            url += "main.php?area=user";
            url += "&frame=2";
			url += "&restriction="+element[0].value
            url += "&contenido=" + sid;

			parent.parent.frames["left"].frames["left_bottom"].location.href = url;
		}
		
      function execFilter()
      {
          var multilink = "main.php?";
          var formelements = document.filter;
        
          for(var i=0; i<formelements.length; i++)
          {
            if(i>0 && formelements[i].name != "" && formelements[i].name != "area" && formelements[i].name != "frame" &&formelements[i].value != "")
            {
              multilink += "&";
            }
            if(formelements[i].name != "" && formelements[i].value != "" && formelements[i].name != "area" && formelements[i].name != "frame" )
            {
              multilink += formelements[i].name + "=" + formelements[i].value;
            }
          }
          conMultiLink("left_bottom", multilink+'&area=user&frame=2');
      }
      
      function toggle_pager(sId) {
        var oBase = document.getElementById(sId);
        if (oBase) {
            if (oBase.firstChild && oBase.firstChild.firstChild && oBase.firstChild.firstChild) {
                var sExpandstate = document.getElementsByName('expandstate_'+sId)[0].value;
                oBase.previousSibling.style.display = sDisplay;
                if (sExpandstate == 'expanded') {
                    oBase.style.display = sDisplay;
                } else {
                    oBase.style.display = 'none';
                }
            } else if (oBase){
                oBase.previousSibling.style.display = 'none';
                oBase.style.display = 'none';
            }
        }
        
        switch(sId) {
            case '44b41691-0dd4-443c-a594-66a8164e25fd':
                resizeFrame('{PAGINGLINK}', 1);
                break;
        }
      }
	</script>
</head>
<body bgcolor="#FFFFFF" onLoad="resizeFrame('');">

<div id="top_left_container" style="border: 1px solid rgb(179, 179, 179); margin: 1px 0pt 0pt; padding-top: 7px;">
  <span id="infoBox">{CAPTION}</span>
  {NEWUSER}
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
    {LISTOPTIONS}
    {PAGING}
  </table>
</div>
</body>
</html>
