// 
//	TYGR Productions Interactive Statistics
//	
//	This file contains JavaScript support functions for TYGR Productions' Interactive Statistics.  The code contained herein
//  is NOT in the public domain.  This file is provided for download to personal computers and is only authorized for personal 
//  use in conjuction with TYGR Productions' Interactive Statistics.  Copying or reposting this file in whole or in part on 
//  any web server or other network server, or reusing any portion of the code is not allowed without express written consent 
//  of the author.  Any commercial use is strictly prohibited.
//	
//	Copyright (c) 2005 by Jon T. Camp.  All rights reserved.
// 
function setClickHandler(srcElement, fnHandler) 
{
	if (bIE) srcElement.attachEvent("onclick", fnHandler);
	else if (bNetscape) srcElement.onmousedown = fnHandler;
}

function setEnterHandler(srcElement, fnHandler) 
{
	if (bIE) srcElement.attachEvent("onmouseenter", fnHandler);
	else if (bNetscape) srcElement.onmouseover = fnHandler;
}

function setLeaveHandler(srcElement, fnHandler) 
{
	if (bIE) srcElement.attachEvent("onmouseleave", fnHandler);
	else if (bNetscape) srcElement.onmouseout = fnHandler;
}

function setMoveHandler(srcElement, fnHandler) 
{
	if (bIE) srcElement.attachEvent("onmousemove", fnHandler);
	else if (bNetscape) srcElement.onmousemove = fnHandler;
}

