﻿// JScript File

function ReportBugViewer()
{
    this.iframe = document.getElementById(REPORTBUG_FRM);
    this.visible = false;
    this.onClick = onClick;
    this.button = document.getElementById(BTN_REPORTBUG);
    
    function onClick(id)
    {
        
        var request = new Request(REQ_FEEDBACK_TYPE);
        request.id = id;
        top.uiCtrl.sendData(request);
    } 
}   