<html>

<%@page info="invitations" language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@include file="../../uwc/js/resourceBundleUtils.js"%>

<jato:useViewBean className="com.sun.uwc.calclient.InvitationsViewBean">

<head>
<title><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-Title" defaultValue="Invitations - Communications Express" escape="false" /></title>

<script language="JavaScript" src="../uwc/js/scripts.js">
</script><noscript></noscript>
<script src="../uwc/js/browserVersion.js" type="text/javascript"> </script><noscript></noscript>
<script src="../uwc/js/uwcUtils.js" type="text/javascript"> </script><noscript></noscript>
<script type="text/javascript">
//<!--
  if (is_ie5up) // IE5
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-IE" defaultValue="../uwc/css/css_ie5win.css"/> type=text/css rel=stylesheet>") 

  }
  else if (is_gecko) // Netscape 6/7 or Mozilla
  {
  document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>") 

  }
  else  // All others
  {
  document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>") 
  }
//-->


</script><noscript></noscript>
</head>


<script>

var dirtyCache = 0;
var sharedObject = new Object();

var uwcViewUrl = "<%=getContextURI(request)%>/calclient/Invitations?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />";

function setSharedObject(emailAddr, subj)
{
 sharedObject.toAdd = emailAddr[0];
 sharedObject.subject = subj;
}

function getSharedObject()
{
 return sharedObject;
}

 function setDirtyCache() {
   dirtyCache = 1;
 }

function handleCheckAll() {
   var form=document.forms[0].elements;
   var s = new Array();
   for (i=0; ; i++) {
      s[i]="Invitations.invitationsTiledView[" + i + "].selectevent";
      if (form[s[i]] == undefined)
         break;
      form[s[i]].checked = true;
   }
}

function handleUnCheckAll() {
   var form=document.forms[0].elements;
   var s = new Array();
   for (i=0; ; i++) {
      s[i]="Invitations.invitationsTiledView[" + i + "].selectevent";
      if (form[s[i]] == undefined)
         break;
      form[s[i]].checked = false;
   }
}

function handleAcceptClick() {
   var form=document.forms[0].elements;
   var acceptRadio = new Array();
   var declineRadio = new Array();
   var undeciedeRadio = new Array();

   setDirtyCache();
   for (i=0; ; i++) {

      acceptRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatAccept";
      declineRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatDecline";
      undeciedeRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatUndecieded";

      if (form[acceptRadio[i]] == undefined) {
         break;
      }
      else {
         if (form[acceptRadio[i]].checked) {
            form[declineRadio[i]].checked = false;
            form[undeciedeRadio[i]].checked = false;
         }
      }
   }
   return false;
}

function handleDeclineClick() {
   var form=document.forms[0].elements;
   var acceptRadio = new Array();
   var declineRadio = new Array();
   var undeciedeRadio = new Array();

   setDirtyCache();

   for (i=0; ; i++) {

      acceptRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatAccept";
      declineRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatDecline";
      undeciedeRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatUndecieded";

      if (form[declineRadio[i]] == undefined) {
         break;
      }
      else {
         if (form[declineRadio[i]].checked) {
            form[acceptRadio[i]].checked = false;
            form[undeciedeRadio[i]].checked = false;
         }
      }
   }
}

