
function openwin(url) {
    if (url == "") {
        alert('您不是正常打开窗口吧？对不起，请回吧!嘻嘻！');
    }
    else {
        //var width = screen.availWidth;  
        //var height = screen.availHeight;  
        var top = (screen.availHeight - 350) / 2;
        var left = (screen.availWidth - 400) / 2;
        var width = 390;
        var height = 438;
        splashWin = window.open(url, 'bxyedu', "top=" + top + ",left=" + left + ",width=" + width + ",height=" + height + ", toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no,status=no");
        //splashWin.resizeTo (800,570);
        //if (screen.Width>800){
        //splashWin.moveTo((screen.Width-800)/2,(screen.Height-570)/2);
        //}
    }
}


function openwin1(url) {
    if (url == "") {
        alert('您不是正常打开窗口吧？对不起，请回吧!嘻嘻！');
    }
    else {
        //var width = screen.availWidth;  
        //var height = screen.availHeight;  
        var top = (screen.availHeight - 350) / 2;
        var left = (screen.availWidth - 400) / 2;
        var width = 390;
        var height = 438;
        splashWin = window.open(url, 'bxyedu', "top=" + top + ",left=" + left + ",width=" + width + ",height=" + height + ", toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no,status=no");
        //splashWin.resizeTo (800,570);
        //if (screen.Width>800){
        //splashWin.moveTo((screen.Width-800)/2,(screen.Height-570)/2);
        //}
    }
}
function openwin11(url) {
    if (url == "") {
        alert('您不是正常打开窗口吧？对不起，请回吧!嘻嘻！');
    }
    else {
        splashWin = window.open(url, 'bxyedu', "height=420, width=380, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=yes,status=yes");
        //splashWin.resizeTo (800,570);
        //if (screen.Width>800){
        //splashWin.moveTo((screen.Width-800)/2,(screen.Height-570)/2);
        //}
    }
}
function openwinclose(url) {
    if (url == "") {
        alert('您不是正常打开窗口吧？对不起，请回吧!嘻嘻！');
    }
    else {
        splashWin = window.open(url, 'bxyedu', 'toolbar=1,location=1,directories=0,status=0,menubar=1,scrollbars=1,resizable=0');
        //splashWin.resizeTo (800,570);
        //if (screen.Width>800){
        //splashWin.moveTo((screen.Width-800)/2,(screen.Height-570)/2);
        //}
    }
}

