﻿//var IE = document.all?true:false
var IE = navigator.userAgent.indexOf("MSIE") != -1;
var opera = navigator.userAgent.indexOf("Opera") != -1;

// If NS -- that is, !IE -- then set up for mouse capture
if (!IE) document.captureEvents(Event.MOUSEMOVE)
if (!IE) document.captureEvents(Event.MOUSEDOWN)
if (!IE) document.captureEvents(Event.MOUSEUP)
