<%@ language = "JavaScript" %>
<% /*
     $Revision$
     $Id$

     File:    fac/myfacilitor.asp
              The content panel of the Facilitor portal page, "My Facilitor"
     Context: In an iframe of fac/Facilitor.asp
*/ %>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../fac/fac_nieuws_forum.inc" -->
<%
FCLTHeader.Requires({ plugins: ["jQuery"],
                      js: ["jQuery-ui.js"] // Voor like-knop
                     });

%>
<html>
<head>
<%    FCLTHeader.Generate();  %>
<script type="text/javascript">
// Wordt automagisch aangeroepen als tabje wordt geactiveerd
function fcltontabshow()
{
    $("iframe[autorefresh=1]").each(function ()
        {
            this.src = this.src;
        });
}

</script>
</head>

<body id="mainbody">

 <% injectNews() %>

 <div id="mywelcome">
    <div id="mywelcometitle"><%=L("lcl_facilitor_welcome")%></div>

<% if (S("portalmsgmax")>0) {%>
    <div id="mywelcomeinfo"><%=L("lcl_mynews")%></div>
      <iframe src="fac_nieuws.asp" id="mywelcomeframe" name="mywelcomeframe" autorefresh="1"
           width="100%" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" onload="FcltMgr.iframeLoaded(this)">
      </iframe>
 </div>
<% } %>
 <div id="myactions">
    <div id="myactionscontainer">
      <iframe src="fac_list.asp?urole=fe" id="myactionsframe" name="myactionsframe" autorefresh="1"
           width="100%" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" onload="FcltMgr.iframeLoaded(this)">
      </iframe>
    </div>
 </div>

 <div id="mymessages">
     <div id="mynewscontainer">
      <iframe src="fac_user_messages.asp" id="mynewsframe" name="mynewsframe" autorefresh="1"
           width="100%" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" onload="FcltMgr.iframeLoaded(this)">
      </iframe>
 </div>
</body>
</html>