function handleUndeciededClick() {
   var form=document.forms[0].elements;
   var acceptRadio = new Array();
   var declineRadio = new Array();
   var undeciedeRadio = new Array();

   setDirtyCache();

   for (i=0; ; i++) {

      acceptRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatAccept";
      declineRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatDecline";
      undeciedeRadio[i]="Invitations.invitationsTiledView[" + i + "].partstatUndecieded";

      if (form[undeciedeRadio[i]] == undefined) {
         break;
      }
      else {
         if(form[undeciedeRadio[i]].checked) { 
            form[declineRadio[i]].checked = false;
            form[acceptRadio[i]].checked = false;
         }
      }
   }
}

 function getDeleteConfirm() {
    if(false == isAnyInvitationsExists()) {
      UWCAlert("<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-NoInvitationsToDelete", "No invitations exists - Nothing to delete!") %>");
      return false;
    }
    if(false == isAnyInvitationsSelected()) {
      UWCAlert("<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-SelectInvitationsToDelete", "Please select any invitations to delete!") %>");
      return false;
    }
    return UWCConfirm("<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-DeleteInvitationsConfirmQuestion", "Are you sure you want to delete the selected invitations?") %>");
  }

  function getSaveConfirm() {
    if(false == isAnyInvitationsExists()) {
      UWCAlert("<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-NoInvitationsToSave", "No invitations exists - Nothing to save!") %>");
      return false;
    }
    if(0 == dirtyCache) {
      UWCAlert("<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-NoInvitationsChangedToSave", "No invitations changed - Nothing to save!") %>");
      return false;
    }
    else {
       return true;
    }
  }

  function isAnyInvitationsExists() {
    var elementArray = document.InvitationsForm.elements;
    for(var i=0; i < elementArray.length; i++) 
    {
      if("checkbox" == elementArray[i].type) {
        if(-1 != elementArray[i].name.indexOf("selectevent")) {
          return true;
        }
      }
    }
    return false;
  }

  function isAnyInvitationsSelected() {
    var elementArray = document.InvitationsForm.elements;
    for(var i=0; i < elementArray.length; i++) 
    {
      if("checkbox" == elementArray[i].type) {
        if(-1 != elementArray[i].name.indexOf("selectevent")) {
          if(elementArray[i].checked) {
            return true;
          }
        }
      }
    }
    return false;
  }

function openWebMailCompose(url, addr, subj) {
      var addrDetails = new Array();
      var allAddr = new Array();
      addrDetails[0] = new Array();
      addrDetails[0][0] = "";
      if (addr != null) {
         addrDetails[0][1] = addr;
      }
      else {
         addrDetails[0][1] = "";
      }
      allAddr[0] = addrDetails;
      setSharedObject(allAddr, subj);
      var handle = new Window(url, 'stdCompose','resizable=yes,width=740,height=640');
      return false;
}

function Window(url, name, args) {
  this.url = url
  this.name = name
  this.args = args
  this.close = __close
  this.isClosed = __isClosed
  this.hdl = window.open(url, name, args)
}


function __close() {
  if (IE >= 3 && IE < 4) {
    var win = window.open('', this.name, this.args)
    win.window.close()
  } else if (!this.hdl.closed) {
    this.hdl.close()
  }
}

function __isClosed() {
  return (IE >= 4 || NN > 2) && this.hdl.closed
}
      
</script><noscript></noscript>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Page">

<!-- Pagelet for branding -->
<jato:form name="InvitationsForm" method="post" >

<!-- Skip links for 508 -->
   <table cellspacing=0 cellpadding=0 width="100%" border=0 bgcolor="#CCCCFF">
    <tr>
     <td class="SkpMst"><a href=#tabs><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-Masthead-message", "Skip Masthead")%>"></a></td>
     <td class="SkpMst"><a href=#calendarviewtabs><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-GlobalTabs-message", "Skip Global Tabs")%>"></a></td>
     <td class="SkpMst"><a href=#viewmenus><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-ViewMenus-message", "Skip to the view menus")%>"></a></td>
     <td class="SkpMst"><a href=#invitationslist><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-InvitationList-message","Skip to the Invitations List")%>"></a></td>
    </tr>
   </table>

   <jato:containerView name="MasterHead">
      <%@include file="/uwc/common/MasterHeadNormal.jsp"%>
   </jato:containerView> 

<!-- JSP include for application toolbar -->
  <jato:containerView name="ApplnBar">
   <%@include file="/uwc/calclient/CalApplBarNormal.jsp"%> 
  </jato:containerView> 

