408 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			408 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <HTML XMLNS:helpcenter>
 | |
| <HEAD>
 | |
| <!--
 | |
| 	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
 | |
| -->
 | |
| 
 | |
| 
 | |
| <helpcenter:context id=idCtx />
 | |
| 
 | |
| <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>
 | |
| <script LANGUAGE="Javascript" SRC="RCScripts.js"> </script>
 | |
| <script LANGUAGE="Javascript" SRC="Common.js"> </script>
 | |
| <LINK id="UI_StyleSheet" REL="stylesheet" TYPE="text/css" HREF="../rcbuddy/rc.css">
 | |
| 
 | |
|  
 | |
| <!--	The SAF class factory object -->
 | |
| <OBJECT classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7 height=0 id=oSAFClassFactory 
 | |
| width=0></OBJECT>
 | |
|  
 | |
|  
 | |
| <title>Untitled Document</title>
 | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 | |
| </head>
 | |
| 
 | |
| <body id="idBody" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="QuitMethod()" onload="InitializeRCTool()" scroll=no onresize="ResizeDivs()" 
 | |
| 	style="BORDER-LEFT: black	2px solid;BORDER-RIGHT:	black	2px solid; BORDER-TOP:		black	2px solid; BORDER-BOTTOM:	black	2px solid;">
 | |
| 
 | |
| 
 | |
| <div id="Layer2" align="center" style="position:absolute; width=350px; left:1px; top:1px; z-index:2; visibility:hidden">
 | |
| 	<table border="0" cellspacing="2" bgcolor="e0e0e0" width="100%" 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="btnYES" onclick="InitScreen2()"> Yes </BUTTON> 
 | |
|   					</td>
 | |
|   					<td>
 | |
|   						<BUTTON align=center CLASS="styButton" id="btnNO" 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="Layer_IM" align="center" style="position:absolute; width=350px; left:1px; top:1px; z-index:2; visibility:hidden">
 | |
| 	<table border="0" cellspacing="2" bgcolor="e0e0e0" width="100%" 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="idIMInviteSent" class="styText"> Your Buddy </div>
 | |
| 			</td>
 | |
| 		</tr> <!-- End of row 2 -->
 | |
| 		
 | |
| 		<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_IM">
 | |
| 					<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_IM" 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 6 -->
 | |
|   		<td>   </td>
 | |
|   		<td>
 | |
|   			<div align="right">
 | |
|   			<table>
 | |
|   				<tr>
 | |
|   					<td>
 | |
|   						<BUTTON align=center CLASS="styButton" id="btnYES_IM" onclick="InitScreen2()"> Continue </BUTTON> 
 | |
|   					</td>
 | |
|   					<td>
 | |
|   						<BUTTON align=center CLASS="styButton" id="btnNO_IM" onClick="navigate( c_szHomePage )"> Cancel </BUTTON> 
 | |
|   					</td>
 | |
|   				</tr>
 | |
|   			</table>
 | |
|   			</div>
 | |
|   		</td>
 | |
| 		</tr> <!-- end of row 6 -->
 | |
| 	</table>
 | |
| </div> <!-- end of layer 2 -->
 | |
| 
 | |
| <div id="ConnectionProgressLayer" style="position:absolute; left:1x; top:1px; z-index:2; visibility:hidden"> 
 | |
| 	<table bgcolor="e0e0e0" border="0">
 | |
| 		<tr height="30">
 | |
| 			<td width="90%"> 
 | |
| 				<div id=ConnectionProgressLayer_line1 class="styText">
 | |
| 					Attempting to start a help session with:
 | |
| 				</div>
 | |
| 			</td> 
 | |
| 		</tr>
 | |
| 		<tr VALIGN="center" height="30">
 | |
| 			<td width="90%"> 
 | |
| 				<div id=HelpeeName class="styText">John Cady (helpername@hostname.com) 
 | |
| 				</div>
 | |
| 				</td> 
 | |
| 		</tr>
 | |
| 	<!--/table-->
 | |
| 		
 | |
| 		<tr>
 | |
| 			<td>
 | |
| 				<div id=ProgressBoxes>
 | |
| 					<table bgcolor="e0e0e0" border="0" cellspacing="4" cellpadding="0"  style="HEIGHT: 50px; width:375px;">
 | |
| 						<tr>
 | |
