//--- get browser version ---function browserversion()	{	if(navigator.userAgent.indexOf("Mozilla/5.") != -1)		return 5;	else if(navigator.userAgent.indexOf("Mozilla/4.") != -1)		return 4;	else if(navigator.userAgent.indexOf("Mozilla/3.") != -1)		return 3;	else if(navigator.userAgent.indexOf("Mozilla/2.0 (compatible; MSIE 3.") != -1)		return 3;	else if(navigator.userAgent.indexOf("Mozilla/2.") != -1)		return 2;	else if(navigator.userAgent.indexOf("MSIE") != -1)		return 1;	else		return 0;	}//--- check for Explorer ---function explorer()	{	if(navigator.appName.indexOf("Microsoft") != -1)		return true;	return false;	}//--- check for Macintosh ---function macintosh()	{	if(navigator.userAgent.indexOf("Mac") != -1)		return true;	return false;	}//--- check for Netscape ---//--- we moved this function to the end of this script to manage a conflict with netscape 6 ---  function netscape()  {  	if(navigator.appName.indexOf("Netscape") != -1)  		return true;  	return false;  	}