function openWindow(page, attributes){        if(navigator.platform.charAt(0)=="M"){        var newWidth = 705;        var newHeight = 550;        }else{        var newWidth = 720;        var newHeight = 570;    }        window.open(page, '', "width=" + newWidth +",height=" + newHeight + "," + attributes);    }