<div class="Tab2" ><a name="calendarviewtabs"></a>
<table border="0" cellspacing="0" cellpadding="0" class="Tab2Tbl" width="100%" summary="Table that contains the Calendar View Tabs">
  <tr> 
    <td colspan="18"><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""></td>
  </tr>
  <tr> 
    <td colspan="11"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td colspan="5" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
    <td colspan="2"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
  </tr>
  <tr> 
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td class="Tab2NotSel"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-DayAlt' defaultValue='Calendar Day View' escape="false" />" href="<%= getContextURI(request) %>/calclient/DayView?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-DayHrefLabel" defaultValue="Day" escape="false" /></a></div>
    </td>
    <td><img src="../uwc/images/dividerbar.gif" alt="" width="24" height="20"></td>
    <td class="Tab2NotSel"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-WeekAlt' defaultValue='Calendar Week View' escape="false" />" href="<%= getContextURI(request) %>/calclient/WeekView?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-WeekHrefLabel" defaultValue="Week" escape="false" /></a></div>
    </td>
    <td><img src="../uwc/images/dividerbar.gif" alt="" width="24" height="20"></td>
    <td class="Tab2NotSel"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-MonthAlt' defaultValue='Calendar Month View' escape="false" />" href="<%= getContextURI(request) %>/calclient/MonthView?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' /> " class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-MonthHrefLabel" defaultValue="Month" escape="false" /></a></div>
    </td>
    <td><img src="../uwc/images/dividerbar.gif" alt=""></td>
    <td class="Tab2NotSel"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-YearAlt' defaultValue='Calendar Year View' escape="false" />" href="<%= getContextURI(request) %>/calclient/YearView?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' /> " class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-YearHrefLabel" defaultValue="Year" escape="false" /></a></div>
    </td>
    <td><img src="../uwc/images/dividerbar.gif" alt="" width="24" height="20"></td>
    <td class="Tab2NotSel"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-EventsAlt' defaultValue='Events List' escape="false" />" href="<%= getContextURI(request) %>/calclient/Events?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-EventsHrefLabel" defaultValue="Events" escape="false" /></a></div>
    </td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="12" alt=""></td>
    <td class="Tab2Sel"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td class="Tab2Sel"> 
      <div class="Tab2Sel"><span class="TabLblSel" title='<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-toolbar-tooltip-Invitations" defaultValue="Invitations List" escape="false" />'><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-InvitationsLabel" defaultValue="Invitations" escape="false" />&nbsp;(<jato:getDisplayFieldValue name="count" />)</span></div>
    </td>
    <td class="Tab2Sel"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="12" alt=""></td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td class="Tab2NotSel" width="90%"> 
      <div class="Tab2NotSel"><a title="<jato:getModelFieldValue modelClass='com.sun.uwc.common.model.UWCResourceBundleModel' modelName='i18nModel' lookInSession='true' name='uwc-calclient-view-invitations-TasksAlt' defaultValue='Tasks List' escape="false" />" href="<%= getContextURI(request) %>/calclient/Tasks?date=<jato:getDisplayFieldValue name='startDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" class="TabLblNormal" ><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-TasksHrefLabel" defaultValue="Tasks" escape="false" /></a></div>
    </td>
  </tr>
  <tr> 
    <td class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
    <td colspan="11" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
    <td colspan="3"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
    <td colspan="3" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
  </tr>
</table>
</div>

<!-- Error information pagelet -->
   <jato:containerView name="errorPlugin">
      <%@include file="/uwc/common/error.jsp"%> 
   </jato:containerView>

<!-- Page Title with Save Button -->


<div class="TtlTxtDiv">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
    <TD width="100%">
     <SPAN class="TtlTxt">
       <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-InvitationsLabel" defaultValue="Invitations" escape="false" />
     </SPAN></TD>

    <jato:content name="isNotEmptyInvitations">
       <TD align="right"> 
         <jato:button styleClass="Btn1" name="Save" elementId="Save" defaultValue='<%= getLocalizedLabel(session,"uwc-common-save","Save") %>' onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabIndex="30" extraHtml='<%= getTitleForExtraHtml(session, "uwc-calclient-view-invitations-SaveAlt", "Save Changes to Attendance Status") %>' onClick="return getSaveConfirm();"/>

       </TD>
    </jato:content>

    <jato:content name="isEmptyInvitations">
       <TD align="right"> 
         <jato:button styleClass="Btn1Dis" name="Save" elementId="Save" defaultValue='<%= getLocalizedLabel(session,"uwc-common-save","Save") %>' tabIndex="30" onClick="return false;"/>

       </TD>
    </jato:content>

    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
  </TR>
</TABLE>
<!-- Horizontal Top/Bottom of Page Line -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
    <TD class="TtlLin" width="100%"><IMG src="../uwc/images/spacer.gif" width="1" height="1" alt=""></TD>
  </TR>
</TABLE>
</div>

<!-- Calendar Tool bar -->
  <jato:containerView name="CalToolBar">
    <%@include file="/uwc/calclient/CalToolBarNormal.jsp" %>
  </jato:containerView>

