errorByelections.aspxReturn to the Documentation page
  

<%@ Page Language="VB" %>

<script runat="server">

errorLabel.Text = "Ooops - application error."

<html>

<head>

<title>Ooops...</title>

<link href=".\otherfiles\election2005.css" type="text/css" rel="stylesheet" />

<script language="Javascript">

function doResize() {

window.resizeTo(500,280);

}

</script>

</head>

‘The onload event triggers the running of the doResize function mentioned above.’

<body id="body1" onload="doResize()" bgcolor="white">

<form runat="server">

<table width="100%">

<tr><td rowspan="2" width="85px"><img src="./images/cross.gif" title="Make voting compulsory!"></td><td><asp:Label id="Label1" runat="server"><u>Error - byelections</u></asp:Label></td><td align="right"><span style="cursor: pointer; color: blue" onclick="window.close()">Close window</span></td></tr>

<tr><td colspan="2"> </td></tr>

</table><p>

<asp:Label runat="server" id="errorLabel"></asp:Label><p>

Sorry there is an unexplained error - please notify me by email and I'll try and sort it out.

The Webmaster

</form>

</body>

</html>

***********************************************