// Exit Exchange Client Code
// (C) 2005. Yourwebsite.com
// Declarations var exitURL="http://www.formultix.com/exit1.php?uid=6"; var nextime = 0; var fixlinks = 0; var docVal = 0 ; var Cdelay = 1000; var exiting = 1; var isNav, isIE; if (parseInt(navigator.appVersion) >= 4) { if (navigator.appName == "Netscape") { isNav = true; } else { isIE = true; } } function stopError(e) { return true; } window.onerror = stopError; function fixNoise() { if (document.all && document.all.tags("bgsound") && document.all.tags("bgsound")[0] ) document.all.tags("bgsound")[0].volume = -10000; } function exitHandler() { if (exiting) { var ExitWindow = window.open(exitURL,'NTM_ExitWindow'); self.focus(); } return true; } var newload; var oldload; function installLoad(func) { newload = func; oldload = window.onload; window.onload = new Function ("newload(); if (oldload != null) oldload();"); } if (isNav) { document.captureEvents(Event.CLICK | Event.UNLOAD | Event.LOAD | Event.ERROR); } try { if ( (window.name != null && window.name == "EEmF1") || (window.parent != null && window.parent.name != null && window.parent.name == "EEmF1") ) { docVal = 1; } } catch (e) { } if (docVal == 1) { // EXIT WINDOW window.open = null; installLoad(fixNoise); } else { // CLIENT WINDOW window.onunload = exitHandler; }