/*////////////////////////////////////////////////////////////
JavaScript Code Library
Developed by GrafX Design Division Pty Ltd
http://www.grafx.com.au
Last Checked In By : Richard Czeiger
Public Revision No : 1.0
The software and related user documentation are
protected under copyright laws and remain the sole
property of GrafX Design Division. Full license is
available on the GrafX Design Division web site or
in the original download.
Technical support is available via the GrafX web site at
http://www.grafx.com.au
////////////////////////////////////////////////////////////*/
// Get the hacked stylesheet
document.write('');
// Suppress JavaScript Errors
window.onerror=new Function("return true")
// Set the Status Bar Message
var statusMsg = 'Mediator Locator';
window.defaultStatus=statusMsg;
// Fixes IE6 CSS Rendering Bug
if (document.all && window.attachEvent) window.attachEvent("onload", fixWinIE);
function fixWinIE() {
if (document.body.scrollHeight < document.body.offsetHeight) { document.body.style.display = 'block'; }
}
// Spam Suppression for Emails
function stopSpam(name, domain, subject) {
var symbol = '@';
// Took out the Subject due to MS fault in Outlook Express (Source - http://support.microsoft.com/kb/q182985/ )
// document.write('' + name + symbol + domain + '');
document.write('' + name + symbol + domain + '');
}
// XHTML External Link Script
function externalLinks() {
if (!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName("a");
for (var i=0; i 0) {
begin = document.cookie.indexOf(NameOfCookie+"=");
if(begin != -1) {
// our cookie was set.
// The value stored in the cookie is returned from the function
begin += NameOfCookie.length + 1;
end = document.cookie.indexOf(";",begin);
if(end == -1) end = document.cookie.length;
return unescape(document.cookie.substring(begin,end));
}
}
return null;
// Our cookie was not set.
// The value "null" is returned from the function
}
function delCookie(NameOfCookie) {
// The function simply checks if the cookie is set. If so expiredate is set to Jan. 1st 1970
if(getCookie(NameOfCookie)) {
document.cookie = NameOfCookie +"=" +
";expires= Thu, 01-Jan-70 00:00:01 GMT";
}
}
// Tracking Script
// HitsLink
var data,nhp,ntz,rf,sr,i,d=new Date(),pageName;
pageName=location.pathname;
document.cookie='__support_check=1';nhp='http';
rf=document.referrer;sr=window.location.search;
if(top.window.location==document.referrer
|| (document.referrer == '' && top.window.location != ''))
{rf=top.document.referrer;sr=top.window.location.search}
ntz=new Date();if(location.href.substr(0,6).toLowerCase()=='https:')
nhp='https';data='&an='+escape(navigator.appName)+
'&sr='+escape(sr)+'&ck='+document.cookie.length+
'&rf='+escape(rf)+'&sl='+escape(navigator.systemLanguage)+
'&av='+escape(navigator.appVersion)+'&l='+escape(navigator.language)+
'&pf='+escape(navigator.platform)+'&pg='+escape(pageName);
if(navigator.appVersion.substring(0,1)>'3') {data=data+'&cd='+
screen.colorDepth+'&rs='+escape(screen.width+ ' x '+screen.height)+
'&tz='+ntz.getTimezoneOffset()+'&je='+ navigator.javaEnabled()};
i=new Image();i.src=nhp+'://counter.hitslink.com/statistics.asp'+
'?v=1&s=201&acct=1325firstl'+data+'&tks='+d.getTime();
// StatGuage
var ns_data,ns_hp,ns_tz,ns_rf,ns_sr,ns_img,ns_pageName;
ns_pageName= location.pathname;
document.cookie='__support_check=1';ns_hp='http';
ns_rf=document.referrer;ns_sr=window.location.search;
ns_tz=new Date();if(location.href.substr(0,6).toLowerCase() == 'https:')
ns_hp='https';ns_data='&an='+escape(navigator.appName)+
'&sr='+escape(ns_sr)+'&ck='+document.cookie.length+
'&rf='+escape(ns_rf)+'&sl='+escape(navigator.systemLanguage)+
'&av='+escape(navigator.appVersion)+'&l='+escape(navigator.language)+
'&pf='+escape(navigator.platform)+'&pg='+escape(ns_pageName);
ns_data=ns_data+'&cd='+screen.colorDepth+'&rs='+escape(screen.width+ ' x '+screen.height)+
'&tz='+ns_tz.getTimezoneOffset()+'&je='+ navigator.javaEnabled();
ns_img=new Image();ns_img.src=ns_hp+'://tracker.statgauge.com/statistics.aspx'+
'?v=1&s=213&acct=176832'+ns_data+'&tks='+ns_tz.getTime();
// Multiple Onload Functions to be called
function multipleOnload() {
externalLinks();
inputFocus();
}
window.onload = multipleOnload;