var event = event || window.event; event.preventDefault ? event.preventDefault() : event.returnValue = false;