﻿// JScript File

function FormulasViewer()
{
    this.iframe = document.getElementById(FORMULAS_FRM);
    this.visible = false;
    this.onClick = onClick;    
    this.button = document.getElementById(BTN_FORMULAS);
    
    function onClick(id)
    {
        
        var request = new Request(REQ_FORMULAS_TYPE);
        request.id = id;
        top.uiCtrl.sendData(request);
    } 
}   