hive/html/js/basic.js
// if clickFun is null, clicks will be counted, but clickFun will not be called.
if clickFun is null, clicks will be counted, but clickFun will not be called.
if clickFun is null clicks will be counted but clickFun will not be called .
function gModalOpen(layername, clickFun, x, y, clickCount)
{
    if(typeof(clickCount)!=="number" && !clickCount) clickCount=1;
    gObjectSet(layername,x,y,'-','show','-','-');
    ++gObjZindex;
    gObject(layername).style.zIndex=gObjZindex;
    gOnDocumentClickCallbacksStack.push({layer:layername, clickCallback: clickFun, clickCounter: clickCount});
}
function gModalOpen ( layername , clickFun , x , y , clickCount ) { if ( typeof ( clickCount ) !== "number" && ! clickCount ) clickCount = 1 ; gObjectSet ( layername , x , y , '-' , 'show' , '-' , '-' ) ; ++ gObjZindex ; gObject ( layername ) . style . zIndex = gObjZindex ; gOnDocumentClickCallbacksStack . push ( { layer : layername , clickCallback : clickFun , clickCounter : clickCount } ) ; }
if clickFun is null, clicks will be counted, but clickFun will not be called.
if clickFun is null clicks will be counted but clickFun will not be called .
//this.zIndex;