﻿
var currentDocumentName = "unknown";
var olNs4 = (navigator.appName=='Netscape' && parseInt(navigator.appVersion) == 4);
var olNs6 = (document.getElementById) ? true : false;

function clickTrace(key) {
    new Image().src = 'clicktrace.ashx?key=' + encodeURI(key) + '&docname=' + currentDocumentName;
}


function getById(doc, id) {
	return (olNs4 ? doc.layers[id] : (doc.all ? doc.all[id] : doc.getElementById(id)));
}

function menuhover(obj1, obj2) {
	getById(document, obj1).className = 'navHover';
	getById(document, obj2).className = 'navDefault';
}
function menuout(obj) {
	getById(document, obj).className = 'navDefault';
}
function menuleave(obj) {
	getById(document, obj).className = 'navActive';
}


