// JavaScript Document
function WIE_throwWindow(ParamURL, ParamW, ParamH, ParamScroll, ParamResizable) {
    var windowprops = 'width=5,height=5,status=no,resizable=' + ParamResizable + ',location=no,scrollbars=' + ParamScroll
    var heightspeed = 20;
    var widthspeed = 20;
    if (window.resizeTo && navigator.userAgent.indexOf("Opera") == -1) {
        var winwidth = parseInt(ParamW);
        var winheight = parseInt(ParamH);
        var leftdist = (window.screen.Width / 2) - (winwidth / 2);
        var topdist = (window.screen.Height / 2) - (winheight / 2);
        var sizer = window.open("", "mywindow", "left=" + leftdist + ",top=" + topdist + "," + windowprops);
        for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) {
            sizer.resizeTo("1", sizeheight);
        }
        for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) {
            sizer.resizeTo(sizewidth, sizeheight);
        }
        sizer.location = ParamURL;
        sizer.focus();
        sizer = null;
    }
    else
        window.open(ParamURL, 'mywindow1');
}


