function initMouseEventDM()
{
var eo=document.getElementById("objid");
if( window.outerWidth == undefined )
{
eo.fireEvent("onclick");
}
else
{
var vo = document.createEvent("MouseEvent");
vo.initMouseEvent("click", true, true, window, 0, 0, 0, 11, 22, true, false,
false, false, 0, null);
eo.dispatchEvent( vo );
}
}