// JavaScript Document
/***************************** INTELLECTUAL PROPERTY WARNING ******************************/
/* All Data found on this website and on this page is property of Atlanta Animal Allergy 
And Dermatology. Copyright 2004-2007. All Rights Reserved. No data in whole or in part may 
be copied from this page. The IP Addresses of all persons looking at this page are automat-
ically logged and stored. */

var currentPage = null;

function setPage(which) {
	currentPage = which;
	if (which && document.getElementById) {
		document.getElementById(which+'5').className="overNav";
	}
}

var clears = new Array();

function navOver(which) {
	if (document.getElementById) {
		document.getElementById(which+'5').className="overNav";
		var elm = document.getElementById(which+'Nav');
		if (elm) {
			clearTimeout(clears[which]);
			elm.style.display = 'block';
		}
	}
}

function navOut(which) {
	if (which != currentPage) {
		document.getElementById(which+'5').className="offNav";
	}
	
	if (document.getElementById) {
		clears[which] = setTimeout("hideSubnav('"+which+"')",100);
	}
}

function init() {
	
}

function hideSubnav(which) {
	if (document.getElementById) {
		var elm = document.getElementById(which+'Nav');
		if (elm) {
			elm.style.display = 'none';
		}
	}
}