williamconley wrote:failing a screen shot, right click in the page and choose "source code" and post the source code here instead.
<HTML>
<HEAD>
<TITLE>Log In</TITLE>
<link rel="stylesheet" href="../css/newlink.css" type="text/css">
<script language="javascript">
function get_cookie(name_to_get)
{
var cookie_pair
var cookie_name
var cookie_value
var cookie_array = top.document.cookie.split("; ")
for (var counter = 0; counter < cookie_array.length; counter++) {
cookie_pair = cookie_array[counter].split("=")
cookie_name = cookie_pair[0]
cookie_value = cookie_pair[1]
if (cookie_name == name_to_get) {
return unescape(cookie_value)
}
}
return null
}
function delete_cookie(cookie_name) {
set_cookie(cookie_name,"",-1)
}
function set_cookie(cookie_name, cookie_value, cookie_expire, cookie_path, cookie_domain, cookie_secure) {
var expire_string;
var cookie_string = cookie_name + "=" + cookie_value;
if (cookie_expire)
{
var expire_date = new Date();
var ms_from_now = cookie_expire * 24 * 60 * 60 * 1000;
expire_date.setTime(expire_date.getTime() + ms_from_now)
expire_string = expire_date.toGMTString();
cookie_string += "; expires=" + expire_string;
}
if (cookie_path) {
cookie_string += "; path=" + cookie_path;
}
if (cookie_domain) {
cookie_string += "; domain=" + cookie_domain;
}
if (cookie_secure) {
cookie_string += "; true"
}
top.document.cookie = cookie_string;
}
function getMainPage()
{
str=document.location.search;
if (str.length>0)
top.mainFrame.location.href="../config/logOff_message.htm";
else
{
if( null != get_cookie( 'UserId' ) )
delete_cookie('UserId');
if( opener )
{
alert('Timeout expired, please login again. Window will be closed.')
window.close();
}
else
top.mainFrame.location.href="../config/log_off_page.htm";
}
}
</script>
</HEAD>
<frameset framespacing="0" frameborder="1" border="0" rows="0" onLoad="getMainPage()">
<frame name="mainFrame" scrolling="no" >
</frameset>
<noframes>
</HTML>