Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

914 lines
30 KiB

  1. <html>
  2. <head>
  3. #include "header.inc"
  4. #include "debug_decl.inc"
  5. #include "debug_js.inc"
  6. #include "common.inc"
  7. #include "constants.inc"
  8. <TITLE id="idTitle" name="idTitle">REMOTE_ASSISTANCE_STATUS</TITLE>
  9. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  10. <meta http-equiv="MSThemeCompatible" content="Yes">
  11. <LINK id="UI_StyleSheet1" REL="STYLESHEET" TYPE="text/css" HREF="Css/rcBuddy.css" >
  12. <LINK id="UI_StyleSheet2" REL="stylesheet" TYPE="text/css" HREF="hcp://system/css/shared.css">
  13. <Script id="idScript1" name="idScript1" language="javascript">
  14. /*
  15. * Localizable constants, text and messages
  16. */
  17. var L_LOAD_Text = "Cannot continue the program. Please try again. ";
  18. var L_IPCHANGEDSTATUS_Text = "Resend required";
  19. var L_IM_Text = "IM";
  20. var L_VIEWSTATUSSELECTION_Text ="Please select an invitation.";
  21. var L_ERRACCESSDENIED_Text = "Directly launching this page is not allowed. ";
  22. var L_SAVED_Text="Saved";
  23. var L_NOINVITATION_Text="No invitations to view";
  24. var L_ALERTOPENENTRY_Text="This invitation has already been expired.";
  25. var L_RESENDALERT_Text="Cannot resend open invitation";
  26. var L_AM_Text ="AM";
  27. var L_PM_Text ="PM";
  28. var L_CORRUPTFILEMSG_Text="Remote Assistance expired and deleted one or more damaged invitations. Please send replacement invitations as necessary.";
  29. var L_UNKNOWN_Text = "Unknown";
  30. var L_SAVEDTO_Text ="Saved To";
  31. var L_SENTTO_Text ="Sent To";
  32. var L_YES_Text ="Yes (be sure you have communicated this password to your assistant)";
  33. var L_NO_Text ="No";
  34. var L_TEXT3_Text =" on ";
  35. var L_AM_Text ="AM";
  36. var L_PM_Text ="PM";
  37. var L_NOPERMISSION_Text = "Remote Assistance is disabled on this computer. To use Remote Assistance, you must enable it on the Remote tab in System Properties in Control Panel. Note that if an administrator has disabled Remote Assistance in Group Policy Object Editor, you cannot enable it in System Properties.";
  38. var sIP = "";
  39. var oSmapi = null;
  40. var flag=0;
  41. var flag_corrupt=false;
  42. function onLoad()
  43. {
  44. TraceFunctEnter("onLoad");
  45. try
  46. {
  47. var sStatus = null;
  48. if( null == parent.OnLoad || parent.g_bRAStart == null )
  49. {
  50. idBody.style.visibility = "hidden";
  51. window.navigate( "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Common/rcscreen1.htm" );
  52. return;
  53. }
  54. try
  55. {
  56. var oSetting = new ActiveXObject( szProgIDEscalationSetting );
  57. sIP = oSetting.GetIPAddress;
  58. }
  59. catch (error)
  60. {
  61. alert(parent.L_RCCTL_Text);
  62. return;
  63. }
  64. try
  65. {
  66. var chan = parent.pchealth.CreateObject_Channel(parent.sVendorID,parent.sProductID );
  67. for(var e = new Enumerator(chan.Incidents(2)); !e.atEnd(); e.moveNext())
  68. {
  69. var inc = e.item();
  70. var XMLFile = inc.XMLDataFile;
  71. if (XMLFile == "")
  72. {
  73. alert(parent.L_FileNotFound_Text);
  74. continue;
  75. }
  76. var oInc = parent.pchealth.CreateObject_Incident();
  77. try
  78. {
  79. oInc.LoadFromXMLFile(XMLFile);
  80. }
  81. catch(error)
  82. {
  83. var oSession = parent.pchealth.CreateObject_RemoteDesktopSession(0, oInc.RcTicket,"");
  84. oSession.CloseRemoteDesktopSession();
  85. oSession = null;
  86. inc.DeleteIncidentItem();
  87. flag_corrupt = true;
  88. continue;
  89. }
  90. if (oInc.Misc("Method")!=L_IM_Text)
  91. {
  92. var iStart = parseInt(oInc.Misc("DtStart")) + parseInt(oInc.Misc("DtLength")) * 60;
  93. if( (oInc.Misc("Status") == null) || (oInc.Misc("Status") == parent.INCIDENTSTATUS_OPEN) ||
  94. (oInc.Misc("Status") == parent.INCIDENTSTATUS_IPCHANGED))
  95. {
  96. var iNow = Math.round(Date.parse(new Date()) / 1000);
  97. if (iNow <= iStart)
  98. {
  99. if (sIP.length >0 && IPChanged(oInc.Misc("IP")))
  100. {
  101. sStatus = "<Span class='sys-font-body sys-color-body-alert'>"+ L_IPCHANGEDSTATUS_Text +"</span>";
  102. oInc.Misc("Status") = parent.INCIDENTSTATUS_IPCHANGED;
  103. }
  104. else
  105. {
  106. sStatus ="<Span class='sys-font-body sys-color-body-ok'>"+ parent.L_ACTIVESTATUS_Text +"</span>";
  107. oInc.Misc("Status") = parent.INCIDENTSTATUS_OPEN;
  108. }
  109. }
  110. else
  111. {
  112. sStatus = "<Span class='sys-font-body sys-color-body'>"+parent.L_EXPIREDSTATUS_Text+"</span>";
  113. oInc.Misc("Status") = parent.INCIDENTSTATUS_EXPIRED;
  114. }
  115. oInc.GetXML(XMLFile);
  116. }
  117. else if (oInc.Misc("Status")==parent.INCIDENTSTATUS_EXPIRED)
  118. {
  119. sStatus="<span class='sys-font-body sys-color-body'>"+parent.L_EXPIREDSTATUS_Text+"</span>";
  120. }
  121. if (oInc.Misc("Method")==parent.sMethodFile || oInc.Misc("Method")==parent.L_FILE_Text)
  122. {
  123. AddRecord(L_SAVED_Text, iStart, sStatus, inc );
  124. }
  125. else
  126. {
  127. var DisplayStr;
  128. DisplayStr= inc.DisplayString;
  129. if (DisplayStr.length>30)
  130. {
  131. DisplayStr= DisplayStr.substr(0,30)+"...";
  132. }
  133. AddRecord(DisplayStr, iStart, sStatus, inc);
  134. }
  135. }
  136. }
  137. }
  138. catch (error)
  139. {
  140. alert(L_LOAD_Text);
  141. return;
  142. }
  143. // if No Records are present
  144. if (idTableList.rows.length == 2)
  145. {
  146. AddRecord(L_NOINVITATION_Text, null, null, null);
  147. idDetails.disabled=true;
  148. idExpire.disabled=true;
  149. idResend.disabled=true;
  150. idDelete.disabled=true;
  151. idConnIssue.focus();
  152. }
  153. else
  154. {
  155. idDetails.focus();
  156. }
  157. //to give the look for the table
  158. Tablelook();
  159. if(flag_corrupt)
  160. {
  161. alert(L_CORRUPTFILEMSG_Text);
  162. }
  163. }
  164. catch(error)
  165. {
  166. alert(parent.L_RCCTL_Text);
  167. return;
  168. }
  169. TraceFunctLeave();
  170. }
  171. function IPChanged(oldIPs)
  172. {
  173. TraceFunctEnter("IPChanged");
  174. try
  175. {
  176. var ips = sIP.split(";");
  177. for (i=0; i< ips.length; i++)
  178. {
  179. if(oldIPs.indexOf(ips[i]) != -1)
  180. {
  181. return false;
  182. }
  183. }
  184. }
  185. catch(error)
  186. {
  187. alert(parent.L_RCCTL_Text);
  188. return;
  189. }
  190. TraceFunctLeave();
  191. return true;
  192. }
  193. function AddRecord(sEmail, iExpired, sStatus, incItem)
  194. {
  195. TraceFunctEnter("AddRecord");
  196. try
  197. {
  198. var temp=0;
  199. var i=1;
  200. var x;
  201. var iExpireTemp;
  202. var oRow;
  203. if (iExpired!=null)
  204. {
  205. var e=new Enumerator(document.all("idTableList").all.tags("TR"));
  206. e.moveNext();
  207. while(i<idTableList.rows.length-1)
  208. {
  209. x=e.item();
  210. iExpireTemp=x.getAttribute("val");
  211. if (iExpireTemp<iExpired)
  212. {
  213. temp=1;
  214. oRow=idTableList.insertRow(i);
  215. CreateRow(oRow,sEmail, iExpired, sStatus, incItem);
  216. break;
  217. }
  218. i=i+1;
  219. e.moveNext();
  220. }
  221. if (temp==0)
  222. {
  223. oRow=idTableList.insertRow(idTableList.rows.length-1);
  224. CreateRow(oRow,sEmail, iExpired, sStatus, incItem);
  225. }
  226. }
  227. else
  228. {
  229. oRow=idTableList.insertRow(idTableList.rows.length-1);
  230. oRow.insertCell(0);
  231. oRow.cells(0).innerHTML="";
  232. oRow.insertCell(1);
  233. oRow.cells(1).className="sys-font-body sys-color-body ";
  234. oRow.cells(1).innerHTML =sEmail;
  235. oRow.insertCell(2);
  236. oRow.insertCell(3);
  237. }
  238. }
  239. catch(error)
  240. {
  241. alert(parent.L_RCCTL_Text);
  242. return;
  243. }
  244. TraceFunctLeave();
  245. }
  246. function CreateRow(oRow,sEmail, iExpired, sStatus, incItem)
  247. {
  248. TraceFunctEnter("CreateRow");
  249. try
  250. {
  251. oRow.insertCell(0);
  252. oRow.cells(0).innerHTML="<Input type='radio' name='idradiostatus' id='idradiostatus"+flag+"' tabindex='1'>&nbsp;&nbsp;";
  253. oRow.insertCell(1);
  254. oRow.cells(1).className="sys-font-body sys-color-body borderType4";
  255. oRow.cells(1).innerHTML = "<Label id='idLabel"+flag+"' name='idLabel"+flag +"' For='idradiostatus"+ flag +"'>"+ sEmail+ "</Label>&nbsp;&nbsp;";
  256. oRow.insertCell(2);
  257. try
  258. {
  259. var oDate = new Date(iExpired*1000);
  260. oRow.cells(2).className="sys-font-body sys-color-body borderType4";
  261. oRow.cells(2).align="center";
  262. oRow.cells(2).name="Cell2";
  263. oRow.cells(2).id="Cell2";
  264. oRow.cells(2).innerHTML = "&nbsp;&nbsp;"+GetTime(oDate)+"&nbsp;&nbsp;";
  265. }
  266. catch(error)
  267. {
  268. alert(parent.L_RCCTL_Text);
  269. return;
  270. }
  271. oRow.insertCell(3);
  272. oRow.cells(3).className="sys-font-body sys-color-body";
  273. oRow.cells(3).name="Cell3";
  274. oRow.cells(3).id="Cell3";
  275. oRow.cells(3).innerHTML = "&nbsp;&nbsp;"+sStatus+"&nbsp;&nbsp;";
  276. oRow.setAttribute("Name",sEmail);
  277. oRow.setAttribute("val", iExpired);
  278. oRow.setAttribute("item", incItem);
  279. flag=flag+1;
  280. }
  281. catch(error)
  282. {
  283. alert(parent.L_RCCTL_Text);
  284. return;
  285. }
  286. TraceFunctLeave();
  287. }
  288. function GetTime(oDate)
  289. {
  290. TraceFunctEnter("GetTime");
  291. try
  292. {
  293. var DateTime;
  294. /* var Hr;
  295. var Min;
  296. var DayNight;
  297. var Month;
  298. var Date;
  299. var Year;
  300. DateTime = oDate;
  301. Hr = DateTime.getHours() % 12;
  302. if (Hr == 0)
  303. {
  304. Hr = 12;
  305. }
  306. if (Hr<10)
  307. {
  308. Hr="&nbsp;&nbsp;"+Hr;
  309. }
  310. Min=DateTime.getMinutes();
  311. if(Min<10)
  312. {
  313. Min="0"+Min;
  314. }
  315. DayNight=(DateTime.getHours()>=12)? L_PM_Text : L_AM_Text ;
  316. Month=DateTime.getMonth()+1;
  317. if (Month<10)
  318. {
  319. Month="0"+Month;
  320. }
  321. Date=DateTime.getDate();
  322. if (Date<10)
  323. {
  324. Date="0"+Date;
  325. }
  326. Year=DateTime.getYear();
  327. DateTime = Hr + ":"+Min+" "+DayNight+"&nbsp;&nbsp;"+Month+"/"+Date+"/"+Year; */
  328. DateTime=oDate.toLocaleString();
  329. }
  330. catch(error)
  331. {
  332. //alert(parent.L_RCCTL_Text);
  333. //return;
  334. DateTime=L_UNKNOWN_Text;
  335. }
  336. TraceFunctLeave();
  337. return(DateTime);
  338. }
  339. function Tablelook()
  340. {
  341. TraceFunctEnter("Tablelook");
  342. try
  343. {
  344. for(i=1;i< idTableList.rows.length-1;i++)
  345. {
  346. if ((idTableList.rows(i).rowIndex % 2)==0)
  347. {
  348. idTableList.rows(i).className="sys-table-cell-bcolor1";
  349. }
  350. else
  351. {
  352. idTableList.rows(i).className="sys-table-cell-bgcolor2";
  353. }
  354. }
  355. }
  356. catch(error)
  357. {
  358. alert(parent.L_RCCTL_Text);
  359. return;
  360. }
  361. TraceFunctLeave();
  362. }
  363. function OnDetails()
  364. {
  365. TraceFunctEnter("OnDetails");
  366. try
  367. {
  368. var oRow;
  369. var col;
  370. var vArgs;
  371. var XMLFile;
  372. var oInc;
  373. var oDate;
  374. var iExpire;
  375. vArgs = new Array(5);
  376. col=new Enumerator(document.all.tags("Input"));
  377. for (;!col.atEnd();col.moveNext())
  378. {
  379. x=col.item();
  380. if (x.type=="radio" && x.checked)
  381. {
  382. oRow=x.parentElement.parentElement;
  383. break;
  384. }
  385. }
  386. if (oRow==null)
  387. {
  388. alert(L_VIEWSTATUSSELECTION_Text);
  389. return false;
  390. }
  391. XMLFile=oRow.getAttribute("item").XMLDataFile;
  392. oInc = parent.pchealth.CreateObject_Incident();
  393. oInc.LoadFromXMLFile(XMLFile);
  394. //Method
  395. if(oInc.Misc("Method")==parent.sMethodFile || oInc.Misc("Method")==parent.L_FILE_Text)
  396. {
  397. vArgs[0]=L_SAVEDTO_Text;
  398. }
  399. else
  400. {
  401. vArgs[0]=L_SENTTO_Text;
  402. }
  403. //sent to
  404. oDate = new Date(oInc.Misc("DtStart")*1000);
  405. vArgs[1]=oRow.getAttribute("item").DisplayString+" at "+GetTime(oDate);
  406. //expiry time
  407. iExpire=parseInt(oInc.Misc("DtStart")) + parseInt(oInc.Misc("DtLength")) * 60;
  408. oDate = new Date(iExpire*1000);
  409. vArgs[2]=GetTime(oDate);
  410. //status
  411. // Depending on the incident status - we need to populate vArgs[3] with the corresponding
  412. // status string.
  413. if(oInc.Misc("Status") == parent.INCIDENTSTATUS_EXPIRED)
  414. {
  415. vArgs[3] = parent.L_EXPIREDSTATUS_Text;
  416. }
  417. else if (oInc.Misc("Status") == parent.INCIDENTSTATUS_OPEN)
  418. {
  419. vArgs[3] = parent.L_ACTIVESTATUS_Text;
  420. }
  421. else if (oInc.Misc("Status") == parent.INCIDENTSTATUS_IPCHANGED)
  422. {
  423. vArgs[3] = L_IPCHANGEDSTATUS_Text;
  424. }
  425. else
  426. {
  427. vArgs[3] = null;
  428. }
  429. //Password??
  430. if (oInc.RCTicketEncrypted)
  431. {
  432. vArgs[4]=L_YES_Text;
  433. }
  434. else
  435. {
  436. vArgs[4]=L_NO_Text;
  437. }
  438. var ShowDetails=new ActiveXObject("RcBdyCtl.MsgBox");
  439. ShowDetails.ShowTicketDetails(vArgs[0],vArgs[1],vArgs[2],vArgs[3],vArgs[4]);
  440. }
  441. catch(error)
  442. {
  443. alert(parent.L_RCCTL_Text);
  444. return;
  445. }
  446. TraceFunctLeave();
  447. }
  448. function OnExpire()
  449. {
  450. TraceFunctEnter("OnExpire");
  451. try
  452. {
  453. var col=new Enumerator(document.all.tags("Input"));
  454. var oRow;
  455. var oItem;
  456. var XMLFile;
  457. for (;!col.atEnd();col.moveNext())
  458. {
  459. x=col.item();
  460. if (x.type=="radio" && x.checked)
  461. {
  462. oRow=x.parentElement.parentElement;
  463. x.checked=false;
  464. oItem = oRow.getAttribute("item");
  465. XMLFile = oItem.XMLDataFile;
  466. try
  467. {
  468. var oInc = parent.pchealth.CreateObject_Incident();
  469. oInc.LoadFromXMLFile(XMLFile);
  470. }
  471. catch(error)
  472. {
  473. alert(parent.L_RCCTL_Text);
  474. return;
  475. }
  476. if (oInc.Misc("Status")== parent.INCIDENTSTATUS_OPEN)
  477. {
  478. try
  479. {
  480. // Close Session
  481. var oSession = parent.pchealth.CreateObject_RemoteDesktopSession(0, oInc.RcTicket,"");
  482. oSession.CloseRemoteDesktopSession();
  483. oSession = null;
  484. }
  485. catch(error)
  486. {
  487. alert(parent.L_RCCTL_Text);
  488. window.navigate("rcStatus.htm");
  489. return;
  490. }
  491. // Update table
  492. oInc.Misc("Status") = parent.INCIDENTSTATUS_EXPIRED;
  493. oInc.GetXML(XMLFile);
  494. var oDate = new Date();
  495. oRow.cells(2).innerHTML = "&nbsp;&nbsp;"+GetTime(oDate)+"&nbsp;&nbsp;";
  496. oRow.cells(3).innerHTML ="&nbsp;&nbsp;"+parent.L_EXPIREDSTATUS_Text+"&nbsp;&nbsp;";
  497. }
  498. else
  499. {
  500. alert(L_ALERTOPENENTRY_Text);
  501. return;
  502. }
  503. break;
  504. }
  505. }
  506. if (oRow==null)
  507. {
  508. alert(L_VIEWSTATUSSELECTION_Text);
  509. return false;
  510. }
  511. }
  512. catch(error)
  513. {
  514. alert(parent.L_RCCTL_Text);
  515. return;
  516. }
  517. TraceFunctLeave();
  518. }
  519. function OnDelete()
  520. {
  521. TraceFunctEnter("OnDelete");
  522. try
  523. {
  524. var col=new Enumerator(document.all.tags("Input"));
  525. try
  526. {
  527. var fso = new ActiveXObject("Scripting.FileSystemObject");
  528. var oRow;
  529. var oItem;
  530. var XMLFile;
  531. }
  532. catch(error)
  533. {
  534. alert(parent.L_RCCTL_Text);
  535. return;
  536. }
  537. for (;!col.atEnd();col.moveNext())
  538. {
  539. x=col.item();
  540. if (x.type=="radio" && x.checked)
  541. {
  542. oRow=x.parentElement.parentElement;
  543. oItem = oRow.getAttribute("item");
  544. XMLFile = oItem.XMLDataFile;
  545. var oInc = null;
  546. try
  547. {
  548. oInc = parent.pchealth.CreateObject_Incident();
  549. oInc.LoadFromXMLFile(XMLFile);
  550. }
  551. catch(error)
  552. {
  553. alert(parent.L_RCCTL_Text);
  554. return;
  555. }
  556. if (oInc.Misc("Status")== parent.INCIDENTSTATUS_OPEN)
  557. {
  558. //ret=window.showModalDialog("confirm.htm","","DialogWidth:405px;DialogHeight:168px;Status:no;scroll:no");
  559. var ShowConfirm=new ActiveXObject("RcBdyCtl.MsgBox");
  560. ret=ShowConfirm.DeleteTicketMsgBox();
  561. if (ret==1)
  562. {
  563. try
  564. {
  565. // Close Session
  566. var oSession = parent.pchealth.CreateObject_RemoteDesktopSession(0, oInc.RcTicket, "");
  567. oSession.CloseRemoteDesktopSession();
  568. oSession=null;
  569. }
  570. catch(error)
  571. {
  572. alert(parent.L_RCCTL_Text);
  573. window.navigate("rcStatus.htm");
  574. return;
  575. }
  576. oInc.Misc("Status") = parent.INCIDENTSTATUS_EXPIRED;
  577. oInc.GetXML(XMLFile);
  578. }
  579. else
  580. {
  581. return false;
  582. }
  583. }
  584. else if (oInc.Misc("Status")== parent.INCIDENTSTATUS_IPCHANGED)
  585. {
  586. try
  587. {
  588. // Close Session
  589. var oSession = parent.pchealth.CreateObject_RemoteDesktopSession(0, oInc.RcTicket, "");
  590. oSession.CloseRemoteDesktopSession();
  591. oSession = null;
  592. }
  593. catch(error)
  594. {
  595. alert(parent.L_RCCTL_Text);
  596. window.navigate("rcStatus.htm");
  597. return;
  598. }
  599. oInc.Misc("Status") = parent.INCIDENTSTATUS_EXPIRED;
  600. oInc.GetXML(XMLFile);
  601. }
  602. oItem.DeleteIncidentItem();
  603. // Update table
  604. idTableList.deleteRow(oRow.rowIndex);
  605. try
  606. {
  607. fso.DeleteFile( XMLFile );
  608. }
  609. catch(error)
  610. {
  611. alert(parent.L_RCCTL_Text);
  612. return;
  613. }
  614. break;
  615. }
  616. }
  617. if (oRow==null)
  618. {
  619. alert(L_VIEWSTATUSSELECTION_Text);
  620. return false;
  621. }
  622. if (idTableList.rows.length == 2) // No record
  623. {
  624. AddRecord(L_NOINVITATION_Text, null, null, null);
  625. idDetails.disabled=true;
  626. idExpire.disabled=true;
  627. idResend.disabled=true;
  628. idDelete.disabled=true;
  629. }
  630. Tablelook();
  631. }
  632. catch(error)
  633. {
  634. alert(parent.L_RCCTL_Text);
  635. return;
  636. }
  637. TraceFunctLeave();
  638. }
  639. function OnResend()
  640. {
  641. TraceFunctEnter("OnResend");
  642. try
  643. {
  644. var col=new Enumerator(document.all.tags("Input"));
  645. var oRow;
  646. var oItem;
  647. var XMLFile;
  648. for (;!col.atEnd();col.moveNext())
  649. {
  650. x=col.item();
  651. if (x.type=="radio" && x.checked)
  652. {
  653. var oRARegSetting = new ActiveXObject("RACplDlg.RARegSetting");
  654. var Allow = oRARegSetting.AllowGetHelp;
  655. if (Allow == 0)
  656. {
  657. alert (L_NOPERMISSION_Text);
  658. return;
  659. }
  660. // Check IP address first
  661. if (parent.GetIPAddress() == "")
  662. {
  663. parent.SwitchToOfflinePage();
  664. return;
  665. }
  666. oRow=x.parentElement.parentElement;
  667. oItem = oRow.getAttribute("item");
  668. parent.sTo=oRow.getAttribute("Name");
  669. XMLFile = oItem.XMLDataFile;
  670. var oInc = null;
  671. try
  672. {
  673. oInc = parent.pchealth.CreateObject_Incident();
  674. oInc.LoadFromXMLFile(XMLFile);
  675. }
  676. catch(error)
  677. {
  678. alert(parent.L_RCCTL_Text);
  679. return;
  680. }
  681. if (oInc.Misc("Status")== parent.INCIDENTSTATUS_OPEN)
  682. {
  683. alert(L_RESENDALERT_Text);
  684. return;
  685. }
  686. else
  687. {
  688. // save ticket duration
  689. parent.tempTime = parseInt(oInc.Misc("DtLength"));
  690. parent.tempStore=oItem;
  691. if(oInc.Misc("Method")==parent.sMethodFile || oInc.Misc("Method")==parent.L_FILE_Text)
  692. {
  693. navigate("Escalation/Email/rcScreen8.htm?Resend");
  694. }
  695. else
  696. {
  697. navigate("Escalation/Email/rcScreen5.htm?Resend");
  698. }
  699. }
  700. break;
  701. }
  702. }
  703. if (oRow==null)
  704. {
  705. alert(L_VIEWSTATUSSELECTION_Text);
  706. return false;
  707. }
  708. }
  709. catch(error)
  710. {
  711. alert(parent.L_RCCTL_Text);
  712. return;
  713. }
  714. TraceFunctLeave();
  715. }
  716. function ConnIssue()
  717. {
  718. TraceFunctEnter("ConnIssue");
  719. try
  720. {
  721. var szURL = "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Common/ConnIssue.htm";
  722. window.showModalDialog( szURL,parent.GetWinDir(), "dialogHeight:440px;dialogWidth:385px;status:no;resizable:no;help:no" );
  723. }
  724. catch(error)
  725. {
  726. alert(parent.L_RCCTL_Text);
  727. return;
  728. }
  729. TraceFunctLeave();
  730. }
  731. </Script>
  732. <style>
  733. .Width8
  734. {
  735. width:5%;
  736. }
  737. .width10
  738. {
  739. width:25%;
  740. }
  741. .Width11
  742. {
  743. width:92%;
  744. }
  745. .Width12
  746. {
  747. width:97%;
  748. }
  749. .width14
  750. {
  751. width:30%;
  752. }
  753. .bordertype4
  754. {
  755. border-right:1px solid;
  756. }
  757. .bordertype5
  758. {
  759. border-bottom:1px solid;
  760. }
  761. .bordertype6
  762. {
  763. border-top:1px solid;
  764. }
  765. </style>
  766. </head>
  767. <BODY id="idBody" name="idBody" scroll="auto" onload="onLoad();" class="margin sys-rhp-bgcolor">
  768. <table class="MaxLayout" id="idtableframe" name="idtableframe" cellpadding="16px" border="0">
  769. <tr>
  770. <td class="valignTop">
  771. <TABLE id="RA_Table" name="RA_Table" class="MaxWidth" border="0" cellspacing="0" cellpadding="0">
  772. <TR>
  773. <TD id="idTd1" name="idTd1">
  774. <Span id="idMainTitle" name="idMainTitle" class="sys-font-heading3 sys-rhp-color-title">Remote Assistance</Span>
  775. </TD>
  776. </TR>
  777. <TR>
  778. <TD class="height9">
  779. </TD>
  780. </TR>
  781. <TR>
  782. <TD id="idTd2" name="idTd2">
  783. <span id="idSubTitle" name="idSubTitle" class="sys-font-body-bold sys-color-body">View or change your invitation</span>
  784. </TD>
  785. </TR>
  786. <TR>
  787. <TD class="height8">
  788. </TD>
  789. </TR>
  790. <TR>
  791. <TD id="idTd3" name="idTd3">
  792. <span id="idText" name="idText" class="valignmiddle sys-font-body sys-color-body">To view or modify an invitation, click an item in the 'Sent To' column, and then click the appropriate button.</span>
  793. </TD>
  794. </TR>
  795. <TR>
  796. <TD class="height7">
  797. </TD>
  798. </TR>
  799. <TR>
  800. <TD class="valignTop">
  801. <Table name="idTableList" id="idTableList" cellspacing="0" cellpadding="0" border="0" class="MaxWidth borderType1 sys-table-color-border">
  802. <TR>
  803. <TD id="idCell0" name="idCell0" class="width8 borderType5 sys-table-color-border sys-inlineform-bgcolor3">
  804. &nbsp;
  805. </TD>
  806. <TD id="idCell1" name="idCell1" class="Width4 borderType4 borderType5 sys-table-color-border sys-inlineform-bgcolor3" align="center">
  807. <span id="idTitle1" name="idTitle1" class="sys-font-body-bold sys-toppane-header-color">Sent To&nbsp;&nbsp;</Span>
  808. </TD>
  809. <TD id="idCell2" name="idCell2" class="Width14 borderType4 borderType5 sys-table-color-border sys-inlineform-bgcolor3" align="center">
  810. <span id="idTitle2" name="idTitle2" class="sys-font-body-bold sys-toppane-header-color">Expiration Time</span>
  811. </TD>
  812. <TD id="idCell3" name="idCell3" class="Width10 borderType5 sys-table-color-border sys-inlineform-bgcolor3" align="center">
  813. <Span id="idTitle3" name="idTitle3" class="sys-font-body-bold sys-toppane-header-color">Status</span>
  814. </TD>
  815. </TR>
  816. <TR>
  817. <TD colspan=4>
  818. <Table name="idBtnContainer" id="idBtnContainer" cellspacing="2px" cellpadding="0" border="0" class="MaxWidth bordertype6 sys-table-header-bgcolor1 sys-table-color-border">
  819. <TR>
  820. <TD id="idTd5" name="idTd5" class="Width10">
  821. &nbsp;<Button id="idDetails" name="idDetails" class="sys-font-body Width11" onclick="OnDetails();" accesskey="D" tabindex="2"><U>D</U>etails</Button>
  822. </TD>
  823. <TD class="Width10">
  824. <Button id="idExpire" name="idExpire" class="sys-font-body Width12" onclick="OnExpire();" accesskey="E" tabindex="3"><U>E</U>xpire</Button>
  825. </TD>
  826. <TD class="Width10">
  827. <Button id="idResend" name="idResend" class="sys-font-body Width12" onclick="OnResend();" accesskey="R" tabindex="4"><U>R</U>esend...</Button>
  828. </TD>
  829. <TD class="Width10">
  830. <Button id="idDelete" name="idDelete" class="sys-font-body Width12" onclick="OnDelete();" accesskey="L" tabindex="5">De<U>l</U>ete</Button>
  831. </TD>
  832. </TR>
  833. </Table>
  834. </TD>
  835. </TR>
  836. </Table>
  837. </TD>
  838. </TR>
  839. <TR>
  840. <TD class="height7">
  841. </TD>
  842. </TR>
  843. <TR>
  844. <TD id="idTd4" name="idTd4">
  845. <A name="idConnIssue" name="idConnIssue" href="" ondragstart="return false;" onclick="ConnIssue();return false;" class="sys-font-body sys-link-normal" tabindex="6">Tell me about connection issues</A>
  846. </TD>
  847. </TR>
  848. </Table>
  849. </TD>
  850. </TR>
  851. </Table>
  852. </Body>
  853. </html>