document.
onmousedown
=
function
(
event
)
{
if
(
event.
ctrlKey
&& event.
which
==
1
)
{
alert
(
'ctrl-clicked'
)
;
}
if
(
event.
shiftKey
&& event.
which
==
1
)
{
alert
(
'shift-clicked'
)
;
}
}