// @see prototype 1.6.0
var Browser = {
	IE:     !!(window.attachEvent && !window.opera),
	IE6:  navigator.userAgent.indexOf('MSIE 6') > -1,
	IE7:  navigator.userAgent.indexOf('MSIE 7') > -1,
	Opera:  !!window.opera,
	WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,
	Gecko:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1,
	FF:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('Firefox') > -1,
	NS:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('Netscape') > -1,
	NS7:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('Netscape/7') > -1,
	MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)
}


