<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="ValidateUser.asp" -->
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE><%=Application("WebTitle")%>-RealIndex.asp</TITLE>
<%
	GetUserRole Request.QueryString("username"), Request.QueryString("password"), "RealIndex.asp"
%>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function DKVWebRealIndex2_OnOk() {
	switch(DKVWebRealIndex2.ItemIndex)
	{
	case 0:	//Real-time data view
		window.navigate("RealData.asp?RealDataGrpID=" + DKVWebRealIndex2.SubIndex);
		break;
	case 1:	//Real-time data curve
		window.navigate("RealTmCurve.asp?RealCurveGrpID=" + DKVWebRealIndex2.SubIndex);
		break;
	case 2:	//Real-time XY curve
		window.navigate("RealXYCurve.asp?RealXYGrpID=" + DKVWebRealIndex2.SubIndex);
		break;
	default:
		window.alert("Sorry,this website is being constructed......");
		break;
	}
}

function DKVWebRealIndex2_OnCancel() {
	window.navigate("Default.asp");
}

//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=DKVWebRealIndex2 EVENT=OnOk>
<!--
 DKVWebRealIndex2_OnOk()
//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=DKVWebRealIndex2 EVENT=OnCancel>
<!--
 DKVWebRealIndex2_OnCancel()
//-->
</SCRIPT>
</HEAD>
<BODY bgColor=lightpink>
<P align=center><STRONG><%=Application("WebTitle")%><FONT 
size=2>-</FONT></STRONG><FONT size=2>Real-time information homepage</FONT> 
<DIV align=center>
<HR>
</DIV>
<P align=center>
<OBJECT id=DKVWebRealIndex2 style="LEFT: 0px; WIDTH: 80%; TOP: 0px; HEIGHT: 90%"  codebase=".\Controls\KVWeb.cab#$KVWebRealIndex.ocx$#"
height="90%" width="80%" classid=clsid:4EEDD005-2C88-4DC3-9986-2D37CE2683B5><PARAM NAME="_Version" VALUE="65536">
	<PARAM NAME="_ExtentX" VALUE="15716"><PARAM NAME="_ExtentY" VALUE="3201"><PARAM NAME="_StockProps" VALUE="1"><PARAM NAME="BackColor" VALUE="12632319">
	<PARAM NAME="UserRole" VALUE="<%=Session("UserRole")%>">
	<param name="CmdSvrIP" value="<%=Application("CmdSvrIP")%>">
	<param name="CmdSvrPort" value="<%=Application("CmdSvrPort")%>">
	<param name="FileSvrIP" value="<%=Application("FileSvrIP")%>">
	<param name="FileSvrPort" value="<%=Application("FileSvrPort")%>">
	<param name="FSvrVirtualDir" value="<%=Application("FSvrVirtualDir")%>">
</OBJECT>
</P>

</BODY>
</HTML>
