
function Popup150x400(Url, Message)
{
    var width = 400;
    var height = 150;
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));

    var windowFeatures = "width=" + width + ",height=" + height + ",modal=yes,resizable=no,status=no,toolbar=no,menubar=no,location=no,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
    
    if(window.open(Url,null,windowFeatures) == null)
        alert(Message);
    
}