308 lines
9.5 KiB
HTML
308 lines
9.5 KiB
HTML
|
<%@ Language=JavaScript%>
|
||
|
<!--
|
||
|
rctool.htm: This is the Remote Control Expert channel implementation.
|
||
|
History:
|
||
|
Rajesh Soy (nsoy), Jerry O Hogan (a-jerryo), Sudha Srinivasan - created 06/21/2000
|
||
|
|
||
|
@@@@@
|
||
|
|
||
|
|
||
|
Scripts to handle UI and Remote Control
|
||
|
-->
|
||
|
<script>
|
||
|
|
||
|
//
|
||
|
// SAF Objects
|
||
|
//
|
||
|
var g_oCurrentIncident = null;
|
||
|
var g_oEncryption = null;
|
||
|
var g_oDict = null;
|
||
|
|
||
|
//
|
||
|
// Globals
|
||
|
//
|
||
|
var g_szIncidentFile = null;
|
||
|
var g_szUserName = null;
|
||
|
var g_szProblemDescription = null;
|
||
|
var g_szExpiryTime = "1 HOUR";
|
||
|
var g_szPassword = null;
|
||
|
var g_szRCTicketEncrypted = null;
|
||
|
var g_szRCTicket = null;
|
||
|
var g_bPasswordSet = false;
|
||
|
var Screen2Width = "730";
|
||
|
var Screen2Height = "700";
|
||
|
|
||
|
|
||
|
var g_bRCEnabled = false;
|
||
|
var g_szRCTicket = null;
|
||
|
var g_bConnected = false;
|
||
|
var g_szUserName = null;
|
||
|
var g_bChatBoxHidden = false;
|
||
|
var g_bNewBinaries = false;
|
||
|
var UserWidth = window.screen.availWidth;
|
||
|
var UserHeight = window.screen.availHeight;
|
||
|
var UserColorDepth = window.screen.colorDepth;
|
||
|
var g_bUserDisconnect = false;
|
||
|
var timecounter = 0;
|
||
|
var minutes = 2;
|
||
|
var seconds = 2;
|
||
|
var NotConnected = 1; // true
|
||
|
var g_szHelpeeIP = null;
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<script LANGUAGE="Javascript" SRC="Constants.js"> </script>
|
||
|
</head>
|
||
|
|
||
|
<script LANGUAGE="Javascript" SRC="RCScripts.js"> </script>
|
||
|
<LINK id="UI_StyleSheet" REL="stylesheet" TYPE="text/css" HREF="../rcbuddy/rc.css">
|
||
|
|
||
|
</head>
|
||
|
|
||
|
|
||
|
<!-- The SAF class factory object -->
|
||
|
<OBJECT classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7 height=0 id=oSAFClassFactory
|
||
|
width=0></OBJECT>
|
||
|
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Untitled Document</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||
|
</head>
|
||
|
|
||
|
<body class="styHelperBackGround" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="InitializeRCTool()">
|
||
|
|
||
|
<div id="Layer2" align="center" style="position:absolute; left:50px; top:75px; width:418px; height:42px; z-index:0; visibility:hidden">
|
||
|
<table border="0" cellspacing="2" bgcolor="e0e0e0" width="95%" cellpadding="4" align="center">
|
||
|
<tr bgcolor="#696969"> <!-- start of row 1 -->
|
||
|
<td colspan="2" valign="middle" height="2">
|
||
|
<div align="center" class="styText">
|
||
|
<font face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">
|
||
|
<strong>Remote Control Invitation </strong>
|
||
|
</font>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr> <!-- End of row 1 -->
|
||
|
|
||
|
<tr> <!-- Start of row 2 -->
|
||
|
<td bgcolor="#f5f5f5" valign="middle" height="2">
|
||
|
<div align="center" class="styText"> From </div>
|
||
|
</td>
|
||
|
<td bgcolor="#FFFFFF" height="2">
|
||
|
<div id="InviteSent" class="styText"> namgrebe@company.com </div>
|
||
|
</td>
|
||
|
</tr> <!-- End of row 2 -->
|
||
|
|
||
|
<tr> <!-- start of row 3 -->
|
||
|
<td bgcolor="#f5f5f5" valign="middle" height="23" nowrap><font color="#333333">
|
||
|
<div class="styText" align=center> Expires In </div>
|
||
|
</td>
|
||
|
<td height="23" bgcolor="#ffffff">
|
||
|
<div id="InviteExpires" class="styText">
|
||
|
54 MINUTES (4:35 PST)
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr> <!-- end of row 3 -->
|
||
|
|
||
|
<tr> <!-- start of row 4 -->
|
||
|
<td align="center" bgcolor="#f5f5f5" height="12" nowrap>
|
||
|
<div class="styText">Password</div>
|
||
|
</td>
|
||
|
|
||
|
<td height="12" bgcolor="#FFFFFF">
|
||
|
<div id="PasswordTbl">
|
||
|
<table border="0" cellspacing="4" cellpadding="0" bgcolor="#FFFFFF">
|
||
|
<table border="0">
|
||
|
<td height="30">
|
||
|
<div class="styText">
|
||
|
Enter Password
|
||
|
</div>
|
||
|
</td>
|
||
|
|
||
|
<td align="left">
|
||
|
<input type="password" id="PasswordBox" size="18" maxlength="18" onkeypress=PasswordSet()>
|
||
|
</td>
|
||
|
</table>
|
||
|
|
||
|
<table border="0">
|
||
|
<tr>
|
||
|
<td VALIGN="bottom">
|
||
|
<div class="styText">
|
||
|
If you do not have the password, contact the person requesting this help session
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr> <!-- End of row 4 -->
|
||
|
|
||
|
<tr> <!-- start of row 5 -->
|
||
|
<td colspan=2>
|
||
|
<div class="styText">
|
||
|
Do you want to start the help Session?
|
||
|
<div>
|
||
|
</td>
|
||
|
</tr> <!-- end of row 5 -->
|
||
|
|
||
|
<tr> <!-- start of row 6 -->
|
||
|
<td> </td>
|
||
|
<td>
|
||
|
<div align="right">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<BUTTON align=center CLASS="styButton" id="YES" onclick="InitScreen2()"> Yes </BUTTON>
|
||
|
</td>
|
||
|
<td>
|
||
|
<BUTTON align=center CLASS="styButton" id="NO" onClick="navigate( c_szHomePage )"> No </BUTTON>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr> <!-- end of row 6 -->
|
||
|
</table>
|
||
|
</div> <!-- end of layer 2 -->
|
||
|
<!-- nsoy change end-->
|
||
|
|
||
|
<div id="ConnectionProgressLayer" style="position:absolute; left:50px; top:50px; width:426px; height:225px; z-index:2; visibility:hidden">
|
||
|
<table border="0" style="WIDTH: 350px">
|
||
|
<tr height="30">
|
||
|
<br>
|
||
|
<td width="10%"> </td>
|
||
|
<td width="90%">
|
||
|
<div class="styText">
|
||
|
Attempting to start a help session with:
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr VALIGN="center" height="30">
|
||
|
<br>
|
||
|
<td width="10%"> </td>
|
||
|
<td width="90%">
|
||
|
<div id=HelpeeName class="styText">John Cady (helpername@hostname.com)
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table border="0" cellspacing="4" cellpadding="0" style="HEIGHT: 130px; WIDTH: 470px">
|
||
|
<tr height="40%"></tr>
|
||
|
<tr height="40%">
|
||
|
<td width="25%" bgcolor="#ffffff" > </td>
|
||
|
<td id=FirstProgressBox width="10%" bgcolor="threedlightshadow"> </td>
|
||
|
<td width="10%" bgcolor="#ffffff" > </td>
|
||
|
<td id=SecondProgressBox width="10%" bgcolor="threedlightshadow"> </td>
|
||
|
<td width="10%" bgcolor="#ffffff" > </td>
|
||
|
<td id=ThirdProgressBox width="10%" bgcolor="threedlightshadow"> </td>
|
||
|
<td width="25%" bgcolor="#ffffff"></td>
|
||
|
</tr>
|
||
|
<tr height="20%"></tr>
|
||
|
</table>
|
||
|
<table border="0" style="WIDTH: 470px">
|
||
|
<td id=Enunciator ALIGN="middle"><font size="2" face="Tahoma" color="#000000">Connecting to remote computer</font> </td>
|
||
|
<table border="0" style="WIDTH: 470px">
|
||
|
<td ALIGN="right"><font size="2" face="Tahoma" color="#000000"><INPUT id=Cancel name=Cancel type=button value=Cancel></font> </td>
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div id=RemoteControlLayer bgcolor="#4a8ece" style="HEIGHT: 225px; width:650px;LEFT: 0px; POSITION: absolute; TOP: 5px; VISIBILITY: hidden; Z-INDEX: 2">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30" bgcolor="#696969">
|
||
|
<tr valign="center">
|
||
|
<td nowrap height="30" rowspan="3" width="16%" valign="center"><b><font color="#FFFFFF" face="Tahoma, Arial, Helvetica, sans-serif">Help Session</b></td>
|
||
|
<td nowrap height="2" colspan="6"></td>
|
||
|
</tr>
|
||
|
<tr valign="center">
|
||
|
<td height="2" colspan="2" nowrap>
|
||
|
<div id=headerHelpeeName align="left"><font face="Tahoma, Arial, Helvetica, sans-serif" size="1" color="#ffffff"><b><font color="#ffffff" face="Tahoma, Arial, Helvetica, sans-serif"> (HelperName@Host):</font></b></font>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td nowrap height="2" width="18%">
|
||
|
<div align="right"><font face="Arial, Helvetica, sans-serif" size="2" color="#ffffff"><b>
|
||
|
<BUTTON align=center CLASS="styButton" id="TakeControl" onclick="TakeControlMethod()"> Take Control </BUTTON>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td nowrap height="2" width="12%">
|
||
|
<div align="right">
|
||
|
<BUTTON align=center CLASS="styButton" id="SendFile" onclick="SendFileMethod()" disabled="false"> Send a File ... </BUTTON>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td nowrap height="2" width="8%">
|
||
|
<div align="right"><font face="Arial, Helvetica, sans-serif" size="2" color="#ffffff"></font><b>
|
||
|
<BUTTON align=center CLASS="styButton" id="Quit" onclick="QuitMethod()"> Quit </BUTTON>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td nowrap height="2" width="9%">
|
||
|
<div align="right"><b>
|
||
|
<BUTTON align=center CLASS="styButton" id="Help" onclick="HelpMethod()"> Help </BUTTON>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div id=RemoteControlObject style="position:absolute; top:35px; left:1px; z-index:1; visibility:hidden">
|
||
|
<OBJECT classid=clsid:299BE050-E83E-4DB7-A7DA-D86FDEBFE6D0
|
||
|
data=data:application/x-oleobject;base64,UOCbKT7ot02n2thv3r/m0AADAAAlQgAAnDEAAA==
|
||
|
id=RemoteDesktopClientHost
|
||
|
style="BORDER-BOTTOM: black 0px solid; BORDER-LEFT: black 0px solid; BORDER-RIGHT: blue 0px solid; BORDER-TOP: white 0px solid;width=650"
|
||
|
VIEWASTEXT>
|
||
|
</OBJECT>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div id="ChatServerLayer" class="styHelpBackGround" style="position:absolute; top:510px; left:1px; width:650px; height:140px; z-index:1; visibility:hidden">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<table width="90%" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
|
||
|
<td colspan=3>
|
||
|
<!--<div id=idStatus> </div>-->
|
||
|
<div class=styText> <IMG src="net.gif"> <STRONG>Status</STRONG> :Connected </div>
|
||
|
|
||
|
</td>
|
||
|
|
||
|
<td align=right>
|
||
|
<!--<div id=idtogglechat onclick=HideChatBox()> </div>-->
|
||
|
<div class=styText> Hide Chat <img src="hide-chat.gif" onclick=HideChatBox()> </div>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<TR><!--
|
||
|
Incoming chat display area
|
||
|
-->
|
||
|
<TD><TEXTAREA cols=75 id=incomingChatText name=incomingChatText readOnly rows=3 wrap=VIRTUAL multiline="true" disabled="false" style="visibility:visible"></TEXTAREA>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
|
||
|
<TR><!--
|
||
|
Chat text box
|
||
|
-->
|
||
|
<TD><TEXTAREA cols=65 id=chatText name=chatText onkeypress=OnEnter() rows=1 wrap=VIRTUAL disabled="false" style="visibility:visible"></TEXTAREA>
|
||
|
<input class="styButton" type="submit" id=sendChatButton name=sendChatButton onclick=SendChatData() value="Submit" disabled="false" style="visibility:visible"></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|