2025-04-27 07:49:33 -04:00

181 lines
5.2 KiB
Plaintext

<html>
<head>
#include "header.inc"
#include "debug_js.inc"
#include "constants.inc"
<TITLE id="idTitle" name="idTitle">REMOTE_ASSISTANCE_INVITE</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="MSThemeCompatible" content="Yes">
<LINK id="UI_StyleSheet1" REL="STYLESHEET" TYPE="text/css" HREF="../../Css/rcBuddy.css">
<LINK id="UI_StyleSheet2" REL="stylesheet" TYPE="text/css" HREF="hcp://system/css/shared.css">
<Script id="idScript1" name="idScript1" language="JavaScript">
/*
* Localizable constants, text and messages
*/
var L_NOPERMISSION_Text = "Your current system settings prevent you from sending an invitation.";
var L_ERRACCESSDENIED_Text = "Directly launching this page is not allowed. ";
function WinLoad()
{
TraceFunctEnter("WinLoad");
if( null == parent.OnLoad )
{
idBody.style.visibility = "hidden";
window.navigate( "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Common/rcscreen1.htm" );
return;
}
else
{
parent.g_bRAStart = true;
idInvite.focus();
try
{
var i=0;
var chan = parent.pchealth.CreateObject_Channel(parent.sVendorID,parent.sProductID );
var e = new Enumerator(chan.Incidents(2));
for (;!e.atEnd();e.moveNext())
{
i++;
}
}
catch(error)
{
alert(parent.L_NOCHANNEL_Text);
return;
}
idCount.innerText=" ("+i+")";
}
TraceFunctLeave();
}
function DoInvite()
{
TraceFunctEnter("DoInvite");
try
{
var oRARegSetting = new ActiveXObject("RACplDlg.RARegSetting");
var Allow = oRARegSetting.AllowGetHelp;
if (Allow == 0)
{
alert (L_NOPERMISSION_Text);
return;
}
var oSetting = new ActiveXObject(szProgIDEscalationSetting);
ip = oSetting.GetIPAddress;
if (ip==null || ip=="" || ip =="0.0.0.0")
{
var sURL = "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Common/rcscreen3.htm";
location.href = "hcp://system/errors/Connection.htm?online_url=" + sURL + "&topic_title=&topic_intro=&offline_url=";
}
else
{
navigate("rcScreen3.htm");
}
}
catch (error)
{
alert(parent.L_RCCTL_Text);
return;
}
TraceFunctLeave();
}
function ViewStatus()
{
TraceFunctEnter("ViewStatus");
try
{
navigate("../../rcStatus.htm");
}
catch(error)
{
alert(parent.L_RCCTL_Text);
return;
}
TraceFunctLeave();
}
function MoreInfo()
{
TraceFunctEnter("MoreInfo");
try
{
var szURL = "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Common/RAHelp.htm?0";
window.showModelessDialog( szURL,"", "dialogHeight:440px;dialogWidth:385px;status:no;resizable:no;help:no" );
}
catch(error)
{
alert(parent.L_RCCTL_Text);
return;
}
TraceFunctLeave();
}
</script>
</head>
<BODY id="idBody" scroll="auto" onload="WinLoad();" class="margin sys-rhp-bgcolor">
<table class="MaxWidth" id="idtableframe" name="idtableframe" cellpadding="16px" border=0>
<tr>
<td>
<TABLE id="RA_Table" name="RA_Table" class="MaxWidth" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD id="idTd1" name="idTD1"><Span id="idMainTitle" name="idMainTitle" class="sys-font-heading3 sys-rhp-color-title">Remote Assistance</Span></TD>
</TR>
<TR>
<TD class="height9">
</TD>
</TR>
#if 0
<TR>
<TD id="idTd2" name="idTD2">
<span id="idSubTitle" name="idSubTitle" class="sys-font-body-bold sys-color-body">Invite someone you trust to help you</span>
</TD>
</TR>
<TR>
<TD class="height8">
</TD>
</TR>
#endif
<TR>
<TD id="idTd3" name="idTD3">
<span id="idText" name="idText" class="valignmiddle sys-font-body sys-color-body">Invite someone you trust to help you. Using an Internet connection, anyone running Windows XP can chat with you, view your screen, and with your permission, work on your computer.</span>
</TD>
</TR>
<TR>
<TD class="height7">
</TD>
</TR>
<TR>
<TD id="idTd4" name="idTD4">
<A href="" id="idInvite" name="idInvite" onclick="DoInvite();return false;" ondragstart="return false;" tabindex="1" class="sys-font-body sys-link-normal valignmiddle"><Img id="idimg1" name="idimg1" class="valignbottom borderNone" src="arrow.gif"></Img>&nbsp;Invite someone to help you</A>
</TD>
</TR>
<TR>
<TD class="height7">
</TD>
</TR>
<TR>
<TD id="idTd5" name="idTD5">
<A href="" id="idstatus" name="idstatus" onclick="ViewStatus();return false;" ondragstart="return false;" tabindex="2" class="sys-font-body sys-link-normal valignmiddle"><Img id="idimg2" name="idimg2" class="valignbottom borderNone" src="arrow.gif"></Img>&nbsp;View invitation status<span id="idCount" name="idCount"></span></A>
</TD>
</TR>
<TR>
<TD class="height7">
</TD>
</TR>
<TR>
<TD id="idTd6" name="idTD6">
<A href="" onclick="MoreInfo();return false;" ondragstart="return false;" id="idMoreInfo" name="idMoreInfo" tabindex="3" class="sys-font-body sys-link-normal">Tell me more about Remote Assistance</A>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</BODY>
</html>