
//
// Browser Detection
//
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
isNS4 = (document.layers) ? true : false;
isIEMac = ((document.all)&&(isMac)) ? true : false;
isIE4plus = (document.all) ? true : false;
isIE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
isIE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
isIE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
ver4 = (isNS4 || isIE4plus) ? true : false;
isNS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;

isIE5plus = isIE5 || isIE6;
IEMajor = 0;

if (isIE4plus)
{
	var start = navigator.appVersion.indexOf("MSIE");
	var end = navigator.appVersion.indexOf(".",start);
	IEMajor = parseInt(navigator.appVersion.substring(start+5,end));
	isIE5plus = (IEMajor>=5) ? true : false;
}