| 							<td width="25%"> </td>
 | |
| 							<td id=FirstProgressBox width="10%"  bgcolor="threedlightshadow"> </td>
 | |
| 							<td width="10%" > </td>
 | |
| 							<td  id=SecondProgressBox width="10%"  bgcolor="threedlightshadow"> </td>
 | |
| 							<td width="10%" > </td>
 | |
| 							<td  id=ThirdProgressBox width="10%"  bgcolor="threedlightshadow"> </td>
 | |
| 							<td width="25%" ></td>
 | |
| 						</tr>
 | |
| 					</table>
 | |
| 				</div>
 | |
| 			</td>
 | |
| 		</tr>
 | |
| 		
 | |
| 		<tr>
 | |
| 			<td>
 | |
| 				<table  border="0" style="width:375px;">
 | |
| 					<tr>
 | |
| 						<td  class="styText" id=Enunciator ALIGN="middle">
 | |
| 							Connecting to remote computer
 | |
| 						</td>
 | |
| 					</tr>
 | |
| 				</table>
 | |
| 			</td>
 | |
| 		</tr>
 | |
| 		
 | |
| 		<tr>
 | |
| 			<td>   </td>
 | |
| 		</tr>
 | |
| 		
 | |
| 		<tr valign="top">
 | |
| 			<td>
 | |
| 				<table  border="0" style="width:375px;">
 | |
| 					<tr>
 | |
| 						<td ALIGN="right"> 
 | |
| 							<INPUT class="styButton" id=Cancel name=Cancel type=button value=Cancel onClick="navigate( c_szHomePage )"> 
 | |
| 							  
 | |
| 						</td>                                                
 | |
| 					<tr>
 | |
| 					<tr height="15"><td></td></tr>
 | |
| 				</table>
 | |
| 			</td>
 | |
| 		</tr>
 | |
| 
 | |
| 	</table>
 | |
| </div>
 | |
| 								
 | |
| <div id=RemoteControlLayer  bgcolor="#4a8ece" style="width:100%;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="height=95%;width=100%" 
 | |
| 	  VIEWASTEXT>
 | |
| 	  </OBJECT>
 | |
| 
 | |
| </div>
 | |
| 
 | |
| <div id="ChatServerLayer" class="styHelpBackGround" style="position:absolute;  top:515px; left:1px;  width:98%; height:130px; z-index:2; visibility:hidden">
 | |
| <table>
 | |
|   <tr> 	
 | |
|     <td>
 | |
| 		<table width="98%" cellspacing="0" cellpadding="0">
 | |
| 		<tr>
 | |
| 			<td colspan=3 align=left>
 | |
| 				<div id=StatusId class=styText> <IMG src="status_connected.gif"> <STRONG>Status</STRONG> :Connected </div>
 | |
| 			</td>
 | |
| 			
 | |
| 			<td align=right>
 | |
| 				<!--<div id=idtogglechat onclick=HideChatBox()>   </div>-->
 | |
| 				<div id=idtogglechat class=styText onclick=HideChatBox()> Hide Chat <img src="hide-chat.gif"> </div>			
 | |
| 			</td>
 | |
| 	 
 | |
| 		</tr>
 | |
| 		
 | |
|       </table>
 | |
| 	</td>
 | |
|   </tr>
 | |
|  
 | |
| 	<TR><!-- 
 | |
| 				Incoming chat display area
 | |
| 			-->
 | |
| 			<TD><TEXTAREA cols=68 id=incomingChatText name=incomingChatText readOnly rows=3 wrap=VIRTUAL multiline="true" disabled="false" ></TEXTAREA>
 | |
| </TD>
 | |
| 	</TR>
 | |
| 
 | |
| 	<TR><!--
 | |
| 				Chat text box
 | |
| 			-->
 | |
| 			<TD><TEXTAREA cols=55 id=chatText name=chatText onkeypress=OnEnter() rows=1 wrap=VIRTUAL disabled="false" ></TEXTAREA>   
 | |
| 		    <input class="styButton" type="submit" id=sendChatButton name=sendChatButton onclick=SendChatData() value="Submit" disabled="false" ></TD>
 | |
| 	</TR>
 | |
| 	</TABLE> 
 | |
| </div>
 | |
| 
 | |
| </body>
 | |
| </html>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 |