<%@ Page Language="C#" AutoEventWireup="true" CodeFile="header.aspx.cs" Inherits="header" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Header</title>
<script language="javascript">
if(self.location==top.location)self.location="Default.html";
function Logout()
{
try
{
if(window.XMLHttpRequest)
{
alert("You have been logged off from this website. Note that if you run Internet Explorer 6.0 without service pack 1 you need to close all browser windows in order to complete the log off process.");
document.execCommand("ClearAuthenticationCache", "false");
//self.location.href = "header.aspx";
//if(self.location==top.location)self.location="default.html";
if (top.location != location) {
//top.location.href = document.location.href ;
top.location.href = "." ;
}
}
else
{
alert("This feature requires Internet Explorer 6.0 Service Pack 1 or above. " + "Please close all browser windows in order to complete the logout process.");
}
}
catch (e)
{
alert("This feature requires Internet Explorer 6.0 Service Pack 1 or above. " +"Please close all browser windows in order to complete the logout process.");
}
}
</script>
<link href="styles/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin=7 leftmargin=0 oncontextmenu="return false" background="Images/CFBC-logo2.gif">
<div id="headerDiv" style="text-align: center;">
<asp:label runat="server" id="Label1" Font-Size="18pt"
Font-Bold="True" Font-Names="Arial" ForeColor="#000033"
Text="His Highness Prince Aga Khan Shia Imami Ismaili Council For British Columbia<br />Project Proposal System"></asp:label>
</div>
<div style="position: absolute; width:99%; text-align:right; left: 0px; top: 54px; z-index: 100;">
<asp:Label ID="currTimeStampLabel" runat="server" Style="left: 10px;
position: absolute; top: 0px; text-align: left; z-index: 100;" Width="260px"></asp:Label>
<asp:Label ID="lblHeader" runat="server" style="z-index: 103; left: 794px; position: absolute; top: 0px; text-align: right;" Width="391px"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" Style="z-index: 102; left: 1193px;
position: absolute; top: 0px" NavigateUrl="javascript:Logout()">Logout</asp:HyperLink>
</div>
</body>
</html>