|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/interactivehomesinc/_aspx/1.0.2706/script/ |
Upload File : |
<!------------------------------------------------------------------------
//
// Copyright 2000 Microsoft Corporation. All Rights Reserved.
//
// File: SmartNavie5.js
//
// Description: this file implements a basic delta model for aspplus (IE5.0 version)
//
//----------------------------------------------------------------------->
window.__dbg = false;
if (window.__init == null && window.parent.__init == null)
{
window.__onDeltaLoad = function()
{
var frm = window.frames["__hifSmartNav"];
if ( window.__docLast == frm.document
|| frm.location.href=="about:blank"
|| frm.document.readyState != "complete")
{
setTimeout(window.__onDeltaLoad, 100);
return;
}
window.__applyDelta();
}
window.__applyDelta = function()
{
var fd = frames["__hifSmartNav"].document;
if (document.location.href!=fd.location.href)
{
document.location.href=fd.location.href;
return;
}
var colSelect = document.body.getElementsByTagName("SELECT");
for (var i = 0; i < colSelect.length; i ++)
{
colSelect[i].removeNode(true);
}
document.body.innerHTML = fd.body.innerHTML;
var fdasptrace = fd.all['__asptrace'];
if (typeof __asptrace == 'object' && fdasptrace != null)
{
try
{
__asptrace.innerText = fdasptrace.innerText;
}
catch (e) {};
}
window.setTimeout(window.__restoreFocus, 0);
window.__attachForm();
window.__hif = document.all("__hifSmartNav");
if (window.__dbg == true)
document.body.appendChild(window.__hif);
};
window.__restoreFocus = function()
{
var __ae = document.all(window.__ae);
try
{
if (__ae != null)
__ae.focus();
}
catch(e){};
}
window.__loadHistory = function()
{
if (window.parent == window || window.parent.__init == null)
{
window.__initDelta();
frames("__hifSmartNav").location.replace(document.location.href);
}
};
window.__initDelta = function()
{
window.__ae = document.activeElement.id;
if (window.__ae.length == 0)
window.__ae = document.activeElement.name;
if (window.__hif != null)
{
if (window.__hif.parentElement != document.body)
document.body.appendChild(window.__hif);
}
else
{
window.__hif = document.all("__hifSmartNav");
}
if (window.__dbg == true)
{
window.__hif.style.display = "";
window.__hif.style.position = "absolute";
window.__hif.style.top = "0";
window.__hif.style.left = "0";
window.__hif.style.height = "120";
window.__hif.style.width = "100%";
}
window.__docLast = window.frames["__hifSmartNav"].document;
window.setTimeout(window.__onDeltaLoad, 100);
};
window.__submit = function()
{
window.__initDelta();
window.__form._submit();
};
window.__attachForm = function()
{
var cf = document.forms;
for (var i=0; i<cf.length; i++)
{
if (cf[i].__smartNavEnabled != null)
{
window.__form = cf[i];
break;
}
}
if (window.__form == null)
return;
if (window.__form.__formAttached == true)
return;
window.__form.__formAttached = true;
window.__form.attachEvent("onsubmit", window.__initDelta);
window.__form._submit = window.__form.submit;
window.__form.submit = window.__submit;
window.__form.target = "__hifSmartNav";
};
window.__attachForm();
window.attachEvent("onload", window.__loadHistory);
window.__init = true;
}