
function OpenPopUp(value)
{
    var sFeatures;
    var sDestination;
    var sPopupWindowName = "CategoryImage";
    var sFullAppPath = document.getElementById("txtAppFullPath").value;
    //
    switch(value)
     {
        case "CategoryImage":
            sFeatures = "height=460,width=430,status=yes,toolbar=no,menubar=no,location=no";
            sDestination = "EnvelopeContainer.aspx";
            break;         
    }
    try
    {
        window.open(sFullAppPath + sDestination,sPopupWindowName,sFeatures);
    }
    catch(exception){}
}




