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.
177 lines
5.0 KiB
177 lines
5.0 KiB
<HTML>
|
|
<HEAD>
|
|
#include "header.inc"
|
|
#include "debug_js.inc"
|
|
#include "constants.inc"
|
|
<meta http-equiv="MSThemeCompatible" content="Yes">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<TITLE>Remote Assistance</TITLE>
|
|
<LINK id="UI_StyleSheet" REL="stylesheet" TYPE="text/css" HREF="../../Css/rc.css">
|
|
<LINK id="UI_StyleSheet1" REL="stylesheet" TYPE="text/css" HREF="hcp://system/css/shared.css">
|
|
|
|
<SCRIPT Language="JavaScript">
|
|
//
|
|
// Salem objects.
|
|
//
|
|
g_bDebug = false;
|
|
|
|
var L_ERRACCESSDENIED_Text = "Directly launching this page is not allowed. ";
|
|
//
|
|
// InitiateMsg: Initiates the message dialog
|
|
//
|
|
function InitiateMsg()
|
|
{
|
|
TraceFunctEnter("InitiateMsg");
|
|
try
|
|
{
|
|
var vArgs = window.dialogArguments;
|
|
idExpert1.innerText = vArgs[0];
|
|
idExpert2.innerText = vArgs[0];
|
|
idExpert3.innerText = vArgs[0];
|
|
|
|
var iNewHeight = idBody.scrollHeight + 45;
|
|
window.dialogHeight = iNewHeight + "px";
|
|
}
|
|
catch(error)
|
|
{
|
|
idBody.style.visibility = "hidden";
|
|
alert( L_ERRACCESSDENIED_Text );
|
|
return;
|
|
}
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
//handling Esc key
|
|
function document.onkeydown()
|
|
{
|
|
TraceFunctEnter("document.onkeydown");
|
|
try
|
|
{
|
|
switch (event.keyCode)
|
|
{
|
|
case 27:
|
|
event.returnValue=false;
|
|
window.returnValue = 1;
|
|
window.close();
|
|
break;
|
|
}
|
|
}
|
|
catch(error)
|
|
{
|
|
window.event.returnValue = false;
|
|
}
|
|
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
//handling "arrow keys"
|
|
function TabOrder(id)
|
|
{
|
|
TraceFunctEnter("TabOrder");
|
|
try
|
|
{
|
|
if ((event.keyCode==39) || (event.keyCode==37))
|
|
{
|
|
if (id==0)
|
|
{
|
|
button1.focus();
|
|
event.returnValue=false;
|
|
}
|
|
else
|
|
{
|
|
button0.focus();
|
|
event.returnValue=false;
|
|
}
|
|
}
|
|
}
|
|
catch(error)
|
|
{
|
|
event.srcElement.focus();
|
|
window.event.returnValue = false;
|
|
}
|
|
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
//
|
|
// OnClickHandler: Returns the id of the button to parent on Clicking
|
|
//
|
|
function onClickHandler( id )
|
|
{
|
|
TraceFunctEnter("onClickHandler");
|
|
try
|
|
{
|
|
window.returnValue = id;
|
|
window.close();
|
|
}
|
|
catch(error)
|
|
{
|
|
window.event.returnValue=false;
|
|
}
|
|
|
|
TraceFunctLeave();
|
|
}
|
|
</SCRIPT>
|
|
<Style>
|
|
.height14
|
|
{
|
|
height:5px;
|
|
}
|
|
</Style>
|
|
</HEAD>
|
|
|
|
<BODY id="idBody" class="sys-inlineform-bgcolor1" onload=InitiateMsg()>
|
|
<Table name="idMainTable" id="idMainTable" class="MaxLayout" cellpadding="0" cellspacing="0" border=0>
|
|
<TR>
|
|
<TD class="padding6 padding4 padding3">
|
|
<table id="idMsgTbl" name="idMsgTbl" cellspacing=0 cellpadding=0 class="MaxLayout" border=0>
|
|
<tr id="TR0" name="TR0">
|
|
<td id="MessageId" colspan=2 name="MessageId" class="sys-font-body sys-color-body padding5 padding2 padding8">
|
|
<Span id="idExpert1" name="idExpert1">Your Helper</Span> would like to share control of your computer to help solve the problem.
|
|
</td>
|
|
</tr>
|
|
<TR>
|
|
<TD class="height5" colspan=2>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<td id="idTD2" name="idTD2" class="sys-font-body sys-color-body padding5 padding2" colspan=2>
|
|
Do you wish to let <Span id="idExpert2" name="idExpert2">Your Helper </Span> share control of your computer?
|
|
</td>
|
|
</tr>
|
|
<TR>
|
|
<TD class="height13" colspan=2>
|
|
</TD>
|
|
</TR>
|
|
<tr id="TR2" name="TR2">
|
|
<td id="idbtnrow" name="idbtnrow" align=right colspan=2 class="padding2">
|
|
<button class="styBtnWidth sys-font-body sys-color-body" onClick="onClickHandler(0)" onkeydown="TabOrder(0);" id="button0" name="button0" tabindex=2 accesskey="Y"><U>Y</U>es</button>
|
|
<Span id="idblankSpace" name="idblankSpace" class="width8"></Span>
|
|
<button class="styBtnWidth sys-font-body sys-color-body" onClick="onClickHandler(1)" onkeydown="TabOrder(1);" id="button1" name="button1" tabindex=1 accesskey="N"><U>N</U>o</button>
|
|
</td>
|
|
</tr>
|
|
<TR id="TR3" name="TR3">
|
|
<td id="TD0TR3" name="TD0TR3" colspan=2 class="padding5 padding2">
|
|
<HR>
|
|
</td>
|
|
</TR>
|
|
<tr>
|
|
<td class="height14" colspan=2>
|
|
</TD>
|
|
</tr>
|
|
<TR id="TR5" name="TR5">
|
|
<td id="TD0TR5" name="TD0TR5" class="padding5 padding7">
|
|
<IMG id="idimg" name="idimg" class="Maxheight" src="ESC_key.gif">
|
|
</td>
|
|
<td id="TD2TR5" name="TD2TR5" class="sys-font-body sys-color-body padding2 padding6">
|
|
It is recommended that you and <Span id="idExpert3" name="idExpert3"> your helper </Span> do not use the
|
|
mouse at the same time. You can monitor all activity and stop control at any time by pressing the ESC key. Note that
|
|
using any key sequence or combination including the ESC key will also stop control.
|
|
</td>
|
|
</tr>
|
|
</Table>
|
|
</TD>
|
|
</TR>
|
|
</Table>
|
|
</BODY>
|
|
</HTML>
|