Here is my ASP Page Code:
<%@LANGUAGE=VBSCRIPT%>
<HTML>
<HEAD>
<TITLE>"ASP WEB</TITLE>
</HEAD>
<!--->
<%
On Error Resume Next
DIM MyName
DIM UserISP
MyName="Developer"
Response.write "<sub><font color=lightgreen>Developer:</font><font color=lightblue>"&MyName&"</font><sub><br>"
%>
<BODY BGCOLOR=#003300 >
<table cellspacing="0" cellpadding="0" border="0" ALIGN="center" VALIGN="CENTER" NOWRAP ID="Table1">
<TR>
<TD><IMG alt="ASP WEB" src="Graphics\WIPPLogo.jpg" height="81" width="118"></TD>
</TR>
</table>
<H1 align="center"><font color="#ffcc33">WIPPCTS WEB</font></H1>
<HR width="100%" size="1">
<!----------------------------------------------------------------------------------------------------------------->
<% 'Connection to db
' On Error Resume Next
DIM dbConn, RS1, SQLStr
Set dbConn=Server.CreateObject("ADODB.Connection") 'Set the Connection Variable
dbConn.Open Session("StrConn") 'Open Connection Variable
%>
<!----------------------------------------------------------------------------------------------------------------->
<BLOCKQUOTE>
<!--#Include File="includes\XBtns.htm"-->
<table cellspacing=".0" cellpadding="0" border="0" ALIGN="center" VALIGN="CENTER" NOWRAP ID="Table3">
<tr>
<td>
<!--- Data Entry Button--->
<A HREF="#" onClick="parent.location='
ONMOUSEOVER="changeImages('off', 'graphics/DEOn.gif'); return true;" ONMOUSEOUT="changeImages('off', 'graphics/DEOff.gif'); return true;">
<IMG NAME="off" SRC="graphics/DEOff.gif" BORDER="0" ALT=""></A>
<!--- this is the end of the button image information --->
</td>
</tr>
<tr>
<td>
<!--- Report Button --->
<A HREF="#" onClick="parent.location='
ONMOUSEOVER="changeImages('off', 'graphics/GROn.gif'); return true;" ONMOUSEOUT="changeImages('off', 'graphics/GROff.gif'); return true;">
<IMG NAME="off" SRC="graphics/GROff.gif" BORDER="0" ALT=""></A>
<!--- this is the end of the button image information --->
</td>
</tr>
<tr>
<td>
<!--- Browse Button --->
<A HREF="#" onClick="parent.location='
ONMOUSEOVER="changeImages('off', 'graphics/BROn.gif'); return true;" ONMOUSEOUT="changeImages('off', 'graphics/BROff.gif'); return true;">
<IMG NAME="off" SRC="graphics/BROff.gif" BORDER="0" ALT=""></A>
<!--- this is the end of the button image information --->
</td>
</tr>
</table>
</BLOCKQUOTE>
<%
UserISP = Request.ServerVariables("Remote_Addr")
%>
</BODY>
</HTML>
============================================================
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
============================================================
HERE is my Javascript page include file code:
<HTML>
<HEAD>
<!--- this code works when you place on.gif and off.gif into your images folder --->
<!--- this is the Java Button preload script --->
<SCRIPT TYPE="text/javascript">
<!---
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments
].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
on = newImage("graphics/var.gif");
preloadFlag = true;
}
}
// -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" ONLOAD="preloadImages();">
</BODY>
</HTML>