﻿function __mesdopenwindow(sender, url, values, width, height) {
    var features = "toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,";
    if ((width > 0) && (height > 0)) {
        features = features + "width=" + width + ",height=" + height;
    } else if (width > 0) {
        features = features + "width=" + width;
    } else if (height > 0) {
        features = features + "height=" + height;
    }
    var windowname = "mesd" + Math.floor(Math.random() * 1000);
    return (window.open(url, windowname, features))
}