<div class="ViewDiv">
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr> 
	<td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td nowrap width="100%"><label for="months">
     <span class="Lbl2">
      <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-ViewLabel" defaultValue="View:" escape="false" />
     </span></label> 
      <jato:combobox name="months" elementId="months" tabIndex="1"  />
      <label for="days"></label>
      <jato:combobox name="days" elementId="days" tabIndex="1"  />
      <label for="years"></label>
      <jato:combobox name="years" elementId="years" tabIndex="1"  />

      &nbsp;<label for="inviteView">
     <span class="Lbl2">
      <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-ShowLabel" defaultValue="Show:" escape="false" />
      </span></label> 
      <jato:combobox name="context" elementId="inviteView" tabIndex="1"  />

      &nbsp;<jato:button styleClass="Btn1" name="Go" elementId="Go" defaultValue='<%= getLocalizedLabel(session,"uwc-common-go","Go") %>' onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabIndex="30" extraHtml='<%= getTitleForExtraHtml(session, "uwc-calclient-view-invitations-GoAlt", "Display Selected View of Invitations") %>' />


    </td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
  </tr>
</table>
</div>

<table border="0" cellpadding="0" cellspacing="0" width="100%" title="">
  <tr> 
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td width="100%"> 
      <div class="TableDiv"><a name="invitationslist"></a> 
          <table border="0" cellpadding="0" cellspacing="0" class="Tbl" width="100%" summary="Table contains list of Invitations.">
            <tbody> 
            <tr> 
            <td scope="col" class="TblTtlTd" colspan="7"> 
             <span class="TblTtlTxt">
              <jato:content name="showAllInvitations">
               <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-AllInvitationsLabel" defaultValue="All Invitations for the Calendar" escape="false" /></span></td>
              </jato:content>
              <jato:content name="noShowAllInvitations">
               <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-InvitationsLabel" defaultValue="Invitations" escape="false" />
              </span>&nbsp;&nbsp;&nbsp;<a href="<%= getContextURI(request) %>/calclient/Invitations?date=<jato:getDisplayFieldValue name='backDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" ><img name="Back" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-Back-Arrow-image", "../uwc/images/back.gif")%>" width="13" height="13" align="absmiddle" title='<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-Back-Arrow-imageTitle", "Display Invitations for Previous context")%>' alt='<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-Back-Arrow-imageTitle", "Display Invitations for Previous context")%>' border="0" tabindex="7"></a>&nbsp; 
               <span class="TblTtlTxt">
                <jato:text name="contextText" />
                <jato:text name="contextDuration" />
               </span>&nbsp; 
               <a href="<%= getContextURI(request) %>/calclient/Invitations?date=<jato:getDisplayFieldValue name='forwardDate' />&viewctx=<jato:getDisplayFieldValue name='viewCtx' />&calid=<jato:getDisplayFieldValue name='calId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />" ><img name="forward" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-Forward-Arrow-image", "../uwc/images/forward.gif") %>" width="13" height="13" align="absmiddle" title='<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-Forward-Arrow-imageTitle", "Display Invitations for Next context")%>' alt='<%= getLocalizedLabel(session, "uwc-calclient-view-invitations-Forward-Arrow-imageTitle", "Display Invitations for Next context")%>' border="0" tabindex="8"></a></td>
              </jato:content>
          </tr>
          <tr> 
            <td scope="col" class="TblActTd" colspan="7"> 

            <jato:content name="isNotEmptyInvitations">
                <jato:button styleClass="Btn1" name="Delete" elementId="Delete" defaultValue='<%= getLocalizedLabel(session,"uwc-common-delete","Delete") %>' onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabIndex="9" extraHtml='<%= getTitleForExtraHtml(session, "uwc-calclient-view-invitations-DeleteAlt", "Delete Selected Invitations") %>' onClick="return getDeleteConfirm();"/>
            </jato:content>
            <jato:content name="isEmptyInvitations">
                <jato:button styleClass="Btn1Dis" name="Delete" elementId="Delete" defaultValue='<%= getLocalizedLabel(session, "uwc-common-delete", "Delete") %>'  tabIndex="9" onClick="return false;"/>
            </jato:content>

            </td>
          </tr>
          <tr> 
           <jato:content name="isNotEmptyInvitations">
            <th width="5%" nowrap class="TblThCl1"> 
              <div style="text-align:center"> 
                <input name="selectAll" type="image" value="selectAll" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-Select-All-image", "../uwc/images/check_all.gif") %>" alt='<%= getLocalizedLabel(session, "uwc-common-SelectAll-title", "Select All Items Displayed in Table")%>' align="top" width="15" height="13" border="0" title='<%= getLocalizedLabel(session, "uwc-common-SelectAll-title", "Select All Items Displayed in Table")%>' onclick="handleCheckAll(); return false;" tabindex="10">
                <input name="deSelectAll" type="image" value="deSelectAll" src="<%=getLocalizedLabel(session, "skinModel", "uwc-calclient-Deselect-All-image", "../uwc/images/uncheck_all.gif") %>" alt='<%= getLocalizedLabel(session, "uwc-common-DeselectAll-title", "Deselect All Items Displayed in Table")%>' align="top" width="15" height="13" border="0" title='<%= getLocalizedLabel(session, "uwc-common-DeselectAll-title", "Deselect All Items Displayed in Table")%>' onclick="handleUnCheckAll(); return false;" tabindex="11">
              </div>
            </th>
            <th class="TblThSrt" scope="col" width="15%">
           </jato:content>
           <jato:content name="isEmptyInvitations">
            <th scope="col" width="15%">
           </jato:content>
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-DateLabel" defaultValue="Date" escape="false" />
            </th>
            <th scope="col" width="40%">
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-EventTitleLabel" defaultValue="Event Title" escape="false" />
            </th>
            <th scope="col" width="16%">
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-OrganizerLabel" defaultValue="Organizer" escape="false" />
            </th>
            <th class="TblThCntr" scope="col" width="8%">
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-AcceptLabel" defaultValue="Accept" escape="false" />
            </th>
            <th class="TblThCntr" scope="col" width="8%">
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-DeclineLabel" defaultValue="Decline" escape="false" />
            </th>
            <th class="TblThCntr" scope="col" width="8%">
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-TentativeLabel" defaultValue="Tentative" escape="false" />
            </th>
          </tr>
           <jato:content name="showInvitations">
            <jato:tiledView name="invitationsTiledView" type="com.sun.uwc.calclient.InvitationsTileView">
          <tr> 
            <td scope="col" class="TblTdCl1" align="center"> 
              <jato:hidden name="eventid" />
              <jato:hidden name="calid" />
              <jato:hidden name="eventrid" />
              <jato:hidden name="remind" />
             <jato:content name="canModifyEvent" >
              <jato:checkbox name="selectevent" elementId="selectevent" />
             </jato:content>
            </td>
            <td scope="col" class="TblTdSrt">
             <jato:text name="eventdate" />
            </td>
            <td>
              <a href="<jato:text name='openevent'/>" class="LnkBold" onClick='openWinAutoHeight("<jato:text name='openevent'/>", "Event", "width=600,titlebar=yes,resizable=yes,scrollbars=yes"); return false;' >
               <jato:text name="eventtitle" escape="true" />
              </a><br>
              <jato:text name="eventtime" escape="true" />&nbsp;
              <jato:content name="hasAlarm" >
                 <img name="Notify" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-NotifyImage", "../uwc/images/LrlNotify_1.gif") %>" width="10" height="10" border="0" hspace="2" align="absmiddle" alt='<%= getLocalizedLabel(session, "uwc-common-NotifyTitle", "Notify")%>' title='<%= getLocalizedLabel(session, "uwc-common-NotifyTitle", "Notify")%>'>
              </jato:content>
              <jato:content name="isRecurring" >
                 <img src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-RecurringImage", "../uwc/images/LrlRecur_1.gif") %>" width="10" height="10" border="0" align="absmiddle" hspace="2" title='<%= getLocalizedLabel(session, "uwc-common-RecurringTitle", "Recurring")%>' alt='<%= getLocalizedLabel(session, "uwc-common-RecurringTitle", "Recurring")%>'>
              </jato:content>
              <jato:content name="isPublic" >
                 <img src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-PublicImage", "../uwc/images/LrlPrvPub_1.gif") %>" width="10" height="10" border="0" hspace="2" title='<%= getLocalizedLabel(session, "uwc-common-PublicTitle", "Public")%>' alt='<%= getLocalizedLabel(session, "uwc-common-PublicTitle", "Public")%>'> 
              </jato:content>
              <br>
              <jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-view-invitations-LocationLabel" defaultValue="Location:" escape="false" />
              <jato:text name="location" escape="true" /><br>
              <jato:text name="calname" escape="true" />
            </td>
            <td scope="col">
              <jato:content name="useWebmail">
                <a href="<jato:text name='composeUrl'/>" onClick='openWebMailCompose("<jato:text name='composeUrl'/>", "<jato:text name='orgEmail' escape='true' />", "<jato:text name='eventtitle' escape='true' />"); return false;'>
              </jato:content>
              <jato:content name="notUseWebmail">
                 <a href="mailto:<jato:text name='orgEmail' escape='true' />?subject='<jato:text name="eventtitle" escape="true" />'">
              </jato:content>

               <jato:text name="organizer" escape="true" /></a>
            </td>
            
              <td scope="col" align="center"> 
               <jato:radioButtons name="partstatAccept"  extraHtml="onClick='handleAcceptClick();' " />
            </td>
              <td scope="col" align="center"> 
               <jato:radioButtons name="partstatDecline"  extraHtml="onClick='handleDeclineClick();' " />
            </td>
              <td scope="col" align="center"> 
               <jato:radioButtons name="partstatUndecieded"  extraHtml="onClick='handleUndeciededClick();' " />
            </td>
          </tr>
          </jato:tiledView>
           <jato:content name="isEmptyInvitations">
            <tr>
              <td scope="col" class="TblTdCl1Lst" colspan="4"><%= getLocalizedLabel(session, "uwc-calclient-view-invitations-noinvitations", "This view does not have any invitations to display. Choose another filter.") %>
              </td>
             </tr>
           </jato:content>

           <jato:content name="isNotEmptyInvitations">
             <tr> 
               <td scope="col" class="TblActTdLst" colspan="7"> 
                <jato:button styleClass="Btn1" name="Delete" elementId="Delete" defaultValue='<%= getLocalizedLabel(session,"uwc-common-delete","Delete") %>'  onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabIndex="9" extraHtml='<%= getTitleForExtraHtml(session, "uwc-calclient-view-invitations-DeleteAlt", "Delete Selected Invitations") %>' onClick="return getDeleteConfirm();"/>
               </td>
             </tr>
          </jato:content>

         </jato:content>

          </tbody> 
        </table>
      </div>
    </td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
  </tr>
