if (iCurSel == 0) openNewWindow("<%=bstrVirtRoot%>/forms/ipm/note/frmroot.asp?command=new&store=" + iCurStore,"newMessageWindow",640,500);
else if (iCurSel==1) openNewWindow("<%=bstrVirtRoot%>/forms/ipm/post/frmroot.asp?command=new&ID="+szCurFolderID+"&store="+iCurStore,"newMessageWindow",640,500);
else if (iCurSel==2) openNewWindow("<%=bstrVirtRoot%>/forms/ipm/schedule/meeting/request/frmroot.asp?command=new&type=1&store="+iCurStore,"newMessageWindow",640,500);
if (iCurSel==1) openNewWindow("<%=bstrVirtRoot%>/forms/ipm/schedule/meeting/request/frmroot.asp?command=new&type=1&store="+iCurStore,"newMessageWindow",640,500);
else if (iCurSel==0) openNewWindow("<%=bstrVirtRoot%>/forms/ipm/schedule/meeting/request/frmroot.asp?command=new&type=0&store="+iCurStore,"newMessageWindow",640,500);