</table>

<!-- Spacer -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="1" height="20" alt=""></TD>
  </TR>
</TABLE>
<!-- Horizontal Top/Bottom of Page Line -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
    <TD class="TtlLin" width="100%"><IMG src="../uwc/images/spacer.gif" width="1" height="1" alt=""></TD>
  </TR>
</TABLE>
<!-- Bottom of Page Buttons -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD colspan="3"><IMG src="../uwc/images/spacer.gif" width="1" height="5" alt=""></TD>
  </TR>
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
    <jato:content name="isNotEmptyInvitations">
       <TD align="right" width="100%"> 
         <jato:button styleClass="Btn1" name="Save"  elementId="Save" defaultValue='<%= getLocalizedLabel(session, "uwc-common-save", "Save") %>' onFocus="if (this.disabled==0) this.className='Btn1Hov'" onMouseOver="if (this.disabled==0) this.className='Btn1Hov'" onMouseOut="if (this.disabled==0) this.className='Btn1'" onBlur="if (this.disabled==0) this.className='Btn1'" tabIndex="30" extraHtml='<%= getTitleForExtraHtml(session, "uwc-calclient-view-invitations-SaveAlt", "Save Changes to Attendance Status") %>' onClick="return getSaveConfirm();"/>
       </TD>
    </jato:content>

    <jato:content name="isEmptyInvitations">
       <TD align="right" width="100%"> 
         <jato:button styleClass="Btn1Dis" name="Save"   elementId="Save" defaultValue='<%= getLocalizedLabel(session, "uwc-common-save","Save") %>' tabIndex="30" onClick="return false;"/>
       </TD>
    </jato:content>

    <TD><IMG src="../uwc/images/spacer.gif" width="10" height="1" alt=""></TD>
  </TR>
</TABLE>
<!-- Spacer -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <TR> 
    <TD><IMG src="../uwc/images/spacer.gif" width="1" height="20" alt=""></TD>
  </TR>
</TABLE>
</jato:form>
</body>
</jato:useViewBean>

</html>
